Updates
This commit is contained in:
30
src/gamedata/TerrainModule.h
Normal file
30
src/gamedata/TerrainModule.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef TERRAIN_MODULE_H_
|
||||
#define TERRAIN_MODULE_H
|
||||
#include <flecs.h>
|
||||
namespace Ogre
|
||||
{
|
||||
class TerrainGlobalOptions;
|
||||
class TerrainGroup;
|
||||
class TerrainPaging;
|
||||
class PageManager;
|
||||
class PagedWorld;
|
||||
class TerrainPagedWorldSection;
|
||||
}
|
||||
namespace ECS
|
||||
{
|
||||
struct Terrain {
|
||||
Ogre::TerrainGlobalOptions *mTerrainGlobals;
|
||||
Ogre::TerrainGroup *mTerrainGroup;
|
||||
Ogre::TerrainPaging *mTerrainPaging;
|
||||
Ogre::PageManager *mPageManager;
|
||||
Ogre::PagedWorld *mPagedWorld;
|
||||
Ogre::TerrainPagedWorldSection *mTerrainPagedWorldSection;
|
||||
bool mTerrainReady;
|
||||
|
||||
Ogre::Vector3 mTerrainPos;
|
||||
};
|
||||
struct TerrainModule {
|
||||
TerrainModule(flecs::world &ecs);
|
||||
};
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user