Commit Graph

348 Commits

Author SHA1 Message Date
Kyzentun Keeslala ae5ff0724a Added Clear timing in region option to timing menu in edit mode. Disabled pasting clipboard timing if it's not safe to fix crash. 2016-01-18 11:48:50 -07:00
Kyzentun Keeslala db06b4c1a3 Call ArrowEffects::Update on ScreenEdit during play mode so that Tornado and other stuff will work. 2015-12-11 00:02:31 -07:00
Flameshadowxeroshin aba0f1f7b3 Rename GameButtonType_INVALID to GameButtonType_Menu.
Strictly that's not right but close enough.
2015-12-05 20:02:00 -06:00
Flameshadowxeroshin d329c80ad3 remove guitar cruft
There was a bunch of code for handling guitar-specific input such as hammer-ons/pull-offs and strumming. Given that guitar was removed, and as far as I understand, will not be added back into SM5, it makes sense to remove code that had no other use.
2015-12-05 11:12:17 -06:00
Kyzentun Keeslala 66edc2d233 Changed Edit Mode to not add the global offset to the Current Second field. Updated changelog. 2015-10-10 01:06:32 -06:00
Kyzentun Keeslala 2d64694f14 Changed Song and ScreenEdit to not save a .sm file when split timing is used. 2015-10-02 16:26:59 -06:00
Kyzentun Keeslala 155b185307 Fixed crash in edit mode caused by chart mods not revalidating the ATIs of the notedata. Edit mode still doesn't play attacks perfectly right. 2015-07-11 00:43:37 -06:00
Kyzentun 9790d613b5 Changed ScreenEdit::HandleAlterMenuChoice to not prompt for clearing when it is used by cut, which is used by all the transform choices. 2015-04-20 07:47:26 -06:00
Kyzentun b04e7faec6 Fixed RevertFromDisk by making it turn off the InStepEditor flag while reloading the song. Removed redundant call of loaderSSC.TidyUpData from NotesLoader::LoadFromDir because loaderSSC.LoadFromDir calls it. 2015-04-13 10:33:09 -06:00
Kyzentun 3cb7b5d2a5 Typo fix in ScreenEdit help from SpookyMagician. 2015-04-06 23:00:51 -06:00
Kyzentun d7e032b478 Added 1, 2, and 4 measure choices to shift menus in edit mode. 2015-04-04 22:38:18 -06:00
Kyzentun 9e5081476f Added timing menu options to Edit Mode that allow shifting and copying timing segments of a chosen type in the selected region or everywhere below the cursor. 2015-04-04 09:10:00 -06:00
Kyzentun a2798e16f4 More aggressive caching. In general, this makes Stepmania avoid looking in the song directory at all if the song is in the cache, in order to load songs faster. All the RadarValue calculations were also rolled into one to reduce the time needed to build the cache. 2015-03-23 11:35:30 -06:00
Kyzentun 3140c4f30f Changed preview length setting to occur when the special preview file is set in edit mode. 2015-03-11 18:55:06 -06:00
Kyzentun ddb1683bb7 Autosave completed but not tested. 2015-03-09 19:47:44 -06:00
Kyzentun 064aead73c Added autosave to edit mode. 2015-03-09 19:47:43 -06:00
Kyzentun fa0478affa Merged per-chart music. Updated changelog. 2015-03-09 19:06:57 -06:00
Kyzentun d3367d6a16 Add prompt for clearing an area in Edit Mode. Updated changelog. 2015-03-08 00:56:29 -07:00
Kyzentun 976f773f7c Merge pull request #486 from kyzentun/mute_actions
Toggle key for muting actions
2015-03-07 17:51:28 -07:00
Kyzentun 0318f07d2d Implement preview music properly as a new optional tag in the ssc file. Changed ScreenManager to emit an error instead of asserting if a screen attempts to use SetNewScreen inside an InitCommand. Changed decorations layer to be a proper child instead of stripping away the ActorFrame. 2015-03-04 01:31:02 -07:00
Kyzentun 846f79879c Added MUSIC tag to note data to allow each chart in a simfile to use a different music file. 2015-03-02 18:44:01 -07:00
Kyzentun b293a8c073 Added debug key for toggling action sounds off. Touches every place that RageSound::Play is called, hope I didn't miss one. 2015-02-28 06:25:02 -07:00
Kyzentun f1229d29cb Made backslash mappable. Fixed mistake in previous AddSegment fix so now it correctly compares to the previous segment again. F7/F8 no longer allow negative bpms to match Edit BPM behavior. 2015-02-16 13:31:21 -07:00
Kyzentun cb379505d5 Changed edit mode to allow configuring RECORD_HOLD_SECONDS. 2015-02-08 18:39:45 -07:00
Kyzentun c7ffbb3453 Lead in time before recording starts in edit mode is now a preference. 2015-01-31 14:03:30 -07:00
Kyzentun f4a718a824 SetCompatibleStylesForPlayers and ForceSharedSidesMatch added to GameState for SSM to use to fix style mismatch problems.
StyleInputToGameInput changed to take a vector to return values in to handle multiple inputs mapped to a single column.  Associated adjustments to everything that uses it.
Player no longer drops holds in columns that have multiple inputs mapped to them if the wrong one is held.
Running out of stage tokens changed from assert to error.
2015-01-17 21:15:15 -07:00
Kyzentun 3fb36af157 Separate styles for players. Notefields positioned between margins. Edit mode works for kickbox. 2014-12-09 22:27:00 -07:00
Kyzentun c9a17dc48e Added metrics for setting the screens Edit Mode uses for setting mods. Added functions for apply ModsLevel_Preferred to the other levels. 2014-12-09 21:59:01 -07:00
Kyzentun 89ed68f86d Edit Mode plays until music end if the music ends after the notes. 2014-12-09 15:37:06 -07:00
Kyzentun a5d9f029f3 Added optional config ini file for configuring key mappings used by Edit Mode. 2014-11-17 04:24:20 -07:00
Kyzentun 33a9b042b2 Added MaxDimensionUsesZoom to BMT copy constructor. 2014-09-07 22:56:50 -06:00
Kyzentun 2eba76c873 Localized Arbitrary Remap edit mode strings. Changed track ids for Arbitrary Remap to start at 1. 2014-08-31 19:46:29 -06:00
Kyzentun d5878da037 Added Arbitrary Remap option to Alter Menu in Edit Mode. 2014-08-30 13:38:16 -06:00
Kyzentun be64c240c3 Added Swap Up/Down option to Edit Alter Menu. 2014-08-30 00:47:07 -06:00
sigatrev 82cb4a198d Enums for TapNoteType, TapNoteSubType, and TapNoteSource
I intend to make additional useful information available on judgments,
such as TapNoteType and TapNoteSubType( for hold judgments ).

I am submitting this part as a separate pull request because it is more
generally applicable to anything TapNote related.
2014-08-02 00:38:48 -07:00
sigatrev 52c2801503 UpdateSongPositions
It is useful to have Player SongPositions update off of ScreenGameplay
for use with things like ArrowEffects.

ScreenGameplay, ScreenHowToPlay, and ScreenEdit stop GameSoundManager
from running GameState:UpdateSongPosition and do it themselves, so this
has no impact on the screen classes that cared about, and thus updated,
player SongPositions.
2014-08-02 00:38:43 -07:00
Jason Felds 4919b7c28f Attempt to address issue #9 for SM5.
Not in best position to test out.
2014-01-29 18:12:10 -05:00
Devin J. Pohly dc32ee0486 editor: re-enable convert to delay/stop at beat 0
This should behave nicely after the previous commit.
2013-08-30 15:10:30 -04:00
Devin J. Pohly b75975e9bd editor: don't offset by 1 row when shifting TimingData 2013-08-30 14:43:14 -04:00
Devin J. Pohly 53f861bdd4 fix duplicate removal in editor help
The sort was in place for this purpose.  Let's use it on the modifier keys, but
not sort the regular keys, since the order matters for those.

This isn't really the right way to do this from the start, but that'll be
something that could be rewritten at another time given that our mappings are
still pretty much hardcoded.
2013-08-30 14:09:03 -04:00
Devin J. Pohly 9ec3b61bd1 editor: don't sort keys in help screen
The order of these actually matters; we shouldn't be resorting them.

Fixes issue 86.
2013-08-29 13:32:24 -04:00
Devin J. Pohly 2ec80d86b1 editor: fix Undo for Alter and Turn menus
Looks like someone figured out the problem, implemented the required
functionality... and then just didn't use it.
2013-08-12 20:47:07 -04:00
Jason Felds d6441690b4 Fix keysound editor crash. 2013-06-09 09:08:53 -04:00
Devin J. Pohly ce507b9800 use empty TimingData in Steps to signify fallback on Song timing.
This required using the new Steps::GetTimingData function and the allowEmpty
parameter to TimingData::TidyUpData when appropriate, as well as clearing the
TimingData to remove step timing rather than coping the song timing over it.

Fixes some odd editor behavior when changing song timing, and is overall a
slightly less hacky way of doing things.
2013-01-23 14:51:18 -05:00
Devin J. Pohly 3d6f1c5227 ScreenEdit: handle beat-0 offset the same as other timing data 2013-01-21 23:13:38 -05:00
Devin J. Pohly 234cbf4281 ScreenEdit: add GetAppropriateStepsForUpdate function 2013-01-21 22:53:12 -05:00
Devin J. Pohly d13ac7e7a2 modify Input() on screens to return boolean 2013-01-12 22:48:38 -05:00
Devin J. Pohly a3491b5a61 fix typo on 3fb9163 2013-01-02 14:09:17 -05:00
Flameshadowxeroshin c5d566c641 forgot a semicolon 2013-01-02 10:49:20 -06:00
Flameshadowxeroshin 3fb91639b3 ScreenEdit: Fix crash on pressing certain buttons in record. 2013-01-02 10:38:11 -06:00