Xonotic
rubble.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef GAMEQC
4 entityclass(Rubble);
5 classfield(Rubble).float creationtime;
6 
7 #ifdef CSQC
8 IntrusiveList CasingsNGibs;
9 STATIC_INIT(CasingsNGibs) { CasingsNGibs = IL_NEW(); }
10 #endif
11 
12 void LimitedChildrenRubble(IntrusiveList list, string cname, int limit, void(entity) deleteproc, entity parent);
13 
14 entity ReplaceOldListedChildRubble(IntrusiveList list, entity child, entity oldChild);
15 
16 entity ListNewChildRubble(IntrusiveList list, entity child);
17 
18 #endif
#define IL_NEW()
entity parent
Definition: animhost.qc:7
entity() spawn
#define classfield(name)
Definition: oo.qh:52
#define STATIC_INIT(func)
during worldspawn
Definition: static.qh:32
limitations: NULL cannot be present elements can only be present once a maximum of IL_MAX lists can e...
#define entityclass(...)
Definition: oo.qh:47