Glenn Maynard
d88d9388f8
simplify
2007-04-25 00:30:30 +00:00
Glenn Maynard
450ed7120b
remove m_bPickExtraStage, use false behavior. Extra stage stuff is way too complicated for too many niche cases.
2007-04-25 00:23:09 +00:00
Glenn Maynard
5318d0670d
Previously, BeginStage was called in SGameplay and FinishStage was called
...
in each place gameplay exits. This incremented the stage number in SSM,
and was brittle: FinishStage was sprinkled in many odd places. Do both
in SGameplay.
This increments the stage number as soon as gameplay ends. This only
affects evaluation. Use the stage number from StageStats there, instead
of the current stage, and adjust branches. During evaluation, the
game is on the upcoming stage and displaying old data for the last
stage, instead of the stage continuing through evaluation.
This also moves a bunch of scoring-related stuff out of SEvaluation,
to the end of gameplay, where it belongs. Eval is almost const, and things
won't break like they would before if Eval is not used.
2007-04-24 01:35:32 +00:00
Glenn Maynard
8a73c1c91e
asserts
2007-04-13 22:25:01 +00:00
Glenn Maynard
ab5ef1ef2a
allow courses to set their preferred style
2007-04-10 23:59:14 +00:00
Glenn Maynard
c11213b098
theme SampleMusicFallbackFadeInSeconds
2007-04-06 18:59:27 +00:00
Glenn Maynard
af1d2c40ed
move params t oa struct
...
simplify fallback
2007-04-06 18:56:53 +00:00
Glenn Maynard
1067755333
allow alternate loop music for music wheel
2007-04-06 18:34:43 +00:00
Glenn Maynard
c69d045490
remove odd command loading (also, load commands in Init, not BeginScreen)
2007-04-06 15:59:07 +00:00
Steve Checkoway
6aaa0f6b1b
Fix extra stage by playing Mods before calling BeginScreen() on the music wheel. I'm not sure that this is the correct way to do this.
2007-04-02 00:14:11 +00:00
Steve Checkoway
7febbc80ad
Fix triggered assert in AfterStepsOrTrailChange.
2007-04-01 05:53:14 +00:00
Chris Danford
43ef38383d
separate CurrentStageIndex into separate number per game and per player. This allowed for staggered join periods.
2007-03-25 09:37:14 +00:00
Glenn Maynard
eed9ff74f5
fix preloading
2007-03-21 06:36:11 +00:00
Glenn Maynard
48d631d6ca
support bOneChoiceForAllPlayers
2007-03-19 00:03:20 +00:00
Glenn Maynard
03f1c24257
fix some accidental selections
2007-03-18 06:26:45 +00:00
Glenn Maynard
2b12f3c936
BeginScreen later, so OnCommand can affect things started yb m_MusicWheel.BeginScreen
2007-03-18 06:17:09 +00:00
Glenn Maynard
00285ab5eb
allow opening options menu while choosing a song
2007-03-17 06:35:58 +00:00
Glenn Maynard
324a84b9c7
more OptionsList control
2007-03-16 22:16:54 +00:00
Glenn Maynard
9ef1b725e8
only reset for the player that pressed the button
2007-03-16 22:14:10 +00:00
Glenn Maynard
3a33a22608
pan when 2 players
2007-03-16 05:11:59 +00:00
Chris Danford
32586f28e1
add IsStepsPlayable, make IsStepsTypePlayable take the number of stages left into account
2007-03-12 01:47:03 +00:00
Steve Checkoway
266d8b9e97
Selecting a song is supposed to be final.
2007-03-11 01:32:43 +00:00
Steve Checkoway
2df0e33424
When using two part selection, allow backing out of selecting steps.
2007-03-11 01:05:01 +00:00
Steve Checkoway
eeede7b6e5
Cleanup.
2007-03-11 00:52:50 +00:00
Chris Danford
0678df9334
use GameState::SetCurrentStyle
2007-03-08 06:01:11 +00:00
Chris Danford
13231a31dc
fix crash when double selected and 2nd player joins
2007-03-08 04:47:47 +00:00
Chris Danford
61946c58b2
fix P2 options not saving
2007-03-08 04:20:12 +00:00
Chris Danford
8b9a7b1ca7
don't allow join after finalized
2007-03-07 22:00:00 +00:00
Chris Danford
6a6f2053eb
fix double start sound
2007-03-07 21:54:10 +00:00
Chris Danford
95861f35c5
add OptionsList broadcasts for Left,Right,Start
2007-03-07 20:36:34 +00:00
Chris Danford
be579c3aaf
add StepsSelected message
2007-03-07 12:11:11 +00:00
Chris Danford
48a69df568
make SM_MenuTimer close all open OptionsLists
2007-03-07 05:03:18 +00:00
Chris Danford
5de38f596e
fix menu timer in TwoPartSelection
2007-03-07 04:18:03 +00:00
Chris Danford
3bf0f5f986
don't trap all buttons (like MenuBack) while in the options list
2007-03-06 18:57:24 +00:00
Chris Danford
ca2222990c
rename: AllStepsTypeInOneList -> AutoSetStyle
...
set m_pCurStyle based on the chosen Steps
2007-03-06 10:05:51 +00:00
Chris Danford
8cbbc48523
when a 2nd player joins, remove double steps from the list. They're no longer playable with 2 players joined.
2007-03-06 08:06:26 +00:00
Chris Danford
a0a018ebb6
add difficulty change with MenuLeft/Right
2007-03-06 03:16:42 +00:00
Chris Danford
f243263089
Add TwoPartSelection metric for Pump-like selection
...
per-player Select Menu
remove m_soundSelectPressed and play sound in Lua instead
2007-03-06 01:51:55 +00:00
Chris Danford
42b6fe9808
working on late join
2007-03-05 07:03:36 +00:00
Chris Danford
a111a7f6e1
When letting SelectMusic choose a Style, don't force that it be set by a proceeding menu.
...
"ALL_STEPS_TYPES_IN_ONE_LIST" is not the best name. It should probably be called "AUTO_SET_STYLE", or something similar.
2007-03-04 20:55:12 +00:00
Chris Danford
cf80f30e3b
beginnings of late join
2007-03-04 08:52:06 +00:00
Chris Danford
ee304290ec
add experimental OptionsList
2007-03-01 07:57:04 +00:00
Chris Danford
9061e2c1c1
move stage logic out of SongManager
...
allow selecting between multiple StepsTypes on ScreenSelectMusic (ala Pump's combined single/double list)
2007-02-23 21:13:45 +00:00
Chris Danford
fd566a6355
don't hardcode banner ztest. Use metrics instead.
2007-02-19 20:12:17 +00:00
Chris Danford
599db61b62
Always call LoadAllCommands explicitly.
...
The hack to LoadAllCommands when playing a command was leading to weird interactions: If a theme element contained an OnCommand, it would cause the rest of the commands defined in metrics to not be loaded.
2007-02-19 09:30:07 +00:00
Chris Danford
56ca4a5a18
add metrics for NextSong and PrevSong buttons
2007-01-16 07:47:00 +00:00
Chris Danford
1ddfac027f
Screen:: -> ScreenWithMenuElements::
2006-12-08 20:28:29 +00:00
Chris Danford
0bfa90b5be
add screen-specific start sound
2006-11-30 07:38:54 +00:00
Chris Danford
2f7ac6aa3c
Add m_ to StageStats and PlayerStageStats members. There are several methods of these classes with local variable names that are similar to the member names. m_ helps distinguish between those two types.
2006-11-14 11:13:21 +00:00
Glenn Maynard
4bb479a445
standard enums for some preference types
2006-10-07 07:43:18 +00:00