summaryrefslogtreecommitdiff
path: root/game/geoData.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-04-08 23:37:17 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-04-08 23:37:21 +0100
commitf47aff9a43e5267e5ab42a0111df483129aed6ba (patch)
tree6dfaad3a04eb222dd1960430a023d75349e66189 /game/geoData.cpp
parentMerge branch 'separate-water' (diff)
downloadilt-f47aff9a43e5267e5ab42a0111df483129aed6ba.tar.bz2
ilt-f47aff9a43e5267e5ab42a0111df483129aed6ba.tar.xz
ilt-f47aff9a43e5267e5ab42a0111df483129aed6ba.zip
Add GeoData face property for surface type
Arbitrary int type for now.
Diffstat (limited to 'game/geoData.cpp')
-rw-r--r--game/geoData.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/game/geoData.cpp b/game/geoData.cpp
index 2313342..e465ba0 100644
--- a/game/geoData.cpp
+++ b/game/geoData.cpp
@@ -6,6 +6,11 @@
#include <maths.h>
#include <set>
+GeoData::GeoData()
+{
+ add_property(surface);
+}
+
GeoData
GeoData::loadFromAsciiGrid(const std::filesystem::path & input)
{