Compiling cleanup and fixes
Mostly just cleaning up stuff to do with preprocessor directives and macros, for the benefit of those trying to compile the game. This started off as fixes for GCC 8 (mostly to do with FUNCMATH
), but includes other general technical stuff such as checking for endianness in some files.