Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
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.
|
|
|
|
//========= Copyright <EFBFBD> 1996-2002, Valve LLC, All rights reserved. ============
|
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//=============================================================================
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
#if !defined( DEMOH )
|
|
|
|
|
#define DEMOH
|
|
|
|
|
|
|
|
|
|
// Types of demo messages we can write/parse
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
TYPE_SNIPERDOT = 0,
|
|
|
|
|
TYPE_ZOOM
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void Demo_WriteBuffer( int type, int size, unsigned char *buffer );
|
|
|
|
|
|
|
|
|
|
extern int g_demosniper;
|
|
|
|
|
extern int g_demosniperdamage;
|
|
|
|
|
extern float g_demosniperorg[3];
|
|
|
|
|
extern float g_demosniperangles[3];
|
|
|
|
|
extern float g_demozoom;
|
|
|
|
|
#endif
|