aboutsummaryrefslogtreecommitdiffstats
path: root/src/entity.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2026-01-05 09:30:25 +0000
committernathan <nathansmith@disroot.org>2026-01-05 09:30:25 +0000
commita8d803916883e49790981beed6438726406e0995 (patch)
treecc354d1231c94dbfdb67268f57a3819e03949dce /src/entity.h
parente507ecbb95a2c7a1ffb8c13f1bd39433d6c49ba3 (diff)
downloadFindThings-a8d803916883e49790981beed6438726406e0995.tar.gz
FindThings-a8d803916883e49790981beed6438726406e0995.tar.bz2
FindThings-a8d803916883e49790981beed6438726406e0995.zip
Collision with buildings working
Diffstat (limited to 'src/entity.h')
-rw-r--r--src/entity.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entity.h b/src/entity.h
index e92fbb2..8cfcad6 100644
--- a/src/entity.h
+++ b/src/entity.h
@@ -119,7 +119,8 @@ int getInteractionMenuIndex(Selection selection);
BoundingBox entityBoxFromScale(float scale, float width, float height);
EntityBuilding* createEntityBuilding(Image heightmap);
-void freeEntityBuilding(EntityBuilding* entityBuilding);
+void freeEntityBuilding(EntityBuilding* building);
+bool isBuildingBlockWall(const EntityBuilding* building, int x, int y);
void drawBuildingRoof(const EntityBuilding* building, Vector3 position,
Color color);