From 90b3b10170d7a7f278338b74d84ae6efceaacf77 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 10 Apr 2024 08:49:35 +0100 Subject: Introduce a basic terrain surface type asset --- game/surface.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 game/surface.cpp (limited to 'game/surface.cpp') 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); +} -- cgit v1.2.3