40 #include "SDL_opengl.h"
58 #pragma pack( push, packing )
63 #define PATH_MAX _MAX_PATH
66 #elif defined( __GNUC__ )
67 #define PACK_STRUCT __attribute__((packed))
70 # error you must byte-align these structures with the appropriate compiler directives
74 typedef unsigned char byte;
75 typedef unsigned short word;
119 #pragma pack( pop, packing )
167 void draw(
bool wireframed,
int TextureNumber);
struct MS3DHeader PACK_STRUCT
bool loadModelData(const char *filename)
void draw(bool wireframed, int TextureNumber)
Header file for the rendering.
static unsigned int Texture[200]
ms3d::word m_vertexIndices[3]
float m_vertexNormals[3][3]
ms3d::byte m_smoothingGroup
char * m_pTextureFilename
float m_vertexNormals[3][3]