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