mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
27 lines
522 B
C++
27 lines
522 B
C++
|
|
#pragma once
|
|
|
|
typedef struct _GANG_ZONE
|
|
{
|
|
float fPos[4];
|
|
DWORD dwColor;
|
|
DWORD dwAltColor;
|
|
} GANG_ZONE;
|
|
|
|
class CGangZonePool
|
|
{
|
|
private:
|
|
GANG_ZONE *m_pGangZone[MAX_GANG_ZONES];
|
|
BOOL m_bSlotState[MAX_GANG_ZONES];
|
|
public:
|
|
CGangZonePool();
|
|
~CGangZonePool();
|
|
void New(WORD wZone, float fMinX, float fMinY, float fMaxX, float fMaxY, DWORD dwColor);
|
|
void Flash(WORD wZone, DWORD dwColor);
|
|
void StopFlash(WORD wZone);
|
|
void Delete(WORD wZone);
|
|
void Draw();
|
|
};
|
|
|
|
//----------------------------------------------------
|