raze/polymer/eduke32
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
..
Apple Bring the SDL.h include in SDLMain.m up to speed with driver_sdl.c in jaudiolib and sdl_inc.h in the engine. Also address some Apple macro problems. 2013-01-04 17:28:13 +00:00
build Lose the 'packed' attribute for types declared in build.h. 2013-02-03 12:48:11 +00:00
eobj
eobj_win
installer
obj
obj_win
package Mapster32: RESPAWN-preview coded in M32-script. 2013-02-01 13:05:05 +00:00
psd EDuke32 Wii: Ready for action! 2012-05-20 07:25:25 +00:00
rsrc Win64 support! (Meaning it works, not that we recommend it for everyday use.) 2012-12-13 02:37:20 +00:00
source Lose the 'packed' attribute for types declared in build.h. 2013-02-03 12:48:11 +00:00
Wii EDuke32 Wii: Ready for action! 2012-05-20 07:25:25 +00:00
Windows Fix a "typedef redefined" warning with clang in dsound.h 2013-01-04 17:28:34 +00:00
ChangeLog
ChangeLog.html
eduke32.sln
eduke32.vcxproj RENDERTYPE=SDL on Windows, part 2. 2012-11-25 04:26:37 +00:00
eduke32.vcxproj.filters Sort some of the more recently added source and header files so they're in the right sections in the VS2010 project 2012-12-16 04:04:25 +00:00
eduke32.vcxproj.user
MakeDistributions
Makefile Lunatic: Centralize all bound-checking in bcheck.lua. 2013-02-01 13:04:56 +00:00
Makefile.common Makefiles: fix wrongly stripping debug binaries... 2013-01-21 21:18:10 +00:00
Makefile.deps Remove xdelta3 since it doesn't fit in with our current networking plans anymore 2012-11-16 15:40:28 +00:00
Makefile.msvc Fix DirectSound in MSVC builds and remove the dependency on the DirectX SDK 2012-12-29 05:22:39 +00:00
osxbuild.sh Restructure so that everything packaged in a release build is stored in the package folder, instead of maintaining a list. 2012-11-26 08:23:20 +00:00
wiibuild.bat Restructure so that everything packaged in a release build is stored in the package folder, instead of maintaining a list. 2012-11-26 08:23:20 +00:00