Commit Graph
100 Commits
Author SHA1 Message Date
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
Glenn Maynard a1fac17d55 cleanup 2003-07-27 03:38:25 +00:00
Glenn Maynard 762f67d9fe enable ArchHooks_Unix 2003-07-27 03:37:16 +00:00
Glenn Maynard 6a8b046dc9 use RageThread 2003-07-27 03:35:59 +00:00
Glenn Maynard 725bc58c92 fix heinously broken m4 macro (s/-lm// does very cute things to "-lmad") 2003-07-27 03:32:59 +00:00
Glenn Maynard 473a5fffe6 use RageThread 2003-07-27 03:22:04 +00:00
Glenn Maynard 1414f9149b name the main thread 2003-07-27 03:13:40 +00:00
Glenn Maynard 7fdbfa4879 use RageThread 2003-07-27 03:10:44 +00:00
Glenn Maynard 11b706e6bd add thread handler 2003-07-27 03:08:02 +00:00
Glenn Maynard bb86fe9953 add error check 2003-07-27 03:06:50 +00:00
Glenn Maynard 6d2d6911c3 extra newlines 2003-07-27 02:18:05 +00:00
Glenn Maynard 09a2e75fdd simplify 2003-07-27 01:04:35 +00:00
Glenn Maynard b61b6ea156 add missing header 2003-07-27 00:48:38 +00:00
Glenn Maynard 3927a953ac remove header 2003-07-26 23:14:37 +00:00
Glenn Maynard 8f729668ec remove header 2003-07-26 23:13:11 +00:00
Glenn Maynard 2110594735 add missing header 2003-07-26 23:12:38 +00:00