diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /tools/sampletool/cbase.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'tools/sampletool/cbase.h')
| -rw-r--r-- | tools/sampletool/cbase.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/tools/sampletool/cbase.h b/tools/sampletool/cbase.h new file mode 100644 index 0000000..a21b327 --- /dev/null +++ b/tools/sampletool/cbase.h @@ -0,0 +1,46 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef CBASE_H +#define CBASE_H +#ifdef _WIN32 +#pragma once +#endif + +#ifdef _WIN32 +// Silence certain warnings +#pragma warning(disable : 4244) // int or float down-conversion +#pragma warning(disable : 4305) // int or float data truncation +#pragma warning(disable : 4201) // nameless struct/union +#pragma warning(disable : 4511) // copy constructor could not be generated +#pragma warning(disable : 4675) // resolved overload was found by argument dependent lookup +#pragma warning(disable : 4706) // assignment within conditional expression +#endif + +#ifdef _DEBUG +#define DEBUG 1 +#endif + +// Misc C-runtime library headers +#include <math.h> +#include <stdio.h> +#include "minmax.h" + +// tier 0 +#include "tier0/dbg.h" +#include "tier0/platform.h" +#include "basetypes.h" + +// tier 1 +#include "tier1/strtools.h" +#include "utlvector.h" +#include "mathlib/vmatrix.h" +#include "filesystem.h" + +#include "tier1/ConVar.h" +#include "icvar.h" + +#endif // CBASE_H |