aboutsummaryrefslogtreecommitdiffstats
path: root/src/entity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.c')
-rw-r--r--src/entity.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/entity.c b/src/entity.c
index 5515932..0c0b914 100644
--- a/src/entity.c
+++ b/src/entity.c
@@ -72,9 +72,25 @@ Entity createEntity(EntityId id, Vector3 position)
case TRASH:
entity.box = entityBoxFromScale(TRASH_SCALE, 202.0, 122.0);
break;
+
case MEDICAL_TRASH:
entity.box = entityBoxFromScale(MEDICAL_TRASH_SCALE, 200.0, 132.0);
break;
+ // TODO: do the thing
+ case JOHN:
+ entity.box = (BoundingBox){
+ .min = (Vector3){-1.0, -1.0, -1.0},
+ .max = (Vector3){1.0, 1.0, 1.0}
+ };
+
+ break;
+ case RON:
+ entity.box = (BoundingBox){
+ .min = (Vector3){-1.0, -1.0, -1.0},
+ .max = (Vector3){1.0, 1.0, 1.0}
+ };
+
+ break;
default:
break;
}
@@ -171,6 +187,12 @@ void updateEntity(Entity* entity, Game* game)
game->assets.textures[MEDICAL_TRASH_TEXTURE],
entity->position, MEDICAL_TRASH_SCALE, WHITE);
break;
+ case JOHN:
+ DrawModel(game->assets.models[JOHN_MODEL], entity->position, 1.0, WHITE);
+ break;
+ case RON:
+ DrawModel(game->assets.models[RON_MODEL], entity->position, 1.0, WHITE);
+ break;
default:
break;
}