SA-MP/saco/net/gangzonepool.h

27 lines
522 B
C
Raw Permalink Normal View History

2024-02-18 21:21:09 +08:00
#pragma once
typedef struct _GANG_ZONE
{
float fPos[4];
DWORD dwColor;
DWORD dwAltColor;
} GANG_ZONE;
2024-02-18 21:21:09 +08:00
class CGangZonePool
{
private:
GANG_ZONE *m_pGangZone[MAX_GANG_ZONES];
BOOL m_bSlotState[MAX_GANG_ZONES];
2024-02-18 21:21:09 +08:00
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();
2024-02-18 21:21:09 +08:00
};
//----------------------------------------------------