summaryrefslogtreecommitdiff
path: root/src/common.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.hpp')
-rw-r--r--src/common.hpp4
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);