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
IL_NEW
#define IL_NEW()
Definition:
intrusivelist.qh:39
parent
entity parent
Definition:
animhost.qc:7
entity
entity() spawn
classfield
#define classfield(name)
Definition:
oo.qh:52
STATIC_INIT
#define STATIC_INIT(func)
during worldspawn
Definition:
static.qh:32
IntrusiveList
limitations: NULL cannot be present elements can only be present once a maximum of IL_MAX lists can e...
Definition:
intrusivelist.qh:25
entityclass
#define entityclass(...)
Definition:
oo.qh:47
common
effects
qc
rubble.qh
Generated on Thu Mar 17 2022 17:26:27 for Xonotic by
1.8.13