doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Variables
CollisionModel_debug.cpp File Reference
#include "../idlib/precompiled.h"
#include "CollisionModel_local.h"
#include "../sys/sys_public.h"

Go to the source code of this file.

Variables

const char * cm_contentsNameByIndex []
 
int cm_contentsFlagByIndex []
 
idCVar cm_drawMask ("cm_drawMask","none", CVAR_GAME,"collision mask", cm_contentsNameByIndex, idCmdSystem::ArgCompletion_String< cm_contentsNameByIndex >)
 
idCVar cm_drawColor ("cm_drawColor","1 0 0 .5", CVAR_GAME,"color used to draw the collision models")
 
idCVar cm_drawFilled ("cm_drawFilled","0", CVAR_GAME|CVAR_BOOL,"draw filled polygons")
 
idCVar cm_drawInternal ("cm_drawInternal","1", CVAR_GAME|CVAR_BOOL,"draw internal edges green")
 
idCVar cm_drawNormals ("cm_drawNormals","0", CVAR_GAME|CVAR_BOOL,"draw polygon and edge normals")
 
idCVar cm_backFaceCull ("cm_backFaceCull","0", CVAR_GAME|CVAR_BOOL,"cull back facing polygons")
 
idCVar cm_debugCollision ("cm_debugCollision","0", CVAR_GAME|CVAR_BOOL,"debug the collision detection")
 

Variable Documentation

idCVar cm_backFaceCull("cm_backFaceCull","0", CVAR_GAME|CVAR_BOOL,"cull back facing polygons")
int cm_contentsFlagByIndex[]
const char* cm_contentsNameByIndex[]
Initial value:
= {
"none",
"solid",
"opaque",
"water",
"playerclip",
"monsterclip",
"moveableclip",
"ikclip",
"blood",
"body",
"corpse",
"trigger",
"aas_solid",
"aas_obstacle",
"flashlight_trigger",
}
#define NULL
Definition: Lib.h:88

Definition at line 51 of file CollisionModel_debug.cpp.

idCVar cm_debugCollision("cm_debugCollision","0", CVAR_GAME|CVAR_BOOL,"debug the collision detection")
idCVar cm_drawColor("cm_drawColor","1 0 0 .5", CVAR_GAME,"color used to draw the collision models")
idCVar cm_drawFilled("cm_drawFilled","0", CVAR_GAME|CVAR_BOOL,"draw filled polygons")
idCVar cm_drawInternal("cm_drawInternal","1", CVAR_GAME|CVAR_BOOL,"draw internal edges green")
idCVar cm_drawMask("cm_drawMask","none", CVAR_GAME,"collision mask", cm_contentsNameByIndex, idCmdSystem::ArgCompletion_String< cm_contentsNameByIndex >)
idCVar cm_drawNormals("cm_drawNormals","0", CVAR_GAME|CVAR_BOOL,"draw polygon and edge normals")