New naming convention, new natives: cs_set/get/reset_user_model and cs_get/set_hostage_follow

This commit is contained in:
Johnny Bergström
2004-03-04 16:08:31 +00:00
parent 526d8a5de2
commit 3dcc2335b2
6 changed files with 580 additions and 137 deletions

31
dlls/cstrike/CstrikePlayer.h Executable file
View File

@ -0,0 +1,31 @@
// CstrikePlayer.h: interface for the CCstrikePlayer class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(INCLUDED_CCSTRIKEPLAYER)
#define INCLUDED_CCSTRIKEPLAYER
class CCstrikePlayer
{
public:
CCstrikePlayer();
/*bool GetOnline();
bool SetOnline(bool onlineIn);*/
bool GetModelled();
bool SetModelled(bool modelledIn);
//float GetTime();
//void SetTime(float timeIn);
const char* GetModel();
const char* SetModel(const char* modelIn);
bool GetInspectModel();
void SetInspectModel(bool inspectModelIn);
private:
bool online, inspectModel;
bool modelled;
char model[32];
//float time;
};
#endif // !defined(INCLUDED_CCSTRIKEPLAYER)