diff options
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/common.hpp b/src/common.hpp index 0f51590..5d68f06 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -238,16 +238,6 @@ namespace game { class unit_t; class effect_t; - class die_t { - public: - size_t count = 1, sides = 20, bonus = 0; - - die_t(void) = default; - die_t(size_t sides_); - die_t(size_t count_, size_t sides_); - die_t(size_t count_, size_t sides_, size_t bonus_); - }; - enum { SELECT_NEW, SELECT_OR, @@ -261,7 +251,7 @@ namespace game { public: world::world_t world; interface::state_t *interface; - procgen::prng_t dice_prng; + procgen::prng_t prng; std::unordered_set<entity_t*> awake_entities; std::unordered_set<unit_t*> selected_units; @@ -285,8 +275,6 @@ namespace game { bool populate_pie_menu(std::vector<interface::pie_item_t> &items); void command(v2f_t x, int number); void spawn_soldier(v2f_t x); - - size_t roll(die_t die); }; } |