char material[32];
};
+struct classtype_gate
+{
+ u32 target;
+};
+
struct model_marker
{
v3f co;
v4f q;
v3f s;
+ u32 classtype;
+ u32 offset;
char name[32];
};
return model_indice_base(mdl) + sub->indice_start;
}
+static void *get_entdata_raw( model *mdl, model_marker *marker )
+{
+ return ((void *)(model_indice_base(mdl) + mdl->indice_count)) +
+ marker->offset;
+}
+
static submodel *submodel_get( model *mdl, const char *name )
{
for( int i=0; i<mdl->layer_count; i++ )