Xonotic
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