Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
mutatortab.qh
Go to the documentation of this file.
1#pragma once
2
3#include "checkbox.qh"
8
9#include "tab.qh"
12 ATTRIB(XonoticMutatorTab, title, string); // mutator translatable name
13 ATTRIB(XonoticMutatorTab, message, string); // main cvar controlled by the mutator
17 ATTRIB(XonoticMutatorTab, toggleableItemsCount, int, 0); // how many toggleableItems have been set
18 ATTRIBARRAY(XonoticMutatorTab, toggleableItems, entity, 24); // these are all disabled when the mutator can't be enabled
20
21
22// Weapon arena "mutator"
30
38
39
40// Weapon stay "mutator"
48
49
50// Offhand weapons "mutator"
58
59
60// Jetpack "mutator"
68
69
70// Custom physics "mutator"
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
string title
Definition dialog.qh:44
virtual void canEnable()
virtual void showNotify()
ATTRIB(XonoticMutatorTab, title, string)
entity toggleableItems[24]
Definition mutatortab.qh:18
ATTRIB(XonoticWeaponarenaCheckBox, message, string)
virtual void configureXonoticWeaponarenaCheckBox()
string message
Definition powerups.qc:19
void Mutators_add_SliderCheckBox(entity me, entity e)
Definition mutatortab.qc:60
entity Mutators_main_checkbox(entity me)
Definition mutatortab.qc:25
entity makeXonoticMutatorCustomPhysicsTab()
entity makeXonoticMutatorOffhandWeaponsTab()
void Mutators_add_CheckBox(entity me, entity e)
Definition mutatortab.qc:51
void Mutators_add_RadioButton(entity me, entity e)
Definition mutatortab.qc:41
entity makeXonoticMutatorWeaponArenaTab()
entity makeXonoticMutatorWeaponStayTab()
entity makeXonoticWeaponarenaCheckBox(string, string)
Definition mutatortab.qc:85
entity makeXonoticMutatorJetpackTab()
#define ATTRIBARRAY(cname, name, type, cnt)
Definition oo.qh:271
#define CLASS(...)
Definition oo.qh:149
#define ENDCLASS(cname)
Definition oo.qh:286
#define METHOD(cname, name, prototype)
Definition oo.qh:274