Commit Graph

28 Commits

Author SHA1 Message Date
Chris Danford bb17b6ff29 GameController enum cleanup 2009-03-22 20:14:56 +00:00
Chris Danford 0f06e96823 re-add SyncMachine unused code so that it gets maintained 2008-05-12 21:38:11 +00:00
Chris Danford 89a4aeb1ff remove ScreenGameplaySyncMachine - instead concentrage on better sync controls in ScreenGameplay/ScreenSyncOverlay 2008-05-11 08:16:10 +00:00
Steve Checkoway 521c1c23e5 GAMEMAN-> to GameManager:: 2008-03-24 12:50:16 +00:00
Steve Checkoway 1b2c9da350 Don't create a loader. 2007-02-14 10:09:05 +00:00
Glenn Maynard f0dab15f30 move AutoPlay 2006-11-21 05:02:55 +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 db3aa0d73a simplify inheritance 2006-10-04 02:44:52 +00:00
Glenn Maynard 0b45f5dd0a use SetCurrentStyle 2006-09-30 22:22:26 +00:00
Glenn Maynard cf5dba03a4 GameController_Invalid 2006-09-26 20:59:40 +00:00
Glenn Maynard 9c9440c8a0 PlayMode_Invalid 2006-09-26 20:32:41 +00:00
Glenn Maynard 0f2707fe9c GenericTweenOn, GenericTweenOff 2006-09-23 03:57:11 +00:00
Glenn Maynard c9c88f26c2 input.MenuI.player -> input.pn 2006-09-14 03:18:16 +00:00
Glenn Maynard 7bab74efab As far as I can tell, StyleI.player is always the
same as MenuI.player if the style is set.  Phase
it out.
2006-09-12 23:29:08 +00:00
Glenn Maynard 2df9b2069b fix ScreenGameplaySyncMachine 2006-08-18 01:19:20 +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
Chris Danford af3e1c571c move Steps searching out of song into SongUtil so that it can be shared with CourseEntry 2006-06-13 01:10:37 +00:00
Chris Danford 3132f177f3 show standard deviation 2006-04-06 19:54:07 +00:00
Chris Danford 2f7286bf57 localize sync text 2006-04-06 19:34:26 +00:00
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
Glenn Maynard 3e919cca40 textSyncInfo OnCommand 2006-03-14 05:40:45 +00:00
Chris Danford e691b97d31 reset autosync between each loop in SGSyncMachine 2006-03-09 06:39:24 +00:00
Chris Danford 1fb529668c autosync screen cleanup 2006-02-06 06:50:10 +00:00
Chris Danford cce97c40b8 move autosync logic out of Player and GameState, into a separate file 2006-02-06 01:23:25 +00:00
Chris Danford 8d584de037 push ScreenSaveSync instead of making it a separate screen. Simplifies branching. 2006-02-04 20:14:04 +00:00
Chris Danford ae1bf0dcd8 add ScreenGameplaySyncMachine 2006-02-04 18:39:37 +00:00