Am Donnerstag, 8. März 2007 schrieb anonymous:
> URL:
>   <http://gna.org/bugs/?8683>
>
>                  Summary: The size of the SAVE_DROID structure differs from
> 2.0.5 but its version is unchanged
>                  Project: Warzone Resurrection Project
>             Submitted by: None
>             Submitted on: Thursday 03/08/2007 at 11:51 CET
>                 Category: None
>                 Severity: 4 - Important
>                 Priority: 5 - Normal
>                   Status: None
>              Assigned to: None
>         Originator Email: [EMAIL PROTECTED]
>              Open/Closed: Open
>          Discussion Lock: Any
>                  Release: svn
>         Operating System: GNU/Linux
>          Task difficulty: Medium
>
>     _______________________________________________________
>
> Details:
>
> The SAVE_DROID structure appears to be 12 bytes longer (1256 bytes) than in
> version 2.0.5 (1244 bytes) but the version of the structure remains the
> same. Consequently, the trunk version fails to load savegames from version
> 2.0.5.
>
> One reason for the increase is making iAttackRuns into
> iAttackRuns[DROID_MAXWEAPS] in the SAVE_MOVE_CONTROL, which is unversioned
> and used in both DROID_SAVE_V24 and DROID_SAVE_V99.
>
> The extension of iAttackRuns into array appears to account for 8 bytes of
> difference, I could not find the cause for the remaining 4 (but that may
> have to do with alignment, the next element after the 3 item array may be
> aligned to 16 byte boundary).
>
> Unless there is plan to have incompatible save games between 2.0.5 and
> trunk, the changes in SAVE_MOVE_CONTROL need to be versioned.
Assigning this to Watermelon. ;)
(You're not an official member by request, so I do it here, inofficialy.)

Attachment: pgpEEkQPSfJPy.pgp
Description: PGP signature

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to