11 this.gametype_init(
this, _(
"Race"),
"rc",
"g_race",
GAMETYPE_FLAG_USEPOINTS,
"",
"timelimit=20 qualifying_timelimit=5 laplimit=7 teamlaplimit=15 leadlimit=0",_(
"Race against other players to the finish line"));
20 case "qualifying_timelimit":
21 cvar_set(
"g_race_qualifying_timelimit", v);
28 if(v ==
"trigger_race_checkpoint")
35 METHOD(
Race, 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))
46 #define g_race IS_GAMETYPE(RACE)
REGISTER_GAMETYPE(RACE, NEW(Race))
#define METHOD(cname, name, prototype)
int MapInfo_Map_supportedGametypes
void HUD_Mod_Race(vector pos, vector mySize)
vector(float skel, float bonenum) _skel_get_boneabs_hidden
const int GAMETYPE_FLAG_USEPOINTS