Commit Graph

114 Commits

Author SHA1 Message Date
Chris Danford 4e7926bde3 log, don't SystemMessage because it is unnecessary and messes up screenshots 2009-04-10 19:17:31 +00:00
Steve Checkoway ca6f749219 Fix compile. I think this is a C++ standard bug, really. 2009-04-07 23:48:11 +00:00
Chris Danford c07a71bacf show tabs in debug overlay 2009-04-07 11:02:35 +00:00
Chris Danford ed75682b9f remove Workout, fold into EditCourses 2009-03-22 08:42:27 +00:00
Chris Danford a4c8c66d10 add TestInitialScreen, remove ScreenTestMode. It's more convenient to enable/disable testing with one Prefrence than having to change 1 Preference + 1 metric 2008-08-16 10:42:50 +00:00
Steve Checkoway d563a5f640 Make GetValueFromMap static. Also hush bogus warning about possible uninitialized use of iPage. 2008-07-28 04:15:55 +00:00
Chris Danford 0ad1703976 use correct FontBaseZoom 2008-04-28 10:55:54 +00:00
Glenn Maynard 3e36a05c5f fix song.h!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2008-03-09 01:51:34 +00:00
Chris Danford 7ca1ac3fff SurviveSeconds -> AliveSeconds 2007-10-27 01:51:58 +00:00
Chris Danford f6b50e28e9 persist changes to AssistTick by setting as preferred mods 2007-06-18 23:33:32 +00:00
Chris Danford 6487425fde add VisualDelaySeconds to debug menu 2007-06-18 20:59:51 +00:00
Glenn Maynard a18b2d4c93 SaveCurrentSettingsToProfile on debug save 2007-06-15 15:53:13 +00:00
Glenn Maynard 39f75e24c9 better FillProfileStats 2007-06-15 15:00:14 +00:00
Chris Danford 2cfc85f8fc move DECLARE_ONE macro definition down by where it's used 2007-06-09 10:58:32 +00:00
Glenn Maynard dff267eccd move SoundVolume 2007-05-24 21:35:03 +00:00
Glenn Maynard daea875309 use GetSoundVolume 2007-05-24 21:10:32 +00:00
Glenn Maynard 8daf0c49d3 add ShowMasks 2007-05-23 21:07:28 +00:00
Glenn Maynard be985c1d1d hide the overlay to see transitions better after "send on", etc 2007-05-16 01:47:08 +00:00
Glenn Maynard b8273e635d can't call Update() before BeginScreen 2007-05-10 02:48:19 +00:00
Glenn Maynard 2f2af69f69 allow gameplay debug keys on any page 2007-05-09 17:29:55 +00:00
Jason Felds 9e212dba21 gcc typename workaround. Untested in Windows. 2007-05-06 15:32:46 +00:00
Glenn Maynard 929de1dc56 fix button assignment 2007-05-06 05:28:10 +00:00
Glenn Maynard f006256ceb profile debug works on any profile 2007-05-06 05:22:50 +00:00
Glenn Maynard 6b7f932f94 profile debug works on any profile 2007-05-06 05:21:31 +00:00
Glenn Maynard 6b60a97092 Profile::ClearStats 2007-05-06 05:13:58 +00:00
Glenn Maynard 837f29e0f9 multi-page debug 2007-05-06 04:49:21 +00:00
Glenn Maynard 8197823fc1 add on, off debugs 2007-04-29 03:52:57 +00:00
Glenn Maynard bae642b3d7 simplify 2007-04-24 21:11:25 +00:00
Steve Checkoway 0cb56b6ec2 GetAllSongs() -> GetSongs(). 2007-04-07 05:36:40 +00:00
Chris Danford 0160e23705 style cleanup: use FOREACH_ENUM( X, x ) everywhere instead of FOREACH_X( x ) for consistency
The FOREACH_X defines are not very useful, and they were created back before FOREACH_ENUM was convenient.
2007-02-23 22:29:42 +00:00
Chris Danford 019ec5dab0 name cleanup:
GetDescription -> GetDisplayTitle
GetValue -> GetDisplayValue
Do -> DoAndMakeSystemMessage
2007-01-25 11:19:11 +00:00
Chris Danford 179f1b6480 add metronome
rename tick -> clap because "tick" implies a regular interval
2007-01-25 11:03:41 +00:00
Steve Checkoway 2b762a116b Fix compile. 2006-11-22 05:51:10 +00:00
Glenn Maynard f0dab15f30 move AutoPlay 2006-11-21 05:02:55 +00:00
Glenn Maynard e386583dc8 High-level preferences that pull in other dependencies should be
moved out of PrefsManager; add GamePreferences for when we don't
have a convenient place to put it.
2006-11-21 04:54:50 +00:00
John Bauer 37f9178f61 Add an "Autosync Tempo" feature. This uses a linear Least Squares
Regression to figure out a line through the user's step errors to minimize
that error.  It then uses the slope of that line to fix the tempo and the
intercept to fix the offset.  Stops are adjusted as if they were originally
calculated as a number of beats, ie the slope is also used to change
the stops.

Also fixed is a bug where the user doesn't get a chance to keep or
reject the sync changes when ESCing (ZZing) from a song.

R=glenn
2006-10-26 22:41:40 +00:00
Glenn Maynard 0de94fb55c remove Actor:: 2006-09-26 19:48:46 +00:00
Steve Checkoway 488d166ba4 Deprecated. Note that lua_objlen() doesn't actually return the number of elements in the table. It simply evaluates the new # operator which will return the first integer n such that t[n] is not nil and t[n+1] is nil. Note that this means that this is only useful for tables which have no "holes" and integer indexes (starting at 1).
If you really want the table size, you have to walk the whole table (using next() or pairs() in Lua or lua_next() in C).
2006-09-26 09:32:14 +00:00
Glenn Maynard 48bb38ee12 NUM_CoinMode 2006-09-26 07:49:25 +00:00
Glenn Maynard 4e89ac8131 reoad from the bottom screen, not the top 2006-08-31 20:49:39 +00:00
Chris Danford cb5ad60bf9 no song sync in courses 2006-08-18 04:47:11 +00:00
Steve Checkoway 35c48c3671 Header cleanup. 2006-08-17 18:52:46 +00:00
Glenn Maynard af574d7a4c pop screens first, so we don't ResetGame while the screen is still
on the stack
2006-08-15 22:27:27 +00:00
Steve Checkoway c0ca082353 Simplify. 2006-08-12 23:20:43 +00:00
Steve Checkoway 91b3735332 Missing button. 2006-08-12 23:16:15 +00:00
Glenn Maynard cf4616a6eb add DebugLineRestartCurrentScreen 2006-08-10 17:49:40 +00:00
Glenn Maynard ea879be3e9 delete all screens when reloading 2006-08-09 03:29:24 +00:00
Steve Checkoway 0cb22fb806 Apparently VC doesn't like using (group).GroupType as a type (and frankly, I couldn't get g++ to accept it outside of StepMania, either) so use the macros with PO and SO prefixes for PlayerOptions and SongOptions, respectively. Also, pointers to data members can't point to elements of an array (no idea why gcc was allowing it before) so use Assign_n and pass the index separately. (Very annoying, typeof() should really be in the standard.) 2006-08-05 08:02:49 +00:00
Steve Checkoway 1802e603b3 Update to use the new ModsGroup api. 2006-08-05 04:47:01 +00:00
Chris Danford 7ac45c24e4 save Preferred, Stage, Song, and Current modifiers separately. This eliminates the fragile mods store/restore. 2006-08-05 02:38:05 +00:00