]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_alias.h
fix really stupid typo in SV_Move code, this cures the 'monsters walking through...
[xonotic/darkplaces.git] / model_alias.h
index c15d81a3113f441f7be80ae9f87aa4c8439dc0b6..9b769bda84e43d7cf56e8061ca6b042e101c4803 100644 (file)
@@ -32,7 +32,8 @@ Alias models are position independent, so the cache manager can move them.
 
 #include "modelgen.h"
 
-typedef struct {
+typedef struct daliashdr_s
+{
        int                     ident;
        int                     version;
        vec3_t          scale;
@@ -48,7 +49,8 @@ typedef struct {
        synctype_t      synctype;
        int                     flags;
        float           size;
-} daliashdr_t;
+}
+daliashdr_t;
 
 /*
 ========================================================================
@@ -64,19 +66,19 @@ typedef struct {
 #define MD2ALIAS_VERSION       8
 #define        MD2_SKINNAME    64
 
-typedef struct
+typedef struct md2stvert_s
 {
        short   s;
        short   t;
 } md2stvert_t;
 
-typedef struct
+typedef struct md2triangle_s
 {
        short   index_xyz[3];
        short   index_st[3];
 } md2triangle_t;
 
-typedef struct
+typedef struct md2frame_s
 {
        float           scale[3];       // multiply byte verts by this
        float           translate[3];   // then add this
@@ -92,7 +94,7 @@ typedef struct
 // and an integer vertex index.
 
 
-typedef struct
+typedef struct md2_s
 {
        int                     ident;
        int                     version;
@@ -116,10 +118,6 @@ typedef struct
        int                     ofs_end;                // end of file
 } md2_t;
 
-#include "model_zymotic.h"
-
-#include "model_dpmodel.h"
-
 // all md3 ints, floats, and shorts, are little endian, and thus need to be
 // passed through LittleLong/LittleFloat/LittleShort to avoid breaking on
 // bigendian machines (Macs for example)
@@ -224,5 +222,11 @@ typedef struct aliasbone_s
 }
 aliasbone_t;
 
+#include "model_zymotic.h"
+
+#include "model_dpmodel.h"
+
+#include "model_psk.h"
+
 #endif