Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarWorldRenderData.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarWorldRenderData.hpp')
-rw-r--r--source/game/StarWorldRenderData.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/game/StarWorldRenderData.hpp b/source/game/StarWorldRenderData.hpp
index b392615..0030a10 100644
--- a/source/game/StarWorldRenderData.hpp
+++ b/source/game/StarWorldRenderData.hpp
@@ -9,6 +9,7 @@
#include "StarWeatherTypes.hpp"
#include "StarEntity.hpp"
#include "StarThread.hpp"
+#include "StarCellularLighting.hpp"
namespace Star {
@@ -17,6 +18,7 @@ struct EntityDrawables {
Map<EntityRenderLayer, List<Drawable>> layers;
};
+
struct WorldRenderData {
void clear();
@@ -25,7 +27,7 @@ struct WorldRenderData {
Vec2I tileMinPosition;
RenderTileArray tiles;
Vec2I lightMinPosition;
- Image lightMap;
+ Lightmap lightMap;
List<EntityDrawables> entityDrawables;
List<Particle> const* particles;