Xonotic
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
+
Enumerator
i
m
o
p
r
s
t
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerator
Macros
Pages
sortlist.qh
Go to the documentation of this file.
1
#pragma once
2
3
entityclass
(Sort);
4
// .float(entity,entity) sort_cmp;
5
classfield
(Sort).entity
chain
,
sort_next
,
sort_prev
;
6
7
entity
Sort_Spawn
();
8
14
#define SORT_SWAP(a, b) \
15
b.sort_prev = a.sort_prev; \
16
a.sort_next = b.sort_next; \
17
if (b.sort_next) b.sort_next.sort_prev = a; \
18
if (a.sort_prev) a.sort_prev.sort_next = b; \
19
a.sort_prev = b; \
20
b.sort_next = a
sort_next
sort_next
Definition:
sortlist.qh:5
entity
entity() spawn
sort_prev
sort_prev
Definition:
sortlist.qh:5
Sort_Spawn
entity Sort_Spawn()
Definition:
sortlist.qc:4
chain
entity chain
Definition:
csprogsdefs.qc:123
classfield
classfield(Sort).entity chain
entityclass
entityclass(Sort)
lib
sortlist.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13