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 /vphysics/vcollide_parse_private.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'vphysics/vcollide_parse_private.h')
| -rw-r--r-- | vphysics/vcollide_parse_private.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vphysics/vcollide_parse_private.h b/vphysics/vcollide_parse_private.h new file mode 100644 index 0000000..3c32eb9 --- /dev/null +++ b/vphysics/vcollide_parse_private.h @@ -0,0 +1,28 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef VCOLLIDE_PARSE_PRIVATE_H +#define VCOLLIDE_PARSE_PRIVATE_H +#ifdef _WIN32 +#pragma once +#endif + +#include "vcollide_parse.h" + +#define MAX_KEYVALUE 1024 + +class IVPhysicsKeyParser; +class CPackedPhysicsDescription; + +const char *ParseKeyvalue( const char *pBuffer, OUT_Z_ARRAY char (&key)[MAX_KEYVALUE], OUT_Z_ARRAY char (&value)[MAX_KEYVALUE] ); +IVPhysicsKeyParser *CreateVPhysicsKeyParser( const char *pKeyData ); +void DestroyVPhysicsKeyParser( IVPhysicsKeyParser * ); +const char *PackVCollideText( IPhysicsCollision *physcollision, const char *pTextIn, int *pSizeOut, bool storeSolidNames, bool storeSurfacepropsAsNames ); +CPackedPhysicsDescription *CreatePackedDescription( const char *pPackedBuffer, int packedSize ); +void DestroyPackedDescription( CPackedPhysicsDescription *pPhysics ); + +#endif // VCOLLIDE_PARSE_PRIVATE_H |