feat: made hitboxes area dependent
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user