Glenn Maynard
79fefa5065
remove unused GivingUpGoesToNextScreen
2007-05-01 19:12:05 +00:00
Glenn Maynard
312845df6d
fix bool
2007-05-01 19:09:42 +00:00
Glenn Maynard
620f5f8f07
fix importing after continue unjoins players
2007-05-01 17:48:57 +00:00
Glenn Maynard
adfb7c89ab
remove unused
2007-05-01 04:32:59 +00:00
Glenn Maynard
5cf9e757a0
remove unused m_sprCourseSongNumber
2007-05-01 04:29:28 +00:00
Glenn Maynard
4c431ccaf4
metrics
2007-05-01 02:26:21 +00:00
Glenn Maynard
f94e5a5ff2
Refactor and make music ending more explicit. If we're going to
...
fade, set it up at the start; fading is done before buffering, so changing
it is high-latency.
2007-05-01 02:25:38 +00:00
Glenn Maynard
d12876adb7
fix glitches if p1 is mini and p2 is not
2007-04-30 16:55:42 +00:00
Glenn Maynard
e505263ec1
simplify beat
2007-04-29 19:56:06 +00:00
Glenn Maynard
eb792833d6
course 2p fixes
2007-04-29 19:54:56 +00:00
Glenn Maynard
080d39351b
unwrap to simplify
...
fix assert when no players joined; pretend one player joined
2007-04-29 04:22:04 +00:00
Glenn Maynard
8197823fc1
add on, off debugs
2007-04-29 03:52:57 +00:00
Glenn Maynard
69c31c1f3f
clamp level to 0 if not reported held
2007-04-29 03:45:03 +00:00
Glenn Maynard
37153327bb
scope
2007-04-29 03:44:17 +00:00
Glenn Maynard
b07a3d75d0
tweak
2007-04-29 00:02:37 +00:00
Glenn Maynard
9e26ff0fe1
haste goes to 1.6, not 3.2
2007-04-28 23:31:23 +00:00
Glenn Maynard
f803ab472e
play sound
2007-04-28 23:21:32 +00:00
Glenn Maynard
cc4a30ba13
cleanup
2007-04-28 23:17:08 +00:00
Glenn Maynard
e85e95c0b2
fix "Set" caled twice
2007-04-28 22:29:12 +00:00
Glenn Maynard
57cbdaeffe
cleanup
2007-04-28 22:06:57 +00:00
Glenn Maynard
0298438390
do less work if iIndex specified
2007-04-28 22:06:36 +00:00
Glenn Maynard
b22c311975
fix flush
2007-04-28 22:06:10 +00:00
Glenn Maynard
4f2139ebb3
make zoom affect combo too
2007-04-28 20:26:14 +00:00
Glenn Maynard
2529c138b4
fix backwards, add test
2007-04-28 20:00:29 +00:00
Glenn Maynard
8b8329dec7
fix up zoom
2007-04-28 19:43:33 +00:00
Glenn Maynard
9e1a2441b0
optimize. GetLuaType is fast, but still locks Lua and impacts gameplay
...
a bit when ARROW_SPACING is looked up hundreds of times per
frame.
2007-04-28 19:27:36 +00:00
Glenn Maynard
12b5e4c008
unused
2007-04-28 16:32:20 +00:00
Glenn Maynard
da811a3f33
debugging
2007-04-28 16:26:09 +00:00
Glenn Maynard
a464aeef7b
cleanup
2007-04-27 23:28:41 +00:00
Glenn Maynard
7c314952b2
better reset on unjoin
2007-04-27 21:14:50 +00:00
Glenn Maynard
6d9e23f60c
cleanup
2007-04-27 19:53:33 +00:00
Glenn Maynard
d4469afd7a
also fix course crash when SongsPerPlay > 3
2007-04-27 00:40:52 +00:00
Glenn Maynard
e432337815
fix course crash when SongsPerPlay > 3
2007-04-27 00:36:58 +00:00
Glenn Maynard
702b1a03c0
add JointPremium pref
2007-04-26 18:13:37 +00:00
Glenn Maynard
3edeb1a0be
tweak LifeDifficulty
2007-04-26 17:53:54 +00:00
Glenn Maynard
c4f451a9ee
honor locked input for start presses
2007-04-26 17:07:35 +00:00
Glenn Maynard
db22d5fffd
fix hard to read
2007-04-26 16:49:49 +00:00
Glenn Maynard
51618f60e9
update
2007-04-26 02:26:22 +00:00
Glenn Maynard
74a17abe9b
modified haste mechanics
2007-04-26 00:56:37 +00:00
Glenn Maynard
0036068bd5
missed DQ changes
2007-04-26 00:54:33 +00:00
Glenn Maynard
6494893afb
fix ScreenTestMode
2007-04-25 23:12:44 +00:00
Glenn Maynard
82a026133b
clamp timer
2007-04-25 22:57:55 +00:00
Glenn Maynard
bed13264a1
allow rushing the timer with arrow buttons, too
2007-04-25 22:35:50 +00:00
Glenn Maynard
75e2a58944
ifx funky timer behavior
2007-04-25 22:27:36 +00:00
Glenn Maynard
f2a12492e0
rename
2007-04-25 21:22:45 +00:00
Glenn Maynard
424e7c0bf0
cleanup
2007-04-25 21:21:50 +00:00
Glenn Maynard
0939a2f69b
remove stale code
2007-04-25 21:18:38 +00:00
Glenn Maynard
b0cc029f15
cleanup
2007-04-25 20:57:28 +00:00
Glenn Maynard
5f34c4bab3
add m_aButtonsToNotHold
2007-04-25 20:24:13 +00:00
Glenn Maynard
9bbed8657d
fMaxSecondsBack -> m_fMaxSecondsBack
2007-04-25 20:19:06 +00:00
Glenn Maynard
79194f2d6b
missed commit
2007-04-25 20:01:11 +00:00
Glenn Maynard
3902001ec5
fix crash
2007-04-25 20:00:41 +00:00
Glenn Maynard
643cadbbe0
fix up DQ; CurStageStats changes didn't interact well with it
2007-04-25 20:00:18 +00:00
Glenn Maynard
9ed7cf25f3
move AllHumanHaveComboOf30OrMoreMisses into StageStats
2007-04-25 16:39:03 +00:00
Glenn Maynard
1f4889effe
barrier not needed anymore
2007-04-25 16:37:05 +00:00
Glenn Maynard
acdfa60b0b
barrier not needed anymore
2007-04-25 16:36:03 +00:00
Glenn Maynard
4fbac59b2f
this is done explicitly
2007-04-25 16:35:43 +00:00
Glenn Maynard
def4aedce6
no saved stats in multiplayer
2007-04-25 16:34:08 +00:00
Glenn Maynard
dcb952fbf5
make this explicit
2007-04-25 16:22:30 +00:00
Glenn Maynard
e774751e95
run final stats before sending m_CurStageStats to m_vPlayedStageStats
2007-04-25 16:16:53 +00:00
Glenn Maynard
7f6a237cdd
handle failure in SGameplay, not SContinue; fixes name entry
...
not knowing a player is finished
2007-04-25 04:03:20 +00:00
Glenn Maynard
508e61131b
update
2007-04-25 03:52:14 +00:00
Glenn Maynard
5e017af7a6
partial update
2007-04-25 03:51:42 +00:00
Glenn Maynard
b0e6eb178b
partial update (functional)
2007-04-25 03:51:16 +00:00
Glenn Maynard
713c95b2b0
Stage refactoring:
...
- m_iPlayerCurrentStageIndexForCurrentCredit is changed to m_iPlayerStageTokens,
counting the number of stages left. This can be incremented and decremented
(as a bonus or penalty) with no weird side-effects; it is not used to determine
whether the player is on an extra stage. This is less brittle; it eliminates
special cases to avoid incrementing the counter and skipping into an extra stage.
- Stage tokens are subtracted for each song played, and a player is unjoined
when he runs out.
- Stage tokens are subtracted at the start of gameplay. If the player cancels,
they're "refunded". This differs from before, where the stage was incremented
at the end of gameplay. This makes the stage token counter meaningful during
gameplay; if this is done at the end, then it would be too high during gameplay.
- IsFinalStage is gone. If needed, use GetSmallestNumStagesLeftForAnyHumanPlayer.
- Extra stages are awarded by adding a stage token and incrementing
m_iAwardedExtraStages. If m_iAwardedExtraStages is 1, the player is
on his first extra stage; if 2, his second.
2007-04-25 03:50:17 +00:00
Glenn Maynard
c5dd045f8a
remove unused m_iCurrentCombo
2007-04-25 03:39:53 +00:00
Glenn Maynard
8d396834dc
remove m_bComboContinuesBetweenSongs
2007-04-25 03:38:40 +00:00
Glenn Maynard
b9af8c094c
fix SetPlayerOptions
2007-04-25 03:31:07 +00:00
Glenn Maynard
9978102d25
remove unused
2007-04-25 01:17:50 +00:00
Glenn Maynard
96fae2c25f
unused
2007-04-25 01:17:11 +00:00
Glenn Maynard
6035ff65ed
simplify
2007-04-25 01:16:04 +00:00
Glenn Maynard
132ec6db1f
use text for numbers
2007-04-25 01:13:18 +00:00
Glenn Maynard
ccc19fa60b
Don't track the individual stage with Stage; use the stage index for that.
...
(Reducing the usage of the "stage" concept. It conflicts with overlapped
play.)
2007-04-25 01:11:50 +00:00
Glenn Maynard
1c203eb4f6
PickExtraStage removed
2007-04-25 01:00:42 +00:00
Glenn Maynard
90567a7a29
fix compile the
2007-04-25 00:49:58 +00:00
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
73c6158bbe
simplify: count each stage as one stage, no special case for long songs
2007-04-24 21:37:20 +00:00
Glenn Maynard
bae642b3d7
simplify
2007-04-24 21:11:25 +00:00
Glenn Maynard
b97fa408b5
guid fixup
2007-04-24 21:05:45 +00:00
Glenn Maynard
f75f71317f
allow disabling the catalog. With compressed stats.xml, copying this file
...
takes most of save time.
2007-04-24 20:20:01 +00:00
Glenn Maynard
21b544c8ae
simplify iSaveProfileEvery stuff and make it closer to correct
2007-04-24 19:36:45 +00:00
Glenn Maynard
73fdbf1319
clamp
2007-04-24 19:31:32 +00:00
Glenn Maynard
26dd52583a
courses take all stages, but only count as 1 in the stage counter
2007-04-24 18:21:17 +00:00
Glenn Maynard
9556754d30
unjoin failed players
2007-04-24 18:17:52 +00:00
Glenn Maynard
51a32ac52d
LoadEdits
2007-04-24 16:34:17 +00:00
Glenn Maynard
95fb191fb4
allow loading profile without loading edits
2007-04-24 16:30:23 +00:00
Glenn Maynard
14456ec45d
simplify
2007-04-24 02:13:23 +00:00
Glenn Maynard
0908ed9061
remember m_iCurrentStageIndex
2007-04-24 02:08:31 +00:00
Glenn Maynard
33ad8c7fba
update stage
2007-04-24 01:42:34 +00:00
Glenn Maynard
079e0f5397
partial revert (not sure if this is worth maintaining, but it didn't need to
...
be removed for the last commit)
2007-04-24 01:41:34 +00:00
Glenn Maynard
a02b94cb9a
update branches
2007-04-24 01:40:21 +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
2bcd5a644f
use enum_add2
2007-04-24 01:28:53 +00:00
Glenn Maynard
7de6bd605c
revert IsStagePossible; not sure yet
2007-04-24 00:44:51 +00:00
Glenn Maynard
e4bace37c8
remove m_StageType
2007-04-24 00:42:37 +00:00
Glenn Maynard
9a26797ebb
use m_Stage
2007-04-24 00:40:14 +00:00
Glenn Maynard
4a872ab329
use m_Stage
2007-04-24 00:36:14 +00:00
Glenn Maynard
2f8e621439
store stage in StageStats
2007-04-24 00:25:54 +00:00
Glenn Maynard
7bb38e2ede
Stage_Invalid -> StageType_Invalid
2007-04-24 00:16:39 +00:00