3 #include <common/mapinfo.qh>
5 CLASS(LastManStanding, Gametype)
8 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"));
10 METHOD(LastManStanding, m_isAlwaysSupported, bool(Gametype this, int spawnpoints, float diameter))
14 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))
17 returns(menu, _("Lives:"), 3, 50, 1, "g_lms_lives_override", string_null, string_null);
19 ATTRIB(LastManStanding, m_legacydefaults, string, "9 20 0");
20 ENDCLASS(LastManStanding)
21 REGISTER_GAMETYPE(LMS, NEW(LastManStanding));