diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-17 19:18:23 +0000 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-17 19:18:23 +0000 |
commit | 41bebb262aa8f346ce6cdaefd854c9077ae84f97 (patch) | |
tree | 6270136442f06a406f3b101e18f12c84c63a523e /src/common.hpp | |
parent | c8e7fcc5f2cac58785baf2556cffc5727a48e957 (diff) |
Implement pausing.
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.hpp b/src/common.hpp index f269370..4b20ced 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -219,7 +219,8 @@ namespace game { public: world::world_t world; interface::state_t *interface; - double now, dt; + double now = 0.0, dt; + bool paused = false; procgen::prng_t dice_prng; void start(void); |