Change entity to use fixed_t

This commit is contained in:
2025-06-18 14:06:03 -05:00
parent c9f795e55c
commit 9a306df7e5
12 changed files with 329 additions and 32 deletions

View File

@ -114,8 +114,8 @@ void drawOverworldDraw(void) {
void drawOverworldDrawEntity(const entity_t *entity) {
assertNotNull(entity, "Entity pointer cannot be NULL");
uint32_t x = (uint32_t)floorf(entity->x);
uint32_t y = (uint32_t)floorf(entity->y);
uint32_t x = fx248Tou32(entity->x);
uint32_t y = fx248Tou32(entity->y);
uint32_t row = 0;
uint32_t col = entity->dir;