Merge branch 'Mario/qc_updates' into 'master'
authorMario <zacjardine@y7mail.com>
Mon, 2 Feb 2015 08:42:40 +0000 (08:42 +0000)
committerMario <zacjardine@y7mail.com>
Mon, 2 Feb 2015 08:42:40 +0000 (08:42 +0000)
commite3507f4fdbc2b3e15b663365e57e0aa60f3cf1a6
treedb485beab19d31deffb57f81db1446148eebbbe7
parent02013c593abe7ccb7c6502148df33b34390d8216
parent77f03e6ce033bef39ac19e0e7cb6e606ffcb26db
Merge branch 'Mario/qc_updates' into 'master'

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` with `const`
    * More readable transpiler output (constant names instead of inline values)
* Replaces `vector_[xyz]` with `vector.[xyz]` (but not `entity.vector_[xyz]` because of a compiler bug)
* Removes `-Wno-double-declaration`
    * Required for compilation of transpiled source
* Removes useless uses of `var`, `noref` and `local`
* Uses `#include` instead of `progs.src`
    * Will help qc_physics

Squashed preview: [7239bacff8b7fb9fe9541d6c6dc852e78b5049ac](https://gitlab.com/xonotic/xonotic-data.pk3dir/commit/7239bacff8b7fb9fe9541d6c6dc852e78b5049ac?force_show_diff=true)

See merge request !97