From 123e581f76d58df67bcf041f510c529601dae502 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Fri, 22 Dec 2023 00:38:28 -0700 Subject: Finally have a real game play loop --- src/entities/missile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/entities/missile.c') diff --git a/src/entities/missile.c b/src/entities/missile.c index beb167c..df0b48d 100644 --- a/src/entities/missile.c +++ b/src/entities/missile.c @@ -49,13 +49,13 @@ void updateMissile(Game * game, Entity * entity) { if (data->timeToLive != MISSILE_LIVE_FOREVER) if (GetTime() - data->birthDay >= data->timeToLive) { missileGoBoomBoom(game, entity); - puts("counted downa downasdjkfdjskl down"); + //puts("counted downa downasdjkfdjskl down"); } // We are quite close to the player indeed. if (Vector3Distance(player->position, entity->position) <= data->boomBoomAt) { missileGoBoomBoom(game, entity); - puts("you were fucking hit by this big ass missile"); + //puts("you were fucking hit by this big ass missile"); } entityCheckTransformedCollisionModel(entity); @@ -115,5 +115,5 @@ void missileGoBoomBoom(Game * game, Entity * entity) { entity->health = 0.0; - printf("This old fuck did %f damage at %f distance\n", damage, distance); + //printf("This old fuck did %f damage at %f distance\n", damage, distance); } -- cgit v1.2.3