Rename functions and update args

This commit is contained in:
2023-08-05 18:24:54 +02:00
parent c98d6bf396
commit 0c5f29c983
6 changed files with 37 additions and 25 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
#include "projectile.h"
/* State of projectile */
int isLaunch;
static int isLaunch;
/*
* This function initialize our Projectile
@@ -174,7 +174,7 @@ void handleProjectile(struct projectile *s_projectile, const struct object *s_pl
args.window = s_window;
/* Init celestial object */
*sInfos = TTF_RenderText_Blended(s_window.font, "Earth", colorFont);
*sInfos = TTF_RenderText_Blended(s_window.font, "Ground", colorFont);
initInfos(s_window.font, &rectInfos[0], sInfos[0], (WIN_PROJECTILE_WIDTH / 2) - sInfos[0]->w, rectObject.y + 15);
/* Get distance and time */