-
Notifications
You must be signed in to change notification settings - Fork 0
/
si_Loading.h
42 lines (31 loc) · 1.03 KB
/
si_Loading.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
// si_Functions.h - space invaders opengl
#ifndef _LOADING_H
#define _LOADING_H
//#define LOG0(text) add_log(text, false); // MACRO de LOG (ajout d'une entrée dans les logs, _NON_ pris en compte pour la progress bar)
//#define LOG(text) add_log(text, true); // MACRO de LOG (ajout d'une entrée dans les logs, prise en compte pour la progress bar)
//////////////////////////////////////////////////////////////////////////////////////
//
// LOADING => Fonctions
//
//
// CHARGEMENT => GLOBAL
void loading (void *dummy);
// CHARGEMENT => LOG SYSTEM
void add_log (char* text, bool addToProgressBar);
// CHARGEMENT => PROGRESS BAR
void progress_bar ();
// CHARGEMENT => MUSIQUE ET SONS
//FSOUND_SAMPLE * LoadSound (int IntResource);
void LoadSounds();
// CHARGEMENT => TEXTURES
void LoadTextures();
// CHARGEMENT => AFFICHAGE
void loading_display1 (void);
void loading_display2 (bool addToProgressBar);
void loading_display3 (void);
// 2ème FPS System
BOOL initftime(void);
double ftime(void);
extern float framestart;
extern float first;
#endif