2016-06-04 15:24:23 +02:00
|
|
|
/***
|
|
|
|
*
|
|
|
|
* Copyright (c) 1996-2002, Valve LLC. All rights reserved.
|
|
|
|
*
|
|
|
|
* This product contains software technology licensed from Id
|
|
|
|
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
|
|
|
|
* All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Use, distribution, and modification of this source code and/or resulting
|
|
|
|
* object code is restricted to non-commercial enhancements to products from
|
|
|
|
* Valve LLC. All other use, distribution, or modification is prohibited
|
|
|
|
* without written permission from Valve LLC.
|
|
|
|
*
|
|
|
|
****/
|
|
|
|
//
|
|
|
|
// parsemsg.h
|
|
|
|
//
|
2017-12-10 21:40:41 +01:00
|
|
|
#pragma once
|
2017-12-10 18:19:34 +01:00
|
|
|
#ifndef PARSEMSG_H
|
|
|
|
#define PARSEMSG_H
|
2016-06-04 15:24:23 +02:00
|
|
|
|
|
|
|
#define ASSERT( x )
|
|
|
|
|
|
|
|
void BEGIN_READ( void *buf, int size );
|
|
|
|
int READ_CHAR( void );
|
|
|
|
int READ_BYTE( void );
|
|
|
|
int READ_SHORT( void );
|
|
|
|
int READ_WORD( void );
|
|
|
|
int READ_LONG( void );
|
|
|
|
float READ_FLOAT( void );
|
|
|
|
char* READ_STRING( void );
|
|
|
|
float READ_COORD( void );
|
|
|
|
float READ_ANGLE( void );
|
|
|
|
float READ_HIRESANGLE( void );
|
|
|
|
|
2017-12-10 18:19:34 +01:00
|
|
|
#endif // PARSEMSG_H
|
2016-06-04 15:24:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|