1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-12 03:32:11 +08:00
hl2sdk/game/server/scratchpad_gamedll_helpers.h
Benoist 8a6d1c6cd2
TF2 win64 + Ambuild tier1/mathlib + long=devil ()
* Fix compilation for windows, setup ambuild

* Add built tier1 and mathlib for win64

* Ensure compilation is working on windows and linux

* Add -fPIC

* Add compiled libs, with optimisation enabled

* Added windows lib

* Fix hl2sdk for windows

* Longs are the devil

* Fix up threadtools functions

* Add updated libs

* Rework lib naming, and package script

* Update lib directory according to new packaging

---------

Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
2024-03-09 03:57:12 +00:00

41 lines
1.1 KiB
C++

//========= Copyright © 1996-2005, 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,
uint32_t flags );
// Draw a specific entity into the scratch pad.
void ScratchPad_DrawEntityToScratchPad(
IScratchPad3D *pPad,
uint32_t flags,
CBaseEntity *pEnt,
const Vector &vColor );
#endif // SCRATCHPAD_GAMEDLL_HELPERS_H