Water works!

This commit is contained in:
2025-09-15 01:51:38 +03:00
parent 4d0fb8f60f
commit 5c03f0cd2c
18 changed files with 2435 additions and 1501 deletions

View File

@@ -2,6 +2,10 @@
#define COMPONENTS_H_
#include <Ogre.h>
#include <OgreBullet.h>
namespace Ogre
{
class ImGuiOverlay;
}
namespace OgreBites
{
class ApplicationContextSDL;
@@ -18,6 +22,8 @@ struct EngineData {
Ogre::Bullet::DynamicsWorld *mWorld;
float delta;
float startupDelay;
int width;
int height;
};
struct Vector3 {
float x;
@@ -58,10 +64,13 @@ struct RenderWindow {
float dpi;
};
struct App {
OgreBites::ApplicationContextSDL *app;
Ogre::ImGuiOverlay *mGuiOverlay;
OgreBites::InputListenerChain *mInput;
std::vector<OgreBites::InputListener *> listeners;
};
struct InWater {};
struct TerrainReady {};
struct WaterReady {};
struct GroundCheckReady {};
}
#endif