1
This commit is contained in:
parent
7fc8efeedf
commit
0df20b549b
@ -7,6 +7,13 @@ namespace mt
|
||||
{
|
||||
class MapCollider;
|
||||
|
||||
struct WorldObject
|
||||
{
|
||||
int object_id = 0;
|
||||
int object_type = 0;
|
||||
glm::vec3 pos;
|
||||
};
|
||||
|
||||
DECLARE_ID_TABLE(Map, mtb::Map,
|
||||
"map@map.json",
|
||||
"map_id")
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "mt/MapCollider.h"
|
||||
#include "mt/Grasp.h"
|
||||
#include "mt/GraspBuff.h"
|
||||
#include "mt/WorldObject.h"
|
||||
|
||||
#include "app.h"
|
||||
|
||||
@ -104,7 +103,6 @@ namespace mt
|
||||
RegMetaTable<MapArea>(res_path_);
|
||||
RegMetaTable<Grasp>(res_path_);
|
||||
RegMetaTable<GraspBuff>(res_path_);
|
||||
RegMetaTable<WorldObject>(res_path_);
|
||||
}
|
||||
|
||||
void MetaMgr::Load()
|
||||
|
@ -1,18 +0,0 @@
|
||||
#include "precompile.h"
|
||||
|
||||
#include "mt/WorldObject.h"
|
||||
|
||||
IMPL_TABLE(mt::WorldObject)
|
||||
|
||||
namespace mt
|
||||
{
|
||||
|
||||
void WorldObject::Init1()
|
||||
{
|
||||
}
|
||||
|
||||
void WorldObject::Init2()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "mt/macro.h"
|
||||
#include "mtb/WorldObject.h"
|
||||
|
||||
namespace mt
|
||||
{
|
||||
|
||||
DECLARE_AUTO_ID_TABLE(WorldObject, mtb::WorldObject,
|
||||
"world_object@world_object.json"
|
||||
)
|
||||
public:
|
||||
|
||||
void Init1();
|
||||
void Init2();
|
||||
|
||||
};
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user