source-engine/vphysics/vcollide_parse_private.h
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

29 lines
1.0 KiB
C++

//========= 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