-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMenu.h
More file actions
44 lines (35 loc) · 1 KB
/
Copy pathMenu.h
File metadata and controls
44 lines (35 loc) · 1 KB
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
/*
Zelda Return of the Hylian
Copyright (C) 2005-2008 Vincent Jouillat
Please send bugreports with examples or suggestions to www.zeldaroth.fr
*/
#ifndef __MENU_H__
#define __MENU_H__
#include <SDL/SDL.h>
class Jeu;
class Menu {
public :
Menu(Jeu* jeu);
~Menu();
void draw(SDL_Surface* gpScreen);
void menuIn();
void menuOut();
int getVal();
private :
void drawCadres(SDL_Surface* gpScreen);
void drawCoeur(SDL_Surface* gpScreen);
void drawCristaux(SDL_Surface* gpScreen);
void drawStatut(SDL_Surface* gpScreen);
void drawInventaire(SDL_Surface* gpScreen);
void drawCurseur(SDL_Surface* gpScreen);
SDL_Surface* imageCadre;
SDL_Surface* imageCoeur;
SDL_Surface* imageObjets;
SDL_Surface* imageInventaire;
Jeu* gpJeu;
int sens;
int val;
int anim;
Uint32 lastAnimTime;
};
#endif // Menu.h