Commit Graph

41 Commits

Author SHA1 Message Date
Chris Danford 316f9b511f fix sync info showing when autosync is off 2008-05-28 10:14:37 +00:00
Chris Danford 89a4aeb1ff remove ScreenGameplaySyncMachine - instead concentrage on better sync controls in ScreenGameplay/ScreenSyncOverlay 2008-05-11 08:16:10 +00:00
Glenn Maynard 3e36a05c5f fix song.h!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2008-03-09 01:51:34 +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
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
Glenn Maynard c71d8f7425 IET_SLOW_REPEAT -> IET_REPEAT 2006-09-13 02:59:05 +00:00
Glenn Maynard d03db0c4f9 remove IET_FAST_REPEAT 2006-09-13 02:55:19 +00:00
Glenn Maynard e04a48128d IET_FAST_REPEAT is the same as IET_SLOW_REPEAT, sent instead
after the button has been held a while.  It hasn't actually been a different
repeat rate for a very long time, and was partially phased out a while ago.
Now it's just used to see if the button has been held a while.  Do that with
GetSecsHeld instead.
2006-09-13 02:44:03 +00:00
Chris Danford 09c963ed2d only accept RevertSyncChanges on first press 2006-08-12 08:42:47 +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 1a902b3abd add pref for showing autoplay status 2006-07-08 09:05:44 +00:00
Chris Danford 9899308409 add pref for showing autoplay status 2006-07-08 08:32:54 +00:00
Chris Danford fe14635d12 fix sync overlay help sticks around between stages 2006-04-04 21:48:17 +00:00
Chris Danford 00a08603a9 consolidate sync change strings and logic 2006-03-18 23:53:13 +00:00
Chris Danford 116c8cd1b0 localize sync overlay help 2006-03-18 23:18:34 +00:00
Chris Danford c58eeda0e4 fix wrong BPM number displayed 2006-02-15 03:50:50 +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
Glenn Maynard 9b6d31b8e9 cleanup 2006-01-26 06:21:57 +00:00
Glenn Maynard 88f525bbca converge keyboard mappings on this screen to one place
allow changing the global offset while in a course
2006-01-26 06:12:25 +00:00
Glenn Maynard 73afc606b5 reverse comment 2006-01-26 05:55:19 +00:00
Glenn Maynard 77937ea410 cleanup 2006-01-26 05:53:29 +00:00
Glenn Maynard 9e53044d00 remove Actor:: qualifier 2006-01-23 04:42:12 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard a87993bcb1 finish ctor transition 2006-01-15 20:46:15 +00:00
Glenn Maynard 87ea090b9b Transition away from Screen(sName). 2006-01-15 18:37:57 +00:00
Steve Checkoway db70c7fc8d Fix abort at runtime. 2006-01-11 05:35:41 +00:00
Chris Danford fc18dbd342 make more strings localizable 2006-01-08 18:40:20 +00:00
Chris Danford 74749a19bb move localized string to separate file 2005-12-22 03:10:04 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Chris Danford bb10c7c21f pass around InputEventPlus in Screen::Input instead of multiple input structures 2005-09-05 02:26:50 +00:00
Glenn Maynard 0022bc3338 cleanup 2005-09-03 02:08:27 +00:00
Glenn Maynard 6ac51af9c2 header 2005-07-20 09:48:19 +00:00
Chris Danford 2fd3c1b13a say in sync message whether notes are earlier or later 2005-06-02 21:48:53 +00:00
Chris Danford d95fb8cc83 say in sync message whether notes are earlier or later 2005-06-02 21:48:06 +00:00
Chris Danford c3590e69e6 always hide sync overlay after a few seconds 2005-06-02 08:31:31 +00:00
Chris Danford 9048ffa9de disable sync in course modes 2005-05-20 18:38:53 +00:00
Glenn Maynard e4a12fa22d float 2005-05-20 01:04:05 +00:00
Glenn Maynard fcab77004e fix warning
prefer float over double
2005-05-20 00:35:40 +00:00
Chris Danford d67d60e178 sync controls cleanup:
move sync display/saving out of complicated ScreenGameplay
  show sync UI in editor playback as well as gameplay
  revert sync from in-memory backup, not from disk
  move more functions into debug overlay
2005-05-19 23:29:39 +00:00