57 #define M_TYPE_INVALID 0
58 #define M_TYPE_COMMENT 1
61 #define M_TYPE_DOUBLE 4
62 #define M_TYPE_POINT3 5
63 #define M_TYPE_COLOR 6
67 #define M_TYPE_MODEL 9
69 #define M_TYPE_ATTACK 11
70 #define M_TYPE_PLIST 12
71 #define M_TYPE_INCLUDE 13
81 void _type(
char* strType);
87 laTypedObject() { _strType[0]=
'\0'; _nType = M_TYPE_INVALID; _pdata=NULL; }
88 laTypedObject(
char* strType) { strcpy(_strType, strType); _type(strType); _pdata=NULL; }
95 virtual void discard();
98 unsigned type() {
return _nType; }
109 laPoint3* getPoint();
115 class fxParticleSystem* getFx();
117 class laPropertyList* getPList();
Interface for loadable objects.