On Sat, Feb 27, 2010 at 2:18 PM, C yp <[email protected]> wrote:
> There's a newnet branch on gitorious ( http://gitorious.org/warzone2100 ,
> git clone git://gitorious.org/warzone2100/mainline.git ), which should have
> better synch than trunk.

And it's pretty awesome.

> The 32-bit x86 platform will probably need the -msse -mfpmath=sse compile
> flags (or the equivalent for whatever compiler you use) to get consistent
> results, and will need to not be compiled with -ffast-math or similar. This
> is because floating point calculations need to give identical results on all
> machines.

This is why I'm a fan of simply using ints with smaller units, rather
than floats. More deterministic. It gives you the ability to, for
instance, add 20, then subtract 20 later, and end up with the same
value as before.

Specifically, I kind of want to move unit experience and power back to
ints. Using something like 256x units would probably work just as well
as floats, without the drawbacks (would cause a cap of 8 million, but
I think that's high enough not to be an issue).

-Zarel

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

Reply via email to