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/scratchpad_gamedll_helpers.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/server/scratchpad_gamedll_helpers.h')
| -rw-r--r-- | game/server/scratchpad_gamedll_helpers.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/game/server/scratchpad_gamedll_helpers.h b/game/server/scratchpad_gamedll_helpers.h new file mode 100644 index 0000000..6150319 --- /dev/null +++ b/game/server/scratchpad_gamedll_helpers.h @@ -0,0 +1,40 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef SCRATCHPAD_GAMEDLL_HELPERS_H +#define SCRATCHPAD_GAMEDLL_HELPERS_H +#ifdef _WIN32 +#pragma once +#endif + + +class IScratchPad3D; + + +#define SPDRAWWORLD_DRAW_WORLD 0x001 +#define SPDRAWWORLD_DRAW_PLAYERS 0x002 // Draw player entities? +#define SPDRAWWORLD_DRAW_ENTITIES 0x004 // Draw entities other than players? +#define SPDRAWWORLD_DRAW_ENTITY_CLASSNAMES 0x008 +#define SPDRAWWORLD_DRAW_EDICT_INDICES 0x010 + +#define SPDRAWWORLD_DRAW_ALL 0xFFFFFFFF + + +// Draws the world and various things in it into the scratchpad. +// flags is a combination of the SPDRAWWORLD_ flags. +void ScratchPad_DrawWorldToScratchPad( + IScratchPad3D *pPad, + unsigned long flags ); + +// Draw a specific entity into the scratch pad. +void ScratchPad_DrawEntityToScratchPad( + IScratchPad3D *pPad, + unsigned long flags, + CBaseEntity *pEnt, + const Vector &vColor ); + + +#endif // SCRATCHPAD_GAMEDLL_HELPERS_H |