forked from knela96/XMultiply-Arcade-Game
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModuleSceneScore.h
More file actions
42 lines (34 loc) · 744 Bytes
/
ModuleSceneScore.h
File metadata and controls
42 lines (34 loc) · 744 Bytes
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
#ifndef __MODULESCENESCORE_H__
#define __MODULESCENESCORE_H__
#include "Module.h"
#include "Animation.h"
#include "Globals.h"
struct SDL_Texture;
struct PlayerScore {
int score;
char* name;
};
class ModuleSceneScore : public Module
{
public:
ModuleSceneScore();
~ModuleSceneScore();
bool Start();
update_status Update();
bool CleanUp();
public:
int rgb;
bool color = true;
SDL_Texture* graphics = nullptr;
SDL_Rect background;
Uint32 start_time = 0;
Uint32 text_delay = 0;
PlayerScore * ranking[5];
PlayerScore * ranking_names[4];
int font_gameover2 = -1;
int font_gameover1 = -2;
char _stageendblit[5][12];
char _stagenamesblit[5][12];
int i = 0, j = 0, index_player = 5;
};
#endif // __MODULESCENECHOOSEPLAYER_H__