mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 20:26:14 +08:00
[server] CNetGame formatting
This commit is contained in:
@ -7,6 +7,7 @@
|
|||||||
class CNetGame // size: W: 14808 L: 14816
|
class CNetGame // size: W: 14808 L: 14816
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
CGameMode *m_pGameMode;
|
CGameMode *m_pGameMode;
|
||||||
CFilterScripts *m_pFilterScripts;
|
CFilterScripts *m_pFilterScripts;
|
||||||
CPlayerPool *m_pPlayerPool;
|
CPlayerPool *m_pPlayerPool;
|
||||||
@ -18,28 +19,33 @@ private:
|
|||||||
CLabelPool *m_pLabelPool;
|
CLabelPool *m_pLabelPool;
|
||||||
CGangZonePool *m_pGangZonePool;
|
CGangZonePool *m_pGangZonePool;
|
||||||
CActorPool *m_pActorPool;
|
CActorPool *m_pActorPool;
|
||||||
|
|
||||||
int m_iCurrentGameModeIndex;
|
int m_iCurrentGameModeIndex;
|
||||||
int m_iCurrentGameModeRepeat;
|
int m_iCurrentGameModeRepeat;
|
||||||
BOOL m_bFirstGameModeLoaded;
|
BOOL m_bFirstGameModeLoaded;
|
||||||
CScriptHttps* m_pScriptHttps;
|
|
||||||
CScriptTimers* m_pScriptTimers;
|
CScriptHttps *m_pScriptHttps;
|
||||||
|
CScriptTimers *m_pScriptTimers;
|
||||||
|
|
||||||
RakServerInterface *m_pRak;
|
RakServerInterface *m_pRak;
|
||||||
int m_iLastServerTickUpdate;
|
|
||||||
int m_iServerTickCount;
|
int m_iLastServerTickUpdate;
|
||||||
int m_iServerTickRate;
|
int m_iServerTickCount;
|
||||||
|
int m_iServerTickRate;
|
||||||
|
|
||||||
BOOL m_bLanMode;
|
BOOL m_bLanMode;
|
||||||
int m_iShowPlayerMarkers;
|
int m_iShowPlayerMarkers;
|
||||||
bool m_bShowNameTags;
|
bool m_bShowNameTags;
|
||||||
BYTE m_byteWorldTime;
|
BYTE m_byteWorldTime;
|
||||||
bool m_bAllowWeapons; // Allow weapons in interiors
|
bool m_bAllowWeapons; // Allow weapons in interiors
|
||||||
bool m_bStuntBonus; // Insane stunt bonusses enabled?
|
bool m_bStuntBonus; // Insane stunt bonusses enabled?
|
||||||
char field_5C;
|
char field_5C;
|
||||||
BYTE m_byteWeather;
|
BYTE m_byteWeather;
|
||||||
int m_iGameState;
|
int m_iGameState;
|
||||||
float m_fGravity;
|
float m_fGravity;
|
||||||
int m_iDeathDropMoney;
|
int m_iDeathDropMoney;
|
||||||
char field_6A;
|
char field_6A;
|
||||||
char field_6B;
|
char field_6B;
|
||||||
bool m_bLimitGlobalChatRadius; // limit global player chat to other players within a certain radius
|
bool m_bLimitGlobalChatRadius; // limit global player chat to other players within a certain radius
|
||||||
bool m_bUseCJWalk;
|
bool m_bUseCJWalk;
|
||||||
float m_fGlobalChatRadius; // limit global chat radius
|
float m_fGlobalChatRadius; // limit global chat radius
|
||||||
@ -50,11 +56,10 @@ private:
|
|||||||
bool m_bLimitPlayerMarkerRadius;
|
bool m_bLimitPlayerMarkerRadius;
|
||||||
float m_fPlayerMarkerRadius;
|
float m_fPlayerMarkerRadius;
|
||||||
BOOL m_bVehicleFriendlyFire;
|
BOOL m_bVehicleFriendlyFire;
|
||||||
|
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
double m_dElapsedTime;
|
double m_dElapsedTime;
|
||||||
#endif
|
#endif
|
||||||
int m_iSpawnsAvailable;
|
|
||||||
PLAYER_SPAWN_INFO m_AvailableSpawns[319];
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -74,6 +79,9 @@ public:
|
|||||||
|
|
||||||
void LoadBanList();
|
void LoadBanList();
|
||||||
|
|
||||||
|
// CLASS SYSTEM
|
||||||
|
int m_iSpawnsAvailable;
|
||||||
|
PLAYER_SPAWN_INFO m_AvailableSpawns[MAX_SPAWNS];
|
||||||
DWORD GetTime();
|
DWORD GetTime();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user