feat: Add option to load custom overworld data from ROM and enable UI
This commit is contained in:
@@ -87,6 +87,9 @@ class ExperimentFlags {
|
|||||||
|
|
||||||
// Save overworld properties to the Rom.
|
// Save overworld properties to the Rom.
|
||||||
bool kSaveOverworldProperties = true;
|
bool kSaveOverworldProperties = true;
|
||||||
|
|
||||||
|
// Load custom overworld data from the ROM and enable UI.
|
||||||
|
bool kLoadCustomOverworld = false;
|
||||||
} overworld;
|
} overworld;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_UTILS_FLAGS_H
|
#ifndef YAZE_APP_EDITOR_UTILS_FLAGS_H
|
||||||
#define YAZE_APP_EDITOR_UTILS_FLAGS_H
|
#define YAZE_APP_EDITOR_UTILS_FLAGS_H
|
||||||
|
|
||||||
#include "imgui/imgui.h"
|
|
||||||
|
|
||||||
#include "core/common.h"
|
#include "core/common.h"
|
||||||
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
namespace yaze {
|
namespace yaze {
|
||||||
namespace app {
|
namespace app {
|
||||||
@@ -31,6 +30,8 @@ struct FlagsMenu : public core::ExperimentFlags {
|
|||||||
&mutable_flags()->overworld.kSaveOverworldItems);
|
&mutable_flags()->overworld.kSaveOverworldItems);
|
||||||
Checkbox("Save Overworld Properties",
|
Checkbox("Save Overworld Properties",
|
||||||
&mutable_flags()->overworld.kSaveOverworldProperties);
|
&mutable_flags()->overworld.kSaveOverworldProperties);
|
||||||
|
Checkbox("Load Custom Overworld",
|
||||||
|
&mutable_flags()->overworld.kLoadCustomOverworld);
|
||||||
ImGui::EndMenu();
|
ImGui::EndMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user