feat: made hitboxes area dependent

This commit is contained in:
2025-10-06 21:57:06 +01:00
parent c01a6be4e5
commit f18d9d2b0e
4 changed files with 26 additions and 20 deletions

View File

@@ -45,6 +45,8 @@ struct World_Portal
AABB box;
World_Area area;
};
typedef World_Portal World_Hitbox;
typedef struct World World;
#include "player.h"
@@ -62,7 +64,7 @@ struct World {
World_Tile *tileTypes;
World_PropType *propTypes;
World_Prop *props;
AABB *hitboxes;
World_Hitbox *hitboxes;
World_Portal *portals;
U32 *map;