-
Notifications
You must be signed in to change notification settings - Fork 0
/
Menu.h
53 lines (39 loc) · 1019 Bytes
/
Menu.h
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef _MENU
#define _MENU
typedef struct
{
unsigned char gadget[12];
unsigned char gadgetEquipe[2];
unsigned char tenue[6];
unsigned char tenueEquipe;
unsigned char jetpack[4];
unsigned char jetpackEquipe;
unsigned char ameliorationNoir[6];
unsigned char ameliorationAimant[6];
unsigned short int statScore[3];
unsigned short int statVehicule[6];
int statTotal[7];
unsigned short int statMort[6];
char succes[22];
char doublePiece;
char longueurAvance;
int argent;
unsigned char contrast;
}Save;
int choix();
int runGameUntilExit();
int mainMenu();
int deadMenu(int score, int nbPiece);
void barryMenu();
void jetpackMenu();
void ameliorationMenu();
void optionMenu();
void gadgetMenu();
void statMenu();
void succesMenu();
int tirageMenu(int *nbJetons, int *nbPiece, int coeur);
int isAllBought();
Save *loadSaveFile(void);
void createSaveFile(Save *save);
void saveFile();
#endif