Am Mittwoch, 13. September 2006 22:15 schrieb Stefan Huehner:
> Hi,
>
> attached patch is the first portion to make warzone 64bit clean, to let
> it natively run on i.e. amd64 Linux.
>
> On amd64 the size of an pointer is NOT equal to the size on an int. So
> cast from an pointer to ant int and vice versa are not allowed.
I found that out a while ago and also tried fixing it, but as this abuse of 
int was too widespread and I don't have a x86_64 CPU and thus couldn't test, 
I gave up.

It would be awesome if you could get it working on x86_64!!

And if a x86 PC can load a savegame created on a x86_64 it would be even 
cooler. That might cause you some headache, as WZ saves structs (possibly 
including pointers) directly into files.
Feel free to solve that by changing the savegame format.
Somewhere around Christmas I (we?) can start helping you with that, but not 
before, sorry...

--Dennis

PS: And thanks for those many patches!

Attachment: pgpOmIXTTW84G.pgp
Description: PGP signature

_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to