22 lines
482 B
C
22 lines
482 B
C
//=======================================================================
|
|
// Copyright XashXT Group 2007 ©
|
|
// cm_utils.c - physics callbacks
|
|
//=======================================================================
|
|
|
|
#include "physic.h"
|
|
|
|
long _ftol( double );
|
|
long _ftol2( double dblSource )
|
|
{
|
|
return _ftol( dblSource );
|
|
}
|
|
|
|
void* Palloc (int size )
|
|
{
|
|
return Mem_Alloc( physpool, size );
|
|
}
|
|
|
|
void Pfree (void *ptr, int size )
|
|
{
|
|
if( ptr ) Mem_Free( ptr );
|
|
} |