Glenn Maynard
2eb54bdb89
ScreenSaveSync::SaveSync
2005-08-14 02:01:23 +00:00
Chris Danford
a2c439a17a
support loading of course edits
2005-07-31 05:41:32 +00:00
Chris Danford
e3167a82d8
working on new course edit screens
2005-07-30 19:34:23 +00:00
Glenn Maynard
4fe46bd2a4
EDIT_BUTTON_REMOVE_NOTE
2005-07-30 07:07:11 +00:00
Chris Danford
359d745e67
add course edits, improved course editor
2005-07-29 02:23:02 +00:00
Chris Danford
d0f871e9ff
PlayMusic("") -> StopMusic()
2005-07-22 23:07:49 +00:00
Chris Danford
1cfda9a901
remove unused PlayMusic overload
2005-07-22 22:17:34 +00:00
Glenn Maynard
eca5d32eb3
fix underlay/overlay; we play the state commands so we can do things with
...
them in these modes, so don't hide them
2005-07-22 05:02:04 +00:00
Glenn Maynard
209c806bbd
simplify
2005-07-22 04:12:56 +00:00
Glenn Maynard
9d65ff798d
fix "record empty segment at end doesn't do anything useful"
2005-07-22 04:11:15 +00:00
Glenn Maynard
464bb983ee
align record to record length
2005-07-22 02:30:15 +00:00
Glenn Maynard
d62fe9be5a
EDIT_BUTTON_SCROLL_NEXT_MEASURE, EDIT_BUTTON_SCROLL_PREV_MEASURE
2005-07-22 01:28:20 +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
ea8705fa9d
spit out ScreenEdit::ScrollTo
2005-07-21 22:31:09 +00:00
Glenn Maynard
c9c59e0882
initial "paused record" mode: record a song measure-by-measure, allowing
...
replaying and rerecording each section in sequence; when paused, remain
in the record view, so we don't jump around between record and edit views
constantly
2005-07-21 21:23:18 +00:00
Glenn Maynard
d5587f37d0
case fix
2005-07-21 20:42:56 +00:00
Glenn Maynard
61c42c4481
simplify
2005-07-21 20:41:26 +00:00
Glenn Maynard
fc43a6f136
EDIT_BUTTON_RECORD -> EDIT_BUTTON_RECORD_SELECTION
2005-07-21 20:37:04 +00:00
Glenn Maynard
079926c6c3
cleanup; always commit recorded data when exiting record, not just when entering edit (though we only go from record -> edit currently)
2005-07-21 06:50:39 +00:00
Glenn Maynard
951c6074b0
cleanup
2005-07-21 06:48:56 +00:00
Glenn Maynard
f4cc57514e
always stop music and reset m_bPastHereWeGo when changing modes
2005-07-21 06:25:29 +00:00
Glenn Maynard
9547906a6c
cleanup
2005-07-21 05:58:34 +00:00
Glenn Maynard
fa7d6d4960
fix area menu
2005-07-21 05:17:36 +00:00
Glenn Maynard
d038d2446e
TransitionEditState does this
2005-07-21 03:09:33 +00:00
Glenn Maynard
fe240ddcd9
it's typically not useful to leave the cursor where it was when exiting play/record, so restore the cursor position. (do leave the cursor where it is when exiting play mode explicitly)
2005-07-21 02:44:53 +00:00
Glenn Maynard
d4afd9c47c
fix range check (do it after quantizing)
2005-07-21 02:22:07 +00:00
Glenn Maynard
a858eca8b0
edit state has its own PlayerState; reset options here
2005-07-21 01:59:13 +00:00
Glenn Maynard
792ae76f4c
edit state has its own PlayerState; reset attacks here
2005-07-21 01:56:49 +00:00
Glenn Maynard
b36673fc9a
fix g_CourseMode
2005-07-21 01:52:01 +00:00
Glenn Maynard
f183e5efda
highlight the section being recorded; this makes it clear why you can't insert notes during the lead-in and shows when the region will end
2005-07-21 01:22:10 +00:00
Glenn Maynard
8696548ac6
copy data from the range given (which may not be the same as the selection)
2005-07-21 01:19:48 +00:00
Glenn Maynard
ec43e2efb9
Don't extend hold notes outside of the range. Extend record slightly if a button is being held, to allow placing hold notes near the end of the region.
2005-07-21 01:17:51 +00:00
Glenn Maynard
c316b4ec7e
move m_PlayerStateEdit init nearer to where it's used
2005-07-21 01:06:53 +00:00
Glenn Maynard
f0e4bff570
avoid accessing m_PlayerStateEdit directly
2005-07-21 01:04:54 +00:00
Glenn Maynard
2438865137
snap to where we started playing if we exit play/record by finishing the region (not jumping to the possibly irrelevant selection)
2005-07-21 00:44:18 +00:00
Glenn Maynard
b54bbafa1f
cleanup
2005-07-20 22:22:43 +00:00
Glenn Maynard
768409d479
simplify
2005-07-20 22:19:14 +00:00
Glenn Maynard
1f75787d48
static
2005-07-20 19:19:14 +00:00
Glenn Maynard
b81fdd8e4e
allow redo
...
allow undo through revert
2005-07-20 06:47:30 +00:00
Glenn Maynard
9cf604c036
support laying mines and rolls in record mode (will need to overlap records
...
several times to lay both mines and taps in the same spot)
2005-07-20 05:45:16 +00:00
Glenn Maynard
34383cc05b
g_ -> m_
2005-07-20 05:38:12 +00:00
Glenn Maynard
7e59b56deb
when recording in a range, don't change the steps outside of the range
2005-07-20 05:35:10 +00:00
Glenn Maynard
cc1d203afe
Give time-based lead-in for record, like play, not a whole measure (and merge
...
code).
Only pad the end position by a measure when playing the whole song, not
when playing a selection.
Don't pad when recording. It'll jump to the end position, anyway.
Don't mess up the user's selection range when using play from
start/play from cursor.
2005-07-20 05:26:27 +00:00
Glenn Maynard
c617d0c50b
move common state change code into TransitionEditState and merge
...
duplicate code to start the sound
2005-07-20 05:07:07 +00:00
Glenn Maynard
db22dcf5e0
common code
2005-07-20 05:02:56 +00:00
Glenn Maynard
611ae2449d
g_iShiftAnchor -> m_iShiftAnchor
2005-07-20 04:50:06 +00:00
Glenn Maynard
4d2e2cd3c1
simplify: we only need to set m_NoteDataRecord; calling NoteField::Load
...
again is not necessary
2005-07-20 04:48:26 +00:00
Glenn Maynard
1a15361464
simplify
2005-07-20 03:10:15 +00:00
Glenn Maynard
21fe0c4fb2
unneeded
2005-07-20 03:08:19 +00:00