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

Go to the source code of this file.

Classes

class  NullMonster

Macros

#define get_monsterinfo(i)
#define REGISTER_MONSTER(id, inst)

Functions

string M_Model (string m_mdl)
 REGISTER_MONSTER (Null, NEW(NullMonster))

Macro Definition Documentation

◆ get_monsterinfo

#define get_monsterinfo ( i)
Value:
REGISTRY_GET(Monsters, i)
#define REGISTRY_GET(id, i)
Definition registry.qh:43

Definition at line 6 of file all.qh.

Referenced by spritelookuptext().

◆ REGISTER_MONSTER

#define REGISTER_MONSTER ( id,
inst )
Value:
REGISTER(Monsters, MON, id, monsterid, inst)
#define REGISTER(...)
Register a new entity with a registry.
Definition registry.qh:87

Definition at line 9 of file all.qh.

Referenced by REGISTER_MONSTER(), REGISTER_MONSTER(), REGISTER_MONSTER(), REGISTER_MONSTER(), REGISTER_MONSTER(), and REGISTER_MONSTER().

Function Documentation

◆ M_Model()

string M_Model ( string m_mdl)

Definition at line 3 of file all.qc.

4{
5 string output = strcat("models/monsters/", m_mdl);
6#ifdef SVQC
7 MUTATOR_CALLHOOK(MonsterModel, m_mdl, output);
8 return M_ARGV(1, string);
9#else
10 return output;
11#endif
12}
#define MUTATOR_CALLHOOK(id,...)
Definition base.qh:143
#define M_ARGV(x, type)
Definition events.qh:17
strcat(_("^F4Countdown stopped!"), "\n^BG", _("Teams are too unbalanced."))

References M_ARGV, MUTATOR_CALLHOOK, and strcat().

◆ REGISTER_MONSTER()

REGISTER_MONSTER ( Null ,
NEW(NullMonster)  )