Watergit push!

This commit is contained in:
2025-09-07 21:15:00 +03:00
parent 92ec3e9497
commit d42cf2854a
11 changed files with 388 additions and 44 deletions

View File

@@ -41,11 +41,8 @@ struct GUIListener : public Ogre::RenderTargetListener {
// ECS::get().get<App>().app->setWindowGrab(true);
if (ImGui::Button("Shitty Quit button"))
Ogre::Root::getSingleton().queueEndRendering();
if (ImGui::Button("Chick-chick")) {
ECS::get().get_mut<GUI>().enabled = false;
ECS::get().modified<GUI>();
// ECS::get().get<App>().app->setWindowGrab(true);
}
if (ImGui::Button("Chick-chick"))
ECS::get().get<GUI>().finish();
ImGui::Text("We do stoopid...");
ImGui::End();
}
@@ -74,7 +71,7 @@ struct GUIListener : public Ogre::RenderTargetListener {
Ogre::Quaternion nq(yaw, Ogre::Vector3(0, 1, 0));
pnode->setOrientation(nq);
// ECS::get().get<App>().app->setWindowGrab(true);
ECS::get().get<GUI>().finish();
}
void buildings_editor()
{