raze/polymer/eduke32/build/include
hendricks266 dac94ce284 Win64 support! (Meaning it works, not that we recommend it for everyday use.)
This includes a complete Windows header and library refresh, including the addition of 64-bit compiled libs:
*libogg 1.3.0
*libvorbis 1.3.3
*zlib 1.2.7
*libpng 1.5.13
*libvpx 9a3de881c0e681ba1a79a166a86308bbc84b4acd
*SDL_mixer 1.2.12 (for RENDERTYPE=SDL)
*DirectX import libraries: dsound and dxguid (now included)

To build in 64-bit, you essentially need MinGW's MSYS (but not MinGW itself) and MinGW-w64 at the top of your PATH. The target is automatically detected using `$(CC) -dumpmachine`. The EDukeWiki will get detailed instrucitons.

All compiler and linker warnings when building in 64-bit mode have been fixed.

Remaining 64-bit to-do:
 - The ebacktrace dll does not build under 64-bit. It uses code specific to the format of 32-bit executables and will have to be ported to work with 64-bit executables. A future 64-bit version will be named ebacktrace1-64.dll.
 - RENDERTYPE=SDL crashes in SDL_mixer's Mix_Linked_Version().
 - DirectInput gives an error and does not function. This only affects joysticks, and the error never happens without any plugged in.
 - Port the classic renderer ASM to 64-bit. (Just kidding, this is way out of my league.)

This commit includes a fair bit of Makefile development spanning all platforms, including simplifying the SDLCONFIG code, fixing build on Mac OS X (thanks rhoenie!), globally factoring Apple brew/port inclusion, enforcing that all -L come before all -l, and ensuring that $(shell ) is always :='d.

In addition, I have resurrected the old GCC_MAJOR and GCC_MINOR detection using `$(CC) -dumpversion`, but I have made it failsafe in case the command fails or the version is manually specified. I have applied this new fine-grained detection where applicable, including allowing LTO, and restraining -W's to versions that support them.

git-svn-id: https://svn.eduke32.com/eduke32@3278 1a8010ca-5511-0410-912e-c29ae57300e0
2012-12-13 02:37:20 +00:00
..
msvc Split r3159..r3161, part 3: MSVC, nedmalloc, *layer, startup windows. 2012-11-15 14:27:57 +00:00
a.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
baselayer.h Factor dup. code in SDL/Windows layers into baselayer.c:fullscreen_tint_gl(). 2012-12-10 18:17:44 +00:00
build.h Fix warnings involving printf() requiring explicit casts on tracked types. 2012-11-26 08:26:04 +00:00
cache1d.h Minor loadpics() cleanups, don't expose filegrp[] from cache1d.c. 2012-11-15 21:09:56 +00:00
common.h Fix build. It was my fault after all since I forgot common.h in r3243. 2012-11-29 14:08:03 +00:00
compat.h Win64 support! (Meaning it works, not that we recommend it for everyday use.) 2012-12-13 02:37:20 +00:00
crc32.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
dxdidf.h Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
dynamicgtk.h Make the "Start" button of the GTK start-up window the default button of the window, which means pressing Enter now works at you'd expect. 2010-07-02 01:26:56 +00:00
editor.h Clean up engine code by factoring repeated 3-liners into spriteheightofs(). 2012-11-17 19:46:43 +00:00
glbuild.h For novelty, add support for RENDERTYPE=SDL under Windows. 2012-11-24 09:13:29 +00:00
glext.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
gtkbits.h ass rape 2009-01-09 09:29:17 +00:00
hightile.h Rearrange 'struct hicreplc_t' members so that no padding is inserted on x64. 2012-01-26 21:58:25 +00:00
kplib.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
lunatic.h Lunatic reorganization part 2: split into engine and editor/game parts. 2012-11-10 20:59:00 +00:00
lzwnew.h ass rape 2009-01-09 09:29:17 +00:00
m32script.h Port system gamearray access from M32Script to CON. Expose tilesizx and tilesizy. 2012-12-13 02:33:53 +00:00
md4.h Fix JonoF's email address. 2012-03-12 04:47:04 +00:00
mdsprite.h Fix sprite[] access with indices > MAXSPRITES in Polymer model drawing code. 2012-01-22 17:18:49 +00:00
mutex.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
nedmalloc.h Win64 support! (Meaning it works, not that we recommend it for everyday use.) 2012-12-13 02:37:20 +00:00
osd.h Split r3159..r3161, part 11: Add explicit casts, pointer types. 2012-11-15 14:28:36 +00:00
osxbits.h Very few actual changes... mostly formatting fixes from astyle 2010-01-23 22:12:02 +00:00
osxmain.h Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
polymer.h Move #include <math.h> from polymer.h to polymer.c. 2012-09-02 14:05:23 +00:00
polymost.h A bit stylistic Polymost code cleanup. 2012-10-01 17:52:25 +00:00
pragmas.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
prlights.h polymer: add support for negative lights 2012-10-21 04:52:43 +00:00
quicklz.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
rawinput.h win32 stuck input fix among other minor changes 2010-05-16 22:53:08 +00:00
renderlayer.h RENDERTYPE=SDL on Windows, part 2. 2012-11-25 04:26:37 +00:00
scancodes.h Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
scriptfile.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
sdl_inc.h For novelty, add support for RENDERTYPE=SDL under Windows. 2012-11-24 09:13:29 +00:00
sdlayer.h Win64 support! (Meaning it works, not that we recommend it for everyday use.) 2012-12-13 02:37:20 +00:00
startwin.editor.h Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
tracker.hpp Fix warnings involving printf() requiring explicit casts on tracked types. 2012-11-26 08:26:04 +00:00
tracker_operator.hpp Fix warnings involving printf() requiring explicit casts on tracked types. 2012-11-26 08:26:04 +00:00
tracker_operators.hpp Add automatic tracking to the sector[], wall[], sprite[] and tsprite[] 2012-11-09 22:31:02 +00:00
winbits.h RENDERTYPE=SDL on Windows, part 2. 2012-11-25 04:26:37 +00:00
winlayer.h Win64 support! (Meaning it works, not that we recommend it for everyday use.) 2012-12-13 02:37:20 +00:00