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/physic/cm_utils.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 );
}