void Shutdown();
#ifndef MENUQC
+// gets the total number of tags on model v
+#define TOTAL_TAGS(v) skel_get_numbones(skel_create(v.modelindex)); skel_delete(v.modelindex)
// loops through the tags of model v using counter tagnum
-#define FOR_EACH_TAG(v) float tagnum, totalbones; totalbones = skel_get_numbones(skel_create(v.modelindex)); skel_delete(v.modelindex); for(tagnum = 0, gettaginfo(v, tagnum); tagnum < totalbones; tagnum++, gettaginfo(v, tagnum))
+#define FOR_EACH_TAG(v) float tagnum, totaltags; totaltags = TOTAL_TAGS(v); for(tagnum = 0, gettaginfo(v, tagnum); tagnum < totaltags; tagnum++, gettaginfo(v, tagnum))
#endif
#ifdef SVQC
void WriteApproxPastTime(float dst, float t);