Rename functions and update args
This commit is contained in:
+2
-2
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user