summaryrefslogtreecommitdiff
path: root/noncore/games/sfcave-sdl/help.h
Unidiff
Diffstat (limited to 'noncore/games/sfcave-sdl/help.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/sfcave-sdl/help.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/noncore/games/sfcave-sdl/help.h b/noncore/games/sfcave-sdl/help.h
index dc9e80e..2cc32cd 100644
--- a/noncore/games/sfcave-sdl/help.h
+++ b/noncore/games/sfcave-sdl/help.h
@@ -1,35 +1,35 @@
1 1
2#ifndef __HELP_H 2#ifndef __HELP_H
3#define __help_h 3#define __help_h
4 4
5#include <list> 5#include <list>
6#include <string> 6#include <string>
7using namespace std; 7using namespace std;
8 8
9class SFCave; 9class SFCave;
10class StarField; 10class StarField;
11 11
12class Help 12class Help
13{ 13{
14public: 14public:
15 Help( SFCave *p ); 15 Help( SFCave *p );
16 ~Help(); 16 ~Help();
17 17
18 void init(); 18 void init();
19 void handleKeys( SDL_KeyboardEvent &key ); 19 void handleKeys( SDL_KeyboardEvent &key );
20 void draw( SDL_Surface *screen ); 20 void draw( SDL_Surface *screen );
21 void update(); 21 void update();
22private: 22private:
23 23
24 SFCave *parent; 24 SFCave *parent;
25 StarField *stars; 25 StarField *stars;
26 26
27 int textSpeed; 27 int textSpeed;
28 list<string> textList; 28 list<string> textList;
29 int startPos; 29 int startPos;
30 int currLine; 30 int currLine;
31 31
32 void loadText(); 32 void loadText();
33}; 33};
34 34
35#endif 35#endif