forked from charlesmilkjug/Funkin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update save data format and error handling.
- Loading branch information
1 parent
2383fdf
commit ec9ec20
Showing
7 changed files
with
122 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package funkin.save.migrator; | ||
|
||
// Internal enums used to ensure old save data can be parsed by the default Haxe unserializer. | ||
// In the future, only primitive types and abstract enums should be used in save data! | ||
|
||
@:native("funkin.ui.debug.stageeditor.StageEditorTheme") | ||
enum StageEditorTheme | ||
{ | ||
Light; | ||
Dark; | ||
} | ||
|
||
@:native("funkin.ui.debug.charting.ChartEditorTheme") | ||
enum ChartEditorTheme | ||
{ | ||
Light; | ||
Dark; | ||
} | ||
|
||
@:native("funkin.ui.debug.charting.ChartEditorLiveInputStyle") | ||
enum ChartEditorLiveInputStyle | ||
{ | ||
None; | ||
NumberKeys; | ||
WASDKeys; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters