7 Commits
Author SHA1 Message Date
Jonas 'Sortie' Termansen 82fe37f0e6 Fix bsp lump names being declared non-portably.
gcc issues warnings when encountering multicharacter constants, so we'll
simply emulate them in a manner works portably. The code assumes we are
using a little-endian machine - the real solution would be using using four
chars instead of an enum.
2013-08-12 23:00:05 +02:00
Jonas 'Sortie' Termansen 63325a7174 Use Q_strncpy in utils/vbsp/detailobjects.cpp. 2013-08-12 22:58:07 +02:00
Jonas 'Sortie' Termansen b64d2e878c Avoid conflict with gamma(3) in utils/vrad/vrad.h.
The name of the global variable conflicts with the deprecated gamma function
from <math.h> on some systems. Additionally the variable appears to be
unused - should it rather just be deleted from the codebase?
2013-08-12 22:55:10 +02:00
Jonas 'Sortie' Termansen c5fb3851bb Fix use of temporary vector in utils/vrad/vraddetailprops.cpp.
This fixes a gcc compile error.
2013-08-12 22:53:16 +02:00
Jonas 'Sortie' Termansen 324b4f93dc Fix bad class declaration in utils/vbsp/ivp.
The duplicated namespace in the member declaration causes the class to not
compile using gcc.
2013-08-12 22:51:07 +02:00
Jonas 'Sortie' Termansen 53ac2580ac Fix SortEntry operator< not being const.
This solves a problem where the standard library expects it to be const,
which causes compilation problems on GNU/Linux.
2013-08-12 22:49:22 +02:00
Jonas 'Sortie' Termansen 6d419a245f Fix vbsp missing skybox error case when building cubemaps.
The code previoused checked the address of a stack array that would always
evaluate non-zero, which wasn't what was intended.
2013-08-12 22:42:10 +02:00