converted to Jolt physics
This commit is contained in:
25
src/gamedata/SlotsModule.h
Normal file
25
src/gamedata/SlotsModule.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef _SLOTS_MODULE_H_
|
||||
#define _SLOTS_MODULE_H_
|
||||
#include <flecs.h>
|
||||
#include <Ogre.h>
|
||||
namespace ECS
|
||||
{
|
||||
struct ParentSlot {
|
||||
flecs::entity parent_e;
|
||||
Ogre::String slot_name;
|
||||
};
|
||||
struct ParentSlotData {
|
||||
Ogre::String slot_name;
|
||||
flecs::entity parent_e;
|
||||
Ogre::SceneNode *parentNode;
|
||||
};
|
||||
struct ObjectSlots {
|
||||
std::unordered_map<Ogre::String,
|
||||
std::pair<Ogre::String, Ogre::SceneNode *> >
|
||||
slots;
|
||||
};
|
||||
struct SlotsModule {
|
||||
SlotsModule(flecs::world &ecs);
|
||||
};
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user