Commit Graph

70 Commits

Author SHA1 Message Date
Glenn Maynard 46ace22b79 continue merging NoteDataWithScoring stuff 2005-01-22 02:10:54 +00:00
Glenn Maynard c321bbe196 start merging NoteDataWithScoring and NoteField per-hold and per-tap
data into TapNote and HoldNote.  This reduces lookup costs significantly.
It's a bit simpler, though I'm not entirely happy with the resulting encapsulation ...
2005-01-22 01:37:32 +00:00
Glenn Maynard 5407f0998e merge tap result into a TapNoteResult struct 2005-01-21 22:50:13 +00:00
Chris Danford 09d018444e split StageStats into player-specific and non-player-specific structs 2004-12-20 10:47:41 +00:00
Glenn Maynard f63c57b5f4 remove GetTapNoteX 2004-10-25 03:16:40 +00:00
Chris Danford 1b3c786213 cleanup: variable name and const 2004-10-24 10:20:24 +00:00
Chris Danford 0f6ed81faf Use a associative arrays instead of normal vectors to hold TapNotes.
More places NoteDataUtil, NoteDataWithScoring need to be converted to use the new row iteration macros.
2004-09-29 06:43:57 +00:00
Chris Danford d2a54cca31 make TapNote a struct. Over time, more properties will move from the enums and into bit flags. 2004-09-12 05:56:24 +00:00
Chris Danford 809dd7dc27 rename: MaxRow -> NumRows
fix some off-by-1 row errors
2004-09-11 03:50:37 +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
Glenn Maynard 2cab5c4689 license updates 2004-05-31 22:42:12 +00:00
Chris Danford d65404e750 TapSteps -> TapNotes 2004-05-24 04:26:54 +00:00
Chris Danford 4bb777232d name cleanup: "pNotes" -> "pSteps" 2004-05-24 03:41:39 +00:00
Glenn Maynard 9c1a5f6957 encapsulate hold results in HoldNoteResult (HoldNoteScore + life)
instead of moving HoldNote::iStartRow forward while a hold note is
held, set HoldNoteResult::iLastHeldRow
fixes hold heads cycling through all note colors while held (wasn't very
visible due to the hold ghost) and GetSuccessfulHands bugs
2004-05-07 04:57:29 +00:00
Glenn Maynard c139ce871e fix results voltage 2004-02-23 23:21:14 +00:00
Chris Danford 40b2ecfee5 simplify mine scoring
add separate dance point weights for mines
2004-01-02 08:43:14 +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 4facdd0a06 fix hold note glitches 2003-12-18 02:34:59 +00:00
Glenn Maynard f2b06a3ea0 hands fixes 2003-12-16 07:58:37 +00:00
Glenn Maynard cd0162cff3 Use a map for hold grades, so it doesn't get desynced if the number
of hold notes changes.
2003-12-16 06:10:50 +00:00
Glenn Maynard 7003e2b157 Implement RADAR_NUM_HANDS result.
Change hold note contents to rows (from beats).  This makes it
consistent with tap note data.  Row numbers are also generally
more precise, since they're integers, not floats.
2003-12-16 04:00:39 +00:00
Glenn Maynard ad3057baea implement RADAR_NUM_TAPS_AND_HOLDS, RADAR_NUM_JUMPS, RADAR_NUM_HOLDS, RADAR_NUM_MINES results 2003-12-16 02:15:31 +00:00
Glenn Maynard 8ff5537419 add several cached note data values 2003-11-26 04:21:59 +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 be658761c6 Cleanup. Fix GetActualVoltageRadarValue. 2003-11-02 17:06:25 +00:00
Glenn Maynard 09897c0241 Make NoteDataWithScoring::LastTapNoteScoreTrack work
as documented.
2003-09-27 18:50:38 +00:00
Glenn Maynard 601e561ec9 Cleanup, fix rare div/0 errors. 2003-09-25 01:21:01 +00:00
Chris Danford d69d19fc2a fix crash if hit a mine too early 2003-08-23 19:01:35 +00:00
Chris Danford 0a03681825 working on mine logic 2003-08-10 19:07:54 +00:00
Steven Towle efd431e45a the calculations for voltage and stream graphs were swapped. fixed. 2003-08-01 07:00:40 +00:00
Glenn Maynard af0449da43 Fix negative chaos values. 2003-07-31 01:18:52 +00:00
Glenn Maynard 2d7b9c9301 Simplify. Don't recalculate values; it'll break if the rules change elsewhere,
eg. to a change ScoreKeeper.
2003-07-24 19:44:59 +00:00
Andrew Wong c48cb2416b updated groove radar values to store actually meaningful values (buggy). Algorithms used:
Voltage - ratio of perfects to total tap notes
Stream - ratio of player max combo to possible max combo
Air - ratio of jumps to total possible jumps
Freeze - ratio of freeze arrows to total freeze arrows
Chaos - dance points percentage
Note: Multidimensional array stageStats.fRadarActual[p][r] is now a %, not width.
2003-07-24 13:35:20 +00:00
Glenn Maynard e2f1e6bda9 cleanup
use function-style or C-style casts, not static_cast; they're identical
and easier to read
2003-04-20 22:08:32 +00:00
Steve Checkoway be9216fad5 converted min function args to proper type 2003-04-20 12:56:01 +00:00
Chris Danford 04145caf72 fix subtle bugs that caused inaccurate judgment totals with AI player 2003-04-10 05:46:31 +00:00
Glenn Maynard 84fdcd8177 simplify TimingAssist
add "exact" sound
2003-03-27 18:40:58 +00:00
Glenn Maynard c8b9ad3002 add LastTapNoteScoreTrack 2003-03-27 00:39:17 +00:00
Glenn Maynard b1fa4fc1c6 whoops, remove header 2003-03-26 22:23:10 +00:00
Glenn Maynard 6dffee38ce don't touch an offset unless it's actually graded 2003-03-26 22:22:44 +00:00
Glenn Maynard 5604e312f6 Store tap offsets. This lets us derive the order notes were hit in;
hopefully ScoreKeeper can be made a little more generic.
2003-03-26 19:34:59 +00:00
Glenn Maynard 95987e81b8 add minimum param to IsRowComplete 2003-03-26 18:31:08 +00:00
Glenn Maynard 1352067196 const fixes 2003-03-26 17:53:31 +00:00
Glenn Maynard 75a058c1dd Reduce dependency on MAX_BEATS.
Don't call GetLastBeat from GetFirstBeat.
2003-03-06 22:40:04 +00:00
Glenn Maynard e645510909 Reduce dependency on MAX_BEATS 2003-03-06 22:25:21 +00:00
Chris Danford 12756391db Added BIG transform. Haven't yet fixed the weird interaction it has with the score. 2003-02-16 20:27:53 +00:00
Glenn Maynard 42cfd6f98c stdafx -> global 2003-02-16 04:01:45 +00:00
Chris Danford f4e8c4fb24 clean up NoteData 2003-02-01 05:16:38 +00:00
Chris Danford 3ff91dffb0 NEW FEATURE: AutoSync status now shown during gameplay with icon
NEW FEATURE:  added autogen icon to select music
NEW FEATURE:  toggle for easter eggs in Machine Options
NEW FEATURE:  marvelous step timing togglable in Machine Options
NEW FEATURE:  Grade AAAA (all marvelous)
CHANGE:  Only show ScreenHowToPlay if at least one player chose easy
2003-01-11 08:55:21 +00:00