Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
loader.qc
Go to the documentation of this file.
1#include "loader.qh"
2
3#include <common/mapinfo.qh>
5#include <common/stats.qh>
7
10 if (g) {
11 for (string _s = g.m_mutators; _s != ""; _s = cdr(_s)) {
12 string s = car(_s);
13 FOREACH(Mutators, it.m_name == s, { Mutator_Add(it); break; });
14 }
15 }
16}
#define FOREACH(list, cond, body)
Definition iter.qh:19
Gametype MapInfo_CurrentGametype()
Definition mapinfo.qc:1490
#define STATIC_INIT_LATE(func)
directly after STATIC_INIT
Definition static.qh:37
ERASEABLE string car(string s)
returns first word
Definition string.qh:259
ERASEABLE string cdr(string s)
returns all but first word
Definition string.qh:268