Glenn Maynard
3f3e6cd480
fix init order warning
2006-12-16 22:12:20 +00:00
Chris Danford
3022def914
don't allow Hopo on the same note 2x in series
2006-12-01 05:37:33 +00:00
John Bauer
aedcc9f208
Factor out a call to GameState::ResetOptions. Also, move the state that
...
keeps track of whether NoteSkin was changed or not into GameState.
2006-11-30 19:29:15 +00:00
Chris Danford
6b07fcaed5
add hammer-ons and pull-offs ("hopo")
2006-11-30 12:29:01 +00:00
John Bauer
f5adc9686d
Reorder some includes.
2006-11-28 19:08:27 +00:00
John Bauer
be09ae8e81
Make it so that the default NoteSkin when playing in EditMode is "note",
...
not "default". Earlier it was set so that it would be that way if the user
didn't pick any options, but after the user changed options, ScreenEdit
would use the "default" NoteSkin. This involved adding a bit of static
state to ScreenEdit so that between calls to GAMESTATE::Reset,
new incarnations of ScreenEdits would keep the user's settings.
2006-11-28 18:55:20 +00:00
Glenn Maynard
15fd4ad880
fix "extra qualification ‘GameStateImpl::’ on member ‘GameStateImpl’"
2006-11-26 23:37:15 +00:00
Glenn Maynard
2766d0b970
fix crash when GetCurrentStyle() == NULL
2006-11-22 02:07:38 +00:00
Glenn Maynard
a5bb9fc32a
remove GetCurrentStyleType
2006-11-22 02:07:08 +00:00
Glenn Maynard
7ef6009567
Screen::JoinInput -> GameState::JoinInput
2006-11-21 19:57:58 +00:00
Glenn Maynard
e386583dc8
High-level preferences that pull in other dependencies should be
...
moved out of PrefsManager; add GamePreferences for when we don't
have a convenient place to put it.
2006-11-21 04:54:50 +00:00
Glenn Maynard
8ab6be7bde
move Premium into GameState
2006-11-21 03:35:43 +00:00
Glenn Maynard
6207f655e5
fix dep: ScreenManager shouldn't use GameState
2006-11-21 02:01:40 +00:00
Glenn Maynard
70d2d0dbc7
PlayerNumber is a simple, regular data structure, and is depended on
...
by lower level things (eg. InputMapper). However, concepts like
"joined players" and "human players" is a high-level, GAMESTATE
concept, and engine stuff shouldn't depend on that. Move the
GameState-depending stuff into GameState. Move
IsAnyPlayerUsingMemoryCard as well (and rename to HumanPlayer),
to fix MemoryCardManager dep.
2006-11-21 01:32:05 +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
ec061bebc3
Message -> MessageID
2006-11-13 22:36:39 +00:00
Glenn Maynard
ff4376868f
FailEndOfSong sounds like "fail at the end of the song", but
...
actually means "fail immediately, but you can play the rest
of the song anyway". Rename FAIL_END_OF_SONG to
FAIL_IMMEDIATE_CONTINUE, to reflect this better.
2006-11-09 07:49:49 +00:00
Glenn Maynard
93e85f9125
remove unused
2006-11-09 07:44:31 +00:00
Glenn Maynard
31534db436
if FAIL_OFF, don't set DANGER or DEAD. This means
...
GameState::AllAreInDangerOrWorse is always false in FAIL_OFF; if
emptying the lifebar doesn't fail you, you're not in danger from it.
2006-11-09 06:26:28 +00:00
Glenn Maynard
d0ce8aef5b
Simplify: ShowDanger is a Background preference, and should not
...
influence GameState.
2006-11-09 06:14:19 +00:00
Glenn Maynard
43b7c4ac7d
m_HealthState is confusing; it's updated from other stats, and then the
...
original stats as well as m_HealthState are used for control logic.
Simplify; remove AllAreFailing, and figure it out directly.
2006-11-09 06:10:19 +00:00
Steve Checkoway
9ef4cf40e0
Scale GetTotalPossibleStepsSeconds() by fMusicRate. Fixes ComboGraph and GraphDisplay when using a different music rate.
2006-10-30 10:00:43 +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
Steve Checkoway
64138f7894
Enums.
2006-10-17 08:22:47 +00:00
Glenn Maynard
99678eb50f
PlayerNumber
2006-10-17 07:54:04 +00:00
Glenn Maynard
0833c198e3
SetCurrentSong(nil) is valid
2006-10-15 01:47:22 +00:00
Glenn Maynard
78a91ba878
revert. You brought back a type I've been trying to remove.
2006-10-07 22:33:24 +00:00
Steve Checkoway
73663c4f8a
CourseDifficulty.
2006-10-07 10:49:53 +00:00
Glenn Maynard
4bb479a445
standard enums for some preference types
2006-10-07 07:43:18 +00:00
Glenn Maynard
0493bc75a9
standard enums for some preference types
2006-10-07 05:52:45 +00:00
Glenn Maynard
de6ca466d2
more enum standardization
2006-10-07 04:39:48 +00:00
Glenn Maynard
2ce839e4eb
Invalid
2006-10-07 04:25:28 +00:00
Glenn Maynard
8a4ddd1515
Invalid
2006-10-07 04:13:43 +00:00
Glenn Maynard
cb746be4c3
Invalid
2006-10-07 03:43:41 +00:00
Glenn Maynard
d3c32bbc61
fix binding
2006-10-05 22:01:35 +00:00
Glenn Maynard
38b9f59b83
don't FinishStage in BeginStage
2006-10-04 02:51:32 +00:00
Glenn Maynard
ecef158b06
eliminate InputMapper dependency on GameState. GameState
...
now tells InputMapper if it should join players.
2006-09-30 22:29:03 +00:00
Glenn Maynard
d84d69edbc
GetCurrentStyle
2006-09-30 22:24:11 +00:00
Glenn Maynard
0b45f5dd0a
use SetCurrentStyle
2006-09-30 22:22:26 +00:00
Glenn Maynard
fcffe3c80f
add SetCurrentStyle
2006-09-30 22:15:22 +00:00
Glenn Maynard
5e99a1c9e9
remove GameState::PlayerUsingBothSides
2006-09-30 02:57:05 +00:00
Glenn Maynard
c690fdcfe4
unify registration
2006-09-29 00:01:32 +00:00
Glenn Maynard
e0bf203af4
testing simpler boilerplate
2006-09-27 19:02:46 +00:00
Glenn Maynard
c1194da0d0
bind MultiPlayer
2006-09-27 06:18:11 +00:00
Glenn Maynard
51d22ce2f4
update binding
2006-09-27 01:48:30 +00:00
Glenn Maynard
9c9440c8a0
PlayMode_Invalid
2006-09-26 20:32:41 +00:00
Glenn Maynard
f806ec5936
StepsType_Invalid
2006-09-26 20:28:46 +00:00
Glenn Maynard
e8a3c636f6
SortOrder_INVALID, NUM_SortOrder
2006-09-26 07:42:55 +00:00
Glenn Maynard
14b51a70d7
update Stage
2006-09-26 05:08:52 +00:00
Glenn Maynard
3dac292642
update ModsLevel use
2006-09-26 04:03:59 +00:00