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
ec4090a3eb
fix VC7 warnings
2004-11-08 06:16:22 +00:00
Glenn Maynard
1eac0a3fa9
fix warnings
2004-11-01 11:02:54 +00:00
Glenn Maynard
b6091d6cd5
NoteData::EliminateAllButOneTap -> NoteDataUtil::RemoveAllButOneTap;
...
use accessors for NoteData::GetFirstRow, NoteData::GetLastRow
2004-10-25 03:36:42 +00:00
Glenn Maynard
de21231034
debug
2004-10-25 02:17:58 +00:00
Chris Danford
ce4780559f
froundf -> Quantize
2004-10-24 17:44:51 +00:00
Chris Danford
bb0da6a289
quantize rows when reading from BMSs so that we don't end up with 2MB cache files
2004-10-24 17:36:13 +00:00
Chris Danford
eff1dc9695
play auto keysounds
2004-10-24 10:45:30 +00:00
Chris Danford
1b3c786213
cleanup: variable name and const
2004-10-24 10:20:24 +00:00
Chris Danford
584189a10c
naming cleanup: iNoteIndex -> row
2004-10-24 00:17:15 +00:00
Chris Danford
3ac1dba044
simplify TapAttack storage:
...
store attack info in TapNote
in the SMNoteData string, store the attack params inline (like with keysounds)
play keysounds when hit
still doesn't play keysounds on a miss
still doesn't play autoKeysounds
2004-10-23 23:41:49 +00:00
Chris Danford
09193d9e4b
cleanup:
...
use references when passing NoteData
Have player own a NoteDataWithScoring, not derive from it
2004-10-23 17:43:49 +00:00
Ryan Dortmans
de49d41dd2
Out of bounds access caused Xbox to crash in PUI.
2004-10-22 06:04:15 +00:00
Steve Checkoway
67946d3a72
Fix warning.
2004-10-05 10:52:36 +00:00
Steve Checkoway
b97952f768
Fix character constant.
2004-10-05 10:43:38 +00:00
Chris Danford
b76949e1a9
fix warnings
2004-10-02 05:08:59 +00:00
Chris Danford
b20eaeb60b
Parse and maintain keysound data, but don't play the keysounds yet.
2004-09-29 07:19:44 +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
03fbb915f3
remove VC6 scoping hacks
2004-09-21 07:53:39 +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
abe10501f7
change Twister to "max 3 holds at once"
...
add Floored, "max 2 holds at once"
2004-08-29 21:26:52 +00:00
Chris Danford
d59247c03e
tweak transform apply order
2004-08-29 21:14:26 +00:00
Glenn Maynard
aad73b53e9
(float) atof() -> strtof(), which computes in float instead of computing in
...
double and casting to float, which is silly
2004-08-10 20:57:59 +00:00
Chris Danford
27ece3ecbf
fix "transform mods that last for a whole song in a course get applied twice"
...
fix "impossible to get 100% on a course that uses AddMines" by calculating RadarValues after applying mods
Trail::GetRadarValues needs to do caching. Performance is bad.
2004-07-23 04:45:48 +00:00
Glenn Maynard
b7799ccd0a
move autogen into NoteDataUtil
2004-07-17 05:10:11 +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
30aeffc63a
simplify NoteDataUtil::shuffle
2004-07-01 18:32:19 +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
0ec2a536d9
TapSteps -> TapNotes
2004-05-24 04:17:19 +00:00
Chris Danford
4bb777232d
name cleanup: "pNotes" -> "pSteps"
2004-05-24 03:41:39 +00:00
Glenn Maynard
854da28681
cleanup
...
handle lights via autogen as originally suggested
2004-05-20 19:05:37 +00:00
Chris Danford
575a9abf96
improve planted, twister
2004-05-15 03:00:43 +00:00
Chris Danford
af59943c4c
make Stomp easier in dance-double
2004-05-08 00:08:29 +00:00
Chris Danford
69f5527450
improve skippy
...
improve order of transforms when multiple are in effect
2004-03-01 08:59:22 +00:00
Chris Danford
d733b7a7b2
make Turns multi-selectable
2004-03-01 00:09:07 +00:00
Chris Danford
dac8a9231d
apply Little before other transforms
2004-02-29 23:32:04 +00:00
Chris Danford
9afba435ea
give the same shuffle mapping for both players in the same round
...
don't allow identiy shuffles
2004-02-29 09:55:03 +00:00
Glenn Maynard
0a8899f4d8
cleanup, fix warnings
2004-02-27 00:55:25 +00:00
Matt Denham
324e07d383
Implemented a quick pair of move/scale functions for TimingData
...
fixed NoteDataUtil::ScaleRegion (and dealt with conflicts - whee)
fixed assorted editor inconsistencies and bugs
2004-02-26 05:38:46 +00:00
Glenn Maynard
da5414afa0
fix warnings
2004-02-26 03:07:49 +00:00
Chris Danford
15e19d4885
fix AddMines places mines that overlap other taps and hold heads (Disconnected Mobius expert)
2004-02-25 08:40:03 +00:00
Matt Denham
45591679e6
added NoteDataUtil::ScaleRegion, made NoteDataUtil::Scale call that instead
2004-02-25 08:25:39 +00:00
Matt Denham
6905bbe781
Added BMRize mod because people have complained that Quick is too easy. Try this. :-)
2004-02-12 06:54:54 +00:00
Chris Danford
b555be59df
more rave balancing
...
add "noquads"
2004-01-12 03:47:55 +00:00
Chris Danford
e2136499e1
add "nojumps"
2004-01-11 06:34:30 +00:00
Glenn Maynard
f5d1503387
fix warnings
2004-01-03 04:29:42 +00:00
Chris Danford
0416afda43
fix doubles+quick
...
fix grading (for real this time)
2004-01-02 22:19:27 +00:00
Chris Danford
ba9cef947e
fix double+stomp
2004-01-02 21:02:06 +00:00