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.

8 {
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
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

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