Commit Graph

21324 Commits

Author SHA1 Message Date
Glenn Maynard 70dac0bb74 fix GetMultiPlayerStageStats 2006-07-02 01:22:06 +00:00
Glenn Maynard eab508f407 unused 2006-07-02 00:26:33 +00:00
Glenn Maynard c9ae1296d1 Add BeginCommand.
There are several initialization commands; they all serve distinct purposes.

InitCommand is run exactly once; it sets initial state, typically state which
never changes for the lifetime of the actor.  Copied actors will not call
this command again; they'll simply inherit the state from the original.

BeginCommand is run from BeginScreen, and is intended to set the actor up
for that run of the screen, as BeginScreen does for the screen.  This
includes setting text or graphics based on current game state; eg.
"settext,GAMESTATE:GetCurrentSong():GetDisplayFullTitle()".

OnCommand is also run from BeginScreen, and begins the actor's on tween.

BeginCommand are mostly equivalent; they're run from the same place.  BeginCommand
is intended to be used from base XML actors; OnCommand is set by derived XML
actors (explanation of this out of scope).  Also, OnCommand is run inconsistently,
at least in implementation, until the GenericTweenOn() transition is complete.
BeginCommand is not.

(As with all commands, this can be declared for the screen itself by using the
"ScreenBeginCommand" metric--untested.)
2006-07-01 05:33:49 +00:00
Glenn Maynard b5110ee483 run base earlier (before OnCommand) 2006-07-01 05:24:06 +00:00
Glenn Maynard 7a4bfabf3b always set mp 2006-07-01 03:51:46 +00:00
Glenn Maynard ac2163a049 fix warning 2006-07-01 03:24:12 +00:00
Glenn Maynard 8b2e7065fa cleanup 2006-07-01 03:15:28 +00:00
Glenn Maynard 45582ee9fb support multiplayer 2006-07-01 02:19:44 +00:00
Glenn Maynard 94780b3fad support MultiPlayer inputs 2006-07-01 02:16:38 +00:00
Glenn Maynard 6280cf2356 cleanup 2006-07-01 02:15:22 +00:00
Glenn Maynard 33b0b7bcc5 cleanup 2006-07-01 00:44:52 +00:00
Steve Checkoway a2dca95d01 Use native endian. Now Alsa works for powerpc linux. 2006-06-29 03:22:29 +00:00
Steve Checkoway 7e3622464a Missed commit. 2006-06-29 01:11:10 +00:00
AJ Kelly 37d164decc add missing metrics 2006-06-29 00:49:09 +00:00
Chris Danford 6261246e56 remove unused 2006-06-28 23:47:49 +00:00
Chris Danford 1b749e26ac style cleanup 2006-06-28 18:45:06 +00:00
Chris Danford e0ce810fec remove broken, unused AllowFastSlow 2006-06-28 18:44:28 +00:00
Glenn Maynard 79b819cfba play Cancel on whichever transition is used to cancel; let it play the sound, if wanted; use Cancel in ScreenWithMenuElementsSimple::MenuBack 2006-06-28 04:18:46 +00:00
Glenn Maynard 9d8dd666a1 add ScreenIsPrepped 2006-06-28 03:52:40 +00:00
Chris Danford 99b5732c68 - $no_x = yes
+       no_x = yes
2006-06-28 00:56:00 +00:00
Glenn Maynard 841dcdbb55 ConcurrentlyPrepareScreen 2006-06-27 23:23:10 +00:00
Glenn Maynard f4a048324e support m_fLockInputSecs 2006-06-27 23:18:22 +00:00
Glenn Maynard d49c0ca0b7 unneeded 2006-06-27 23:17:36 +00:00
Glenn Maynard ec91c4030a remove OVERRIDE_LOCK_INPUT_SECONDS, LOCK_INPUT_SECONDS; handle "tiny lock" generally; don't move "lock by tween time" just yet 2006-06-27 23:15:56 +00:00
Glenn Maynard c4b0074ff0 use lockinput, not special metric 2006-06-27 23:08:28 +00:00
Glenn Maynard 0d10d38035 bind lockinput 2006-06-27 23:07:11 +00:00
Glenn Maynard 5795d2b5f6 merge m_fLockInputSecs's 2006-06-27 22:51:43 +00:00
Chris Danford c37953d36b fix --ExportNsisStrings 2006-06-27 22:24:50 +00:00
Chris Danford 8373ad189e fix --ExportNsisStrings 2006-06-27 19:45:15 +00:00
Chris Danford fd12a10e40 punctuation/style cleanup 2006-06-27 19:04:30 +00:00
Chris Danford 0aa85dc163 brighter default for "movies off" 2006-06-27 19:01:40 +00:00
Steve Checkoway cc10b4f368 Fix crash when canceling (probably closing the dialog box or something). 2006-06-27 18:27:51 +00:00
Steve Checkoway 1eeb14cd5a Do not dereference if later = fLifeRecord.end(). 2006-06-27 15:49:37 +00:00
Glenn Maynard a19667e1fc same logic for screen and background: if it's already there, OK 2006-06-27 05:10:25 +00:00
Glenn Maynard 2db50724a3 fix concurrent loading assert 2006-06-27 05:00:48 +00:00
Steve Checkoway d43538bcc3 People keep trying to use newer versions of ffmpeg and it is failing either to compile (in which case they just patch our code to get it to compile) or it crashes when trying to play movies. Check for two things. First, check that the version and build numbers reported in the headers match those returned by the library which should prevent any header/lib mismatch crashes. Second, check for exactly the version/build numbers that we know work are are used in both windows and OS X and worked correctly for ppc linux. If a large number of reports come in with header/lib mismatches, I'll consider removing the check for exactly the version/build numbers. 2006-06-26 23:29:54 +00:00
Glenn Maynard 74c973be29 don't assert if the style changes between Init() and BeginScreen() 2006-06-26 21:40:29 +00:00
Glenn Maynard cd2bc5df7d fix off-by-one errors in FPS display 2006-06-26 18:55:17 +00:00
Steve Checkoway 80698277cf Don't use rand()%n. The function specified by the ANSI committee is a terrible linear congruential generator. In fact, it's so bad that the low order bit alternates. The algorithm implemented as RandomFloat() seems to be Park and Miller's "minimum standard" generator which is better (but not great). [See Knuth for more information.]
Any place where you would use rand()%n, use RandomInt(0, n) instead.
2006-06-26 12:14:30 +00:00
Steve Checkoway d2d24ceb4b Cleanup. 2006-06-26 11:36:10 +00:00
Steve Checkoway 4524010d56 Apply RemoveSimultaneousNotes to each part of a composite NoteData. 2006-06-26 11:35:52 +00:00
Steve Checkoway 78eb52a75c Add missing header. 2006-06-26 10:57:26 +00:00
Steve Checkoway 0279fd908f CombineCompositeNoteData(). This will not let you place a note inside a hold note that already exists. Use this when loading from a string as well. 2006-06-26 10:57:10 +00:00
Steve Checkoway 4240ac6393 Update release script. 2006-06-26 10:42:47 +00:00
Steve Checkoway 8129d943ba It's hard to maintain this information when using begin() and end() so rather than wrapping the iterators, just check each time IsComposite() is called since it doesn't happen _that_ often. Just don't call IsComposite() often. 2006-06-26 09:33:11 +00:00
Chris Danford ec9d50c332 check for period mismatches 2006-06-26 09:05:20 +00:00
Chris Danford db83f9029a remove "see the readme" from explanation text. It's making strings long and is unnecessary. 2006-06-26 09:02:23 +00:00
Glenn Maynard 3f48b7f729 save language after changing 2006-06-26 05:08:55 +00:00
Glenn Maynard c08e133f02 RageDisplay_Null.cpp:89: warning: missing initializer for member `DisplayResolution::bStretched' 2006-06-25 21:42:50 +00:00
Glenn Maynard 861d515d82 NoteField.cpp:153: warning: converting to non-pointer type `int' from NULL 2006-06-25 21:40:42 +00:00