mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 14:42:06 +00:00
eliminate a lot of debug output
This commit is contained in:
parent
d3ca33ade5
commit
1b6df2ad29
1 changed files with 13 additions and 13 deletions
|
@ -1294,35 +1294,35 @@ void * Mod_LoadAliasFrame (void * pin, maliasframedesc_t *frame)
|
|||
int i;
|
||||
daliasframe_t *pdaliasframe;
|
||||
|
||||
printf("pheader->numverts: %d\n", pheader->numverts);
|
||||
//printf("pheader->numverts: %d\n", pheader->numverts);
|
||||
pdaliasframe = (daliasframe_t *)pin;
|
||||
|
||||
strcpy (frame->name, pdaliasframe->name);
|
||||
frame->firstpose = posenum;
|
||||
frame->numposes = 1;
|
||||
|
||||
printf("pheader->numverts: %d\n", pheader->numverts);
|
||||
//printf("pheader->numverts: %d\n", pheader->numverts);
|
||||
for (i=0 ; i<3 ; i++)
|
||||
{
|
||||
// these are byte values, so we don't have to worry about
|
||||
// endianness
|
||||
frame->bboxmin.v[i] = pdaliasframe->bboxmin.v[i];
|
||||
printf("1 pheader->numverts: %d\n", pheader->numverts);
|
||||
//printf("1 pheader->numverts: %d\n", pheader->numverts);
|
||||
frame->bboxmin.v[i] = pdaliasframe->bboxmax.v[i];
|
||||
printf("2 pheader->numverts: %d\n", pheader->numverts);
|
||||
//printf("2 pheader->numverts: %d\n", pheader->numverts);
|
||||
}
|
||||
printf("pheader->numverts: %d\n", pheader->numverts);
|
||||
//printf("pheader->numverts: %d\n", pheader->numverts);
|
||||
|
||||
pinframe = (trivertx_t *)(pdaliasframe + 1);
|
||||
printf("pinframe: %p, ", pinframe);
|
||||
//printf("pinframe: %p, ", pinframe);
|
||||
|
||||
poseverts[posenum] = pinframe;
|
||||
posenum++;
|
||||
|
||||
pinframe += pheader->numverts;
|
||||
printf("pinframe: %p, ", pinframe);
|
||||
printf("pheader: %p, ", pheader);
|
||||
printf("pheader->numverts: %d\n", pheader->numverts);
|
||||
//printf("pinframe: %p, ", pinframe);
|
||||
//printf("pheader: %p, ", pheader);
|
||||
//printf("pheader->numverts: %d\n", pheader->numverts);
|
||||
|
||||
return (void *)pinframe;
|
||||
}
|
||||
|
@ -1673,14 +1673,14 @@ void Mod_LoadAliasModel (model_t *mod, void *buffer)
|
|||
posenum = 0;
|
||||
pframetype = (daliasframetype_t *)&pintriangles[pheader->numtris];
|
||||
|
||||
printf("loadmodel->name: '%s'\n", loadmodel->name);
|
||||
//printf("loadmodel->name: '%s'\n", loadmodel->name);
|
||||
|
||||
for (i=0 ; i<numframes ; i++)
|
||||
{
|
||||
aliasframetype_t frametype;
|
||||
|
||||
printf("i: %d, pframetype: %p, pframetype->type: %d\n", i, pframetype,
|
||||
pframetype->type);
|
||||
//printf("i: %d, pframetype: %p, pframetype->type: %d\n", i, pframetype,
|
||||
// pframetype->type);
|
||||
|
||||
frametype = LittleLong (pframetype->type);
|
||||
|
||||
|
@ -1695,7 +1695,7 @@ void Mod_LoadAliasModel (model_t *mod, void *buffer)
|
|||
Mod_LoadAliasGroup (pframetype + 1, &pheader->frames[i]);
|
||||
}
|
||||
}
|
||||
printf("Done\n");
|
||||
//printf("Done\n");
|
||||
|
||||
pheader->numposes = posenum;
|
||||
|
||||
|
|
Loading…
Reference in a new issue