Commit Graph

505 Commits

Author SHA1 Message Date
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
Glenn Maynard f0e2ff35fc fix chopped-off record; remove redundant m_NoteFieldRecord.Load call 2005-07-20 03:01:58 +00:00
Glenn Maynard e32ed655c9 cleanups 2005-07-20 02:40:20 +00:00
Glenn Maynard 3f05193193 remove edit_bg_change menu options. Use b/shift-b. (removes crash
due to uninitialized g_CurrentBGChangeLayer)
2005-07-20 01:57:53 +00:00
Glenn Maynard 6734b1df8c fix updating g_BackgroundChange 2005-07-20 01:31:07 +00:00
Glenn Maynard 219461a3f1 ScreenPlayerOptionsEdit -> ScreenEditOptions 2005-07-20 00:40:01 +00:00
Glenn Maynard 913b9c52a2 player options -> options 2005-07-20 00:30:19 +00:00
Glenn Maynard ff4188032d remove "preferences"; do this all in one menu (too many menus) 2005-07-20 00:26:16 +00:00
Glenn Maynard 7a19b153a3 remove song_options 2005-07-20 00:07:33 +00:00
Glenn Maynard 39d42a9db4 Use SCREENMAN->MakeNewScreen, so we obey the class of the
loaded screen.  We don't require anything special of it.
2005-07-19 23:58:51 +00:00
Glenn Maynard f7e6c71a43 preload most editor menus 2005-07-19 21:43:12 +00:00
Glenn Maynard 38566406ec typo 2005-07-19 18:58:12 +00:00
Glenn Maynard 9fb747a820 simplify 2005-07-19 18:56:50 +00:00
Glenn Maynard 15558d4cac cleanup: don't need a special case for this anymore 2005-07-18 02:39:51 +00:00
Glenn Maynard 35446c23db hide header, too 2005-07-14 07:55:38 +00:00
Glenn Maynard 1798075550 make EDIT_MODE not common 2005-07-14 05:45:51 +00:00
Glenn Maynard a7039d9eec remove m_bEditing 2005-07-14 05:14:49 +00:00
Glenn Maynard 0aea12e609 filter menu options from within ScreenEdit 2005-07-14 04:59:06 +00:00
Glenn Maynard 58178ad258 cleanup 2005-07-12 05:38:13 +00:00
Glenn Maynard fd700eb123 move RebuildPlayerOptionsFromActiveAttacks into PlayerState (SGameplay
commit in a moment)
2005-07-07 21:29:35 +00:00
Chris Danford 7c6dbc102b working on ScreenOptionsProfiles 2005-07-05 23:13:49 +00:00
Chris Danford 1cc24c34d7 Menu -> MenuDef 2005-07-05 11:23:31 +00:00
Glenn Maynard 0259484d16 ScreenMiniMenu::MiniMenu 2005-07-03 04:50:21 +00:00
Glenn Maynard 9b08148f60 ScreenTextEntry::TextEntry/ScreenTextEntry::Password 2005-07-03 04:45:34 +00:00
Glenn Maynard 1e894d05bb done in SM_GainFocus 2005-07-03 04:36:58 +00:00
Glenn Maynard 2cb0658151 ScreenPrompt::Prompt update 2005-07-03 04:34:53 +00:00
Chris Danford 6ab20c5ad9 more work on a new course editor 2005-06-28 08:11:30 +00:00
Chris Danford dda77894e8 Remove CourseEntryType. Instead, treat each CourseEntry property as a filter. 2005-06-27 04:41:36 +00:00