Commit Graph

69 Commits

Author SHA1 Message Date
Chris Danford ba93ee8469 "for( int p=0; p<NUM_PLAYERS; p++ )" -> "FOREACH_PlayerNumber( p )" 2004-05-24 06:10:11 +00:00
Glenn Maynard ab04630b41 don't return GRADE_NO_DATA from GetGrade in corner cases (eg.
pressing F5 in gameplay); it causes eval and html errors
2004-05-22 01:27:10 +00:00
Glenn Maynard 71831a75c3 simplify OneGotGrade
add GetStagesPlayed
2004-05-11 06:12:40 +00:00
Chris Danford 76d6066db6 fix possibly uninitialized variable 2004-05-07 07:21:53 +00:00
Chris Danford 5e6038c83a fix "possibleDP=0 will choose Grade=Tier20, which may not have a graphic" 2004-05-02 09:57:28 +00:00
Glenn Maynard 979578427d fix reversed grade NG and OK weights 2004-04-07 07:22:53 +00:00
Chris Danford 146e057b7e Add OneGreat and OnePerfect awards 2004-03-25 08:32:47 +00:00
Chris Danford 8f10f429ea fix GradePercent pref names 2004-03-13 18:35:25 +00:00
Chris Danford 7fe28a6dae add PerDifficulty and PeakCombo awards 2004-03-07 04:34:49 +00:00
Glenn Maynard dcd308edb7 add Lua hooks 2004-02-14 23:26:32 +00:00
Glenn Maynard bdc992aff1 fix AAAA/AAA 2004-02-01 05:21:51 +00:00
Glenn Maynard c29e3f5b05 fix rollover alignment 2004-02-01 02:09:36 +00:00
Glenn Maynard 2536d9e100 remove assert 2004-02-01 00:24:24 +00:00
Chris Danford 2abd14b929 fix grade calculation. duh. 2004-01-20 07:38:48 +00:00
Chris Danford c8fc9ddeae options name cleanup, fixes 2004-01-20 07:09:44 +00:00
Chris Danford fca912cb16 new grading scale 2004-01-20 03:32:48 +00:00
Chris Danford 96a7cb0bcd allow display of negative dance points
stop counting dance points after fail
2004-01-12 06:45:36 +00:00
Glenn Maynard f5d1503387 fix warnings 2004-01-03 04:29:42 +00:00
Chris Danford ecb14ad0c1 fix grading 2004-01-02 21:11:38 +00:00
Chris Danford 40b2ecfee5 simplify mine scoring
add separate dance point weights for mines
2004-01-02 08:43:14 +00:00
Chris Danford 4640fb10ad move percent score and and grading constants to prefs 2004-01-02 01:39:14 +00:00
Glenn Maynard d5d1ea5ca4 move AllFailedEarlier into StageStats 2003-12-31 20:58:14 +00:00
Glenn Maynard a07d9e28d7 noisy 2003-12-23 22:31:47 +00:00
Glenn Maynard be3db8a4b5 rollover fix 2003-12-23 06:03:22 +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 c8419edfec fix warnings 2003-12-19 08:11:45 +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 4c5abe44d0 It's possible to get 100% (or higher) DP in battle mode while still having
judgements under Perfect (due to runtime modifiers).  Only give a AAA if
all taps are marvelous or perfect.
2003-12-03 04:36:29 +00:00
Glenn Maynard 2618b4bfdd typo 2003-12-03 04:29:25 +00:00
Steve Checkoway 258982f934 Better fix of the warnings in the format string. 2003-11-17 01:45:29 +00:00
Steve Checkoway 60a16b4507 Fix harmless warning. 2003-11-17 00:54:33 +00:00
Chris Danford 29c9770315 fix "can't hit taps on same line as mines"
move life deltas to prefs
separate life delta for stepping on a mine
2003-11-11 07:36:28 +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 c588f1938c remove traces 2003-10-31 03:11:02 +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 b13cb43aa6 IniFile::GetValueB->GetValue, etc. Cleanup. 2003-10-02 02:03:29 +00:00
Glenn Maynard e6552f16b9 Calc grade based on iTapNoteScores and iHoldNoteScores. 2003-10-01 23:47:17 +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 112cb0b384 simplify 2003-09-06 02:05:39 +00:00