16 if(v ==
"item_flag_team2" || v ==
"team_CTF_blueflag")
27 METHOD(
CaptureTheFlag, m_configuremenu,
void(
Gametype this,
entity menu,
void(
entity me,
string pLabel,
float pMin,
float pMax,
float pStep,
string pCvar,
string tCvar,
string pTooltip) returns))
30 returns(menu, _(
"Capture limit:"), 1, 20, 1,
"capturelimit_override",
string_null, _(
"The amount of captures needed before the match will end"));
39 #define g_ctf IS_GAMETYPE(CTF) 42 const int CTF_RED_FLAG_TAKEN = 1;
43 const int CTF_RED_FLAG_LOST = 2;
44 const int CTF_RED_FLAG_CARRYING = 3;
45 const int CTF_BLUE_FLAG_TAKEN = 4;
46 const int CTF_BLUE_FLAG_LOST = 8;
47 const int CTF_BLUE_FLAG_CARRYING = 12;
48 const int CTF_YELLOW_FLAG_TAKEN = 16;
49 const int CTF_YELLOW_FLAG_LOST = 32;
50 const int CTF_YELLOW_FLAG_CARRYING = 48;
51 const int CTF_PINK_FLAG_TAKEN = 64;
52 const int CTF_PINK_FLAG_LOST = 128;
53 const int CTF_PINK_FLAG_CARRYING = 192;
54 const int CTF_NEUTRAL_FLAG_TAKEN = 256;
55 const int CTF_NEUTRAL_FLAG_LOST = 512;
56 const int CTF_NEUTRAL_FLAG_CARRYING = 768;
57 const int CTF_FLAG_NEUTRAL = 2048;
58 const int CTF_SHIELDED = 4096;
59 const int CTF_STALEMATE = 8192;
#define METHOD(cname, name, prototype)
const int GAMETYPE_FLAG_TEAMPLAY
void HUD_Mod_CTF(vector pos, vector mySize)
int MapInfo_Map_supportedGametypes
REGISTER_GAMETYPE(CTF, NEW(CaptureTheFlag))
vector(float skel, float bonenum) _skel_get_boneabs_hidden
const int GAMETYPE_FLAG_USEPOINTS
const int GAMETYPE_FLAG_PRIORITY