Xonotic
loader.qc
Go to the documentation of this file.
1 #include "loader.qh"
2 
3 #include <common/mapinfo.qh>
5 #include <common/stats.qh>
6 #include <common/weapons/_all.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 }
ERASEABLE string cdr(string s)
returns all but first word
Definition: string.qh:249
ERASEABLE string car(string s)
returns first word
Definition: string.qh:240
Gametype MapInfo_CurrentGametype()
Definition: mapinfo.qc:1150
STATIC_INIT_LATE(Gametype)
Definition: loader.qc:8
#define FOREACH(list, cond, body)
Definition: iter.qh:19