Danbias/Code/Game/GameLogic/ObjectDefines.h

39 lines
487 B
C
Raw Normal View History

#ifndef OBJECT_DEFINES_H
#define OBJECT_DEFINES_H
namespace GameLogic
{
enum ObjectType
{
2014-01-24 10:01:58 +01:00
ObjectType_Level,
ObjectType_Static,
ObjectType_Dynamic,
ObjectType_NUM_OF_TYPES,
2014-01-24 10:01:58 +01:00
ObjectType_Unknown = -1,
};
struct ObjectTypeHeader
{
ObjectType typeID;
};
struct ObjectHeader : public ObjectTypeHeader
{
//Model,
int ModelID;
//Texture
int TextureID;
//Position
float position[3];
//Rotation
float rotation[3];
//Scale
float scale[3];
};
}
#endif