forked from littlebalup/Zelda3T
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEncyclopedie.h
41 lines (32 loc) · 836 Bytes
/
Encyclopedie.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
/*
Zelda Time to Triumph
Copyright (C) 2007-2009 Vincent Jouillat
Please send bugreports with examples or suggestions to www.zeldaroth.fr
*/
#ifndef __ENCYCLOPEDIE_H__
#define __ENCYCLOPEDIE_H__
#include <SDL/SDL.h>
#include "Jeu.h"
class Encyclopedie {
public :
Encyclopedie(Jeu* jeu);
~Encyclopedie();
void draw(SDL_Surface* gpScreen);
void init();
void moveL();
void moveR();
void setPage(int i);
private :
void fond();
void placeCadres();
void cadre(int x, int y, int w, int h, int id);
void verif(int sens);
bool isVide();
Jeu* gpJeu;
int page;
Ennemi* gpEnnemi;
Pnj* gpPnj;
SDL_Surface* image;
SDL_Surface* imageCadre;
};
#endif // Encyclopedie.h