Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 8727ecd432 update 2003-07-15 20:54:34 +00:00
Glenn Maynard dddb7fb92a bump cache due to BMS fixes 2003-07-15 20:52:13 +00:00
Glenn Maynard 05460a116e fix alignment 2003-07-15 20:48:37 +00:00
Glenn Maynard ad40d49720 Unacquire before calling SetEventNotification. 2003-07-15 20:41:45 +00:00
Glenn Maynard db3368ae30 Fix fallback banner not always showing. 2003-07-15 20:08:15 +00:00
Glenn Maynard 997b5887d4 zero out m_pInventory 2003-07-15 20:05:00 +00:00
Glenn Maynard 3ecdae154b Add filename to error reporting 2003-07-15 19:55:06 +00:00
Glenn Maynard 40bbdf8fcc error reporting 2003-07-15 19:47:45 +00:00
Glenn Maynard afde724122 fix silly BMS loading bugs 2003-07-15 19:41:13 +00:00
Glenn Maynard 511d5734b9 fix crash if song has no note data 2003-07-15 19:40:41 +00:00
Glenn Maynard 718f3e4e6b fix crash 2003-07-15 09:11:09 +00:00
Glenn Maynard e28ad70a27 Shut down the input thread when resetting the window. 2003-07-15 03:35:47 +00:00
Glenn Maynard 8ccc990b1a Simplify.
Output active filters in the graph.
2003-07-15 03:34:54 +00:00
Glenn Maynard 585673b02e Simplify the sample music code and make it more consistent. 2003-07-15 03:21:50 +00:00
Glenn Maynard 8f07ab28b2 thread debug info 2003-07-15 01:23:11 +00:00
Glenn Maynard 461e1bcf1a Don't parse things yourself when there's code to do it ... 2003-07-15 00:52:01 +00:00
Glenn Maynard 0598ee4050 Add error reporting. 2003-07-15 00:51:10 +00:00
Glenn Maynard d413d6f0be (It's supposed to look like a function call; a function call that casts one
type to another.)

Use a C-style cast instead of static_cast; more readable.
2003-07-15 00:50:52 +00:00
Glenn Maynard f09200a21d disable broken "ReverseDrawOrder" 2003-07-15 00:20:55 +00:00
Glenn Maynard 8a5558e243 bump 2003-07-15 00:09:38 +00:00
Glenn Maynard 6a5ccc2b7d Fix showing odd dimension warning when we shouldn't 2003-07-15 00:01:30 +00:00
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