uggly main menu
This commit is contained in:
34
include/client/states/StateData.h
Normal file
34
include/client/states/StateData.h
Normal file
@@ -0,0 +1,34 @@
|
||||
#pragma once
|
||||
|
||||
#include <Nazara/Core/EnttWorld.hpp>
|
||||
#include <Nazara/Platform/Window.hpp>
|
||||
#include <Nazara/Renderer/WindowSwapchain.hpp>
|
||||
#include <Nazara/Widgets/Canvas.hpp>
|
||||
#include <entt/fwd.hpp>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
namespace Nz {
|
||||
|
||||
class ApplicationBase;
|
||||
class RenderTarget;
|
||||
|
||||
} // namespace Nz
|
||||
|
||||
namespace blitz {
|
||||
namespace client {
|
||||
|
||||
class ClientApp;
|
||||
|
||||
struct StateData {
|
||||
std::optional<Nz::Canvas> m_Canvas;
|
||||
std::shared_ptr<Nz::RenderTarget> m_RenderTarget;
|
||||
ClientApp* m_AppComponent;
|
||||
Nz::ApplicationBase* m_App;
|
||||
Nz::EnttWorld* m_World;
|
||||
Nz::Window* m_Window;
|
||||
Nz::WindowSwapchain* m_Swapchain;
|
||||
};
|
||||
|
||||
} // namespace client
|
||||
} // namespace blitz
|
||||
Reference in New Issue
Block a user