mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-29 06:07:57 +03:00
Add missing declarations
This commit is contained in:
parent
d898c0f995
commit
83d486ceeb
3 changed files with 30 additions and 1 deletions
|
@ -1113,6 +1113,21 @@ void GfxInfo_f( void )
|
|||
}
|
||||
}
|
||||
|
||||
void FarPlaneInfo_f(void) {
|
||||
Com_Printf("Current fog settings:\n");
|
||||
Com_Printf("Distance: %i\n", (int)tr.viewParms.farplane_distance);
|
||||
Com_Printf(
|
||||
"Color: %f %f %f\n",
|
||||
tr.viewParms.farplane_color[0],
|
||||
tr.viewParms.farplane_color[1],
|
||||
tr.viewParms.farplane_color[2]);
|
||||
if (tr.viewParms.farplane_cull) {
|
||||
Com_Printf("Cull: on\n");
|
||||
} else {
|
||||
Com_Printf("Cull: off\n");
|
||||
}
|
||||
}
|
||||
|
||||
qboolean R_SetMode(int mode, const glconfig_t* glConfig) {
|
||||
// FIXME: unimplemented
|
||||
return qfalse;
|
||||
|
@ -1380,6 +1395,9 @@ void R_Register( void )
|
|||
ri.Cmd_AddCommand( "screenshot", R_ScreenShot_f );
|
||||
ri.Cmd_AddCommand( "screenshotJPEG", R_ScreenShotJPEG_f );
|
||||
ri.Cmd_AddCommand( "gfxinfo", GfxInfo_f );
|
||||
ri.Cmd_AddCommand( "farplane_info", FarPlaneInfo_f );
|
||||
ri.Cmd_AddCommand( "r_infostaticmodels", R_InfoStaticModels_f );
|
||||
ri.Cmd_AddCommand( "r_infoworldtris", R_InfoWorldTris_f );
|
||||
|
||||
//
|
||||
// Added in OPM
|
||||
|
|
|
@ -2180,6 +2180,7 @@ void R_UpdatePoseInternal(refEntity_t* model);
|
|||
void RB_SkelMesh(skelSurfaceGame_t* sf);
|
||||
void RB_StaticMesh(staticSurface_t* staticSurf);
|
||||
void RB_Static_BuildDLights();
|
||||
void R_InfoStaticModels_f();
|
||||
void R_PrintInfoStaticModels();
|
||||
void R_AddSkelSurfaces(trRefEntity_t* ent);
|
||||
void R_AddStaticModelSurfaces(void);
|
||||
|
@ -2187,6 +2188,7 @@ void R_CountTikiLodTris(dtiki_t* tiki, float lodpercentage, int* render_tris, in
|
|||
float R_CalcLod(const vec3_t origin, float radius);
|
||||
int GetLodCutoff(struct skelHeaderGame_s* skelmodel, float lod_val, int renderfx);
|
||||
int GetToolLodCutoff(struct skelHeaderGame_s* skelmodel, float lod_val);
|
||||
void R_InfoWorldTris_f(void);
|
||||
void R_PrintInfoWorldtris(void);
|
||||
void R_DebugSkeleton(void);
|
||||
|
||||
|
|
|
@ -1465,13 +1465,22 @@ void RB_SkelMesh( skelSurfaceGame_t *sf ) {
|
|||
//tess.numVertexes += sf->numVerts;
|
||||
}
|
||||
|
||||
/*
|
||||
=============
|
||||
R_InfoWorldTris_f
|
||||
=============
|
||||
*/
|
||||
void R_InfoWorldTris_f( void ) {
|
||||
// FIXME: unimplemented
|
||||
}
|
||||
|
||||
/*
|
||||
=============
|
||||
R_PrintInfoWorldtris
|
||||
=============
|
||||
*/
|
||||
void R_PrintInfoWorldtris( void ) {
|
||||
// FIXME: stub
|
||||
// FIXME: unimplemented
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue