1#ifndef YAZE_APP_EDITOR_SYSTEM_CONSTANT_MANAGER_H
2#define YAZE_APP_EDITOR_SYSTEM_CONSTANT_MANAGER_H
7#include <unordered_map>
10#include "absl/status/status.h"
19#include "imgui/imgui.h"
28 ImGui::Begin(
"Constant Manager");
33 "This is the constant manager. It allows you to view and edit "
34 "constants in the ROM. You should only edit these if you know what "
37 if (ImGui::BeginTabBar(
"Constant Manager Tabs")) {
38 if (ImGui::BeginTabItem(
"Overworld")) {
39 ImGui::Text(
"Overworld constants");
41 ImGui::Text(
"OverworldCustomASMHasBeenApplied: %d",
43 ImGui::Text(
"OverworldCustomAreaSpecificBGPalette: %d",
45 ImGui::Text(
"OverworldCustomAreaSpecificBGEnabled: %d",
47 ImGui::Text(
"OverworldCustomMainPaletteArray: %d",
49 ImGui::Text(
"OverworldCustomMainPaletteEnabled: %d",
51 ImGui::Text(
"OverworldCustomMosaicArray: %d",
53 ImGui::Text(
"OverworldCustomMosaicEnabled: %d",
55 ImGui::Text(
"OverworldCustomAnimatedGFXArray: %d",
57 ImGui::Text(
"OverworldCustomAnimatedGFXEnabled: %d",
63 if (ImGui::BeginTabItem(
"Dungeon")) {
64 ImGui::Text(
"Dungeon constants");
68 if (ImGui::BeginTabItem(
"Graphics")) {
69 ImGui::Text(
"Graphics constants");
73 if (ImGui::BeginTabItem(
"Expanded")) {
74 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