diff --git a/src/main/java/r48/io/r2k/obj/lsd/SaveSystem.java b/src/main/java/r48/io/r2k/obj/lsd/SaveSystem.java index 1e4e81cd..0f127666 100644 --- a/src/main/java/r48/io/r2k/obj/lsd/SaveSystem.java +++ b/src/main/java/r48/io/r2k/obj/lsd/SaveSystem.java @@ -18,9 +18,13 @@ public class SaveSystem extends R2kObject { public IntegerR2kStruct screen = new IntegerR2kStruct(1); public IntegerR2kStruct frameCount = new IntegerR2kStruct(0); public StringR2kStruct systemName = new StringR2kStruct(); - // This is different from the documented default - test this out? - // the "messing with YNET" test showed that it's value is actually forced to 1 somehow, hm. - public IntegerR2kStruct systemBoxStretch = new IntegerR2kStruct(0); + // This gets it's default from the database. + public OptionalR2kStruct systemBoxStretch = new OptionalR2kStruct(new ISupplier() { + @Override + public IntegerR2kStruct get() { + return new IntegerR2kStruct(0); + } + }); public IntegerR2kStruct fontId = new IntegerR2kStruct(0); public ArraySizeR2kInterpretable switchesSize = new ArraySizeR2kInterpretable(true); public ArrayR2kStruct switches = new ArrayR2kStruct(switchesSize, new ISupplier() { diff --git a/src/main/resources/assets/IRB_TODO.txt b/src/main/resources/assets/IRB_TODO.txt index dd8bf443..af9cb99e 100644 --- a/src/main/resources/assets/IRB_TODO.txt +++ b/src/main/resources/assets/IRB_TODO.txt @@ -9,11 +9,8 @@ from highest priority to lowest: + eventually turn editor into huge gelatinous monstrosity (Working on it) short-term planning: -+ v1.0-2 -+ Figure out RXP's oddities ++ Figure out RXP's oddities(???) -+ ask easyrpg about what is up with SaveSystem system_box_tiling -+ ask easyrpg about pan_state having to be -1 (not 0, -1) to prevent pan weirdness, etcetc + send back SavePicture default value fixes, they probably need this (Well, I did mention it, but if anything's happened I don't see it) - Maybe remove IMI, which I'll rename the WAU. diff --git a/src/main/resources/assets/R2K/SchemaLSD.txt b/src/main/resources/assets/R2K/SchemaLSD.txt index ebfacb0f..ef8c0d44 100644 --- a/src/main/resources/assets/R2K/SchemaLSD.txt +++ b/src/main/resources/assets/R2K/SchemaLSD.txt @@ -78,7 +78,8 @@ e rpg_savesystem_screen 5 save @frame_count int If empty, defaults to game's default System. @system_name f_save_system_name -@system_box_tiling int_boolean + If not present, defaults to that in Database. ++optP @system_box_tiling int_boolean @font_id rpg_system_font @switches subwindow arrayEIdX switch_id 1 0 boolean @variables subwindow arrayEIdX var_id 1 0 int diff --git a/src/main/resources/assets/layertab.png b/src/main/resources/assets/layertab.png index dd6f5631..343fa60a 100644 Binary files a/src/main/resources/assets/layertab.png and b/src/main/resources/assets/layertab.png differ