Commit Graph

86 Commits

Author SHA1 Message Date
Glenn Maynard e550d16195 move Attack out of GameState 2003-10-25 22:00:58 +00:00
Glenn Maynard cefc7f6685 simpler/more consistent attack/mod handling 2003-10-25 07:58:10 +00:00
Glenn Maynard ef38e772e5 const fix 2003-10-04 04:30:00 +00:00
Glenn Maynard 02aa294a40 fix warning 2003-10-02 01:59:14 +00:00
Glenn Maynard ad4061907f Simplify. TapNoteScoreToDancePoints is no longer used for grading,
so always do the Oni calculation.
2003-10-02 00:02:03 +00:00
Steve Checkoway d34d09587c Do the same with hold notes as with tap notes. 2003-09-26 01:05:49 +00:00
Steve Checkoway 81aa716f7d If a percentage is being displayed when playing oni mode, only count marvelous as 2 dance points. This makes the percentage consistent with Max2 and also playing a single song on battery and playing a single song oni course will be graded the same. 2003-09-26 00:47:51 +00:00
Steve Checkoway 5ab83410aa revert 2003-09-26 00:43:44 +00:00
Steve Checkoway 02b39c51c0 Clean up indenting. Should be whitespace only. 2003-09-26 00:08:50 +00:00
Glenn Maynard d268e3bb16 Round, don't truncate. 2003-09-22 22:26:45 +00:00
Glenn Maynard bc31b9ec65 Fix Perfects having a base score of 10 instead of 9 when Marvelous is always on (not set to "course only").
Fix OK being worth 3 DP instead of 2 DP when Marvelous is set to "course only" and we're not playing a course.
Add an assert.  Remove old code.
2003-09-22 22:11:18 +00:00
Andrew Wong 54e490fd20 oops, forgot to commit:
replace GAMESTATE->m_pUnlockingSys with UNLOCKSYS
2003-09-19 07:02:53 +00:00
Glenn Maynard 54dabe1ffd s/bFailed/bFailedEarlier/ 2003-09-16 01:11:49 +00:00
Glenn Maynard dc1b0e6a31 Make additions count to the score. 2003-09-15 06:32:26 +00:00
Glenn Maynard 2c72fe8009 apply transforms to playerNoteDataPostModifiers, not playerNoteData 2003-09-15 03:21:36 +00:00
Glenn Maynard 3b946361cc Merge 5th scoring into MAX2. It's not much code, and it's better than
duplicating ~500 lines.  I think making this a derivation would be more
complicated and more work than it's worth.  Let's see how this works.
2003-09-08 21:32:23 +00:00
Glenn Maynard 66f071bc96 Handle combo before score.
Remove +1 in ScoreKeeper5th::AddScore.  Combo wasn't going
to be +1 in all cases (miss, boo, good, hold note).  Not needed anymore
with combo first.
2003-09-07 01:09:47 +00:00
Glenn Maynard 9f6a581ec8 Handle combo announcer messages in Player. The score keeper
doesn't need control over that.

Simplify.
2003-09-07 01:02:03 +00:00
Glenn Maynard cb12e8685f cleanup 2003-09-06 23:39:49 +00:00
Glenn Maynard f43bfac43a cleanup 2003-09-06 23:39:48 +00:00
Glenn Maynard c3c695e14b Remove more duplicated code. Why was over 550 lines of code
copied and pasted?  Maintenance nightmare ...
2003-09-06 02:20:09 +00:00
Glenn Maynard 449b296133 Duplicate code. 2003-09-06 01:20:03 +00:00
Andrew Wong dd2a9d6f07 make score in max2 scoring a multiple of 5 when failing
why?  then it becomes more obvious when someone fails since their last digit switches between 0 and 5,
rather than x and (x + 5) mod 10.

note: this ONLY affects scores after failing and has no effect on scores that don't represent failing scores

oh yea, simplified code a little
2003-08-31 09:48:33 +00:00
Chris Gomez a970766dff Add support for a few announcer triggers;
gameplay oni fail
gameplay oni fail halfway (may as well, used in extreme)
gameplay combo overflow (for multiples of 100 over 1000)

Hm. neither of the oni fail ones are actually oni-specific (are used with any course mode).
2003-08-25 17:15:47 +00:00
Chris Danford ffea51d6e6 consolidate battle modes 2003-08-19 04:27:50 +00:00
Andrew Wong 18d61edb52 fix percentages regarding oni mode
fix crash in oni mode when using 5th mix scoring
2003-08-14 19:46:22 +00:00
Glenn Maynard 5a231e9cd4 Fix DP calculation when using transforms 2003-08-13 19:51:53 +00:00
Glenn Maynard e2523bf1e6 simplify 2003-08-12 00:51:34 +00:00
Chris Danford 0e3375ab2d fix interaction between scoring and transforms that insert new notes 2003-08-10 06:23:24 +00:00
Glenn Maynard c3666c2ef5 simplify 2003-08-05 20:38:12 +00:00
Chris Danford 22c6d2ca4c fix couple dance points calculation 2003-08-04 00:05:42 +00:00
Chris Danford bf02bfddf4 rename Notes to Steps 2003-08-03 00:13:55 +00:00
Chris Danford 579c975638 fixed long/marathon scoring/ranking issues (bug 730086) 2003-08-02 21:47:04 +00:00
Andrew Wong 425e9f1fb4 oops, oni mode bug (condition was negated) 2003-07-28 08:47:11 +00:00
Glenn Maynard f0b61ec688 add missing header 2003-07-26 22:00:51 +00:00
Andrew Wong 0ce2147bc2 added "courses only" option for marvelous judgement 2003-07-25 08:05:29 +00:00
Glenn Maynard b447ccb01d Fix scoring when using transforms. 2003-07-21 19:07:10 +00:00
Ben Anderson 74f93ed4cd Case counts on Linux 2003-07-11 16:52:58 +00:00
Andrew Wong 604663f466 cleaned up unlock data so it appears in MemCard.ini and is no longer in preferences
(note to whoever builds uninstaller - don't delete memcard.ini on uninstall, please :)
2003-07-11 12:01:25 +00:00
Chris Danford 19d8a3de4c fix crash on step if NULL life meter 2003-07-08 20:56:25 +00:00
Chris Danford 332c2b318c break battle into two PlayModes: CPU_BATTLE, HUMAN_BATTLE 2003-07-08 19:56:56 +00:00
Andrew Wong 6fdfd55dba fixed freeze arrows for previous commit (after failing a song perfects/marv is worth 10 points, great 5) 2003-07-08 10:26:27 +00:00
Andrew Wong b76fd0dafd implemented feature where failing a song causes you to receive 10 points for a perfect/marvelous, 5 per great.
NOTE: it still has a few bugs, some I have noticed:

1) getting a freeze arrow still nets in full (marvelous) points
2) score doesn't seem to update sometimes the points completely.

Also may have implemented Toasty unlocks.  (i added a line but it may or may not work)
2003-07-08 08:21:10 +00:00
Chris Danford fa91f2e636 working on Rave 2003-06-30 18:08:27 +00:00
Glenn Maynard 6ae4237530 fix endless crash 2003-06-29 20:49:57 +00:00
Glenn Maynard dd106b85d5 simplify and fix nonstop scores when marv is off 2003-06-23 22:34:49 +00:00
Glenn Maynard 1dd1454de7 remove old comment 2003-06-23 22:17:40 +00:00
Glenn Maynard 7158e8815e more comment fixes 2003-06-23 22:16:44 +00:00
Glenn Maynard c87e98e29b also update 2003-06-23 22:16:13 +00:00
Glenn Maynard f9a974a949 update 2003-06-23 22:15:50 +00:00