Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.

29 lines
1.0 KiB

5 years ago
//========= 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