diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-16 22:41:48 +0000 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-16 22:41:48 +0000 |
commit | 38edebe4bdeb8caedccf6127a86fddfe9c5808a8 (patch) | |
tree | 466cf659201a66a12d922943337e636b5125bccb /src/common.hpp | |
parent | 5c7d962e605e123e1ce4e0610e8f330b1f4f5e82 (diff) |
Fully working nests.
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.hpp b/src/common.hpp index 872a40d..02e8b1a 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -25,6 +25,7 @@ namespace procgen { uint32_t next(void); float next_float(void); void unit_vec(float out[2]); + v2f_t unit_vec2(void); }; @@ -210,12 +211,11 @@ namespace game { std::unordered_set<entity_t*> awake_entities; std::unordered_set<unit_t*> selected_units; - - procgen::prng_t dice_prng; public: world::world_t world; interface::state_t *interface; double now, dt; + procgen::prng_t dice_prng; void start(void); void stop(void); |