This commit is contained in:
2025-09-05 22:56:48 +03:00
parent 25816c5658
commit 92ec3e9497
17 changed files with 1320 additions and 453 deletions

View File

@@ -2,6 +2,12 @@
#define COMPONENTS_H_
#include <Ogre.h>
#include <OgreBullet.h>
namespace OgreBites
{
class ApplicationContextSDL;
class InputListenerChain;
class InputListener;
}
namespace ECS
{
struct GameData {
@@ -46,6 +52,15 @@ struct Camera {
Ogre::SceneNode *mCameraGoal;
Ogre::Real mPivotPitch;
};
struct RenderWindow {
Ogre::RenderWindow *window;
float dpi;
};
struct App {
OgreBites::ApplicationContextSDL *app;
OgreBites::InputListenerChain *mInput;
std::vector<OgreBites::InputListener *> listeners;
};
struct InWater {};
}
#endif