Glenn Maynard
101cc2f8c7
fix NoteDataUtil::RemoveHoldNotes removes rolls
2005-04-25 09:15:43 +00:00
Glenn Maynard
d5479053fa
disable unused attack loading code
2005-04-25 02:38:54 +00:00
Chris Danford
8ec01b7cb3
add TapNote SubType instead of a bool for rolls
2005-04-20 01:53:41 +00:00
Chris Danford
6f588aa7d8
add saving/loading/editing of rolls
2005-04-18 01:23:57 +00:00
Glenn Maynard
517e084b99
fix quantize: quantize the duration, don't extend hold notes over tap notes
...
without clearing them, ignore duration for tap notes
2005-03-30 22:05:11 +00:00
Chris Danford
441e86ac24
add "Autogen To Fill Width" to editor
2005-03-25 09:36:08 +00:00
Chris Danford
5befb60456
method name cleanup, add comments
2005-03-20 20:15:41 +00:00
Chris Danford
a3e0bacbd8
Reset the round seed so that the players get new shuffle patterns if they Back out of gameplay and play again
...
RoundSeed -> StageSeed
2005-03-11 18:09:34 +00:00
Chris Danford
12d9378377
fix SuperShuffle sometimes moves taps inside of a hold
2005-03-11 03:15:54 +00:00
Glenn Maynard
10a4f13c51
move InsertHoldTails into NoteDataUtil
2005-02-12 08:16:02 +00:00
Glenn Maynard
d1ed849cb5
Revert. Removing assertions that you don't understand is not an acceptable
...
fix. Fix bugs, don't ignore them.
2005-02-12 06:57:52 +00:00
Charles Lohr
462e471648
"Fix" Crash on unended hold notes.
2005-02-12 05:30:30 +00:00
Glenn Maynard
de0783842a
fix Echo hanging
2005-02-08 01:05:02 +00:00
Glenn Maynard
f752e1c3b0
hide NoteData::InsertHoldTails away in NoteDataUtils
2005-02-07 22:03:32 +00:00
Glenn Maynard
8a6d8aa6f0
do NoteDataUtil::LoadFromSMNoteDataString without RemoveHoldTails
2005-02-07 21:31:18 +00:00
Glenn Maynard
741018a842
fix skippy, etc. taking a long time
2005-02-01 01:02:55 +00:00
Glenn Maynard
bb7482e722
evil big commit (sorry):
...
Remove m_HoldNote array entirely. Remove 2sAnd3s. Store hold note
durations in the hold head. hold_tail only still exists when InsertHoldTails
is used, to make SM parsing a little easier (may go away). Add helpers
for iterating over ranges while including or excluding adjacent and overlapping
hold notes. Range operations are now [start,end) instead of [start,end].
(probably more details coming to sm-dev soon)
2005-01-25 05:02:35 +00:00
Glenn Maynard
a4fe7d2124
disable CopyLeftToRight and CopyRightToLeft; last things that use 4s
...
and I don't want to spend time on them right now
2005-01-23 21:36:42 +00:00
Glenn Maynard
e02431168d
implement NoteDataUtil::LoadOverlapped without 4s
2005-01-23 18:52:15 +00:00
Glenn Maynard
64714a0566
implement NoteDataUtil::LoadTransformedSlidingWindow (not
...
NoteDataUtil::LoadOverlapped) without 4s. Slight change of behavior:
if a hold note overlaps the spot where we want to shift the offset, instead
of leaving the offset where it is for another full four measures, we'll try
to change it again at the next measure change. This reduces the cases
where hold notes can prevent the offset from changing for long periods.
2005-01-23 18:21:30 +00:00
Glenn Maynard
5da9c848d6
make NoteDataUtil::LoadTransformedLights work
2005-01-23 17:58:32 +00:00
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