diff options
author | Simon Howard | 2006-01-19 00:17:01 +0000 |
---|---|---|
committer | Simon Howard | 2006-01-19 00:17:01 +0000 |
commit | 505de5022c942d06d9d508578289ec9f23df57cd (patch) | |
tree | ae7ac3999d6a0c084d7097a7ba0e5d4b018ce6db /src | |
parent | fa843fc93409d2b83d2b0dae4d743acd5f028ea9 (diff) | |
download | chocolate-doom-505de5022c942d06d9d508578289ec9f23df57cd.tar.gz chocolate-doom-505de5022c942d06d9d508578289ec9f23df57cd.tar.bz2 chocolate-doom-505de5022c942d06d9d508578289ec9f23df57cd.zip |
Remove now-redundant note about structure packing.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 299
Diffstat (limited to 'src')
-rw-r--r-- | src/p_saveg.c | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/src/p_saveg.c b/src/p_saveg.c index 22e9646a..7391fe4b 100644 --- a/src/p_saveg.c +++ b/src/p_saveg.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: p_saveg.c 298 2006-01-19 00:09:20Z fraggle $ +// $Id: p_saveg.c 299 2006-01-19 00:17:01Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.6 2006/01/19 00:17:01 fraggle +// Remove now-redundant note about structure packing. +// // Revision 1.5 2006/01/19 00:09:20 fraggle // Add functions to r/w structures to the savegame buffer, rather than // copying the raw structures. This way, we read and write to the DOS @@ -49,7 +52,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: p_saveg.c 298 2006-01-19 00:09:20Z fraggle $"; +rcsid[] = "$Id: p_saveg.c 299 2006-01-19 00:17:01Z fraggle $"; #include "dstrings.h" #include "deh_main.h" @@ -1455,20 +1458,6 @@ typedef enum } thinkerclass_t; -// There is a small issue with the packing of mobjs. The 'mapthing' -// field in mobj_t is 10 bytes long. Watcom packed this without any -// alignment issues; gcc aligns the fields to 4-byte boundaries. This -// means that the size of the mobj_t structure is 2 bytes extra than -// in Vanilla Doom. -// -// These functions have a temporary fix for this. We copy the tracer -// field back two bytes to manually pack the data. This is obviously -// horrible, non compiler-portable, not endian safe, etc. etc. -// -// This will be properly fixed once I rework the savegame code. -// The correct size of the mobj_t structure is 154 bytes. - - // // P_ArchiveThinkers // |