Re: [warzone2100-dev] [Warzone2100-commits] SF.net SVN: warzone2100:[11707] trunk

2010-09-20 Thread Per Inge Mathisen
On Mon, Sep 20, 2010 at 1:42 AM, Giel van Schijndel wrote: > Moreover, *why* does it need to be in fixed point? Did you miss all of the discussion about how the FPU rounds differently on some platforms in some cases? We need fixed point to get determinism. Epsilons do not help. - Per

Re: [warzone2100-dev] [Warzone2100-commits] SF.net SVN: warzone2100:[11707] trunk

2010-09-20 Thread Guangcong Luo
On Sun, Sep 19, 2010 at 6:42 PM, Giel van Schijndel wrote: > Right, my main point against all that fixed point math is that it > disguises the actual math going on by adding loads of shifts and muls > only to correct for the fixed point offsets. > > E.g. a simple mul 'a * b' becomes '(a * b) >> fi

Re: [warzone2100-dev] [Warzone2100-commits] SF.net SVN: warzone2100:[11707] trunk

2010-09-20 Thread Giel van Schijndel
On Mon, Sep 20, 2010 at 09:03:03AM +0200, Per Inge Mathisen wrote: > On Mon, Sep 20, 2010 at 1:42 AM, Giel van Schijndel wrote: >> Moreover, *why* does it need to be in fixed point? > > Did you miss all of the discussion about how the FPU rounds > differently on some platforms in some cases? We n

Re: [warzone2100-dev] [Warzone2100-commits] SF.net SVN: warzone2100:[11707] trunk

2010-09-20 Thread Giel van Schijndel
On Mon, Sep 20, 2010 at 07:35:51AM +, Guangcong Luo wrote: > On Sun, Sep 19, 2010 at 6:42 PM, Giel van Schijndel wrote: >> Right, my main point against all that fixed point math is that it >> disguises the actual math going on by adding loads of shifts and muls >> only to correct for the fixed

[warzone2100-dev] [Warzone 2100 Trac] #2179: In 2.3.5 It says "player has incompat mod" when I have not mods even installed!

2010-09-20 Thread Warzone 2100 Trac
#2179: In 2.3.5 It says "player has incompat mod" when I have not mods even installed! -+-- Reporter: macuser | Type: bug Status: new | Priority: major

[warzone2100-dev] adding a linear algebra library

2010-09-20 Thread Giel van Schijndel
Hi all, I would like to propse to add a linear algebra library as a dependency to Warzone. One library I have in mind (and have had good experience with in the past) is Eigen [1]. Having a linear algebra library will eventually be required to be able to reimplement OpenGL's matrix math (which is

Re: [warzone2100-dev] adding a linear algebra library

2010-09-20 Thread Per Inge Mathisen
On Mon, Sep 20, 2010 at 4:05 PM, Giel van Schijndel wrote: > I would like to propse to add a linear algebra library as a dependency > to Warzone.  One library I have in mind (and have had good experience > with in the past) is Eigen [1]. Eigen is really nice. However, it requires turning every pi

Re: [warzone2100-dev] [Warzone2100-commits] SF.net SVN: warzone2100:[11707] trunk

2010-09-20 Thread Per Inge Mathisen
On Mon, Sep 20, 2010 at 10:17 AM, Giel van Schijndel wrote: > Except that we never used floats to store HP, experience or power (and > never should use floats for that), so those points are moot. Except we did. We used floats all over the place for movement/position calculations, power, experienc

Re: [warzone2100-dev] [Warzone2100-commits] SF.net SVN: warzone2100:[11707] trunk

2010-09-20 Thread Guangcong Luo
On Mon, Sep 20, 2010 at 3:17 AM, Giel van Schijndel wrote: > Right, lets do that, or until we get there stuff it in functions, e.g.: >> int fixed_mul(int a, int b); >> int fixed_div(int a, int b); Fine by me. > Except that '>> fixed_point_bits' and '/ (1 << fixed_point_bits)' are > used intercha

Re: [warzone2100-dev] require GLSL >= 1.20

2010-09-20 Thread i-NoD
Sent: Sunday, September 19, 2010 1:36 AM >So I think we should just require GLSL >= 1.20 (add '#version 120' as >the first line of shaders) and use the fixed pipeline (when available) >for systems (like my laptop) that fail to compile the shader. > >For reference: > * My laptop (Lenovo Thinkpad T50

Re: [warzone2100-dev] ETA for 2.3.5 the 24th

2010-09-20 Thread dak180
On Sep 19, 2010, at 10:13 PM, Guangcong Luo wrote: > On Sun, Sep 19, 2010 at 7:18 PM, buginator wrote: >> We should be able to branch from 2.3 at any time, though, I would like >> some consensus about what we will call the new branch, we have 2 votes >> for 3.x, and 2 for 2.4. > > If the new ter

Re: [warzone2100-dev] ETA for 2.3.5 the 24th

2010-09-20 Thread Kreuvf
dak180 wrote: > If we do go with 3.0 I think it will be time for the mac releases to drop > active support for 10.4. And if you drop that support, please make sure to tell people as early as you know it, in an own news probably. Regards, - Kreuvf signature.asc Description: OpenPGP digital si

Re: [warzone2100-dev] adding a linear algebra library

2010-09-20 Thread Giel van Schijndel
On Mon, Sep 20, 2010 at 04:20:26PM +0200, Per Inge Mathisen wrote: > On Mon, Sep 20, 2010 at 4:05 PM, Giel van Schijndel wrote: >> I would like to propse to add a linear algebra library as a dependency >> to Warzone.  One library I have in mind (and have had good experience >> with in the past) is

Re: [warzone2100-dev] [Warzone2100-commits] SF.net SVN: warzone2100:[11707] trunk

2010-09-20 Thread Giel van Schijndel
On Mon, Sep 20, 2010 at 10:10:01AM -0500, Guangcong Luo wrote: > On Mon, Sep 20, 2010 at 3:17 AM, Giel van Schijndel wrote: >> Right, lets do that, or until we get there stuff it in functions, e.g.: >>> int fixed_mul(int a, int b); >>> int fixed_div(int a, int b); > > Fine by me. > >> Except tha