Christian Ohm schreef: > On Sunday, 19 August 2007 at 17:35, anonymous wrote: > >> The patch Giel did should be revoked immediately! >> Firstly this guy sending this "bug report" is just flaming.
> Or use little instead of big endian. I've converted all BE functions to LE > (as an aside, I think having functions called PHYSFS_... in the Warzone code > is a bad idea) and it seems to work. Patch attached. > Then as for your patch. It'll probably work for some earlier savegames but definitly not for the later ones. That is not due to your patch but due to my changes. Fact is my (de)serialization code completely ignores struct-padding. I've taken another approach for fixing this; instead I've just fixed the versioned loading system. Now all files should be loaded correctly again. And my addition of that de(serialization) API is only used for the savegame header and version 35 of the file format. So this problem should be resolved with r2418. -- Giel
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev