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 /game/server/networkstringtable_gamedll.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/server/networkstringtable_gamedll.h')
| -rw-r--r-- | game/server/networkstringtable_gamedll.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/game/server/networkstringtable_gamedll.h b/game/server/networkstringtable_gamedll.h new file mode 100644 index 0000000..20965aa --- /dev/null +++ b/game/server/networkstringtable_gamedll.h @@ -0,0 +1,46 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef NETWORKSTRINGTABLE_GAMEDLL_H +#define NETWORKSTRINGTABLE_GAMEDLL_H +#ifdef _WIN32 +#pragma once +#endif + +#include "networkstringtabledefs.h" + +class CStringTableSaveRestoreOps; + +// String tables used by the game DLL +#define MAX_VGUI_SCREEN_STRING_BITS 8 +#define MAX_VGUI_SCREEN_STRINGS ( 1 << MAX_VGUI_SCREEN_STRING_BITS ) +#define VGUI_SCREEN_INVALID_STRING ( MAX_VGUI_SCREEN_STRINGS - 1 ) + +#define MAX_MATERIAL_STRING_BITS 10 +#define MAX_MATERIAL_STRINGS ( 1 << MAX_MATERIAL_STRING_BITS ) +#define OVERLAY_MATERIAL_INVALID_STRING ( MAX_MATERIAL_STRINGS - 1 ) + +#define MAX_CHOREO_SCENES_STRING_BITS 13 +#define MAX_CHOREO_SCENES_STRINGS ( 1 << MAX_CHOREO_SCENES_STRING_BITS ) +#define CHOREO_SCENES_INVALID_STRING ( MAX_CHOREO_SCENES_STRINGS - 1 ) + +#define MAX_PARTICLESYSTEMS_STRING_BITS 12 +#define MAX_PARTICLESYSTEMS_STRINGS ( 1 << MAX_PARTICLESYSTEMS_STRING_BITS ) +#define PARTICLESYSTEMS_INVALID_STRING ( MAX_PARTICLESYSTEMS_STRINGS - 1 ) + +extern INetworkStringTableContainer *networkstringtable; +extern INetworkStringTable *g_pStringTableVguiScreen; +extern INetworkStringTable *g_pStringTableEffectDispatch; +extern INetworkStringTable *g_pStringTableClientSideChoreoScenes; + +#define MAX_INFOPANEL_STRINGS 128 + +// save/load +extern CStringTableSaveRestoreOps g_VguiScreenStringOps; + + +#endif // NETWORKSTRINGTABLE_GAMEDLL_H |