Remove unused editor.cc file and clean up related CMake and code files

This commit is contained in:
scawful
2025-03-03 18:01:29 -05:00
parent 4b139b3973
commit 6dfa5d282e
4 changed files with 2 additions and 14 deletions

View File

@@ -1,7 +0,0 @@
#include "editor.h"
namespace yaze {
namespace editor {
} // namespace editor
} // namespace yaze

View File

@@ -1,6 +1,5 @@
set( set(
YAZE_APP_EDITOR_SRC YAZE_APP_EDITOR_SRC
app/editor/editor.cc
app/editor/editor_manager.cc app/editor/editor_manager.cc
app/editor/dungeon/dungeon_editor.cc app/editor/dungeon/dungeon_editor.cc
app/editor/overworld/overworld_editor.cc app/editor/overworld/overworld_editor.cc

View File

@@ -433,13 +433,9 @@ void EditorManager::DrawHomepage() {
"The editor is still in development, so please report any bugs or issues " "The editor is still in development, so please report any bugs or issues "
"you encounter."); "you encounter.");
static bool managed_startup = false;
if (Button("Open ROM", ImVec2(200, 0))) { if (Button("Open ROM", ImVec2(200, 0))) {
LoadRom(); LoadRom();
} }
SameLine();
ImGui::Checkbox("Manage Startup", &managed_startup);
Separator(); Separator();
settings_editor_.Update(); settings_editor_.Update();