Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
new_toys.qh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MutatorNewToys

Functions

bool nt_IsNewToy (int w)
 REGISTER_MUTATOR (nt, true, MutatorNewToys)

Function Documentation

◆ nt_IsNewToy()

bool nt_IsNewToy ( int w)

Definition at line 6 of file new_toys.qc.

7{
8 switch (w)
9 {
10 case WEP_SEEKER.m_id:
11 case WEP_MINE_LAYER.m_id:
12 case WEP_HLAC.m_id:
13 case WEP_RIFLE.m_id:
14 case WEP_ARC.m_id:
15 return true;
16 default:
17 return false;
18 }
19}

Referenced by MUTATOR_HOOKFUNCTION(), and REGISTER_MUTATOR().

◆ REGISTER_MUTATOR()

REGISTER_MUTATOR ( nt ,
true ,
MutatorNewToys  )

References REGISTER_MUTATOR, and true.