//========= Copyright 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// #include <stdio.h> #include "physdll.h" #include "filesystem_tools.h" static CSysModule *pPhysicsModule = NULL; CreateInterfaceFn GetPhysicsFactory( void ) { if ( !pPhysicsModule ) { pPhysicsModule = g_pFullFileSystem->LoadModule( "VPHYSICS.DLL" ); if ( !pPhysicsModule ) return NULL; } return Sys_GetFactory( pPhysicsModule ); } void PhysicsDLLPath( const char *pPathname ) { if ( !pPhysicsModule ) { pPhysicsModule = g_pFullFileSystem->LoadModule( pPathname ); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 5821 | Knut Wikstrom |
Added Valve Source code. This is NOT to be commited to other than new code from Valve. |