summaryrefslogtreecommitdiff
path: root/game/terrain.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-01-28 20:27:54 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-01-28 20:27:54 +0000
commit07cdfc19b7ab39db73d3ac097556b23f2e4a90ce (patch)
treed2d2a09612833bcc19c02fdaf2324875d2db5a59 /game/terrain.h
parentSplit common terrain code out (diff)
downloadilt-07cdfc19b7ab39db73d3ac097556b23f2e4a90ce.tar.bz2
ilt-07cdfc19b7ab39db73d3ac097556b23f2e4a90ce.tar.xz
ilt-07cdfc19b7ab39db73d3ac097556b23f2e4a90ce.zip
Basic support for loading a heightmap from an image
Diffstat (limited to 'game/terrain.h')
-rw-r--r--game/terrain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/terrain.h b/game/terrain.h
index 0edf4bd..64c4f96 100644
--- a/game/terrain.h
+++ b/game/terrain.h
@@ -8,6 +8,7 @@
#include <gfx/renderable.h>
#include <memory>
#include <special_members.hpp>
+#include <string>
#include <vector>
class Shader;
@@ -16,6 +17,7 @@ class Texture;
class Terrain : public WorldObject, public Renderable {
public:
Terrain();
+ explicit Terrain(const std::string &);
~Terrain() override;
NO_COPY(Terrain);
NO_MOVE(Terrain);