diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-04-08 23:37:17 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-04-08 23:37:21 +0100 |
commit | f47aff9a43e5267e5ab42a0111df483129aed6ba (patch) | |
tree | 6dfaad3a04eb222dd1960430a023d75349e66189 /game/geoData.cpp | |
parent | Merge branch 'separate-water' (diff) | |
download | ilt-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.cpp | 5 |
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) { |