This repository has been archived on 2022-06-27. You can view files and clone it, but cannot push or open issues or pull requests.
Xash3DArchive/engine/common/cm_main.c

27 lines
587 B
C

//=======================================================================
// Copyright XashXT Group 2007 ©
// cm_main.c - collision interface
//=======================================================================
#include "cm_local.h"
// cvars
cvar_t *cm_novis;
bool CM_InitPhysics( void )
{
cm_novis = Cvar_Get( "cm_novis", "0", 0, "force to ignore server visibility" );
Mem_Set( cm.nullrow, 0xFF, MAX_MAP_LEAFS / 8 );
return true;
}
void CM_Frame( float time )
{
CM_RunLightStyles( time );
}
void CM_FreePhysics( void )
{
CM_FreeModels();
}