Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
sortlist.qh
Go to the documentation of this file.
1#pragma once
2
4// .float(entity,entity) sort_cmp;
6
8
14#define SORT_SWAP(a, b) MACRO_BEGIN \
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; \
21MACRO_END
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
entity chain
#define entityclass(...)
Definition oo.qh:52
#define classfield(name)
Definition oo.qh:57
sort_next
Definition sortlist.qh:5
entity Sort_Spawn()
Definition sortlist.qc:4
sort_prev
Definition sortlist.qh:5