19 #ifndef _MODELINSTANCE_H_
20 #define _MODELINSTANCE_H_
59 static bool readFromFile(FILE* rf,
ModelSpawn &spawn);
60 static bool writeToFile(FILE* rw,
const ModelSpawn &spawn);
69 bool intersectRay(
const G3D::Ray& pRay,
float& pMaxDist,
bool pStopAtFirstHit)
const;
81 #endif // _MODELINSTANCE
G3D::Vector3 iPos
Definition: ModelInstance.h:49
WorldModel * getWorldModel()
Definition: ModelInstance.h:73
ModelInstance()
Definition: ModelInstance.h:66
Definition: ModelInstance.h:38
float iInvScale
Definition: ModelInstance.h:76
const G3D::AABox & getBounds() const
Definition: ModelInstance.h:57
Definition: IVMapManager.h:31
float iScale
Definition: ModelInstance.h:51
void setUnloaded()
Definition: ModelInstance.h:68
Definition: ModelInstance.h:37
bool operator==(const ModelSpawn &other) const
Definition: ModelInstance.h:54
ModelFlags
Definition: ModelInstance.h:35
G3D::AABox iBound
Definition: ModelInstance.h:52
Definition: WorldModel.h:106
uint32_t uint32
Definition: Define.h:150
uint16_t uint16
Definition: Define.h:151
uint32 ID
Definition: ModelInstance.h:48
Definition: ModelInstance.h:39
#define TC_COMMON_API
Definition: Define.h:116
WorldModel * iModel
Definition: ModelInstance.h:77
Definition: ModelInstance.h:42
uint32 flags
Definition: ModelInstance.h:46
std::string name
Definition: ModelInstance.h:53
uint16 adtId
Definition: ModelInstance.h:47
G3D::Vector3 iRot
Definition: ModelInstance.h:50
G3D::Matrix3 iInvRot
Definition: ModelInstance.h:75
Definition: ModelInstance.h:63