Glenn Maynard
090d4bdbf2
Fix NoteDataUtil::Backwards. I'm not sure why I spent the time fixing this--
...
what's the point? Are people making dance steps to Satanic messages or
something?
2005-01-23 05:56:25 +00:00
Glenn Maynard
1d84c21f5e
implement NoteDataUtil::Wide without 4s
2005-01-23 05:39:07 +00:00
Glenn Maynard
7cf3351851
implement NoteDataUtil::ClearLeft and NoteDataUtil::ClearRight without 4s
2005-01-23 05:31:55 +00:00
Glenn Maynard
7b781d4534
fix NoteDataUtil::SwapSides
2005-01-23 05:20:55 +00:00
Glenn Maynard
f82894ec47
implement SuperShuffleTaps without 4s
2005-01-23 05:16:09 +00:00
Glenn Maynard
49d1922912
implement NoteDataUtil::ShiftRight and NoteDataUtil::ShiftLeft without 4s
2005-01-23 04:59:10 +00:00
Glenn Maynard
8fd33832cd
implement NoteDataUtil::InsertIntelligentTaps without 4s
2005-01-23 03:49:12 +00:00
Glenn Maynard
14bc4ae9f6
reduce use of 4s
2005-01-22 20:22:12 +00:00
Glenn Maynard
a769bc7c41
cleanup
2005-01-22 19:25:05 +00:00
Glenn Maynard
cd9b66220a
use MAX_NOTE_ROW, fixes
2005-01-22 19:18:42 +00:00
Glenn Maynard
24f8de5cec
more use of beat indexes instead of floating point
...
It actually looks like almost all of NoteDataUtil can be done naturally
in fixed-point: instead of passing around floating point, converting it to
fixed point for NoteData indexing, and adding floating-point beat fractions,
just pass around fixed point everywhere, and convert beat fractions to
fixed-point (which probably happens at compile-time)
If TimingData, etc. does the same thing, things will be simpler ...
2005-01-22 17:51:46 +00:00
Glenn Maynard
77d58c0d63
"Beat rows" are really just a fixed-point representation of beats. Prefer
...
using them in general over beats: it's more precise (we can tell exactly
how it'll round, and we can compare them without ugly error-margin hacks),
and it's what we need to use them with NoteData.
2005-01-22 17:34:10 +00:00
Glenn Maynard
36c8a0b61a
fix InsertIntelligentTaps track selection
2005-01-22 17:21:40 +00:00
Chris Danford
c484f63266
fix "hold note ends incorrect after Turn"
...
fix AV in SuperShuffle
2005-01-10 06:23:04 +00:00
Glenn Maynard
87c4555a0c
fix some cases of transforms brute-force iterating over rows
2005-01-10 01:03:36 +00:00
Glenn Maynard
9aaaea6e7e
fix TODO
2005-01-09 22:28:31 +00:00
Glenn Maynard
d7aba9fd68
fix some cases of transforms brute-force iterating over rows
2005-01-09 22:24:52 +00:00
Glenn Maynard
7ccc7731dc
fix some cases of transforms brute-force iterating over rows
2005-01-09 22:13:18 +00:00
Glenn Maynard
c26f402bba
Fix mirror; only the pre-4s transform rows were being iterated over, which
...
broke holds.
2005-01-09 21:42:01 +00:00
Glenn Maynard
a8b8341667
comments
2005-01-09 21:34:19 +00:00
Glenn Maynard
8340759571
optimization
2005-01-03 20:54:28 +00:00
Glenn Maynard
e6bd8c0755
fix crash when .sm data with too many tracks is loaded
2005-01-03 20:53:03 +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
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