Commit Graph

189 Commits

Author SHA1 Message Date
Chris Danford 282c4d82d5 fix VC6 compile 2006-06-24 05:14:13 +00:00
Steve Checkoway 5c37cb873d Write composite NoteDatas. 2006-06-20 15:27:45 +00:00
Steve Checkoway d2a550a532 Cleanup. 2006-06-20 14:41:51 +00:00
Steve Checkoway 96e3f211b8 Split the given composite NoteData into it's constituent parts. If the given NoteData is not composite, just copy it. 2006-06-20 14:32:09 +00:00
Steve Checkoway fff087a76b Split out LoadFromSMNoteDataStringWithPlayer(). This fills out the NoteData without making any copies of sSMNoteData. Previously, this portion of the code copied the full string twice, once when splitting for measures and once when splitting for lines.
Only make a single copy of the string in LoadFromSMNoteDataString() when stripping out comments. Previously, the string was copied as many times as there were comments. Now, the whole loading can happen with a single copy of the data.
2006-06-20 13:34:28 +00:00
Steve Checkoway 5e7ac2deed Cleanup. 2006-06-20 06:48:30 +00:00
Steve Checkoway 6e6808008e Simplify. (This changes it from a cubic time operation to a quadratic. Also handles the case where a comment begins on the last line and that line isn't terminated with a newline.) 2006-06-18 00:36:58 +00:00
Glenn Maynard 45449a216e fix merge error? 2006-04-29 21:18:37 +00:00
Josh Allen 90121ba0f7 Comment, is it still needed? 2006-04-14 13:26:22 +00:00
Glenn Maynard 5f3fe4ec4f fix RemoveSimultaneousNotes never removes hold notes 2006-04-14 12:44:34 +00:00
Glenn Maynard 8bd5e174f5 NUM_NOTE_TYPES -> NUM_NoteType 2006-02-02 08:43:05 +00:00
Glenn Maynard 7ace9857af remove pPlayerState param from Attack::GetAttackBeats 2006-02-01 04:44:34 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 0b98adff15 make RadarCategory enum and Lua names consistent 2005-12-24 20:18:56 +00:00
Glenn Maynard dcd1d8f98e prefer standard find() over Find 2005-12-21 08:33:30 +00:00
Glenn Maynard ff7bbfe524 remove ShiftRows 2005-12-18 07:11:51 +00:00
Glenn Maynard e76574e7cc split NoteDataUtil::ShiftRows into InsertRows and DeleteRows 2005-12-18 06:26:22 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Chris Danford c1b271600f fix voltage calculation 2005-10-03 00:57:12 +00:00
Glenn Maynard f4a4321a09 float 2005-08-31 23:40:22 +00:00
Glenn Maynard b2c7e5e829 add "jump to next note", "jump to previous note" 2005-07-22 00:55:36 +00:00
Glenn Maynard 4ec405f13b IsHoldNoteAtBeat -> IsHoldNoteAtRow 2005-07-22 00:14:24 +00:00
Glenn Maynard ca3667576c fix hold heads ignored in RemoveSimultaneousNotes 2005-06-13 20:52:24 +00:00
Chris Danford 1227d18d6c Modifier -> Modifiers 2005-05-20 08:57:59 +00:00
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