From 38edebe4bdeb8caedccf6127a86fddfe9c5808a8 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sat, 16 Dec 2017 22:41:48 +0000 Subject: Fully working nests. --- src/common.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common.hpp') 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 awake_entities; std::unordered_set 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); -- cgit