dxx-rebirth/common
Kp 6ac840c52c Fix pch=1 build
PCH mode causes the Valgrind-wrapper header to be included in places
it is not meant to be used, which leads to spurious compiler errors.

PCH mode causes the Valgrind-wrapper __real_* stub functions to see
the physfsx.h PHYSFS macros, which also causes errors.

Fortunately, both cases can be easily fixed.

Add preprocessor guards to the Valgrind-wrapper header to cause it to
compile out when the PCH phase runs.  It has no include guard, so it
will be rescanned with the proper macros when the two consuming files
are built normally.

Modify the Valgrind-wrapper __real_* stub functions to use
the standard macro avoidance trick so that they do not call the
physfsx.h PHYSFS macros.
2017-01-31 04:25:06 +00:00
..
2d Make grs_bitmap::bm_flags private 2017-01-15 00:03:13 +00:00
3d Pass canvas to gr_disk 2016-12-29 03:27:13 +00:00
arch Fix 'declaration shadows a field of 'dcx::ogl_sync'' warning 2017-01-13 12:30:09 +08:00
editor Pass canvas to gr_{,u}string 2017-01-08 22:32:00 +00:00
include Initialize grs_main_bitmap at construction 2017-01-28 18:12:20 +00:00
main Add back homing weapons cheat for D2 2017-01-29 21:02:48 +00:00
maths Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
mem Use array<> for memdebug data 2016-10-29 23:16:15 +00:00
misc Fix pch=1 build 2017-01-31 04:25:06 +00:00
texmap Make grs_bitmap::bm_flags private 2017-01-15 00:03:13 +00:00
ui Pass canvas to gr_{,u}string 2017-01-08 22:32:00 +00:00