diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-04-01 20:31:29 +0100 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-04-01 20:31:29 +0100 |
| commit | 74a241680dcb8e543c7e2ab70eb0cfe00d01f22a (patch) | |
| tree | 8c20214dbd0f2cc0012e5a7057f72999261c240d /game/scenary/illuminator.cpp | |
| parent | Have Renderable manage all instance lights (diff) | |
| download | ilt-74a241680dcb8e543c7e2ab70eb0cfe00d01f22a.tar.bz2 ilt-74a241680dcb8e543c7e2ab70eb0cfe00d01f22a.tar.xz ilt-74a241680dcb8e543c7e2ab70eb0cfe00d01f22a.zip | |
Move spot/point light persistence wrappers to assetFactory
Diffstat (limited to 'game/scenary/illuminator.cpp')
| -rw-r--r-- | game/scenary/illuminator.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/game/scenary/illuminator.cpp b/game/scenary/illuminator.cpp index 55791a5..7f0c7c2 100644 --- a/game/scenary/illuminator.cpp +++ b/game/scenary/illuminator.cpp @@ -16,19 +16,6 @@ Illuminator::createAt(const Location & position) const } bool -Illuminator::SpotLight::persist(Persistence::PersistenceStore & store) -{ - return STORE_TYPE && STORE_MEMBER(position) && STORE_MEMBER(direction) && STORE_MEMBER(colour) && STORE_MEMBER(kq) - && STORE_MEMBER(arc); -} - -bool -Illuminator::PointLight::persist(Persistence::PersistenceStore & store) -{ - return STORE_TYPE && STORE_MEMBER(position) && STORE_MEMBER(colour) && STORE_MEMBER(kq); -} - -bool Illuminator::persist(Persistence::PersistenceStore & store) { return STORE_TYPE && STORE_HELPER(bodyMesh, Asset::MeshConstruct) |
