mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 22:27:05 +00:00
29 lines
1.0 KiB
C
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
|