-
Notifications
You must be signed in to change notification settings - Fork 1
/
stage_select.h
85 lines (79 loc) · 1.66 KB
/
stage_select.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
83
84
85
#ifndef STAGE_SELECT_H
#define STAGE_SELECT_H
#include "graphicslib.h"
#include "inputlib.h"
#include "timerlib.h"
#include "soundlib.h"
//#include "game.h"
/**
* @brief
*
*/
class stage_select
{
public:
stage_select(graphicsLib_gSurface stage_ref[STAGE_SELECT_COUNT]);
/**
* @brief
*
* @return short
*/
short finished_stages() const;
/**
* @brief
*
* @return st_position
*/
struct st_position select();
private:
/**
* @brief
*
*/
void load_graphics();
/**
* @brief
*
* @param x_inc
* @param y_inc
*/
void move_highlight(short int x_inc, short int y_inc);
/**
* @brief
*
*/
void show_highlight();
/**
* @brief
*
* @param face_file
* @param botname
* @param pos
*/
void place_face(std::string face_file, std::string botname, st_position pos) const;
/**
* @brief
*
*/
void animate_highlight();
/**
* @brief
*
* @param x
* @param y
* @param erase_eyes
*/
void draw_eyes(int x, int y, bool erase_eyes);
private:
graphicsLib_gSurface s_light; /**< TODO */
graphicsLib_gSurface s_dark; /**< TODO */
graphicsLib_gSurface eyes_surface; /**< TODO */
graphicsLib_gSurface background; /**< TODO */
struct st_position highlight_pos; /**< TODO */
struct st_position select_pos; /**< TODO */
graphicsLib_gSurface *STAGE_SELECT_SURFACES[STAGE_SELECT_COUNT]; /**< TODO */
bool highlight_animation_white; /**< TODO */
unsigned int timer_intro; /**< TODO */
graphicsLib_gSurface *light_mode; /**< TODO */
};
#endif // STAGE_SELECT_H