add extensions and yaze_editor_context to MasterEditor
This commit is contained in:
@@ -28,9 +28,11 @@
|
|||||||
#include "app/gui/icons.h"
|
#include "app/gui/icons.h"
|
||||||
#include "app/gui/input.h"
|
#include "app/gui/input.h"
|
||||||
#include "app/rom.h"
|
#include "app/rom.h"
|
||||||
|
#include "ext/extension.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 "yaze.h"
|
||||||
|
|
||||||
namespace yaze {
|
namespace yaze {
|
||||||
namespace app {
|
namespace app {
|
||||||
@@ -86,12 +88,7 @@ class MasterEditor : public SharedRom,
|
|||||||
void DrawInfoPopup();
|
void DrawInfoPopup();
|
||||||
|
|
||||||
void DrawYazeMenu();
|
void DrawYazeMenu();
|
||||||
void DrawFileMenu();
|
void DrawYazeMenuBar();
|
||||||
void DrawEditMenu();
|
|
||||||
void DrawViewMenu();
|
|
||||||
void DrawTestMenu();
|
|
||||||
void DrawProjectMenu();
|
|
||||||
void DrawHelpMenu();
|
|
||||||
|
|
||||||
void LoadRom();
|
void LoadRom();
|
||||||
void SaveRom();
|
void SaveRom();
|
||||||
@@ -112,6 +109,8 @@ class MasterEditor : public SharedRom,
|
|||||||
emu::Emulator emulator_;
|
emu::Emulator emulator_;
|
||||||
|
|
||||||
Project current_project_;
|
Project current_project_;
|
||||||
|
yaze_editor_context editor_context_;
|
||||||
|
std::vector<yaze_extension*> extensions_;
|
||||||
|
|
||||||
AssemblyEditor assembly_editor_;
|
AssemblyEditor assembly_editor_;
|
||||||
DungeonEditor dungeon_editor_;
|
DungeonEditor dungeon_editor_;
|
||||||
|
|||||||
Reference in New Issue
Block a user