Files
SA-MP/bot/gamemodes.h

32 lines
528 B
C
Raw Normal View History

2024-01-19 23:19:26 +08:00
#ifndef SAMPNPC_GAMEMODES_H
#define SAMPNPC_GAMEMODES_H
2024-01-30 21:58:10 +08:00
extern char szGameModeFileName[256];
//----------------------------------------------------------------------------------
class CGameMode
2024-01-19 23:19:26 +08:00
{
private:
2024-01-30 21:58:10 +08:00
AMX m_amx;
bool m_bInitialised;
bool m_bSleeping;
float m_fSleepTime;
2024-01-19 23:19:26 +08:00
public:
CGameMode();
2024-01-30 21:58:10 +08:00
~CGameMode();
char* GetFileName() { return &szGameModeFileName[0]; };
void Unload();
2024-01-19 23:19:26 +08:00
2024-01-30 22:02:40 +08:00
void Frame(float fElapsedTime);
2024-01-19 23:19:26 +08:00
};
2024-01-30 21:58:10 +08:00
//----------------------------------------------------------------------------------
2024-01-19 23:19:26 +08:00
#endif