summaryrefslogtreecommitdiff
path: root/src/common.hpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-16 15:32:44 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-12-16 15:32:44 +0100
commita62ac36a7e401b39d760237778623f5a2b13f91f (patch)
treedc85af4abdc3c5cc1942d26911ecf1ca2d3f9a63 /src/common.hpp
parent87559f480badc2be26279bd1822980e7ce5dbba5 (diff)
Distort the tile grid when rendering.
Diffstat (limited to 'src/common.hpp')
-rw-r--r--src/common.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.hpp b/src/common.hpp
index 7b784bf..1ae3595 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -311,6 +311,8 @@ namespace render {
class state_t {
sf::RenderWindow *window;
+ procgen::prng_t prng;
+ procgen::perlin_noise_t perlin;
void render_sector(world::sector_t *sector);
void drender_text(rectf_t rect, std::string str);