X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=model_hlmdl.h;h=125afd54b1e6f13072c9602156339ff8fda6affb;hb=6b21c467a83808e3becf61afe7b67a88f870b502;hp=58fde4e4bc2e87412ff0718e90c32a1ecfc386d5;hpb=a9a1be539dba0e3df8ff02e816a925436713ea2f;p=xonotic%2Fdarkplaces.git diff --git a/model_hlmdl.h b/model_hlmdl.h index 58fde4e4..125afd54 100644 --- a/model_hlmdl.h +++ b/model_hlmdl.h @@ -18,6 +18,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef MODEL_HLMDL_H +#define MODEL_HLMDL_H + +#include "qtypes.h" +#include "qdefs.h" + /* * The Half-Life MDL format is Valve's format for models in GoldSrc engine. * @@ -25,9 +31,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * https://github.com/malortie/assimp/wiki/MDL:-Half-Life-1-file-format */ -#include "qtypes.h" -#include "qdefs.h" - #define HLPOLYHEADER (('T' << 24) + ('S' << 16) + ('D' << 8) + 'I') #define HLMDLHEADER "IDST" #define HLSEQHEADER "IDSQ" @@ -242,3 +245,5 @@ typedef struct dhlmdl_trivert_s int16_t normindex; int16_t s, t; } dhlmdl_trivert_t; + +#endif