Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
ui_overkill.qh
Go to the documentation of this file.
1#pragma once
2
3//#define MENU_INCLUDE_OVERKILL
4/* Properly enabling overkill requires executing the ruleset,
5 * which can be done in the menu but will override the user's settings.
6 * See https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/1973
7 */
8
9#ifdef MENU_INCLUDE_OVERKILL
10const string MENU_OVERKILL_NAME = _("Overkill");
11const string MENU_OVERKILL_DESCRIPTION = _("Unique arena mutator that replaces all weapons with mostly hitscan ones with a short time to kill for rapid gameplay. The secondary fire of all weapons shoots a %s-like projectile. It also enables %s and %s.");
12
14CLASS(XonoticMutatorOverkillTab, XonoticMutatorTab)
15 METHOD(XonoticMutatorOverkillTab, fill, void(entity));
16 ATTRIB(XonoticMutatorOverkillTab, title, string, MENU_OVERKILL_NAME);
17 ATTRIB(XonoticMutatorOverkillTab, message, string, "g_overkill");
18 METHOD(XonoticMutatorOverkillTab, canEnable, bool(entity, bool));
19ENDCLASS(XonoticMutatorOverkillTab)
20entity makeXonoticMutatorOverkillTab();
21#endif
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
string message
Definition powerups.qc:19
#define CLASS(...)
Definition oo.qh:149
#define ENDCLASS(cname)
Definition oo.qh:286
#define METHOD(cname, name, prototype)
Definition oo.qh:274
#define ATTRIB(...)
Definition oo.qh:152