1#ifndef YAZE_APP_EDITOR_SYSTEM_CONSTANT_MANAGER_H
2#define YAZE_APP_EDITOR_SYSTEM_CONSTANT_MANAGER_H
7#include "imgui/imgui.h"
16 ImGui::Begin(
"Constant Manager");
21 "This is the constant manager. It allows you to view and edit "
22 "constants in the ROM. You should only edit these if you know what "
25 if (ImGui::BeginTabBar(
"Constant Manager Tabs")) {
26 if (ImGui::BeginTabItem(
"Overworld")) {
27 ImGui::Text(
"Overworld constants");
29 ImGui::Text(
"OverworldCustomASMHasBeenApplied: %d",
31 ImGui::Text(
"OverworldCustomAreaSpecificBGPalette: %d",
33 ImGui::Text(
"OverworldCustomAreaSpecificBGEnabled: %d",
35 ImGui::Text(
"OverworldCustomMainPaletteArray: %d",
37 ImGui::Text(
"OverworldCustomMainPaletteEnabled: %d",
39 ImGui::Text(
"OverworldCustomMosaicArray: %d",
41 ImGui::Text(
"OverworldCustomMosaicEnabled: %d",
43 ImGui::Text(
"OverworldCustomAnimatedGFXArray: %d",
45 ImGui::Text(
"OverworldCustomAnimatedGFXEnabled: %d",
51 if (ImGui::BeginTabItem(
"Dungeon")) {
52 ImGui::Text(
"Dungeon constants");
56 if (ImGui::BeginTabItem(
"Graphics")) {
57 ImGui::Text(
"Graphics constants");
61 if (ImGui::BeginTabItem(
"Expanded")) {
62 ImGui::Text(
"Expanded constants");
void ShowConstantManager()
constexpr int OverworldCustomAnimatedGFXArray
constexpr int OverworldCustomAreaSpecificBGEnabled
constexpr int OverworldCustomASMHasBeenApplied
constexpr int OverworldCustomMosaicEnabled
constexpr int OverworldCustomAnimatedGFXEnabled
constexpr int OverworldCustomAreaSpecificBGPalette
constexpr int OverworldCustomMainPaletteEnabled
constexpr int OverworldCustomMosaicArray
constexpr int OverworldCustomMainPaletteArray