diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-22 00:38:28 -0700 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-22 00:38:28 -0700 |
commit | 123e581f76d58df67bcf041f510c529601dae502 (patch) | |
tree | 8814977a4b5e6dd9d5f1f2dcf5f68461aeeb54db /src/entities/missile.c | |
parent | 95bdaa95050696cd36f12ea58c5df65dad23c4f5 (diff) |
Finally have a real game play loop
Diffstat (limited to 'src/entities/missile.c')
-rw-r--r-- | src/entities/missile.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |