Maintain item list
This commit is contained in:
@@ -41,6 +41,17 @@ struct TerrainModule {
|
||||
static int get_img_y(float world_z);
|
||||
static void update_heightmap(const Ogre::Image &heightmap);
|
||||
static void save_heightmap();
|
||||
static flecs::entity createItem(const Ogre::Vector3 &position,
|
||||
const Ogre::Quaternion &orientation,
|
||||
const Ogre::String &type);
|
||||
static void setItemProperties(flecs::entity id,
|
||||
Ogre::String properties);
|
||||
static const Ogre::String &getItemProperties(flecs::entity id);
|
||||
static void saveItems();
|
||||
static void loadItems();
|
||||
static void getItemPositionPerSlot(long x, long y,
|
||||
std::list<Ogre::Vector3> *positions);
|
||||
static void getItemPositions(std::list<Ogre::Vector3> *positions);
|
||||
};
|
||||
struct TerrainReady {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user