QC Updates
Updates mainly aiding transpilation, but also nice to have if sticking with DarkPlaces
-
float
->int
/bool
- Helps the transpiler immensely
- Scope visibility reduction
- Replaces
#define
withconst
- More readable transpiler output (constant names instead of inline values)
- Replaces
vector_[xyz]
withvector.[xyz]
(but notentity.vector_[xyz]
because of a compiler bug) - Removes
-Wno-double-declaration
- Required for compilation of transpiled source
- Removes useless uses of
var
,noref
andlocal
- Uses
#include
instead ofprogs.src
- Will help qc_physics
Squashed preview: 7239bacff8b7fb9fe9541d6c6dc852e78b5049ac