Starting ent stuff

This commit is contained in:
2025-11-03 17:04:07 -06:00
parent bcba693afb
commit f3d985ecbc
9 changed files with 2 additions and 235 deletions

View File

@@ -9,10 +9,7 @@
#include "direction.h"
#include "rpg/entity/player.h"
#include "npc.h"
#include "physics/physics.h"
#define ENTITY_FRICTION 16.0f
#define ENTITY_MIN_VELOCITY 0.1f
#define ENTITY_COUNT 256
typedef struct map_s map_t;
@@ -29,10 +26,7 @@ typedef struct entity_s {
uint8_t id;
entitytype_t type;
direction_t direction;
vec3 position;
vec3 velocity;
float_t hitboxRadius;
uint32_t position;// Tile index
union {
player_t player;