You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.0 KiB
28 lines
1.0 KiB
//========= 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
|
|
|