diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-04-10 08:49:35 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-04-10 08:49:35 +0100 |
commit | 90b3b10170d7a7f278338b74d84ae6efceaacf77 (patch) | |
tree | 771e9fa22b6fa8c2b2720f1c47cc8182aeb69f67 /game/surface.cpp | |
parent | Add GeoData face property for surface type (diff) | |
download | ilt-90b3b10170d7a7f278338b74d84ae6efceaacf77.tar.bz2 ilt-90b3b10170d7a7f278338b74d84ae6efceaacf77.tar.xz ilt-90b3b10170d7a7f278338b74d84ae6efceaacf77.zip |
Introduce a basic terrain surface type asset
Diffstat (limited to 'game/surface.cpp')
-rw-r--r-- | game/surface.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/game/surface.cpp b/game/surface.cpp new file mode 100644 index 0000000..007a9a4 --- /dev/null +++ b/game/surface.cpp @@ -0,0 +1,7 @@ +#include "surface.h" + +bool +Surface::persist(Persistence::PersistenceStore & store) +{ + return STORE_TYPE && STORE_MEMBER(colorBias) && STORE_MEMBER(quality) && Asset::persist(store); +} |