-
Notifications
You must be signed in to change notification settings - Fork 0
/
gsMenu.h
57 lines (42 loc) · 843 Bytes
/
gsMenu.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
#ifndef GSMENU_H
#define GSMENU_H
#include <SDL/SDL.h>
#include "buttons.h"
#include "cCheckboxes.h"
#include "cFader.h"
#include "cLight.h"
#include "cMover.h"
#include "cParticles.h"
#include "cSound.h"
#include "cUfo.h"
#include "gamestate.h"
class gsMenu : public cGameState {
public:
gsMenu();
~gsMenu();
int events();
int logic();
int render();
private:
SDL_Surface* bgF;
SDL_Surface* bgB;
SDL_Surface* sFade;
SDL_Surface* sDiff;
SDL_Surface* sStory;
SDL_Surface* sAbout;
SDL_Surface* sParticle;
Mix_Music* mCricket;
bool lightState;
int lightTime;
GameStates nextState;
cButtonSet* buttons;
cCheckboxesOne* cb;
cFader* fader;
cMover* story;
cMover* about;
cLight* light;
cUfo* ufo;
cSound* sound;
cEmitter* p;
} ;
#endif