1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 12:06:07 +08:00

Restructure convar.h and icvar.h

This commit is contained in:
GAMMACASE
2023-03-30 00:54:33 +03:00
committed by Nicholas Hastings
parent f93cf9311b
commit e0a0248b17
2 changed files with 17 additions and 20 deletions

View File

@ -11,18 +11,12 @@
#endif
#include "appframework/IAppSystem.h"
#include "tier1/iconvar.h"
#include "tier1/utlvector.h"
#include "tier0/memalloc.h"
#include "convar.h"
class ConCommandBase;
class ConCommand;
class ConVar;
class Color;
class IConVarListener;
class CConVarDetail;
struct ConVarSnapshot_t;
class ConVarSnapshot_t;
class KeyValues;
//-----------------------------------------------------------------------------
// ConVars/ComCommands are marked as having a particular DLL identifier
@ -55,12 +49,6 @@ public:
virtual bool AreConVarsLinkable( const ConVar *child, const ConVar *parent ) = 0;
};
union CVValue_t;
struct ConVarDesc_t;
struct characterset_t;
struct CSplitScreenSlot;
//-----------------------------------------------------------------------------
// Purpose: DLL interface to ConVars/ConCommands
//-----------------------------------------------------------------------------

View File

@ -17,14 +17,12 @@
#endif
#include "tier0/dbg.h"
#include "tier1/iconvar.h"
#include "tier1/utlvector.h"
#include "tier1/utlstring.h"
#include "Color.h"
#include "vector2d.h"
#include "vector.h"
#include "vector4d.h"
#include "icvar.h"
#include "mathlib/vector.h"
#include "mathlib/vector2d.h"
#include "mathlib/vector4d.h"
#ifdef _WIN32
#define FORCEINLINE_CVAR FORCEINLINE
@ -34,6 +32,17 @@
#error "implement me"
#endif
//-----------------------------------------------------------------------------
// Forward declarations
//-----------------------------------------------------------------------------
class ConVar;
class CCommand;
class ConCommandBase;
struct characterset_t;
class ConVarRefAbstract;
class CSplitScreenSlot;
union CVValue_t;
//-----------------------------------------------------------------------------
// Uncomment me to test for threading issues for material system convars