Update save data format and error handling.

This commit is contained in:
EliteMasterEric
2024-10-18 19:11:27 -04:00
committed by Cameron Taylor
parent 24ad7f4a39
commit dff4135fc9
7 changed files with 122 additions and 38 deletions
@@ -5654,7 +5654,8 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
function handleHelpKeybinds():Void
{
// F1 = Open Help
if (FlxG.keys.justPressed.F1 && !isHaxeUIDialogOpen) {
if (FlxG.keys.justPressed.F1 && !isHaxeUIDialogOpen)
{
this.openUserGuideDialog();
}
}
@@ -6543,22 +6544,22 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
/**
* Available input modes for the chart editor state. Numbers/arrows/WASD available for other keybinds.
*/
enum ChartEditorLiveInputStyle
enum abstract ChartEditorLiveInputStyle(String)
{
/**
* No hotkeys to place notes at the playbar.
*/
None;
var None;
/**
* 1/2/3/4 to place notes on opponent's side, 5/6/7/8 to place notes on player's side.
*/
NumberKeys;
var NumberKeys;
/**
* WASD to place notes on opponent's side, Arrow keys to place notes on player's side.
*/
WASDKeys;
var WASDKeys;
}
typedef ChartEditorParams =
@@ -6577,15 +6578,15 @@ typedef ChartEditorParams =
/**
* Available themes for the chart editor state.
*/
enum ChartEditorTheme
enum abstract ChartEditorTheme(String)
{
/**
* The default theme for the chart editor.
*/
Light;
var Light;
/**
* A theme which introduces darker colors.
*/
Dark;
var Dark;
}
@@ -1458,17 +1458,17 @@ class StageEditorState extends UIState
/**
* Available themes for the stage editor state.
*/
enum StageEditorTheme
enum abstract StageEditorTheme(String)
{
/**
* The default theme for the stage editor.
*/
Light;
var Light;
/**
* A theme which introduces stage colors.
*/
Dark;
var Dark;
}
enum StageEditorDialogType