-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGenerique.h
More file actions
65 lines (56 loc) · 1.9 KB
/
Generique.h
File metadata and controls
65 lines (56 loc) · 1.9 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
Zelda Return of the Hylian
Copyright (C) 2005-2008 Vincent Jouillat
Please send bugreports with examples or suggestions to www.zeldaroth.fr
*/
#ifndef __GENERIQUE_H__
#define __GENERIQUE_H__
#include <SDL/SDL.h>
class Jeu;
class Generique {
public :
Generique(Jeu* jeu);
~Generique();
void drawFin(SDL_Surface* gpScreen);
void initDisclamer();
void initLogo();
void initTitre();
void initScore();
void initSelection();
void initOption();
void initRecord();
void initEffacer();
void initCharger();
void initIntro();
void initNuit();
void initAide1();
void initAide2();
void initRang(int i);
void draw(SDL_Surface* gpScreen);
void drawSelection(SDL_Surface* gpScreen, int ligne, int colonne);
void drawOption(SDL_Surface* gpScreen, int ligne, int opt1, int opt2);
void drawRecord(SDL_Surface* gpScreen, int ligne, int colonne);
void drawEffacer(SDL_Surface* gpScreen, int ligne);
void drawCharger(SDL_Surface* gpScreen, int ligne, int ligne2);
void drawEffacerSave(SDL_Surface* gpScreen, int ligne, int ligne2);
void drawIntro(SDL_Surface* gpScreen, int etape);
void drawDebut(SDL_Surface* gpScreen);
private :
void cadre(int x, int y, int w, int h);
Jeu* gpJeu;
SDL_Surface* imageFin;
SDL_Surface* image;
SDL_Surface* imageArbre;
SDL_Surface* imageTitre;
SDL_Surface* imageCurseur;
SDL_Surface* imageNiveau;
SDL_Surface* imageFee;
SDL_Surface* imageCadre;
SDL_Surface* imageFond1;
SDL_Surface* imageFond2;
SDL_Surface* imageNuit;
SDL_Surface* imageIntro[5];
int anim;
Uint32 lastAnimTime;
};
#endif // Generique.h