Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 1e5d26fdc9 change SelectGroup to ShowSelectGroup 2003-08-06 18:53:14 +00:00
Glenn Maynard 44e28a2e89 fix autogen courses not being mystery 2003-08-06 08:05:41 +00:00
Glenn Maynard 75c83d8429 minor cleanup 2003-08-06 07:08:02 +00:00
Glenn Maynard c3666c2ef5 simplify 2003-08-05 20:38:12 +00:00
Glenn Maynard 703637a8c9 cleanup 2003-08-05 01:50:44 +00:00
Glenn Maynard c1406277a2 Portable RAGE_ASSERT. 2003-08-05 01:49:34 +00:00
Glenn Maynard 32e81d2bbc Use CHECKPOINT and RageThreads. 2003-08-05 01:32:51 +00:00
Glenn Maynard 8ee7dc93a6 use CHECKPOINT 2003-08-05 01:32:21 +00:00
Glenn Maynard d87c986b97 the main thread is set up implicitly now 2003-08-05 01:30:51 +00:00
Glenn Maynard 1863b166f2 use GetCheckpointLogs 2003-08-05 01:29:36 +00:00
Glenn Maynard 91057359fa add error checking 2003-08-05 01:28:48 +00:00
Glenn Maynard 122f9dfbe3 include more in try...catch 2003-08-05 01:28:11 +00:00
Glenn Maynard 67aacc9d97 Don't pull in SDL_thread.h from RageThreads.h.
Implement per-thread checkpoints portably.  This replaces VDCHECKPOINT.
2003-08-05 01:25:33 +00:00
Glenn Maynard 7526068a1b add missing header 2003-08-05 00:39:52 +00:00
Glenn Maynard 7e07e7c8de Handle updating internally 2003-08-04 21:37:07 +00:00
Glenn Maynard 0a9ea01e7f optimize 2003-08-04 21:34:45 +00:00
Glenn Maynard 7b6204243d simplify 2003-08-04 20:45:34 +00:00
Glenn Maynard 3b289d5c9d (I doubt this was meant to be committed in the first place.) 2003-08-03 17:55:31 +00:00
Glenn Maynard 3a85c1c8a0 Always shuffle random courses the same way during the same round. 2003-08-03 07:12:33 +00:00
Glenn Maynard 03d507ee54 cleanup 2003-08-03 05:40:40 +00:00
Glenn Maynard c55e228d6b avoid BannerCache warnings 2003-08-03 05:40:13 +00:00
Glenn Maynard f6ee6c62f0 If no banner path is defined at all, return the null string, not the song path. 2003-08-03 05:36:22 +00:00
Glenn Maynard e78ad5e491 Fix Course::GetCourseInfo crashes 2003-08-03 04:47:53 +00:00
Glenn Maynard b198dcee90 remove unused Entry::caprice 2003-08-03 03:32:47 +00:00
Glenn Maynard e3625db111 fix warnings 2003-08-03 02:47:43 +00:00
Glenn Maynard 4d40dd138d Err. 2003-08-03 02:30:35 +00:00
Glenn Maynard 9bcb0e0a48 fix 2003-08-02 07:52:01 +00:00
Glenn Maynard c29b6343c5 fix compile 2003-08-01 03:22:42 +00:00
Glenn Maynard 455e629479 add m_ProTimingDisplay 2003-08-01 01:18:08 +00:00
Glenn Maynard 2a64ac3eaf update 2003-08-01 01:17:34 +00:00
Glenn Maynard 90005d7cf6 fix 2003-08-01 01:16:51 +00:00
Glenn Maynard ea63a8dd40 add font 2003-08-01 01:03:16 +00:00
Glenn Maynard a4b6b671e2 add ProTimingDisplay 2003-08-01 01:01:48 +00:00
Glenn Maynard 658e925c4e add ProTimingDisplay 2003-08-01 00:54:29 +00:00
Glenn Maynard e853582baa add m_bProTiming 2003-08-01 00:15:17 +00:00
Glenn Maynard 382419ad0f output total error to the log for now 2003-08-01 00:14:32 +00:00
Glenn Maynard 699a10a135 Trying to track an odd crash that I can't reproduce ... 2003-08-01 00:13:16 +00:00
Glenn Maynard 5966dd3dcd cleanup 2003-08-01 00:12:44 +00:00
Glenn Maynard a9774592e2 update 2003-08-01 00:12:10 +00:00
Glenn Maynard 69671223cc add metrics 2003-08-01 00:10:31 +00:00
Glenn Maynard fabcc7c6cb fix warning 2003-07-31 23:17:29 +00:00
Glenn Maynard 05de095e0e Keep track of total error, in ms. 2003-07-31 23:01:02 +00:00
Glenn Maynard 289e528576 Don't show unlock count if it's off. 2003-07-31 22:50:27 +00:00
Glenn Maynard d6c88f2c3c Fix crash with one character. 2003-07-31 22:49:22 +00:00
Glenn Maynard 7deffd2de4 Fix GetGroupColor ignoring the theme. 2003-07-31 22:48:49 +00:00
Glenn Maynard bf4592997e fix machine options 2003-07-31 02:18:56 +00:00
Glenn Maynard 390a802106 Disable Rave until it's being worked on again. (Accidentally included
it in snapshots about five times now ...)
2003-07-31 02:14:26 +00:00
Glenn Maynard 2c26acc705 disable warning: confusing when norecover, suddendeath, etc are used 2003-07-31 02:06:19 +00:00
Glenn Maynard 1105b8c6f8 re-add JUSTICE 2003-07-31 02:03:53 +00:00
Glenn Maynard 03f06c72fb add debug stuff 2003-07-31 01:27:54 +00:00
Glenn Maynard af0449da43 Fix negative chaos values. 2003-07-31 01:18:52 +00:00
Glenn Maynard 99a5a0f735 add currently unused code 2003-07-31 01:11:42 +00:00
Glenn Maynard 22a3c5b5d9 Experiment: configure the primary mixing buffer 2003-07-31 00:50:25 +00:00
Glenn Maynard 5d97ce297c Don't stall the timer constantly during roulette. 2003-07-30 21:49:21 +00:00
Glenn Maynard a5ec516e4a update 2003-07-30 21:34:23 +00:00
Glenn Maynard 7f13b5ce6d Replace "caprice" with a "showcourse"/"noshowcourse" tag.
This also allows hiding static songs; I added that since it took about four
lines extra code.

Note that I've updated the Save() function a bit, and fixed some bugs
I saw, but it's not used yet and it's no more tested than it was before.
2003-07-30 21:33:20 +00:00
Glenn Maynard 83bb528668 Add game and round seeds, meant for use with RandomGen. 2003-07-30 20:34:16 +00:00
Glenn Maynard 4262c7fd96 Add an SDL random number generator with independent seeds. 2003-07-30 20:31:50 +00:00
Glenn Maynard f741443c76 Fix difficult courses in Oni mode.
Why was this put in?  If you don't want to use difficult courses in
Oni mode, just don't use them.
2003-07-30 18:46:59 +00:00
Glenn Maynard 0306ff67e1 Fix odd problems with detecting images 2003-07-30 06:45:06 +00:00
Glenn Maynard 33b8fc3a3a don't derive sGroup twice 2003-07-30 05:34:47 +00:00
Glenn Maynard bafb9e0f2b Somehow, songs seem to be missing groups when we check them
in SongManager::GetExtraStageInfo.  Sanity check.
2003-07-30 05:28:23 +00:00
Glenn Maynard ef7733e121 remove unused parameter 2003-07-30 02:01:19 +00:00
Glenn Maynard f3540c9eb7 You had it right the first time, almost. :)
It's better to put hacks in the file they're affecting, rather than global
handlers like ScreenManager.

The problem you were having is that you were sending the "start fade
out" message; when skipping a screen, you want to skip to "load next
screen" and not fade out.

It's OK to load the screen itself when you're skipping it, since that doesn't
take time as long as you don't load the components.

Note that this is how eg. ScreenInstructions and ScreenWarning work.
2003-07-30 01:59:11 +00:00
Glenn Maynard 0ddc939e62 Forcibly ignore bogus floating point exceptions. 2003-07-30 01:15:56 +00:00
Glenn Maynard 265f1f8923 don't die if GetPrimaryVideoDriverName() fails 2003-07-30 00:13:58 +00:00
Glenn Maynard 3014693618 fix blacklist image filenames being case-sensitive 2003-07-29 23:20:33 +00:00
Glenn Maynard d1a11d8f24 Fix, simplify, no crash dump on SIGTERM. 2003-07-29 21:11:21 +00:00
Glenn Maynard 676fcb90fc fix crash handler not always being installed properly
try to shut down sdl
2003-07-29 21:00:35 +00:00
Glenn Maynard 1ad8b9ad0f fix crash handler not always being installed properly 2003-07-29 20:59:39 +00:00
Glenn Maynard 8533a28987 fix potential crash 2003-07-28 23:38:42 +00:00
Glenn Maynard e4e96da008 fix CreateDirectories 2003-07-28 23:26:40 +00:00
Glenn Maynard 1152ef82e1 fix song options screen crash in course mode 2003-07-28 23:13:00 +00:00
Glenn Maynard 77233f15de alignment 2003-07-28 19:31:24 +00:00
Glenn Maynard f2b1e3e034 Fix crashes. 2003-07-28 19:30:40 +00:00
Glenn Maynard db56b757f5 fix not recording AAAA over AAA 2003-07-28 18:23:16 +00:00
Glenn Maynard c893c9aca8 fix scroll parsing 2003-07-28 18:03:50 +00:00
Glenn Maynard 25026f2877 Always handle unbuffered devices in the main thread. 2003-07-28 17:42:57 +00:00
Glenn Maynard fa8c738360 add m4 so you don't need gtk installed to run ./autogen.sh 2003-07-28 08:57:13 +00:00
Glenn Maynard 00426e59b2 implement BlacklistedImages 2003-07-28 08:24:16 +00:00
Glenn Maynard c05df0adac use BlacklistedImages 2003-07-28 08:23:29 +00:00
Glenn Maynard f9505197ee add BlacklistedImages 2003-07-28 08:21:12 +00:00
Glenn Maynard ee4aad473e Use the derived meter value instead of a plain average. 2003-07-28 07:35:54 +00:00
Glenn Maynard c5cd63392b bump cache 2003-07-28 07:34:04 +00:00
Glenn Maynard 7be3f7f896 update 2003-07-28 07:30:49 +00:00
Glenn Maynard 15bd225d41 VIA Tech VT8361/VT8601 Graphics Controller 4.13.01.3111 2003-07-28 07:25:17 +00:00
Glenn Maynard a84fd646f6 tm4 update 2003-07-28 07:24:36 +00:00
Glenn Maynard 271a8dfdea update 2003-07-28 07:23:47 +00:00
Glenn Maynard ccba7bfb2d Gave ample warning, and the author hasn't returned my email ... 2003-07-27 21:34:37 +00:00
Glenn Maynard edb2e36136 Er. Forgot to commit this (but it's been in the snapshots). 2003-07-27 21:34:08 +00:00
Glenn Maynard 2ea56ecdf8 GetStageInfo is gone.
Remove GetFirstStageInfo.
Allow specifying the course difficulty to functions affected by it.
Simplify Course::GetPlayMode.
2003-07-27 19:14:05 +00:00
Glenn Maynard 534ac086fe phase out GetFirstStageInfo 2003-07-27 18:46:38 +00:00
Glenn Maynard 9a5f812c8f Simplify: use an enum instead of magic constants. 2003-07-27 18:39:34 +00:00
Glenn Maynard 6562c230e2 Simplify: SortOrder_NumStages was always being set to ci.size()+1,
and is never used outside of this function.

Fix float/int warning.
2003-07-27 18:28:05 +00:00
Glenn Maynard c06bebe674 fix 2003-07-27 07:44:17 +00:00
Glenn Maynard 235bfae707 add tests 2003-07-27 07:42:40 +00:00
Glenn Maynard d1a6c2804c add crash handler 2003-07-27 07:08:29 +00:00
Glenn Maynard adafc18929 Add *nix signal handler 2003-07-27 07:07:45 +00:00
Glenn Maynard cb50cf3f79 halt/killing threads 2003-07-27 07:00:13 +00:00
Glenn Maynard 7db6d230df Cleanup; improve error output. 2003-07-27 06:43:50 +00:00