Glenn Maynard
2bd0cd5d4e
please attempt to follow the coding style of the rest of the project
2005-01-25 07:19:33 +00:00
Charles Lohr
642d71640a
Fix: some sorting issues.
2005-01-25 07:07:11 +00:00
Charles Lohr
13e58fb541
Fix: Pontless forced crash. We have steps which aren't null.
2005-01-25 06:45:30 +00:00
Charles Lohr
ae2f55c7ac
Fix: Now we can delete profiles.
2005-01-25 06:21:39 +00:00
Charles Lohr
e9880a7f7c
Fix: Don't crash if we have not yet selected a style.
2005-01-25 06:20:48 +00:00
Glenn Maynard
957e89466a
remove HoldNote
2005-01-25 05:46:51 +00:00
Glenn Maynard
b1467a84be
have DrawHold take a TapNote
2005-01-25 05:45:51 +00:00
Charles Lohr
d45ab3d89a
Change: Different code for starting song in sync. It seems to work better, but it's still in progess.
2005-01-25 05:11:18 +00:00
Charles Lohr
40d4733cd9
Fix: Potential crashes on end-of-song
2005-01-25 05:07:29 +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
6ece8829c4
shut up already
2005-01-25 01:22:32 +00:00
Glenn Maynard
8e0aed664a
Increment, Decrement
2005-01-25 00:21:21 +00:00
Glenn Maynard
6416067514
unneeded include
2005-01-25 00:10:47 +00:00
Steve Checkoway
c700011078
update
2005-01-24 10:37:47 +00:00
Steve Checkoway
9264796026
Fix warnings.
2005-01-24 10:12:46 +00:00
Josh Allen
2f62df57f8
Fix placement of password field and password background
2005-01-24 03:58:43 +00:00
Charles Lohr
72b0a3c330
Add: More stuff to detur crashes.
2005-01-24 03:11:00 +00:00
Chris Danford
ed6aa8b02e
The Lua state needs to be reset on a theme change to reload scripts
2005-01-24 03:05:37 +00:00
Chris Danford
cd9c48d645
LuaHelpers -> LuaManager
2005-01-24 02:26:55 +00:00
Chris Danford
f4de06361d
not necessary to reInit Lua on a theme change
2005-01-24 02:14:58 +00:00
Chris Danford
b055671a63
LuaHelpers.cpp -> LuaManager
2005-01-24 02:12:07 +00:00
Chris Danford
29a1bbb993
add macros for Lua binding C++ classes
2005-01-24 02:11:23 +00:00
Chris Danford
5b223580e5
allow classes to register with Lua
2005-01-24 02:04:03 +00:00
Glenn Maynard
bc9c3d1af9
This call is only in Win2k, VC6 is having trouble finding it, and I can't
...
seem to find the prototype (even in VC7--despite the fact that it does have
one), and it's not important enough to spend more time on right now ...
2005-01-24 00:27:04 +00:00
Glenn Maynard
1dbb8cfac2
Fix shift not releasing g_iShiftAnchor.
...
This call is cleaner and simpler than DeviceToEdit, and it shouldn't
be less efficient to call it many times than calling DeviceToEdit once
(since DeviceToEdit loops over all keys anyway). Maybe DeviceToEdit
should be dropped.
2005-01-23 23:49:19 +00:00
Glenn Maynard
95cf7d2649
never store NoteRows in floats
2005-01-23 23:23:34 +00:00
Glenn Maynard
c670a3b62d
cleanup
2005-01-23 23:20:15 +00:00
Glenn Maynard
52731adc29
NoteField::m_fBeginMarker, m_fEndMarker -> m_iBeginMarker, m_iEndMarker
...
go back to storing BPM as a float, until I'm sure it won't cause precision
problems
2005-01-23 23:17:12 +00:00
Glenn Maynard
ae427e7cb5
update
2005-01-23 21:56:57 +00:00
Glenn Maynard
3634c07656
Represent TimingData values (except for "seconds") in fixed-point.
...
Maybe we should stop calling note indexes "rows" and "indexes", and just
call them "beats"; if they're stored as an integer, they're in fixed-point. Things
like "note rows per second" are a lot less intuitive than just calling them "beats
per second".
2005-01-23 21:55:01 +00:00
Glenn Maynard
1929824277
Increase ROWS_PER_BEAT to allow accurately storing BPM values
...
in terms of rows. This no longer has any runtime or memory cost, since
all (hopefully) cases of iterating per-row have been removed.
2005-01-23 21:47:32 +00:00
Glenn Maynard
bb0213c174
Remove 4s. It's conceptually incompatible with using a sparse map to
...
hold tap notes.
2005-01-23 21:40:21 +00:00
Glenn Maynard
206363742d
remove 4s
2005-01-23 21:37:40 +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
982ec42ab8
simplify
2005-01-23 21:28:47 +00:00
Glenn Maynard
7185c4c018
fix
2005-01-23 20:43:43 +00:00
Glenn Maynard
774ae6fa5b
fix delete in the editor (BeatToNoteRow was wrong for negative numbers)
2005-01-23 19:10:44 +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
18e32dbda4
don't lose HoldNoteResult when converting to/from 2sAnd3s
2005-01-23 17:17:24 +00:00
Glenn Maynard
4ad39097ef
whoops
2005-01-23 06:32:38 +00:00
Glenn Maynard
403eccc879
m_CabinetLightsNoteData without 4s
2005-01-23 06:31:41 +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
f55f7e0a08
NoteData::LoadTransformed fix
2005-01-23 05:15:18 +00:00
Glenn Maynard
49d1922912
implement NoteDataUtil::ShiftRight and NoteDataUtil::ShiftLeft without 4s
2005-01-23 04:59:10 +00:00