-
Notifications
You must be signed in to change notification settings - Fork 0
/
si_World.h
52 lines (44 loc) · 1.23 KB
/
si_World.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
// si_World.h - space invaders opengl
#ifndef _WORLD_H
#define _WORLD_H
//////////////////////////////////////////////////////////////////////////////////////
//
// WOLRD => Les fonctions d'initialisation et d'affichage des éléments du jeu
//
//
// Initialisation des éléments
void init_ships();
void init_player();
void init_supership();
void init_shoots();
void init_bonuses(bool game_3d_local);
void init_bunker(float x, float y, float z);
// Affichage des éléments
void display_ship(int i);
void display_player();
void display_supership();
void display_shoot(int i, bool viewport2);
void display_bonus_2d_to_3d();
void display_ring_2d_to_3d();
void display_bonus_3d();
void display_bunkers();
void display_score_hiscore_lives();
void display_below_lives();
void display_background(bool viewport2);
void display_image();
void display_cube(int texture_id, float size);
void display_console();
void display_console_mini_screen();
void display_text_frames();
void display_energy();
void display_spectrum();
void display_equalizer();
//////////////////////////////////////////////////////////////////////////////////////
//
// WORLD => Le splash screen
//
//
void display_splashscreen();
extern bool active_splash;
extern bool active_reverse_splash;
#endif