summaryrefslogtreecommitdiff
path: root/prototypes.h
blob: 698bc46fbf1b65703aad62ef68473063e7e4e632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef PROTOTYPES_H
#define PROTOTYPES_H

#include "constantes.h"
#include "players.h"
#include "entry.h"

void Fmenuprincipal (SURFACES *surfaces, POSITIONS *positions);
void Fchangersurlignage (int Vmode, SURFACES *surfaces, POSITIONS *positions);
int Fentrermode (int Vmode, SURFACES *surfaces, POSITIONS *positions);
void Fmenuchoixpersos (SURFACES *surfaces, POSITIONS *positions);
void Fchangersurlignage2 (int Vperso, SURFACES *surfaces, POSITIONS *positions);
int Fjouer(SURFACES *surfaces, POSITIONS *positions, struct team_t *ally, struct team_t *enemy);

void Finitialisersurfaces (SURFACES *surfaces);
int Fchargerimages (SURFACES *surfaces);
void Fdechargerimages (SURFACES *surfaces);
void Finitialiserpositions (POSITIONS *positions, SURFACES *surfaces);

Uint32 obtenirPixel(SDL_Surface *surface, int x, int y);
void definirPixel(SDL_Surface *surface, int x, int y, Uint32 pixel);
void Fgetmap (int map[][11]);
void Fmap (SURFACES*surfaces, POSITIONS* positions, struct team_t *ally, struct team_t *enemy);
void Fchargersurfaces_map (SURFACES *surfaces,POSITIONS*positions);
void Fblittermap (SURFACES*surfaces,POSITIONS*positions,int map[][11]);
void Fdechargersurfaces_map(SURFACES*surfaces);

void Foptions(SURFACES *surface, POSITIONS *positions);

#endif