Branch: refs/heads/master Home: https://github.com/Warzone2100/warzone2100 Commit: 41c72f127d9b130c4fe9df901519728a7a1634d0 https://github.com/Warzone2100/warzone2100/commit/41c72f127d9b130c4fe9df901519728a7a1634d0 Author: Colin MacDonald <git...@colinmacdonald.org> Date: 2020-06-15 (Mon, 15 Jun 2020)
Changed paths: M lib/framework/rational.h M lib/gamelib/gtime.cpp M lib/gamelib/gtime.h M src/atmos.cpp M src/levels.cpp M src/loop.cpp M src/scores.cpp Log Message: ----------- [BUGFIX] Issue #795 Atmospheric effects should respect game time slowdown (#913) * [BUGFIX] Issue #795 Atmospheric effects should respect game time slowdown https://github.com/Warzone2100/warzone2100/issues/795 Scale the volume of precipitation generation to the current game speed. I've added a toDouble() approximation to rational.h and included rational.h directly in gtime.h as everything that includes gtime.h also had to include rational.h in order to use it, so it simply shifted the burden to the cpp files. Co-authored-by: pastdue <30942300+past-...@users.noreply.github.com> _______________________________________________ Warzone2100-commits mailing list Warzone2100-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/warzone2100-commits