Glenn Maynard
de6ca466d2
more enum standardization
2006-10-07 04:39:48 +00:00
Glenn Maynard
2ce839e4eb
Invalid
2006-10-07 04:25:28 +00:00
Glenn Maynard
3311f1992c
CabinetLight_Invalid
2006-09-26 21:23:30 +00:00
Steve Checkoway
1345a2cd5f
LogType -> string. Done.
2006-09-24 03:57:40 +00:00
Glenn Maynard
e206261b80
ARRAYSIZE -> ARRAYLEN
2006-09-13 03:11:38 +00:00
Steve Checkoway
48a329597c
Fix comment stripping. Fixes editor bug.
2006-09-12 04:28:11 +00:00
Steve Checkoway
faf32603f1
Consistent user warnings.
2006-09-04 08:09:27 +00:00
Steve Checkoway
4606d68fdf
Move warnings meant for the user to userlog.txt. These are as inconsistent in format as before but at least they're all in one place.
2006-09-03 05:16:09 +00:00
Steve Checkoway
5182356808
Time to get a new keyboard?
2006-08-19 20:06:31 +00:00
Steve Checkoway
03c0f2f5e4
Handle lift.
2006-08-19 19:59:56 +00:00
Steve Checkoway
b39d68c8cf
Initial TapNote::lift implementation.
2006-08-14 12:16:31 +00:00
Steve Checkoway
734f9760cc
Remove unnecessary member. Just set iKeysoundIndex to -1 if it isn't valid.
2006-08-14 10:17:48 +00:00
Steve Checkoway
2d68d7b13e
Comment.
2006-07-28 04:38:12 +00:00
Steve Checkoway
e081585830
Add comment.
2006-07-28 04:37:26 +00:00
Steve Checkoway
5da3ac8f36
Avoid copying TapNote where possible and implement some of these algorithms in terms of NoteData::iterators which take constant time to move to the next element rather than GetTapNote which takes logarithmic time.
2006-07-24 04:53:24 +00:00
Steve Checkoway
a07e194cf1
Revert. Fixes Linux build.
2006-07-18 05:51:37 +00:00
Jason Felds
366c3440d4
Fix VC8 macro redef warning. (more to come)
2006-07-18 03:56:37 +00:00
Steve Checkoway
c090130108
Fix splitting composite NoteData.
2006-07-09 23:51:40 +00:00
Steve Checkoway
025997d453
Removes all tap notes except for those with PLAYER_INVALID and those matching that player.
2006-07-09 20:11:46 +00:00
Steve Checkoway
80698277cf
Don't use rand()%n. The function specified by the ANSI committee is a terrible linear congruential generator. In fact, it's so bad that the low order bit alternates. The algorithm implemented as RandomFloat() seems to be Park and Miller's "minimum standard" generator which is better (but not great). [See Knuth for more information.]
...
Any place where you would use rand()%n, use RandomInt(0, n) instead.
2006-06-26 12:14:30 +00:00
Steve Checkoway
4524010d56
Apply RemoveSimultaneousNotes to each part of a composite NoteData.
2006-06-26 11:35:52 +00:00
Steve Checkoway
0279fd908f
CombineCompositeNoteData(). This will not let you place a note inside a hold note that already exists. Use this when loading from a string as well.
2006-06-26 10:57:10 +00:00
Steve Checkoway
8129d943ba
It's hard to maintain this information when using begin() and end() so rather than wrapping the iterators, just check each time IsComposite() is called since it doesn't happen _that_ often. Just don't call IsComposite() often.
2006-06-26 09:33:11 +00:00
Glenn Maynard
12de9309d6
defined intptr_t
2006-06-24 05:42:52 +00:00
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