3 #include <common/mapinfo.qh>
6 void HUD_Mod_LMS(vector myPos, vector mySize);
8 CLASS(LastManStanding, Gametype)
11 this.gametype_init(this, _("Last Man Standing"),"lms","g_lms",GAMETYPE_FLAG_USEPOINTS | GAMETYPE_FLAG_HIDELIMITS,"","timelimit=20 lives=5 leadlimit=0",_("Survive and kill until the enemies have no lives left"));
13 METHOD(LastManStanding, m_isAlwaysSupported, bool(Gametype this, int spawnpoints, float diameter))
17 METHOD(LastManStanding, 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))
20 returns(menu, _("Lives:"), 3, 50, 1, "g_lms_lives_override", string_null, string_null);
22 ATTRIB(LastManStanding, m_legacydefaults, string, "9 20 0");
24 ATTRIB(LastManStanding, m_modicons, void(vector myPos, vector mySize), HUD_Mod_LMS);
26 ENDCLASS(LastManStanding)
27 REGISTER_GAMETYPE(LMS, NEW(LastManStanding));