- this needed more fixes...
- Miscellaneous CMakeLists.txt fixes.

- fixed a CMake warning about uninitialized use of the variable CROSS_EXPORTS in the tools subfolder when CMAKE_CROSSCOMPILING is off;
- fixed a variable typo: CMAKE_CURRENTY_BINARY_DIR instead of CMAKE_CURRENT_BINARY_DIR;
- in src/CMakeLists.txt, fixed a missing merge of a portion of code from maint branch to master.
- fixed compilation with VC++2005 solution.

hu_stuff.h defined some callbacks for qsort without STACK_ARGS which causes problems with this solution's Release setting which uses __fastcall calling convention.
Merge branch 'master' of https://github.com/rheit/zdoom
Serialize FriendPlayer
- fixed: ACS's LineAttack function with a valid tid still used the activator as the attack's source.
- fixed: FraggleScript's SpawnedThings array must always be checked for owned inventory items. The 'mapthingnumexist' function forgot to do that.
- remove all uses of builtin matrices.
- reinstate drawcall timing.
- remove timing of matrix application method
Merge branch 'master' of https://github.com/rheit/zdoom
Merge branch 'master' into Glew_Version_For_Real
- removed some obsolete init stuff and some deprecated constants.
- handle normals for spheremapped mirror surfaces using non-deprecated features.
- move all WGL references out of global header files so that global wgl header include is no longer necessary
- replaced deprecated alpha testing with shader code.
- remove use of builtin deprecated varyings in shaders.
- remove use of builtin and deprecated color vertex attribute.
- replaced builtin texture coordinate vertex attribute.
- replaced builtin position vertex attribute.
- all shaders now compile in core profile.