Commit Graph
58 Commits
Author SHA1 Message Date
Glenn Maynard 642e2cac82 tweak haste to prevent slowing the song down too long 2007-03-18 19:38:11 +00:00
Glenn Maynard 138b3b5b1f add StageStats::PlayerHasHighScore 2007-03-16 07:35:38 +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 dadfbf7045 remove StageStats::AllFailedEarlier 2006-11-09 08:21:56 +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
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
Chris Danford fa2a5bddc3 Don't give awards if GaveUp or UsedAutoplay
Move bGaveUp into StageStats.  It's not really a per-player value.
2005-10-01 00:18:13 +00:00
Glenn Maynard 5ce2502b59 Merge StageResults into PlayerStageStats. Move results calc into StageStats.
This makes StageStats touch some stuff that I don't think it should, but it's
an improvement over having all this scoring logic inside a special screen.
2005-09-11 01:44:13 +00:00
Glenn Maynard f61f5ddfed cleanup 2005-09-10 23:47:10 +00:00
Chris Danford 5a19510ead struct -> class 2005-08-23 20:49:30 +00:00
Chris Danford d5b7e5650c only save life and combo for the range of time between the first and last step 2005-04-23 02:50:26 +00:00
Chris Danford f57e898966 show life and combo graphs over the whole song/course - not just over the time the player was alive 2005-04-20 06:13:06 +00:00
Chris Danford 00e4c2686e clear all stage stats to fix accumulating life and combo memory 2005-04-04 12:45:35 +00:00
Chris Danford bb712884bb move global StageStats into a singleton 2005-02-16 03:25:45 +00:00
Chris Danford db86be45ba add Lua binding 2005-02-16 02:11:31 +00:00
Chris Danford f0a2c6faff move PlayerStageStats into a separate file 2005-02-16 00:37:50 +00:00
Chris Danford 9702bca914 track calories in StageStats 2005-02-15 00:54:24 +00:00
Glenn Maynard faa835f980 rename iMaxScoreToNow -> iCurMaxScore, to look like iCurCombo, iCurMissCombo 2005-01-10 15:26:21 +00:00
Steven Towle 19ac29c9af added score display options 2005-01-09 07:47:38 +00:00
Chris Danford 09d018444e split StageStats into player-specific and non-player-specific structs 2004-12-20 10:47:41 +00:00
Chris Danford 081c1e24b5 fix incorrect song counts for courses
cleanup: make StageStats hold a list of Songs and Steps that were played during the stage
2004-08-30 04:09:23 +00:00
Chris Danford 05257b050c fix combo and life history don't accumulate correctly in courses
change combo and life history position units to Seconds from Beats
2004-07-24 18:11:04 +00:00
Chris Danford 96ca652c94 move RadarValues into a separate file
clean up usage of RadarValues
2004-07-11 07:21:33 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Chris Danford 3809715db0 cleanup: Remove Style and use StyleDef everywhere. This gets rid of a lot of Style->StyleDef lookups and discourages code that's specific to a Style. All game logic should be data-driven. 2004-06-27 06:52:49 +00:00
Chris Danford bc030297c9 fix stale Steps* in Trail being used after reverting songs from disk 2004-06-06 22:03:21 +00:00
Glenn Maynard 549cd7c83f license updates 2004-05-31 21:35:31 +00:00
Chris Danford 146e057b7e Add OneGreat and OnePerfect awards 2004-03-25 08:32:47 +00:00
Chris Danford 7fe28a6dae add PerDifficulty and PeakCombo awards 2004-03-07 04:34:49 +00:00
Glenn Maynard d5d1ea5ca4 move AllFailedEarlier into StageStats 2003-12-31 20:58:14 +00:00
Glenn Maynard 33899d03d6 combo graph fix 2003-12-23 04:44:34 +00:00
Glenn Maynard 9170e91bcc Move CurStageStats and vPlayedStageState out of GAMESTATE. Having
GameState.h depend on StageStats.h is too inconvenient.
2003-12-23 00:26:00 +00:00
Glenn Maynard a7eb381bbb combo graph half-fix (but still wrong) 2003-12-22 23:25:33 +00:00
Glenn Maynard a1458b2095 simplify and fix up combo/life stats 2003-12-22 01:55:03 +00:00
Glenn Maynard 8bea794083 const fix 2003-12-18 03:22:58 +00:00
Chris Danford 8d6b19ad7a more stats.html categories 2003-12-09 10:20:18 +00:00
Glenn Maynard cdd1f885bf mvoe logic to StageStats::AllFailed 2003-11-03 23:55:58 +00:00
Glenn Maynard 54ab1e1382 Add GetMaxCombo.
Store combo rollover separately in the combo record.
2003-11-02 17:05:11 +00:00
Glenn Maynard fc97fba3b3 fix stats glitches
add StageStats::FullCombo
2003-10-30 04:41:03 +00:00
Glenn Maynard 6f1e54a853 add ComboList, Finish 2003-10-23 06:17:12 +00:00
Glenn Maynard ce9b1909f2 keep track of life 2003-10-16 06:49:02 +00:00
Chris Danford 668d1974f3 add top5 high score saving of Courses and Steps for memory cards/ranking screen 2003-10-14 17:06:30 +00:00
Glenn Maynard 70d4e23d2c Lock the life meter after failing.
If m_bTwoPlayerRecovery (normal): only lock and fail in FAIL_END_OF_SONG
if both players were failing at the same point.  (Before, FAIL_ARCADE
would pass as long as one player was passing at any given point,
but FAIL_END_OF_SONG would fail at the end if all players were failing
at any point, which made FAIL_END_OF_SONG harder than FAIL_ARCADE
in some cases.)

Don't show the danger animation in FAIL_OFF.
2003-10-13 03:24:28 +00:00
Glenn Maynard 259bbcb40b add StageStats::GetPercentDancePoints 2003-10-12 21:48:05 +00:00
Glenn Maynard 751ca831c2 Add StageStats::bFailedEarlier, to simplify gameplay logic. This should
fix course weirdness.
2003-09-15 22:48:37 +00:00
Glenn Maynard 09109196d9 Track number of consecutive misses internally. 2003-09-06 02:26:06 +00:00
Glenn Maynard 5ef82e798b Rename StageStats::operator+= to AddStats. (easier to grep for)
Keep track of whether each stage in StageStats was an extra stage.
GAMESTATE->m_vPassedStageStats now holds all played songs,
including failed ones (renaming in a moment).
GameState::GetFinalEvalStatsAndSongs logic was weird.  Simplify.
2003-09-06 01:35:29 +00:00
Glenn Maynard 9ff98a51cb Add StageStats::OnePassed. 2003-09-06 00:33:09 +00:00
Andrew Wong 8796c8979a add 5th mix bonuses 2003-08-11 12:14:26 +00:00