Add a way to draw the skeleton for debugging purposes

This commit is contained in:
smallmodel 2024-09-10 20:16:56 +02:00
parent a586f13af8
commit d9e3cc2188
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
4 changed files with 13 additions and 8 deletions

View file

@ -1380,6 +1380,12 @@ void R_Register( void )
ri.Cmd_AddCommand( "screenshot", R_ScreenShot_f );
ri.Cmd_AddCommand( "screenshotJPEG", R_ScreenShotJPEG_f );
ri.Cmd_AddCommand( "gfxinfo", GfxInfo_f );
//
// Added in OPM
//
r_showSkeleton = ri.Cvar_Get("r_showSkeleton", "0", CVAR_CHEAT);
}
void R_InitExtensions() {