halflife-thewastes-sdk/pm_shared/pm_shared.h

40 lines
1.1 KiB
C

/***
*
* Copyright (c) 1996-2001, 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.
*
****/
//
// pm_shared.h
//
#if !defined( PM_SHAREDH )
#define PM_SHAREDH
#pragma once
void PM_Init( struct playermove_s *ppmove );
void PM_LoadMaterials(char *pszMapname);
void PM_Move ( struct playermove_s *ppmove, int server );
char PM_FindTextureType( char *name );
// Spectator flags
#define SPEC_IS_SPECTATOR (1<<0)
#define SPEC_SMOOTH_ANGLES (1<<1)
#define SPEC_SMOOTH_ORIGIN (1<<2)
// Spectator Movement modes (stored in pev->iuser1, so the physics code can get at them)
#define OBS_NONE 0
#define OBS_CHASE_LOCKED 1
#define OBS_CHASE_FREE 2
#define OBS_ROAMING 3
#define OBS_DIRECTED 4
#endif