Glenn Maynard
5cd1a60711
custom formatting. Use 'Format=FormatPercentScore' to use the old behavior.
2006-07-05 03:18:26 +00:00
Glenn Maynard
9843feb01f
make invalid conf types non-fatal
2006-07-05 02:39:47 +00:00
Steve Checkoway
ed46fef871
Dump avcodec version and build info.
2006-07-04 19:27:10 +00:00
Steve Checkoway
cfebcf7b90
Case.
2006-07-04 18:42:55 +00:00
Steve Checkoway
6f27069ac0
Simplify.
2006-07-03 06:45:14 +00:00
Steve Checkoway
3712277c6a
CancelStage when backing out of ScreenStage. This fixes backing out of final stage early goes to extra stage and backing out of extra stage early goes to extra stage 2.
2006-07-03 06:18:18 +00:00
Steve Checkoway
ea1ec405e5
Make the minimum score to stay alive be themeable.
2006-07-03 04:30:20 +00:00
Steve Checkoway
227d2d1575
Add StringTo<TapNoteScore>. (Normally this would be part of the StringToX macro.
2006-07-03 04:29:41 +00:00
Steve Checkoway
16a1301fae
Cleanup.
2006-07-03 04:05:32 +00:00
Steve Checkoway
fae99b18f1
Fix getting another extra stage if pick extra stage is on and you play the chosen song.
2006-07-03 03:46:34 +00:00
Chris Danford
380f97f903
fix course entry sorting
2006-07-03 00:05:13 +00:00
Chris Danford
d743fc5a65
add CourseNameValidation
2006-07-03 00:04:44 +00:00
Chris Danford
66d25f70ec
AccumStageStats -> AccumPlayedStageStats
2006-07-03 00:04:30 +00:00
Steve Checkoway
14b91aea37
Don't add random entries (pSong = NULL) to vSongs. Assert that pSong is never NULL.
2006-07-02 22:02:59 +00:00
Chris Danford
97d28100ae
use SongCriteria and StepsCriteria to resolve songs for Trail
2006-07-02 06:04:53 +00:00
Chris Danford
c2e8e70cf7
fix null deref if song set and steps not set in GetCurrentCreditsText
2006-07-02 06:03:48 +00:00
Chris Danford
a31fd85b1d
fix bullet DrawOrder doesn't take effect
2006-07-02 06:00:48 +00:00
Chris Danford
2ed665604f
play gainfocus/losefocus on m_sprMore
2006-07-02 05:57:22 +00:00
Chris Danford
9398c8a2b6
VC6 compile fix
2006-07-02 05:21:59 +00:00
Glenn Maynard
fd7e49b66b
simplify
2006-07-02 05:01:07 +00:00
Glenn Maynard
70dac0bb74
fix GetMultiPlayerStageStats
2006-07-02 01:22:06 +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
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
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
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
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
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