Commit Graph
20805 Commits
Author SHA1 Message Date
Glenn Maynard da024345f3 cleanup 2006-10-27 05:53:23 +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
John Bauer ce94e14f03 With the playcommand string hack removed, there are a bunch of places
that need the string arguments for playcommand or effectclock in quotes.

Unreviewed
2006-10-26 22:19:31 +00:00
Steve Checkoway 8588b48a15 Set the perspective when drawing in a subclass of ActorFrame, not just for children of subclasses. 2006-10-26 06:03:12 +00:00
Glenn Maynard 42583a63d5 remove bFirstParamIsString 2006-10-23 21:13:51 +00:00
Glenn Maynard 6636b13eb7 remove queuecommandm hack 2006-10-23 21:04:07 +00:00
Glenn Maynard 99a26fe6bc remove queuemessage hack 2006-10-23 21:02:17 +00:00
Glenn Maynard 7a912fc728 remove effectclock hack 2006-10-23 20:59:10 +00:00
Glenn Maynard 6327074f99 remove comment hacks 2006-10-23 20:54:53 +00:00
Glenn Maynard e246824ce3 remove ugly RunAtExpressionS 2006-10-23 20:40:32 +00:00
Glenn Maynard 42a729012e remove unused 2006-10-23 20:34:03 +00:00
Glenn Maynard 915f587d21 don't eval here. This dates back to when commands were
actually parsed with Commands; if you really want to eval
a GameCommand, eval the whole string: Choice1="screen,"..f()
2006-10-23 20:33:32 +00:00
Glenn Maynard e5c216c8f0 remove unused (way too many little custom ways of loading Lua scripts) 2006-10-23 20:25:20 +00:00
Glenn Maynard 0ebc4a9900 header cleanup 2006-10-23 20:18:28 +00:00
Glenn Maynard 3e959745e1 remove unused 2006-10-23 20:13:45 +00:00
Steve Checkoway 840a11d589 Unused. 2006-10-23 18:34:43 +00:00
Steve Checkoway 522cb68178 Comment. 2006-10-23 18:21:46 +00:00
John Bauer a50516f00b Fix the build. 2006-10-23 17:59:25 +00:00
Glenn Maynard e76a9c8965 remove parent parameter. Use self:GetParent(). 2006-10-23 09:14:27 +00:00
Chris Danford 5216992b26 change InputScheme for easier maintenance of game definitions 2006-10-23 06:47:54 +00:00
Steve Checkoway 9d19fd5008 Simplify. 2006-10-23 03:35:34 +00:00
Steve Checkoway 802b2349a1 Simplify reverse iterators. There isn't a "past the beginning" iterator so this is hard to make a true bidirectional iterator. Instead restrict this to a single direction based on the m_bReverse parameter. Use the "past the end" iterator in place of the "past the beginning" iterator when in reverse. 2006-10-23 03:33:24 +00:00
Steve Checkoway 979f7843ed Optimize. It's a bit tricky to think about but pleasantly symmetric. 2006-10-23 01:03:49 +00:00
Steve Checkoway 4805c6889d Fix statement with no effect. = has a higher precedence than ?:. 2006-10-23 00:15:43 +00:00
Steve Checkoway a8d0c464e2 Unused. 2006-10-23 00:14:29 +00:00
Steve Checkoway cd9ec6d6c0 Pointers to a member function Foo::Bar() have the form &Foo::Bar. The & is mandatory, unlike pointers to functions. 2006-10-23 00:14:12 +00:00
Chris Danford 21fafaa046 add all_tracks_reverse_iterator 2006-10-22 23:08:13 +00:00
John Bauer e555a51f9a Fix the Release build, which was missing some important libraries.
Unreviewed.
2006-10-22 13:39:53 +00:00
John Bauer e28f5f5ce8 Cosmetic changes:
merge an if and a switch that test the same thing
embellish a LOG line

R=steve
2006-10-22 13:36:59 +00:00
Jason Felds 5242ac7708 Adjust intermediate and output directory on FastDebug to match with Release and Debug. (This is what probably should have been done instead of the .cvsignore in src/ .) 2006-10-22 07:12:25 +00:00
Jason Felds 56ceb126a0 Hack. Add direct translit support for DWI. 2006-10-22 06:36:05 +00:00
John Bauer 606bd65340 Revert an accidental change that made the Debug version
link as if it were the Release version.

R=cdanford
2006-10-22 00:17:53 +00:00
Steve Checkoway 6a4e58a8fd Cannot pass nonPOD through ..., will abort at runtime. (Why gcc doesn't just make this an error, I'll never know.) 2006-10-21 08:59:00 +00:00
Steve Checkoway 89f60be8bf ctor. 2006-10-21 08:55:54 +00:00
Chris Danford a7220007fe add ScreenTestMode debugging 2006-10-21 06:02:22 +00:00
Chris Danford 7680b543b3 temporary fix to UNIQUE_NAME for VC7.1 2006-10-21 05:56:53 +00:00
Glenn Maynard 3f1d7684bb use ConvertValue
if(n == 1), not if(1 == n)
2006-10-20 09:49:58 +00:00
Glenn Maynard 352ad4843d fix up goofy error checking 2006-10-20 09:47:24 +00:00
Glenn Maynard 04b1490b51 faster, more reliable error checking 2006-10-20 09:43:56 +00:00
Chris Danford 87d43fb153 fix FastDebug 2006-10-20 09:42:57 +00:00
Glenn Maynard 43a9f7b451 simplify 2006-10-20 09:35:38 +00:00
Chris Danford fec2d3628b only accept start/back on IET_REPEAT so that Start can be tested without exiting the screen. 2006-10-20 08:46:39 +00:00
Steve Checkoway 56d052f6f1 Fix potential crash if the style has more columns than the max allowed. 2006-10-20 07:50:20 +00:00
Steve Checkoway 228e566f21 Simplify. 2006-10-20 07:45:36 +00:00
Steve Checkoway 1b6b6f68c2 GenericTween(On|Off). 2006-10-20 07:29:23 +00:00
Steve Checkoway ea34c45ab3 Oops. Turn debugging off. 2006-10-20 07:27:19 +00:00
Steve Checkoway 035c833314 Unused. 2006-10-20 07:17:31 +00:00
Steve Checkoway 18ad948dac Simplify by inheriting from SWME. 2006-10-20 07:08:36 +00:00
Steve Checkoway 412413fa5c m_sName. 2006-10-20 06:47:20 +00:00
Steve Checkoway 5476c60b41 Stick the scrolling text into a separate actor and add that as a child. The scrolling text only needs a single BitmapText "stamp" that it moves around and draws. 2006-10-20 06:44:15 +00:00