raze/polymer/eduke32/build/include
helixhorned 4e5cdba646 Lose the 'packed' attribute for types declared in build.h.
Most of them are already aligned to their natural boundaries, so lowering
the alignment to 1 byte can only worsen things by making the C compiler
generate poorer (unaligned access) code for some platforms.

The layout of structures is not specified by the C Standard, but is rather
given by a particular platform + toolchain's ABI (application binary interface).
Most ABIs follow the expected pattern "alignment of scalars is their size,
alignment of arrays is that of its element type, alignment of structs is the
maximum alignment of its members". A couple of links to particular ABIs are
given in build.h.

Problems are expected with archs that care about unaligned access when a pointer
to a non-packed struct is taken that resides in a packed aggregate, but these
uses should be weeded out (I'm not sure if there are any in our codebase).

The following types are affected, only hitdata_t changes its size:
sectortype, walltype, spritetype, spriteext_t, spritesmooth_t,
struct validmode_t, picanm_t, palette_t, vec2_t, vec3_t, hitdata_t.

git-svn-id: https://svn.eduke32.com/eduke32@3455 1a8010ca-5511-0410-912e-c29ae57300e0
2013-02-03 12:48:11 +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 "pipe standard outputs to files" code into baselayer.c. 2013-01-06 18:56:29 +00:00
build.h Lose the 'packed' attribute for types declared in build.h. 2013-02-03 12:48:11 +00:00
cache1d.h Minor loadpics() cleanups, don't expose filegrp[] from cache1d.c. 2012-11-15 21:09:56 +00:00
common.h Cleanup of console/on-screen-display (OSD) functionality. 2012-12-25 16:13:50 +00:00
compat.h MSVC doesn't have ssize_t 2013-01-20 01:00:00 +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 Fix the DirectInput breakage on Win64. 2012-12-16 05:46:20 +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 Mapster32: add cvar/mapster32.cfg option "keeptexturestretch". 2013-01-16 20:38:56 +00:00
glbuild.h Cleanup of console/on-screen-display (OSD) functionality. 2012-12-25 16:13:50 +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: fix stack discipline. 2013-01-01 15:24:11 +00:00
lzwnew.h ass rape 2009-01-09 09:29:17 +00:00
m32script.h CON/m32script: remove GAMEVAR_DEFAULT uses, since they had no effect. 2013-01-20 21:17:15 +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 Replace the osdcvar_t members that needed to be kept in sync with cvar_t with an actual cvar_t. If this is questionable for any reason I'm forgetting, feel free to revert! 2012-12-31 01:51:03 +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 Don't apply GL fogging to wall lines drawn in game's "light" overhead view. 2013-01-26 17:07:58 +00:00
polymost.h polymost.c: a couple of {tex,mem}cache cleanups / fixes. 2013-01-08 23:12:56 +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