Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
loader.qc File Reference
#include "loader.qh"
#include <common/mapinfo.qh>
#include <common/mutators/base.qh>
#include <common/stats.qh>
#include <common/weapons/_all.qh>
Include dependency graph for loader.qc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 STATIC_INIT_LATE (Gametype)

Function Documentation

◆ STATIC_INIT_LATE()

STATIC_INIT_LATE ( Gametype )

Definition at line 8 of file loader.qc.

9{
11 if (g)
12 for (string s, _s = g.m_mutators; _s != ""; _s = cdr(_s))
13 {
14 s = car(_s);
15 FOREACH(Mutators, it.m_name == s,
16 {
17 Mutator_Add(it);
18 break;
19 });
20 }
21}
#define FOREACH(list, cond, body)
Definition iter.qh:19
Gametype MapInfo_CurrentGametype()
Definition mapinfo.qc:1487
ERASEABLE string car(string s)
Returns first word.
Definition string.qh:258
ERASEABLE string cdr(string s)
Returns all but first word.
Definition string.qh:268

References car(), cdr(), FOREACH, and MapInfo_CurrentGametype().