forked from littlebalup/Zelda3T
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStatut.h
54 lines (46 loc) · 1.4 KB
/
Statut.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
54
/*
Zelda Time to Triumph
Copyright (C) 2007-2009 Vincent Jouillat
Please send bugreports with examples or suggestions to www.zeldaroth.fr
*/
#ifndef __STATUT_H__
#define __STATUT_H__
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
class Jeu;
class Statut {
public :
Statut(Jeu* jeu);
~Statut();
void draw(SDL_Surface* gpScreen);
bool getJauge();
void setJauge(bool b);
void setValJauge(int i);
void setMaxJauge(int i);
void setValJauge2(int i);
void setMaxJauge2(int i);
void drawNombre(SDL_Surface* gpScreen, int val, int max, int x, int y, int nb);
void drawSeparateur(SDL_Surface* gpScreen, int x, int y, int max=0);
SDL_Surface* getImageTroc();
SDL_Surface* getImageGemmes();
private :
void drawBoss(SDL_Surface* gpScreen);
void drawVie(SDL_Surface* gpScreen);
void drawItems(SDL_Surface* gpScreen);
void drawMagie(SDL_Surface* gpScreen);
SDL_Surface* imageStatut;
SDL_Surface* imageChiffre;
SDL_Surface* imageInventaire;
SDL_Surface* imageTroc;
SDL_Surface* imageGemmes;
Jeu* gpJeu;
bool jauge; // jauge activée
int valjauge;
int maxjauge;
int nivjauge; // hauteur
int valjauge2;
int maxjauge2;
int nivjauge2; // hauteur
int dec;
};
#endif // Statut.h