standardize imgui headers as user instead of system
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
@@ -174,13 +174,12 @@ uint16_t ldle16b_i(uint8_t const *const p_arr, size_t const p_index) {
|
|||||||
// Initialize the static member
|
// Initialize the static member
|
||||||
std::stack<ImGuiID> ImGuiIdIssuer::idStack;
|
std::stack<ImGuiID> ImGuiIdIssuer::idStack;
|
||||||
|
|
||||||
int Get24LocalFromPC(uint8_t *data, int addr, bool pc) {
|
uint32_t Get24LocalFromPC(uint8_t *data, int addr, bool pc) {
|
||||||
int ret = (PcToSnes(addr) & 0xFF0000) | (data[addr + 1] << 8) | data[addr];
|
uint32_t ret = (PcToSnes(addr) & 0xFF0000) | (data[addr + 1] << 8) | data[addr];
|
||||||
if (pc) {
|
if (pc) {
|
||||||
return SnesToPc(ret);
|
return SnesToPc(ret);
|
||||||
} else {
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace core
|
} // namespace core
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_CORE_COMMON_H
|
#ifndef YAZE_CORE_COMMON_H
|
||||||
#define YAZE_CORE_COMMON_H
|
#define YAZE_CORE_COMMON_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
@@ -187,6 +187,11 @@ class Logger {
|
|||||||
static std::ofstream fout("log.txt", std::ios::out | std::ios::app);
|
static std::ofstream fout("log.txt", std::ios::out | std::ios::app);
|
||||||
fout << message << std::endl;
|
fout << message << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// log to console
|
||||||
|
static void logc(std::string message) { logs.emplace_back(message); }
|
||||||
|
|
||||||
|
static std::vector<std::string> logs;
|
||||||
};
|
};
|
||||||
|
|
||||||
std::string UppercaseHexByte(uint8_t byte, bool leading = false);
|
std::string UppercaseHexByte(uint8_t byte, bool leading = false);
|
||||||
@@ -220,7 +225,7 @@ struct FolderItem {
|
|||||||
|
|
||||||
typedef struct FolderItem FolderItem;
|
typedef struct FolderItem FolderItem;
|
||||||
|
|
||||||
int Get24LocalFromPC(uint8_t *data, int addr, bool pc = true);
|
uint32_t Get24LocalFromPC(uint8_t *data, int addr, bool pc = true);
|
||||||
|
|
||||||
} // namespace core
|
} // namespace core
|
||||||
} // namespace app
|
} // namespace app
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include <imgui/backends/imgui_impl_sdl2.h>
|
#include "imgui/backends/imgui_impl_sdl2.h"
|
||||||
#include <imgui/backends/imgui_impl_sdlrenderer2.h>
|
#include "imgui/backends/imgui_impl_sdlrenderer2.h"
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
#include <imgui/imgui_internal.h>
|
#include "imgui/imgui_internal.h"
|
||||||
#include <imgui_test_engine/imgui_te_context.h>
|
#include <imgui_test_engine/imgui_te_context.h>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
#define YAZE_APP_CORE_CONTROLLER_H
|
#define YAZE_APP_CORE_CONTROLLER_H
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include <imgui/backends/imgui_impl_sdl2.h>
|
#include "imgui/backends/imgui_impl_sdl2.h"
|
||||||
#include <imgui/backends/imgui_impl_sdlrenderer2.h>
|
#include "imgui/backends/imgui_impl_sdlrenderer2.h"
|
||||||
#include <imgui/imconfig.h>
|
#include "imgui/imconfig.h"
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
#include <imgui/imgui_internal.h>
|
#include "imgui/imgui_internal.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "app/core/labeling.h"
|
#include "app/core/labeling.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
#include <imgui/misc/cpp/imgui_stdlib.h>
|
#include "imgui/misc/cpp/imgui_stdlib.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_CORE_PROJECT_H
|
#ifndef YAZE_APP_CORE_PROJECT_H
|
||||||
#define YAZE_APP_CORE_PROJECT_H
|
#define YAZE_APP_CORE_PROJECT_H
|
||||||
|
|
||||||
#include <abseil-cpp/absl/strings/match.h>
|
#include "absl/strings/match.h"
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "assembly_editor.h"
|
#include "assembly_editor.h"
|
||||||
|
|
||||||
#include <ImGuiColorTextEdit/TextEditor.h>
|
#include "ImGuiColorTextEdit/TextEditor.h"
|
||||||
|
|
||||||
#include "app/core/platform/file_dialog.h"
|
#include "app/core/platform/file_dialog.h"
|
||||||
#include "app/gui/icons.h"
|
#include "app/gui/icons.h"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_ASSEMBLY_EDITOR_H
|
#ifndef YAZE_APP_EDITOR_ASSEMBLY_EDITOR_H
|
||||||
#define YAZE_APP_EDITOR_ASSEMBLY_EDITOR_H
|
#define YAZE_APP_EDITOR_ASSEMBLY_EDITOR_H
|
||||||
|
|
||||||
#include <ImGuiColorTextEdit/TextEditor.h>
|
#include "ImGuiColorTextEdit/TextEditor.h"
|
||||||
#include <ImGuiFileDialog/ImGuiFileDialog.h>
|
#include "ImGuiFileDialog/ImGuiFileDialog.h"
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <istream>
|
#include <istream>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_CODE_MEMORY_EDITOR_H
|
#ifndef YAZE_APP_EDITOR_CODE_MEMORY_EDITOR_H
|
||||||
#define YAZE_APP_EDITOR_CODE_MEMORY_EDITOR_H
|
#define YAZE_APP_EDITOR_CODE_MEMORY_EDITOR_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
#include <imgui/misc/cpp/imgui_stdlib.h>
|
#include "imgui/misc/cpp/imgui_stdlib.h"
|
||||||
#include <imgui_memory_editor.h>
|
#include "imgui_memory_editor.h"
|
||||||
|
|
||||||
#include "absl/status/status.h"
|
#include "absl/status/status.h"
|
||||||
#include "app/core/common.h"
|
#include "app/core/common.h"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "dungeon_editor.h"
|
#include "dungeon_editor.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include "app/core/common.h"
|
#include "app/core/common.h"
|
||||||
#include "app/core/labeling.h"
|
#include "app/core/labeling.h"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_DUNGEONEDITOR_H
|
#ifndef YAZE_APP_EDITOR_DUNGEONEDITOR_H
|
||||||
#define YAZE_APP_EDITOR_DUNGEONEDITOR_H
|
#define YAZE_APP_EDITOR_DUNGEONEDITOR_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include "app/core/common.h"
|
#include "app/core/common.h"
|
||||||
#include "app/core/labeling.h"
|
#include "app/core/labeling.h"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "gfx_group_editor.h"
|
#include "gfx_group_editor.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_GFX_GROUP_EDITOR_H
|
#ifndef YAZE_APP_EDITOR_GFX_GROUP_EDITOR_H
|
||||||
#define YAZE_APP_EDITOR_GFX_GROUP_EDITOR_H
|
#define YAZE_APP_EDITOR_GFX_GROUP_EDITOR_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#include "graphics_editor.h"
|
#include "graphics_editor.h"
|
||||||
|
|
||||||
#include <ImGuiFileDialog/ImGuiFileDialog.h>
|
#include "ImGuiFileDialog/ImGuiFileDialog.h"
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
#include <imgui/misc/cpp/imgui_stdlib.h>
|
#include "imgui/misc/cpp/imgui_stdlib.h"
|
||||||
#include <imgui_memory_editor.h>
|
#include "imgui_memory_editor.h"
|
||||||
|
|
||||||
#include "absl/status/status.h"
|
#include "absl/status/status.h"
|
||||||
#include "absl/status/statusor.h"
|
#include "absl/status/statusor.h"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_GRAPHICS_EDITOR_H
|
#ifndef YAZE_APP_EDITOR_GRAPHICS_EDITOR_H
|
||||||
#define YAZE_APP_EDITOR_GRAPHICS_EDITOR_H
|
#define YAZE_APP_EDITOR_GRAPHICS_EDITOR_H
|
||||||
|
|
||||||
#include <ImGuiFileDialog/ImGuiFileDialog.h>
|
#include "ImGuiFileDialog/ImGuiFileDialog.h"
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
#include <imgui/misc/cpp/imgui_stdlib.h>
|
#include "imgui/misc/cpp/imgui_stdlib.h"
|
||||||
#include <imgui_memory_editor.h>
|
#include "imgui_memory_editor.h"
|
||||||
|
|
||||||
#include "absl/status/status.h"
|
#include "absl/status/status.h"
|
||||||
#include "absl/status/statusor.h"
|
#include "absl/status/statusor.h"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "palette_editor.h"
|
#include "palette_editor.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include "absl/status/status.h"
|
#include "absl/status/status.h"
|
||||||
#include "app/gfx/snes_palette.h"
|
#include "app/gfx/snes_palette.h"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_PALETTE_EDITOR_H
|
#ifndef YAZE_APP_EDITOR_PALETTE_EDITOR_H
|
||||||
#define YAZE_APP_EDITOR_PALETTE_EDITOR_H
|
#define YAZE_APP_EDITOR_PALETTE_EDITOR_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include "absl/status/status.h"
|
#include "absl/status/status.h"
|
||||||
#include "app/editor/graphics/gfx_group_editor.h"
|
#include "app/editor/graphics/gfx_group_editor.h"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "screen_editor.h"
|
#include "screen_editor.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_SCREEN_EDITOR_H
|
#ifndef YAZE_APP_EDITOR_SCREEN_EDITOR_H
|
||||||
#define YAZE_APP_EDITOR_SCREEN_EDITOR_H
|
#define YAZE_APP_EDITOR_SCREEN_EDITOR_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "tile16_editor.h"
|
#include "tile16_editor.h"
|
||||||
|
|
||||||
#include <ImGuiFileDialog/ImGuiFileDialog.h>
|
#include "ImGuiFileDialog/ImGuiFileDialog.h"
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_TILE16EDITOR_H
|
#ifndef YAZE_APP_EDITOR_TILE16EDITOR_H
|
||||||
#define YAZE_APP_EDITOR_TILE16EDITOR_H
|
#define YAZE_APP_EDITOR_TILE16EDITOR_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "music_editor.h"
|
#include "music_editor.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include "absl/strings/str_format.h"
|
#include "absl/strings/str_format.h"
|
||||||
#include "app/editor/code/assembly_editor.h"
|
#include "app/editor/code/assembly_editor.h"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_MUSIC_EDITOR_H
|
#ifndef YAZE_APP_EDITOR_MUSIC_EDITOR_H
|
||||||
#define YAZE_APP_EDITOR_MUSIC_EDITOR_H
|
#define YAZE_APP_EDITOR_MUSIC_EDITOR_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include "absl/strings/str_format.h"
|
#include "absl/strings/str_format.h"
|
||||||
#include "app/editor/code/assembly_editor.h"
|
#include "app/editor/code/assembly_editor.h"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_OVERWORLD_ENTITY_H
|
#ifndef YAZE_APP_EDITOR_OVERWORLD_ENTITY_H
|
||||||
#define YAZE_APP_EDITOR_OVERWORLD_ENTITY_H
|
#define YAZE_APP_EDITOR_OVERWORLD_ENTITY_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include "app/editor/overworld_editor.h"
|
#include "app/editor/overworld_editor.h"
|
||||||
#include "app/zelda3/common.h"
|
#include "app/zelda3/common.h"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "overworld_editor.h"
|
#include "overworld_editor.h"
|
||||||
|
|
||||||
#include <ImGuiFileDialog/ImGuiFileDialog.h>
|
#include "ImGuiFileDialog/ImGuiFileDialog.h"
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_OVERWORLDEDITOR_H
|
#ifndef YAZE_APP_EDITOR_OVERWORLDEDITOR_H
|
||||||
#define YAZE_APP_EDITOR_OVERWORLDEDITOR_H
|
#define YAZE_APP_EDITOR_OVERWORLDEDITOR_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include "absl/status/status.h"
|
#include "absl/status/status.h"
|
||||||
#include "app/editor/utils/flags.h"
|
#include "app/editor/utils/flags.h"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_SETTINGS_EDITOR_H
|
#ifndef YAZE_APP_EDITOR_SETTINGS_EDITOR_H
|
||||||
#define YAZE_APP_EDITOR_SETTINGS_EDITOR_H
|
#define YAZE_APP_EDITOR_SETTINGS_EDITOR_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include "absl/status/status.h"
|
#include "absl/status/status.h"
|
||||||
#include "app/editor/utils/editor.h"
|
#include "app/editor/utils/editor.h"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_SPRITE_ZSPRITE_H
|
#ifndef YAZE_APP_EDITOR_SPRITE_ZSPRITE_H
|
||||||
#define YAZE_APP_EDITOR_SPRITE_ZSPRITE_H
|
#define YAZE_APP_EDITOR_SPRITE_ZSPRITE_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#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 "imgui/imgui.h"
|
||||||
|
|
||||||
#include "core/common.h"
|
#include "core/common.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "app/editor/utils/gfx_context.h"
|
#include "app/editor/utils/gfx_context.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_VRAM_CONTEXT_H
|
#ifndef YAZE_APP_EDITOR_VRAM_CONTEXT_H
|
||||||
#define YAZE_APP_EDITOR_VRAM_CONTEXT_H
|
#define YAZE_APP_EDITOR_VRAM_CONTEXT_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_EDITOR_UTILS_KEYBOARD_SHORTCUTS_H
|
#ifndef YAZE_APP_EDITOR_UTILS_KEYBOARD_SHORTCUTS_H
|
||||||
#define YAZE_APP_EDITOR_UTILS_KEYBOARD_SHORTCUTS_H
|
#define YAZE_APP_EDITOR_UTILS_KEYBOARD_SHORTCUTS_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
namespace yaze {
|
namespace yaze {
|
||||||
namespace app {
|
namespace app {
|
||||||
|
|||||||
@@ -5,12 +5,10 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include <absl/status/status.h>
|
#include "absl/status/status.h"
|
||||||
#include <absl/strings/str_format.h>
|
#include "absl/strings/str_format.h"
|
||||||
#include <failure_signal_handler.h>
|
#include "imgui/imgui.h"
|
||||||
#include <imgui/imgui.h>
|
#include "imgui_memory_editor.h"
|
||||||
#include <imgui_memory_editor.h>
|
|
||||||
#include <rom.h>
|
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "app/emu/emulator.h"
|
#include "app/emu/emulator.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
#include <imgui_memory_editor.h>
|
#include "imgui_memory_editor.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_CORE_EMULATOR_H
|
#ifndef YAZE_APP_CORE_EMULATOR_H
|
||||||
#define YAZE_APP_CORE_EMULATOR_H
|
#define YAZE_APP_CORE_EMULATOR_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "app/emu/memory/memory.h"
|
#include "app/emu/memory/memory.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#include "app/gfx/snes_color.h"
|
#include "app/gfx/snes_color.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_GFX_SNES_COLOR_H_
|
#ifndef YAZE_APP_GFX_SNES_COLOR_H_
|
||||||
#define YAZE_APP_GFX_SNES_COLOR_H_
|
#define YAZE_APP_GFX_SNES_COLOR_H_
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "snes_palette.h"
|
#include "snes_palette.h"
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#define YAZE_APP_GFX_PALETTE_H
|
#define YAZE_APP_GFX_PALETTE_H
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#include "asset_browser.h"
|
#include "asset_browser.h"
|
||||||
|
|
||||||
|
#include "absl/strings/str_format.h"
|
||||||
|
|
||||||
namespace yaze {
|
namespace yaze {
|
||||||
namespace app {
|
namespace app {
|
||||||
namespace gui {
|
namespace gui {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_GUI_ASSET_BROWSER_H
|
#ifndef YAZE_APP_GUI_ASSET_BROWSER_H
|
||||||
#define YAZE_APP_GUI_ASSET_BROWSER_H
|
#define YAZE_APP_GUI_ASSET_BROWSER_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "canvas.h"
|
#include "canvas.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_GUI_CANVAS_H
|
#ifndef YAZE_GUI_CANVAS_H
|
||||||
#define YAZE_GUI_CANVAS_H
|
#define YAZE_GUI_CANVAS_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
#include "color.h"
|
#include "color.h"
|
||||||
|
|
||||||
#include <gfx/snes_color.h>
|
#include "imgui/imgui.h"
|
||||||
#include <imgui/imgui.h>
|
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "app/gfx/bitmap.h"
|
#include "app/gfx/bitmap.h"
|
||||||
#include "app/gfx/snes_palette.h"
|
#include "app/gfx/snes_palette.h"
|
||||||
|
#include "app/gfx/snes_color.h"
|
||||||
|
|
||||||
namespace yaze {
|
namespace yaze {
|
||||||
namespace app {
|
namespace app {
|
||||||
@@ -123,6 +123,7 @@ absl::Status DisplayPalette(app::gfx::SnesPalette& palette, bool loaded) {
|
|||||||
ImGui::ColorPicker4("##picker", (float*)&color,
|
ImGui::ColorPicker4("##picker", (float*)&color,
|
||||||
misc_flags | ImGuiColorEditFlags_NoSidePreview |
|
misc_flags | ImGuiColorEditFlags_NoSidePreview |
|
||||||
ImGuiColorEditFlags_NoSmallPreview);
|
ImGuiColorEditFlags_NoSmallPreview);
|
||||||
|
return absl::OkStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SelectablePalettePipeline(uint64_t& palette_id, bool& refresh_graphics,
|
void SelectablePalettePipeline(uint64_t& palette_id, bool& refresh_graphics,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_GUI_COLOR_H
|
#ifndef YAZE_GUI_COLOR_H
|
||||||
#define YAZE_GUI_COLOR_H
|
#define YAZE_GUI_COLOR_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#include "input.h"
|
#include "input.h"
|
||||||
|
|
||||||
#include <ImGuiFileDialog/ImGuiFileDialog.h>
|
#include "ImGuiFileDialog/ImGuiFileDialog.h"
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
#include <imgui/imgui_internal.h>
|
#include "imgui/imgui_internal.h"
|
||||||
#include <imgui/misc/cpp/imgui_stdlib.h>
|
#include "imgui/misc/cpp/imgui_stdlib.h"
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
#define IMGUI_DEFINE_MATH_OPERATORS
|
#define IMGUI_DEFINE_MATH_OPERATORS
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
#include <imgui/misc/cpp/imgui_stdlib.h>
|
#include "imgui/misc/cpp/imgui_stdlib.h"
|
||||||
#include <imgui_memory_editor.h>
|
#include "imgui_memory_editor.h"
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "style.h"
|
#include "style.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
#include <imgui/imgui_internal.h>
|
#include "imgui/imgui_internal.h"
|
||||||
|
|
||||||
namespace yaze {
|
namespace yaze {
|
||||||
namespace app {
|
namespace app {
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#ifndef YAZE_APP_CORE_STYLE_H
|
#ifndef YAZE_APP_CORE_STYLE_H
|
||||||
#define YAZE_APP_CORE_STYLE_H
|
#define YAZE_APP_CORE_STYLE_H
|
||||||
|
|
||||||
#include <ImGuiColorTextEdit/TextEditor.h>
|
#include "ImGuiColorTextEdit/TextEditor.h"
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
#include <imgui/misc/cpp/imgui_stdlib.h>
|
#include "imgui/misc/cpp/imgui_stdlib.h"
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#include "app/gui/zeml.h"
|
#include "app/gui/zeml.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_GUI_ZEML_H
|
#ifndef YAZE_APP_GUI_ZEML_H
|
||||||
#define YAZE_APP_GUI_ZEML_H
|
#define YAZE_APP_GUI_ZEML_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "overworld_map.h"
|
#include "overworld_map.h"
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef YAZE_APP_ZELDA3_OVERWORLD_MAP_H
|
#ifndef YAZE_APP_ZELDA3_OVERWORLD_MAP_H
|
||||||
#define YAZE_APP_ZELDA3_OVERWORLD_MAP_H
|
#define YAZE_APP_ZELDA3_OVERWORLD_MAP_H
|
||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include "imgui/imgui.h"
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
Reference in New Issue
Block a user