summaryrefslogtreecommitdiff
path: root/prototypes.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-07 15:34:29 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-07 15:34:29 +0100
commit461a28bb608e117267431eac78b08d3d8a089c0c (patch)
tree7fbd7306399db6223b1f0440d1fea6eb1c03b507 /prototypes.h
parent5b6986f617c554ac27b57373be0b874807e2d49d (diff)
do not pass a pointer to standard type when a copy is possible
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'prototypes.h')
-rw-r--r--prototypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/prototypes.h b/prototypes.h
index 65591db..6b97c03 100644
--- a/prototypes.h
+++ b/prototypes.h
@@ -21,7 +21,7 @@ void Fremplircompetencesallie (PERSONNAGES persos[]);
int Fcalculernbennemis ();
void Fchoisirtypeennemis (PERSONNAGES persos[],SURFACES *surfaces,ENNEMIS ennemis[],int Vnbennemis);
void Fremplirennemis (SURFACES *surfaces,int Vnbennemis,ENNEMIS ennemis[]);
-int Fcalculerdegats(PERSONNAGES persos[],int *Vtourallie,int *min,ENNEMIS ennemis[],int selection,int camp,int type);
+int Fcalculerdegats(PERSONNAGES persos[], int Vtourallie,int *min,ENNEMIS ennemis[],int selection,int camp,int type);
int Fcalculersoins(PERSONNAGES persos[],int *Vtourallie,int *min,ENNEMIS ennemis[],int selection);
void Fchangercurseur (SURFACES *surfaces, POSITIONS *positions,int selection,ENNEMIS ennemis[]);
void Fchangercurseurennemis (SURFACES *surfaces, POSITIONS *positions,int selection,ENNEMIS ennemis[]);
@@ -45,7 +45,7 @@ void Fselectionnerobjet(SURFACES *surfaces,POSITIONS *positions,PERSONNAGES pers
int Fpotion(SURFACES *surfaces,POSITIONS *positions,PERSONNAGES persos[],int *Vtourallie,ENNEMIS ennemis[],int Vnbennemis,OBJET *objets,int type,int*Vtour);
int Fether(SURFACES *surfaces,POSITIONS *positions,PERSONNAGES persos[],int *Vtourallie,ENNEMIS ennemis[],int Vnbennemis,OBJET *objets,int type,int *Vtour);
void Fblitterfond(SURFACES* surfaces);
-void Fcolourselection(SURFACES* surfaces, PERSONNAGES persos[],int Vtourallie,POSITIONS* positions);
+void highlight_current_character(SURFACES *surfs, PERSONNAGES persos[], int character_idx);
void Fblitcoloredselection (SURFACES surfaces[],POSITIONS positions[],int Vtourallie,PERSONNAGES persos[]);
Uint32 obtenirPixel(SDL_Surface *surface, int x, int y);
void definirPixel(SDL_Surface *surface, int x, int y, Uint32 pixel);