Commit Graph

20665 Commits

Author SHA1 Message Date
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
Glenn Maynard b7d200c4e1 m_textDebug OnCommand 2006-03-26 06:22:00 +00:00
Glenn Maynard 6b24dd0309 cleanup 2006-03-26 06:09:12 +00:00
Glenn Maynard 3a80542460 propagate deprecated 2006-03-26 06:07:21 +00:00
Glenn Maynard db3ea69aac Add PlayCommandOnChildren. This obsoletes "propagate". 2006-03-26 06:04:29 +00:00
Glenn Maynard 3943a06255 use GetCommand 2006-03-26 06:02:37 +00:00
Glenn Maynard ab08e39204 return a pointer from Actor::GetCommand, so the command not existing
isn't fatal
2006-03-26 05:53:20 +00:00
Glenn Maynard 458b31b7db fix using a different card than was selected by default uses the old one's state (eg. write test error) 2006-03-26 05:11:06 +00:00
Glenn Maynard 2051b60444 unused 2006-03-26 04:56:12 +00:00
Glenn Maynard 6e520a5678 const 2006-03-26 04:52:59 +00:00
Glenn Maynard f6978880a9 split out UpdateAssignments 2006-03-26 04:51:47 +00:00
Glenn Maynard 830103592a cleanup 2006-03-26 04:50:33 +00:00
Glenn Maynard 41bfd277a5 cleanup 2006-03-26 04:16:57 +00:00
Glenn Maynard d37daab68c move out of PrefsMan 2006-03-26 04:12:17 +00:00
Glenn Maynard f93db25802 Systems with many unbuffered joystick devices may send 50 presses
per frame.  Use a large value, so we only trigger as a diagnostic for
broken RageInputDrivers.
2006-03-26 01:42:37 +00:00
Steve Checkoway 0766c4bf25 How did that happen? 2006-03-25 10:12:10 +00:00