mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-30 16:35:26 -04:00
64 lines
1.3 KiB
C++
64 lines
1.3 KiB
C++
#ifndef DUSK_IMGUI_MENUTOOLS_HPP
|
|
#define DUSK_IMGUI_MENUTOOLS_HPP
|
|
|
|
#include <aurora/aurora.h>
|
|
#include <string>
|
|
|
|
#include "imgui.h"
|
|
#include "ImGuiSaveEditor.hpp"
|
|
|
|
namespace dusk {
|
|
class ImGuiMenuTools {
|
|
public:
|
|
ImGuiMenuTools();
|
|
void draw();
|
|
void afterDraw();
|
|
|
|
void ShowDebugOverlay();
|
|
void ShowCameraOverlay();
|
|
void ShowProcessManager();
|
|
void ShowHeapOverlay();
|
|
void ShowStubLog();
|
|
void ShowMapLoader();
|
|
void ShowPlayerInfo();
|
|
void ShowAudioDebug();
|
|
void ShowSaveEditor();
|
|
|
|
private:
|
|
bool m_showDebugOverlay = false;
|
|
int m_debugOverlayCorner = 2; // bottom-left
|
|
|
|
bool m_showCameraOverlay = false;
|
|
int m_cameraOverlayCorner = 3;
|
|
|
|
bool m_showProcessManagement = false;
|
|
|
|
bool m_showHeapOverlay = false;
|
|
|
|
bool m_showStubLog = false;
|
|
|
|
bool m_showMapLoader = false;
|
|
|
|
bool m_showAudioDebug = false;
|
|
struct {
|
|
int mapIdx = -1;
|
|
int regionIdx = -1;
|
|
int roomNoIdx = 0;
|
|
int pointNoIdx = 0;
|
|
int roomNo = -1;
|
|
int pointNo = -1;
|
|
int spawnId = 0;
|
|
int layer = -1;
|
|
bool showInternalNames = false;
|
|
} m_mapLoaderInfo;
|
|
|
|
bool m_showPlayerInfo = false;
|
|
int m_playerInfoOverlayCorner = 1; // top-right
|
|
|
|
bool m_showSaveEditor = false;
|
|
ImGuiSaveEditor m_saveEditor;
|
|
};
|
|
}
|
|
|
|
#endif // DUSK_IMGUI_MENUTOOLS_HPP
|