-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFinal.h
82 lines (71 loc) · 2.23 KB
/
Final.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#ifndef FINAL_H_INCLUDED
#define FINAL_H_INCLUDED
#include "glew.h"
#include <GLFW/glfw3.h>
#include "Variables.h"
#include "fonctions.h"
#include "Champ_Etoiles.h"
#include "Sprites_2d.h"
#include "chargeurs_images/Image.h"
class Final
{
public:
static TexteMap* texteFin;
static Repere obs;
static Champ_Etoiles* starfield;
static Champ_Etoiles* starfield2;
static Champ_Etoiles* starfield3;
static Champ_Etoiles* starfield4;
static Champ_Etoiles* starfield5;
static Champ_Etoiles* starfield6;
static Champ_Etoiles* starfield7;
static Image* etoile;
static Image* etoile2;
static Image* etoile3;
static Image* etoile4;
static Image* etoile5;
static Image* etoile6;
static Image* etoile7;
#define FINAL_SPR_LOGOMKD 0
#define FINAL_SPR_DESIGN 1
#define FINAL_SPR_ASTRONAUTE 2
#define FINAL_SPR_NUM 3
static Sprites_2d* sprites;
static const char f1[];
static const char f2[];
static const char f3[];
static const char* fichiersSprites[];
static float cosmoX;
static float cosmoY;
static float couleur_ciel[4];
static float distance_brouillard;
static bool dep_droite;
static bool dep_gauche;
static bool dep_haut;
static bool dep_bas;
static bool zoom_in;
static bool zoom_out;
static bool dep_arriere;
static int depId;
static bool dep_avant;
static bool rot_L_gauche;
static bool rot_L_droite;
static bool rot_T_haut;
static bool rot_T_bas;
static bool rot_R_gauche;
static bool rot_R_droite;
static float aX;
static float aY;
static float aZ;
static float aR;
static float aT;
static float aL;
static bool init_scene();
static void detruit_scene();
static void clavier(int key,bool etat);
static void maj_deplacement();
static void init_affiche();
static void affiche();
static void render_scene();
};
#endif // FINAL_H_INCLUDED