mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Use ri.Printf to print instead of the Com_* functions
This commit is contained in:
parent
390c1d3f3d
commit
fe16f999d8
10 changed files with 36 additions and 36 deletions
|
@ -183,7 +183,7 @@ static qhandle_t R_RegisterModelInternal(const char *name, qboolean bBeginTiki,
|
|||
}
|
||||
|
||||
if (strlen(name) >= 128) {
|
||||
Com_Printf("Model name exceeds MAX_MODEL_NAME\n");
|
||||
ri.Printf(PRINT_ALL, "Model name exceeds MAX_MODEL_NAME\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1661,10 +1661,10 @@ void R_PrintInfoWorldtris(void)
|
|||
totalNumTris += numTris;
|
||||
tiki = backEnd.refdef.entities[i].e.tiki;
|
||||
skelmodel = ri.TIKI_GetSkel(tiki->mesh[0]);
|
||||
Com_Printf("ent: %i, tris: %i, %s, version: %i\n", i, numTris, tiki->a->name, skelmodel->version);
|
||||
ri.Printf(PRINT_ALL, "ent: %i, tris: %i, %s, version: %i\n", i, numTris, tiki->a->name, skelmodel->version);
|
||||
}
|
||||
|
||||
Com_Printf("total entity tris: %i\n\n", totalNumTris);
|
||||
ri.Printf(PRINT_ALL, "total entity tris: %i\n\n", totalNumTris);
|
||||
|
||||
totalNumTris = 0;
|
||||
|
||||
|
@ -1677,10 +1677,10 @@ void R_PrintInfoWorldtris(void)
|
|||
totalNumTris += numTris;
|
||||
tiki = backEnd.refdef.staticModels[i].tiki;
|
||||
skelmodel = ri.TIKI_GetSkel(tiki->mesh[0]);
|
||||
Com_Printf("sm: %i, tris: %i, %s, version: %i\n", i, numTris, tiki->a->name, skelmodel->version);
|
||||
ri.Printf(PRINT_ALL, "sm: %i, tris: %i, %s, version: %i\n", i, numTris, tiki->a->name, skelmodel->version);
|
||||
}
|
||||
|
||||
Com_Printf("total static model tris: %i\n\n", totalNumTris);
|
||||
ri.Printf(PRINT_ALL, "total static model tris: %i\n\n", totalNumTris);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue