Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard a0cf52df65 Fix music not stopping while spinning the wheel 2003-07-14 23:56:11 +00:00
Glenn Maynard 50fcf591d9 Add RageSoundManager::GetMusicPath.
RageSoundManager::PlayMusic: unload sounds when we stop playing.
2003-07-14 23:54:54 +00:00
Glenn Maynard 7b9f4830b4 Fix banners fading out and in after changing sort 2003-07-14 23:53:57 +00:00
Glenn Maynard 960ecbfda2 update 2003-07-14 23:28:59 +00:00
Glenn Maynard 1fd3162fde add Maaya Sakamoto 2003-07-14 23:28:41 +00:00
Glenn Maynard f155595fa9 add kanji 2003-07-14 23:26:53 +00:00
Glenn Maynard c9cff43235 Fix & in loading screen triggering underlines 2003-07-14 23:24:55 +00:00
Glenn Maynard fad1fb4225 Fix color key in faded rotated banners. 2003-07-14 22:42:12 +00:00
Glenn Maynard c65136cb37 quiet unneeded output 2003-07-14 22:28:03 +00:00
Glenn Maynard 2dce704fa4 Fix resizing. Add debug output. 2003-07-14 22:24:32 +00:00
Glenn Maynard 758e87d256 comment 2003-07-14 22:23:35 +00:00
Glenn Maynard 7716edf4ac Fix error reporting. 2003-07-14 22:23:04 +00:00
Glenn Maynard df26843bea If we don't have focus, discard input. 2003-07-14 20:09:50 +00:00
Glenn Maynard 9482754ad6 Fix clipping problems in ScreenSelectCourse 2003-07-14 19:35:12 +00:00
Glenn Maynard a675dc82dd cosmetic 2003-07-14 19:12:37 +00:00
Glenn Maynard 4b79170bad Add some temporary timing information 2003-07-14 19:10:28 +00:00
Glenn Maynard 1ba431bf1a o/~ the beauty of silence o/~ 2003-07-14 07:32:31 +00:00
Glenn Maynard 4f01755442 Don't start a Pump thread if we have no pads. 2003-07-14 07:30:51 +00:00
Glenn Maynard 9385e437f2 threaded DI input 2003-07-14 06:27:20 +00:00
Glenn Maynard 5a1fc8b54f update 2003-07-14 06:26:39 +00:00
Glenn Maynard e7ec4c7e0f threaded Pump input 2003-07-14 06:26:09 +00:00
Glenn Maynard 4c707df399 Update -> UpdateTimer 2003-07-14 06:25:14 +00:00
Glenn Maynard da6685a3a4 cleanup 2003-07-14 06:24:30 +00:00
Glenn Maynard 647c96ecac simplify 2003-07-14 06:23:44 +00:00
Glenn Maynard 05aa282956 kill INPUTMAN earlier 2003-07-14 06:23:15 +00:00
Glenn Maynard 649f1a81c5 simplify; make data public 2003-07-14 06:22:08 +00:00
Glenn Maynard 7483a249b4 add a ctor 2003-07-14 06:21:30 +00:00
Glenn Maynard 5adb26a169 thread safety 2003-07-14 06:21:12 +00:00
Glenn Maynard 4b4317854e add m_bThreadedInput 2003-07-13 20:21:04 +00:00
Glenn Maynard 2d12eb7985 simplify, comment 2003-07-13 19:41:57 +00:00
Glenn Maynard 325f853d60 cleanup 2003-07-13 04:35:01 +00:00
Glenn Maynard 2384d1bb0a Don't enum all devices (fixes Pump crashes) 2003-07-13 04:33:54 +00:00
Glenn Maynard 372320854f add InputHandler.cpp 2003-07-13 01:35:19 +00:00
Glenn Maynard 58847998a6 Zero out DeviceInput timestamps by default. 2003-07-13 01:34:57 +00:00
Glenn Maynard 045cbb3984 Timers can't be global. 2003-07-13 01:26:30 +00:00
Glenn Maynard dc7182f749 call InputHandler::Update 2003-07-13 01:05:05 +00:00
Glenn Maynard 82aabe7c3a call InputHandler::Update, InputHandler::ButtonPressed 2003-07-13 01:03:44 +00:00
Glenn Maynard f56d3345fa call InputHandler::Update 2003-07-13 01:03:09 +00:00
Glenn Maynard c4417a0678 Add InputHandler::ButtonPressed. 2003-07-13 01:00:55 +00:00
Glenn Maynard 350ce47a00 Handle timestamps in Step. 2003-07-13 00:34:30 +00:00
Glenn Maynard 6fb42b9bab Add a timestamp to DeviceInput. (Until this is implemented, it'll default
to the time the class is constructed.)
2003-07-13 00:33:06 +00:00
Glenn Maynard cbcf0dbbf8 Add + and -. 2003-07-13 00:31:55 +00:00
Glenn Maynard 5873b47b19 Simplify. Fix metrics not reloading after the game's been running for
a couple weeks.
2003-07-13 00:02:23 +00:00
Glenn Maynard fbcd804243 Fixes two major problems: time wrapping every 42 days, and timer
resolution getting poor after a couple days of play.

(for some value of "major")
2003-07-12 22:51:27 +00:00
Glenn Maynard cbfa6c72fc simplify, fix 2003-07-12 21:41:50 +00:00
Glenn Maynard bf5cd55bb6 re-simplify 2003-07-12 21:41:12 +00:00
Glenn Maynard a44b6d0a86 remove unneeded header 2003-07-12 20:42:08 +00:00
Glenn Maynard 336b500e98 remove unneeded headers 2003-07-12 20:36:54 +00:00
Glenn Maynard 28914ab483 add missing header 2003-07-12 20:36:26 +00:00
Glenn Maynard 552b328e97 minor cleanup 2003-07-12 20:35:48 +00:00
Glenn Maynard f4dbf99636 add missing headers 2003-07-12 20:35:47 +00:00
Glenn Maynard 3fc73cef8c fix warning 2003-07-12 20:33:19 +00:00
Glenn Maynard 216462a9b7 Comment, simplify. 2003-07-12 20:22:26 +00:00
Glenn Maynard 9db916b94f Simplify. 2003-07-12 20:16:07 +00:00
Glenn Maynard cb622760d8 Handle Z on receptors. 2003-07-12 20:10:48 +00:00
Glenn Maynard 2251b989d4 Make the reset code go back to defaults, not null options. 2003-07-12 20:09:31 +00:00
Glenn Maynard c8115532fb update 2003-07-12 19:57:56 +00:00
Glenn Maynard 80d8a9e319 Fix encapsulation. 2003-07-12 19:53:26 +00:00
Glenn Maynard c1ce180654 Fix init. 2003-07-12 19:52:58 +00:00
Glenn Maynard 2536b8a97e Expose argc and argv. 2003-07-12 19:51:40 +00:00
Glenn Maynard ddf1bd04dc Always include global.h right at the top of every source file. 2003-07-12 19:45:41 +00:00
Glenn Maynard bfc2215191 The only change in this mess is changing indentation; no actual code is
changed.
2003-07-12 19:45:07 +00:00
Glenn Maynard d6dee7f416 fix include 2003-07-12 19:44:25 +00:00
Glenn Maynard 73f66924a6 no "extern" on prototypes 2003-07-12 19:44:00 +00:00
Glenn Maynard 93824687ef Fix "OFF" not working. 2003-07-12 19:20:01 +00:00
Glenn Maynard 51ac4509b1 Don't crash if a BMS file doesn't have a #player tag.
When a case is expected to never happen, use ASSERT(0), not
a throw.  That way, if it does, we get a full crash dump.

file.bad() is not equivalent to !file.good(); usually you want the latter
(my bug)
2003-07-12 19:06:04 +00:00
Glenn Maynard 59752c11c9 add e=mc2 mix 2003-07-11 06:42:34 +00:00
Glenn Maynard 154efe9888 kill debug stuff 2003-07-10 18:25:01 +00:00
Glenn Maynard 700525d3ee rewrite not using fstream--its error handling is useless 2003-07-10 17:45:00 +00:00
Glenn Maynard ae1e97c6f5 remove debug 2003-07-10 17:44:00 +00:00
Glenn Maynard 500e968823 Throw if AnimatedTexture can't load; otherwise the next GetKey will fail,
anyway.

Add very loud, temporary debug output.
2003-07-10 16:51:15 +00:00
Glenn Maynard a49208c5fb add checkpoint 2003-07-10 14:03:26 +00:00
Glenn Maynard 2a838b1b3b Fix player settings being reset if you back out of the player options menu.
Allow only showing a subset of effects.
2003-07-10 02:56:21 +00:00
Glenn Maynard 0e78926c92 fix CDTitles more 2003-07-10 02:08:18 +00:00
Glenn Maynard 035a5601dd fix not displaying warning for fading banners 2003-07-10 02:01:45 +00:00
Glenn Maynard 683ff38ab7 don't display warning when reloading 2003-07-10 02:00:48 +00:00
Glenn Maynard 16b0cd24ec fix leak 2003-07-10 01:58:48 +00:00
Glenn Maynard a90684be06 add trace 2003-07-10 01:56:52 +00:00
Glenn Maynard 5a6c5760f3 No, really, don't access str[-1] ... 2003-07-10 01:55:37 +00:00
Glenn Maynard 2e8fb7e0b6 Remove unneeded code; add an assert. 2003-07-10 00:35:46 +00:00
Glenn Maynard f2398eb9a6 comment 2003-07-09 21:22:46 +00:00
Glenn Maynard a77ee45759 Oops, forgot to commit this. Use TEXTUREMAN->GetMovieColorDepth. 2003-07-09 21:22:14 +00:00
Glenn Maynard 7639f547f4 Disable a trace I don't need right now;
error check.
2003-07-09 20:40:28 +00:00
Glenn Maynard a9e859f6fa Fix crash pressing battle keys when not in battle mode 2003-07-09 20:34:14 +00:00
Glenn Maynard b4021ac0c6 Use DisableOddDimensionWarning and EnableOddDimensionWarning 2003-07-09 20:28:07 +00:00
Glenn Maynard d4815d6d74 Disable the dimensions warning for all song graphics (even ones not in
songs).
2003-07-09 20:27:02 +00:00
Glenn Maynard 11f78783b3 Add DisableOddDimensionWarning and EnableOddDimensionWarning 2003-07-09 20:24:17 +00:00
Glenn Maynard 7a7d81d446 Add GameState::IsBattleMode 2003-07-09 20:23:44 +00:00
Glenn Maynard 8e421b6b61 Fix matching. 2003-07-09 19:10:09 +00:00
Glenn Maynard 2f99e4bfdc add BEAT 2003-07-09 10:40:34 +00:00
Glenn Maynard 328976f5d3 fix indentation 2003-07-09 06:36:00 +00:00
Glenn Maynard e3cf80ae04 Fix screenshot endianness. 2003-07-09 06:16:19 +00:00
Glenn Maynard 2af0ab21ed allow using a model for hold tails 2003-07-09 05:57:48 +00:00
Glenn Maynard a3956e8dd4 grr. 2003-07-09 05:57:09 +00:00
Glenn Maynard fc88d69fca Use SONGMAN->FindSong 2003-07-09 05:01:37 +00:00
Glenn Maynard 4602901bbd std::sort takes a function that returns a bool, not an int 2003-07-09 04:47:51 +00:00
Glenn Maynard f9b12e9e8e simplify 2003-07-09 04:46:24 +00:00
Glenn Maynard 165bd52e6e Don't un-flip flipped CDTitle backs. 2003-07-09 04:30:18 +00:00
Glenn Maynard 329712816f Don't delete a texture twice 2003-07-09 04:29:23 +00:00
Glenn Maynard 237565b865 cleanup 2003-07-09 04:20:37 +00:00