Commit Graph

660 Commits

Author SHA1 Message Date
Chris Danford af3e1c571c move Steps searching out of song into SongUtil so that it can be shared with CourseEntry 2006-06-13 01:10:37 +00:00
Steve Checkoway d2f3a14495 strtof -> StringToFloat. 2006-06-12 06:42:25 +00:00
Chris Danford 8c4cedf63f let OS handle key modifers (fixes number buttons w/ French keyboard) 2006-06-10 20:33:56 +00:00
Glenn Maynard 031c9397f3 fix record with no selection in EditMode_Full; FLT_MAX is greater than the maximum NoteRow and comes out negative 2006-05-30 17:41:26 +00:00
Glenn Maynard 7801d81596 ASSERT -> FAIL_M 2006-05-30 17:21:53 +00:00
Glenn Maynard dde95942be fix comment 2006-05-30 17:20:42 +00:00
Chris Danford c6bddd9165 make autoplay available everywhere but DQ if used 2006-04-25 02:35:55 +00:00
Chris Danford 329d1397c0 fix "AutoPlay remains on for normal play even if it's only togglable in the editor." 2006-04-25 01:31:26 +00:00
Chris Danford 92605c07df fix play starting past end of notes causes goofy looping 2006-04-24 22:03:59 +00:00
Chris Danford d3bbde5f05 loop playback and record 2006-04-04 21:58:20 +00:00
Chris Danford 8511eb2155 fix record aborts immediately 2006-03-30 04:46:01 +00:00
Glenn Maynard 788ad134f1 This broke beat alignment, and after that was fixed, other questions
came up (like how to align beat effects correctly).  Revert this and
fix assist tick differently.

Add GetBeatAndBPSFromElapsedTimeNoOffset, GetBeatFromElapsedTimeNoOffset,
GetElapsedTimeFromBeatNoOffset.  Use them to ignore GlobalOffsetSeconds.
2006-03-29 11:12:20 +00:00
Chris Danford 7a87b1f7ef fix noteskin not set on playback 2006-03-28 21:28:56 +00:00
Glenn Maynard ee9c292b09 Implement GlobalOffsetSeconds in GameState::UpdateSongPosition,
not TimingData.  TimingData is a simple data structure, and shouldn't
be affected by hardware tweaks.  This is also easier to bypass in cases
we don't want GlobalOffsetSeconds.

Don't adjust assist tick by GlobalOffsetSeconds.
2006-03-28 09:28:55 +00:00
Steve Checkoway 40b44ee6b8 Fix attacks not working properly with random songs in the editor. 2006-03-19 01:59:42 +00:00
Steve Checkoway 77a8b6ab61 Use EditMode_CourseMods and remove hack from ScreenEdit. 2006-03-19 01:20:42 +00:00
Chris Danford 2fba5ff7e6 don't show step counts in Steps Information - they're already shown on the main edit screen 2006-03-18 19:49:33 +00:00
Steve Checkoway 678c74e7c1 Fix warning. 2006-03-18 08:43:15 +00:00
Chris Danford 94b0e34aee tab cleanup 2006-03-16 21:09:36 +00:00
Chris Danford 5e60bab5ce populate editor help based on mappings 2006-03-16 20:59:15 +00:00
Glenn Maynard 575061c4c1 cleanup 2006-03-16 07:36:27 +00:00
Glenn Maynard e0c8a8ebc7 fix HandleSongTimer not reset 2006-03-16 07:35:47 +00:00
Chris Danford 46969bf4b6 consistent editor strings capitalization 2006-03-15 22:18:25 +00:00
Chris Danford 34b9aa17e9 use the same Play key mappings for all EditModes
If selection start is set, have "play" start at the selection, not at the current beat
2006-03-14 22:07:56 +00:00
Steve Checkoway d113837cd4 Consider attacks to be at the same time if they are less than 1 ms apart. 2006-03-14 08:51:12 +00:00
Steve Checkoway 811c4d8b09 Work on course editor.
1. Press v to place an attack at the current location or to modify an existing attack.
2. With a selection, press m to place an attack for the duration of the selection or to modify an existing attack's duration.
3. With only the start of a selection, press m to place an attack extending to the end of the song or to ... (you get the idea).
4. With no selection, press m to set modifies for the course entry. This could go away if we stop having modifiers and just attacks that encompass the entire song (in which case it would act the same but add an attack rather than modifiers).
5. Is anyone still reading this?
2006-03-14 08:41:16 +00:00
Glenn Maynard 207973f3da group "play" 2006-03-13 09:03:02 +00:00
Glenn Maynard a85ba734d6 fix play_selection assertion if no selection 2006-03-13 08:59:32 +00:00
Glenn Maynard 4eb0b1f86e wider range of speeds available 2006-03-13 07:46:02 +00:00
Steve Checkoway 14d737a085 Working on course mod editor. Add new edit mode. 2006-03-12 00:45:18 +00:00
Steve Checkoway 7e0d36ae5f Simplify. 2006-03-11 21:35:12 +00:00
Glenn Maynard 14a87ff180 cleanup 2006-03-11 06:13:18 +00:00
Chris Danford 7ec7a906c3 finish edit renaming and handle display errors encountered during rename 2006-03-08 22:05:23 +00:00
Chris Danford 1860c6c674 consolidate Steps description validation 2006-03-08 04:03:39 +00:00
Chris Danford ff6f781cb5 themable edit help text
map MENU_BUTTON_BACK
Add selction setting in menu for joystick users
2006-03-07 20:43:40 +00:00
Chris Danford 611489b1bb map MenuInput to EditButton for joysticks in the editor/practice 2006-03-07 02:43:09 +00:00
Chris Danford 3c4087a187 fix ManageProfiles errors
add bThemeTitle flag to MenuRow
2006-02-13 22:45:17 +00:00
Chris Danford cce97c40b8 move autosync logic out of Player and GameState, into a separate file 2006-02-06 01:23:25 +00:00
Chris Danford 8c7baa0ec8 add sound feedback to bpm, stop, offset 2006-02-04 18:35:29 +00:00
Chris Danford 18cd1a345d switch -> switch steps 2006-02-03 19:24:39 +00:00
Glenn Maynard 083af22b1b NoteTypeToLocalizedString
("Notes" still not localized, since this isn't simply a drop-in substitution
for different languages.  "notes" may just be removed, not sure yet.)
2006-02-02 22:51:18 +00:00
Glenn Maynard f873e9bd84 fix EDIT_BUTTON_SAMPLE_LENGTH_DOWN, EDIT_BUTTON_SAMPLE_LENGTH_UP 2006-02-02 08:38:50 +00:00
Glenn Maynard 70501c3dcc cleanup 2006-02-02 08:38:15 +00:00
Glenn Maynard 79c1ebe890 Localize editor info text.
Add "Rolls" count.
Only show "Subtitle", "Selection beat", and note stats that
are actually relevant.
"Selection beat" polish.
Push note info onto a single line.  The jagged numbers look
a little weird, but this stuff is too long and is falling
off the bottom of the screen, and "Hands: 3" is easier to
read anyway.

"(note type) Notes" still needs localization.
2006-02-02 08:33:09 +00:00
Glenn Maynard efb0c6f64a disable STATE_RECORDING_PAUSED for now 2006-02-02 01:24:17 +00:00
Glenn Maynard 8b15de1a05 fix note skin changing in the editor menu 2006-02-01 06:22:35 +00:00
Glenn Maynard 63fbb804da clarify 2006-02-01 05:49:55 +00:00
Glenn Maynard a6475109a3 fix up STATE_RECORDING_PAUSED; make this clearer 2006-02-01 05:47:50 +00:00
Glenn Maynard 7a1da2cd5b typo 2006-02-01 05:00:51 +00:00
Glenn Maynard 799f725ccb Normally, the "fYReverseOffsetPixels" value to NoteField::Init
is the distance from the center of the field to the top and bottom.
To center record mode, we've been setting this to a low value.
That's different from every other place we use NoteField.  Instead,
set it to a more typical value, and enable the "centered" modifier.
2006-02-01 04:59:38 +00:00