mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-17 22:30:59 +00:00
Bump BYTEVERSION, correct actor_t size on x64, add assert(sizeof(actor_t)==128).
r2727 made old savegames incompatible, as an array with MAXVOLUMES*MAXLEVELS is saved in Gv_WriteSave(). git-svn-id: https://svn.eduke32.com/eduke32@2730 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3a3284e2a3
commit
6fc99bcdf3
3 changed files with 3 additions and 3 deletions
|
@ -161,7 +161,7 @@ typedef struct {
|
|||
#else
|
||||
/* 64-bit */
|
||||
# ifndef LUNATIC
|
||||
const int8_t filler[12]; // XXX: should be 16, schedule with next BYTEVERSION/savegame version bump!
|
||||
const int8_t filler[16];
|
||||
# else
|
||||
/* no padding */
|
||||
#endif
|
||||
|
|
|
@ -57,7 +57,7 @@ extern "C" {
|
|||
#define VOLUMEONE (g_Shareware == 1)
|
||||
|
||||
// increase by 3, because atomic GRP adds 1, and Shareware adds 2
|
||||
#define BYTEVERSION_JF 243
|
||||
#define BYTEVERSION_JF 246
|
||||
|
||||
#define BYTEVERSION_13 27
|
||||
#define BYTEVERSION_14 116
|
||||
|
|
|
@ -9787,7 +9787,7 @@ int32_t app_main(int32_t argc, const char **argv)
|
|||
ENetCallbacks callbacks = { NULL, NULL, NULL };
|
||||
#endif
|
||||
|
||||
// Bassert(sizeof(actor_t)==128); // fails with x86_64
|
||||
Bassert(sizeof(actor_t)==128);
|
||||
Bassert(offsetof(actor_t, bposx) == sizeof(netactor_t));
|
||||
|
||||
#ifdef GEKKO
|
||||
|
|
Loading…
Reference in a new issue