2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 14:27:42 +00:00

Add Player Transform tools

This commit is contained in:
2021-07-11 17:58:16 -07:00
parent 96680d2660
commit e331c5d5c6
6 changed files with 94 additions and 4 deletions

View File

@@ -11,6 +11,8 @@
#include "hecl/CVarCommons.hpp"
#include "hecl/CVarManager.hpp"
#include <zeus/CEulerAngles.hpp>
namespace metaforce {
void ImGuiStringViewText(std::string_view text);
void ImGuiTextCenter(std::string_view text);
@@ -57,6 +59,9 @@ private:
bool m_showItemsWindow = false;
bool m_showLayersWindow = false;
bool m_showConsoleVariablesWindow = false;
bool m_showPlayerTransformEditor = false;
std::optional<zeus::CVector3f> m_savedLocation;
std::optional<zeus::CEulerAngles> m_savedRotation;
bool m_paused = false;
bool m_stepFrame = false;
@@ -106,5 +111,6 @@ private:
void ShowInputViewer();
void SetOverlayWindowLocation(int corner) const;
void ShowCornerContextMenu(int& corner, int avoidCorner) const;
void ShowPlayerTransformEditor();
};
} // namespace metaforce