Commit Graph

52 Commits

Author SHA1 Message Date
Steve Checkoway acb030f229 ARRAYSIZE -> ARRAYLEN. 2007-06-09 07:53:22 +00:00
Glenn Maynard 8c36383c76 working on finishing checkpoint holds:
track checkpoints missed and hit
allow it to inlfuence the life meter
2007-04-06 23:25:32 +00:00
Chris Danford dd2fef4f40 add HandleTapScoreNone() for letting LifeMeters and ScoreKeepers handle TNS_None steps 2006-12-19 01:39:57 +00:00
Glenn Maynard 8676a40c8c move PercentScoreWeight, GradeWeight 2006-11-21 03:27:27 +00:00
Glenn Maynard cecb7a5710 simplify 2006-11-14 22:01:21 +00:00
Steve Checkoway fcbe0609c3 Move miss combo calculations into the ScoreKeeper. 2006-10-01 04:02:28 +00:00
Steve Checkoway 3323cfb9dd Simplify. 2006-10-01 02:33:52 +00:00
Steve Checkoway 4d931a6577 Cleanup. 2006-10-01 02:32:23 +00:00
Steve Checkoway 743d2b9697 Change the api to take a NoteData and a row. Let the score keepers decide what they want to do with the row. 2006-07-14 04:19:30 +00:00
Steve Checkoway 1aa51dd1d1 Change ScoreKeeper's api to take TapNotes instead of the scores. 2006-07-10 05:15:52 +00:00
Steve Checkoway 80698277cf Don't use rand()%n. The function specified by the ANSI committee is a terrible linear congruential generator. In fact, it's so bad that the low order bit alternates. The algorithm implemented as RandomFloat() seems to be Park and Miller's "minimum standard" generator which is better (but not great). [See Knuth for more information.]
Any place where you would use rand()%n, use RandomInt(0, n) instead.
2006-06-26 12:14:30 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard b599c37134 simplify 2006-01-13 05:57:18 +00:00
Glenn Maynard 09c419f482 PlayerState::LaunchAttack, RemoveActiveAttacks 2006-01-13 05:49:27 +00:00
Chris Danford e00a57e05e use Preference1D 2005-10-26 23:09:56 +00:00
Chris Danford feb1bfb0fc naming cleanup: rename scoring "Tier1"s to "W1"s (short for "Window 1")
add Preference1D so that we can index into the grading and life values
2005-10-09 04:30:59 +00:00
Chris Danford b6cf3477b4 Use generic names for TapNoteScore values since they are treated genericly by the code.
Theme changes coming...
2005-10-08 00:57:40 +00:00
Chris Danford 0c57983d0e add PlayerStates for MultiPlayers 2005-08-23 21:07:07 +00:00
Chris Danford 1227d18d6c Modifier -> Modifiers 2005-05-20 08:57:59 +00:00
Chris Danford 812943886b fix aborted attacks continue to show in the active attack list 2005-04-15 13:00:30 +00:00
Glenn Maynard 60d8f65ab4 ScoreKeeper is not an Actor 2005-03-18 07:38:44 +00:00
Chris Danford a1340dd1c0 have gameplay objects access PlayerStageStats though a member pointer and not directly access g_CurStageStats. 2004-12-22 07:31:27 +00:00
Chris Danford f840c014a9 Move some player-specific data out of the bloated GameState class.
Have gameplay objects hold a PlayerState pointer instead of a PlayerNumber and indexing back into GameState.
This will simplify off-screen players (e.g. CPU ghosts, network replicated human players, >2 players using one NoteField)
2004-12-20 06:25:59 +00:00
Chris Danford 5127ceef4d remove CachedThemeMetrics in favor of ThemeMetric<T>
fix "CachedThemeMetrics don't read HTML colors and don't evaluate Lua expressions"
2004-11-06 20:36:04 +00:00
Chris Danford fa6f155c70 fix "super meter moves backwards for players with a large lead" 2004-07-24 16:16:39 +00:00
Glenn Maynard 549cd7c83f license updates 2004-05-31 21:35:31 +00:00
Chris Danford 4bb777232d name cleanup: "pNotes" -> "pSteps" 2004-05-24 03:41:39 +00:00
Chris Danford 3e91007367 tweak rave mercy rules 2004-05-16 05:21:43 +00:00
Glenn Maynard 61fc9629e2 fix both ScoreKeeperRave launch attack p1 and Player attack launch p2
being played when p1 launches an attack
simplify battle/course attack sound handling; do it in the same place;
make the sound filenames clear
2004-04-08 03:40:28 +00:00
Chris Danford c8fc9ddeae options name cleanup, fixes 2004-01-20 07:09:44 +00:00
Chris Danford b555be59df more rave balancing
add "noquads"
2004-01-12 03:47:55 +00:00
Glenn Maynard 4bc06f31f4 fix warnings 2004-01-12 02:09:21 +00:00
Chris Danford a1a85c277f MercifulMines -> MercifulDrain
playbalance rave
playbalance AI
2004-01-11 23:33:56 +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 cfd57a24ec fix multiple attacks in effect at once during rave 2003-11-27 02:46:54 +00:00
Chris Danford 8ca12364bd working on AttackDisplay 2003-11-27 02:30:54 +00:00
Chris Danford 719f92e773 add AttackDisplay 2003-11-26 08:25:45 +00:00
Chris Danford e385a2c930 put attacks in effect when tap attack is stepped on 2003-11-17 07:14:41 +00:00
Glenn Maynard e550d16195 move Attack out of GameState 2003-10-25 22:00:58 +00:00
Glenn Maynard a0772417d4 Only cancel the current level attack. 2003-10-24 09:38:17 +00:00
Glenn Maynard ef38e772e5 const fix 2003-10-04 04:30:00 +00:00
Glenn Maynard b0adf33f18 (Overly large commit; these ended up being very interdependent.)
Move beat searching in NoteField into FindFirstDisplayedBeat and FindLastDisplayedBeat.
Handle seamless note skin changing during Rave mode.
NoteDisplay loads a given note skin, ignoring GAMESTATE.
2003-09-12 06:23:51 +00:00
Andrew Wong 97b9061f6f fix dance magic mode not working in 1P mode
added default modifiers when no characters are being used
2003-08-31 02:26:07 +00:00
Chris Danford 53cbf16bfe fix compile error 2003-08-10 08:56:50 +00:00
Chris Danford bf02bfddf4 rename Notes to Steps 2003-08-03 00:13:55 +00:00
Chris Danford 05a6e8957d only allow one attack at a time in Rave 2003-07-28 07:56:25 +00:00
Glenn Maynard b447ccb01d Fix scoring when using transforms. 2003-07-21 19:07:10 +00:00
Chris Danford 19d8a3de4c fix crash on step if NULL life meter 2003-07-08 20:56:25 +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