[Wormux-dev] [PATCH] Add a debug option "slow" to reduce the game speed to 25%.

2009-09-23 Par sujet Florian Köberle
--- src/game/stopwatch.cpp |7 --- src/game/stopwatch.h |3 ++- src/game/time.cpp |5 - 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/game/stopwatch.cpp b/src/game/stopwatch.cpp index c64dad8..e09e743 100644 --- a/src/game/stopwatch.cpp +++ b/src/ga

[Wormux-dev] [PATCH 3/3] Simplifiy the method Water::Refresh().

2009-09-23 Par sujet Florian Köberle
--- src/map/water.cpp |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/map/water.cpp b/src/map/water.cpp index 3dde859..a1fbbcc 100644 --- a/src/map/water.cpp +++ b/src/map/water.cpp @@ -162,12 +162,11 @@ void Water::Refresh() } // Height Calculation: -

[Wormux-dev] [PATCH 1/3] Make degree a constant.

2009-09-23 Par sujet Florian Köberle
This enables a followup patch to make use of degree in another method. --- src/map/water.cpp | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/map/water.cpp b/src/map/water.cpp index 3387318..31cb94f 100644 --- a/src/map/water.cpp +++ b/src/map/water.cpp @@ -3

[Wormux-dev] [PATCH 2/3] Fix a bug which leads to different water heights in network games.

2009-09-23 Par sujet Florian Köberle
The position of water waves must not depend on how often the waves get drawn. Especially not since an optimization does not draw the waves if they are not visible. The position of the waves is game relevant as it determines how high the water is at specific x positions. The height of the water i