amxmodx/dlls/ns/CPlayer.h
Scott Ehlert c71be87a3a Massive reorganization attempt - part 1
Oh dear, what has DS done now?
2007-03-13 11:46:03 +00:00

45 lines
724 B
C++
Executable File

#ifndef CPLAYER_H
#define CPLAYER_H
class CPlayer
{
public:
void PreThink();
void PreThink_Post();
void PostThink_Post();
void Spawn();
void ChangeTeam();
void ChangeClass(int newclass);
void Connect();
void Disconnect();
void Reset();
void Die();
int GetClass();
bool bot;
// Basic engine stuff.
edict_t *edict;
entvars_t *pev;
int oldimpulse; // Store the previous impulse.
int olddeadflag;
int oldteam;
int index() { return ENTINDEX(pev->pContainingEntity); };
bool connected;
REAL fov;
bool foved;
// Custom model/body/skin
bool custommodel;
bool customskin;
bool custombody;
char model[128];
int skin;
int body;
// Speed change
int speedchange;
int maxspeed;
int iclass;
};
#endif