summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-05-19 06:21:18 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-05-19 06:21:18 +0200
commit89aa5bc8fc8aab52cd482f851d700a829f1562a9 (patch)
treef39e97d3cf2a898c61320e65fa787dbc2edae38e /src
parenta4870b515381b222f5dcb9d4d3cfe34102967ce4 (diff)
draw lights on top of scenery
Diffstat (limited to 'src')
-rw-r--r--src/light.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/light.cpp b/src/light.cpp
index 921b0e4d..7b491f30 100644
--- a/src/light.cpp
+++ b/src/light.cpp
@@ -32,7 +32,10 @@ float light::depth_offset() const
return ret;
}
-Vector2 light::ordinal_offset(Vector2b) const { return {}; }
+Vector2 light::ordinal_offset(Vector2b) const
+{
+ return Vector2(TILE_COUNT, TILE_COUNT);
+}
entity_type light::type() const noexcept { return entity_type::light; }
bool light::update(size_t, float) { return false; }