Commit Graph
20680 Commits
Author SHA1 Message Date
Chris Danford efbb6cfe52 allow control from P2, fix P2 input doesn't work after exiting the screen 2006-03-28 20:44:27 +00:00
Chris Danford f9d50da5e1 cleanup for easier debugging 2006-03-28 19:15:44 +00:00
Steve Checkoway 1a240d3b6c Cleanup. 2006-03-28 14:37:40 +00:00
Steve Checkoway 79fdd16a55 Add CrashHandlerInternal.cpp, remove libresample. 2006-03-28 14:31:14 +00:00
Steve Checkoway 5e898497d2 Add file. 2006-03-28 14:26:35 +00:00
Steve Checkoway 81afe152ec Oops, two changes in that last commit. Don't have the child kill the parent any longer. This doesn't work when gdb is tracing. Why is the parent waiting for the child anyway? It shouldn't really matter that much if the child is signaled.
Also, why doesn't RunCrashHandler call _exit()? ForceDeadlock() calls _exit() after RunCrashHandler(), but ForceCrash does not, it has to go back to sm_crash() before _exit() is called. It's all very mysterious at 6:30 am.
2006-03-28 14:26:22 +00:00
Steve Checkoway 746261d8bd Split out itoa, SignalName, and SignalCodeName. All of these are macros, so testing for them directly is okay (at least on OS X and linux). If some other system doesn't implement them as macros, then checks for them can be added to the configure.ac script.
All of these can be called under crash conditions.
2006-03-28 14:20:57 +00:00
Steve Checkoway 6d001dc761 Leave Save in Application Support, put Cache and Logs in Library, and put screenshots in Documents/PRODUCT_ID Screenshots. 2006-03-28 14:16:56 +00:00
Glenn Maynard 514dd69f13 temp revert: this returns [0,n), not [0,n] (fixes crashes) 2006-03-28 12:47:54 +00:00
Glenn Maynard 8d6c634d1e clear these; they're global (though we won't create two RageDisplay_D3D
objects in one run)
2006-03-28 12:24:00 +00:00
Glenn Maynard 800ec64460 remove old 2006-03-28 10:19:47 +00:00
Glenn Maynard 3e20c357ad fix wrong options positions when memory cards inserted 2006-03-28 10:18:45 +00:00
Glenn Maynard 71a4067948 rename 2006-03-28 10:10:44 +00:00
Glenn Maynard 4306178913 sOsMountDir can be long--a mountpoint in Linux and OSX. (It can also
be in NT, but we don't support that yet.)  Move it to a separate text.
2006-03-28 10:03:22 +00:00
Steve Checkoway 30624ab737 No optimizations in any Debug builds. 2006-03-28 10:02:19 +00:00
Glenn Maynard 626cee92af comment 2006-03-28 09:57:31 +00:00
Glenn Maynard d58f58bd88 Fix ScreenOptions::RestartOptions doesn't call AfterChangeRow.
(AfterChangeRow calls AfterChangeValueOrRow.)
2006-03-28 09:56:31 +00:00
Glenn Maynard b02e382975 style 2006-03-28 09:34:10 +00:00
Glenn Maynard ee9c292b09 Implement GlobalOffsetSeconds in GameState::UpdateSongPosition,
not TimingData.  TimingData is a simple data structure, and shouldn't
be affected by hardware tweaks.  This is also easier to bypass in cases
we don't want GlobalOffsetSeconds.

Don't adjust assist tick by GlobalOffsetSeconds.
2006-03-28 09:28:55 +00:00
Glenn Maynard 8d3253442c remove GetBeatAndBPSFromElapsedTime compat 2006-03-28 08:58:30 +00:00
Glenn Maynard 5bcccc78b0 Sometimes, the sync changes negligibly due to rounding error when the user
puts it back where it was.  Use the same logic as GetSyncChangeTextGlobal
and GetSyncChangeTextSong; if the changes are so small that we wouldn't
even display them, don't count them as changed.  (fixes ScreenSaveSync
coming up with an empty list)
2006-03-28 07:26:37 +00:00
Glenn Maynard f4b2e204d6 style cleanup 2006-03-28 06:23:01 +00:00
Glenn Maynard 50bfbb722d Mount Logs to My Documents. The program directory may not be writable. 2006-03-28 06:06:48 +00:00
Glenn Maynard a5453d9652 remove (added twice) 2006-03-28 06:01:24 +00:00
Glenn Maynard f646918959 cleanup 2006-03-28 05:42:38 +00:00
Glenn Maynard b0eb0623de Log pContext->Eip. That way, even if we can't get anything out of the stack,
we always get at least the current address.
2006-03-28 04:58:31 +00:00
Chris Danford b3c4c6d86d remove assert. It's a little risky without more testing 2006-03-28 04:36:49 +00:00
Chris Danford 5a89e2e5e7 fix GCC compile 2006-03-28 04:02:36 +00:00
Glenn Maynard dfdf04e1c0 Move logs into a subdirectory, so they're easier to relocate with mods. 2006-03-28 02:13:08 +00:00
Steve Checkoway a649cce9a6 Disable the real time critical sections, it's causing audio problems on single processor machines. 2006-03-28 02:06:06 +00:00
Chris Danford 367da968f6 theme backslash to fix ugly slashes in edit help text 2006-03-27 22:54:47 +00:00
Chris Danford 6c54c66234 fix crash in EditMode > Practice 2006-03-27 22:38:54 +00:00
Chris Danford 4a1c9776ee ScreenServiceAction mem card strings cleanup 2006-03-27 22:30:39 +00:00
Chris Danford 6d865d4762 fix RandomGen off by 1. Was retruning.[0,max), not [0,max]. (Caused random courseEntries to never pick the last song in the list) 2006-03-27 21:55:34 +00:00
Chris Danford ab84dffa0f disallow locked steps in random courses 2006-03-27 21:53:33 +00:00
Glenn Maynard a212b8b873 missing exception name 2006-03-27 20:47:09 +00:00
Chris Danford 6efb162723 test whether the song required for an edit is present before copying it. Fixes "game said it copied N edits, but none of them are showing". 2006-03-27 20:17:05 +00:00
Chris Danford 9bee8d3b4a copy edits from import dirs too 2006-03-27 19:28:10 +00:00
Chris Danford 59aaab0375 assert( l < h ) in CLAMP 2006-03-27 10:59:13 +00:00
Chris Danford 08ade0ee80 add ranking manual scroll sound
fix weird scrolling if num songs < num lines shown
2006-03-27 10:58:37 +00:00
Chris Danford bde1988a30 fix difficulties jump around when switching StepsType 2006-03-27 07:51:52 +00:00
Glenn Maynard 52ec9b3737 The half-pixel offset fix has been in world space: the theme's resolution
is usually 640x480, and we shifted by -0.5x-0.5 there.  That works for 640x480,
but is incorrect for other resolutions.  Do this in projection space, just like
the centering matrix.

An easy way to test this is to set 1280x960 (2x resolution), create a 1280x960
texture, and display it fullscreen in-game.  Just like at 640x480 with a 640x480
graphic, the texture should be displayed pixel-for-pixel identically to the source
(when in 32-bit).
2006-03-26 22:06:19 +00:00
Glenn Maynard 7b17d06133 split out GetCenteringMatrix 2006-03-26 21:59:29 +00:00
Chris Danford 6d115f5b55 add EqualsNoCase for better clarity than "!string.CompareNoCase()" 2006-03-26 19:19:39 +00:00
Chris Danford b280e160c3 add EqualsNoCase for better clarity than "!string.CompareNoCase()" 2006-03-26 17:50:11 +00:00
Chris Danford ee8329cee6 don't DQ because of forced mods 2006-03-26 17:48:39 +00:00
Chris Danford fc3312f9be broadcast on screen changed 2006-03-26 08:10:53 +00:00
Glenn Maynard d419a65187 bind UnlockEntryIndex 2006-03-26 07:14:44 +00:00
Glenn Maynard 7bc5db6666 This doesn't work: the memory card thread can use Lua, so this
deadlocks.  Use MemoryCardProfiles instead.
2006-03-26 06:48:45 +00:00
Glenn Maynard 262db5e46d Add MemoryCardProfiles. This allows enabling memory cards without
using them for profiles.
2006-03-26 06:43:35 +00:00