Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
//========= Copyright <EFBFBD> 1996-2005, Valve Corporation, All rights reserved. ============//
|
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
// $Workfile: $
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//===========================================================================//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined( PLATFORM_WINDOWS_PC )
|
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
|
#define _WIN32_WINNT 0x0403
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
#elif defined( _PS3 )
|
|
|
|
|
#include <cellstatus.h>
|
|
|
|
|
#include <sys/prx.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "tier0/platform.h"
|
|
|
|
|
|
|
|
|
|
// First include standard libraries
|
|
|
|
|
#include "tier0/valve_off.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <ctype.h>
|
|
|
|
|
#include <math.h>
|
|
|
|
|
#include <ctype.h>
|
|
|
|
|
#include <limits.h>
|
|
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
#ifdef PLATFORM_POSIX
|
|
|
|
|
#include <unistd.h>
|
|
|
|
|
#include <ctype.h>
|
|
|
|
|
#include <limits.h>
|
|
|
|
|
#define _MAX_PATH PATH_MAX
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "tier0/valve_on.h"
|
|
|
|
|
|
|
|
|
|
#include "tier0/basetypes.h"
|
|
|
|
|
#include "tier0/dbgflag.h"
|
|
|
|
|
#include "tier0/dbg.h"
|
|
|
|
|
#ifdef STEAM
|
|
|
|
|
#include "tier0/memhook.h"
|
|
|
|
|
#endif
|
|
|
|
|
#include "tier0/validator.h"
|
|
|
|
|
#include "tier0/fasttimer.h"
|