This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
float size;
} daliashdr_t;
-#define MAXALIASVERTS 4096
-#define MAXALIASFRAMES 1024
-#define MAXALIASTRIS 4096
-
/*
========================================================================
// renamed a things to avoid conflicts
#define MD2ALIAS_VERSION 8
-
-#define MD2MAX_TRIANGLES 4096
-#define MD2MAX_VERTS 4096
-#define MD2MAX_FRAMES 1024
-#define MD2MAX_SKINNAME 64
-// sanity checking size
-#define MD2MAX_SIZE (16777216)
+#define MD2_SKINNAME 64
typedef struct
{
short t;
} md2stvert_t;
-typedef struct
+typedef struct
{
short index_xyz[3];
short index_st[3];
int num_frames;
int num_vertices;
aliasskin_t *data_skins;
- int *data_elements;
- int *data_neighbors;
- float *data_texcoords;
- aliasvertex_t *data_vertices;
+ int *data_element3i;
+ int *data_neighbor3i;
+ float *data_texcoord2f;
+ aliasvertex_t *data_aliasvertex;
}
aliasmesh_t;