Commit Graph

165 Commits

Author SHA1 Message Date
Glenn Maynard fa758e9a71 add NoteDataUtil::LoadTransformedLightsFromTwo 2005-05-04 08:18:37 +00:00
Glenn Maynard 82fb85fe1e split out LightTransformHelper 2005-05-04 07:08:56 +00:00
Chris Danford b81c304eb6 rename FixImposibleRows -> RemoveStretch and turn it into a mod 2005-05-01 04:35:29 +00:00
Glenn Maynard 4b8f18baae generalize 2005-04-29 01:57:44 +00:00
Glenn Maynard 8df4f7929a add NoteDataUtil::AnyTapsAndHoldsInTrackRange 2005-04-29 01:56:38 +00:00
Chris Danford 534842c2da calculate grade with possible values from radarValues, not from judgement counts from attempted steps 2005-04-26 04:16:45 +00:00
Glenn Maynard 1c3323fac7 add norolls 2005-04-25 09:42:26 +00:00
Glenn Maynard 120b70f06c add RADAR_NUM_ROLLS
ChangeRollsToHolds fix
2005-04-25 09:35:22 +00:00
Glenn Maynard 5d0386a7bc add NoteDataUtil::ChangeRollsToHolds 2005-04-25 09:18:02 +00:00
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