summaryrefslogtreecommitdiff
path: root/game/surface.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-05-27 13:44:08 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-05-27 13:44:08 +0100
commitad85d0843dc80d195120dd53dd4a8deee004af4b (patch)
tree420723815ac6753441f14fe51836555de5551a19 /game/surface.cpp
parentMerge branch 'separate-water' (diff)
parentSurface asset test doesn't need render dump (diff)
downloadilt-ad85d0843dc80d195120dd53dd4a8deee004af4b.tar.bz2
ilt-ad85d0843dc80d195120dd53dd4a8deee004af4b.tar.xz
ilt-ad85d0843dc80d195120dd53dd4a8deee004af4b.zip
Merge remote-tracking branch 'origin/terrain-surfaces'
Diffstat (limited to 'game/surface.cpp')
-rw-r--r--game/surface.cpp7
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);
+}