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.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/noncore/games/sfcave-sdl/help.h b/noncore/games/sfcave-sdl/help.h
new file mode 100644
index 0000000..dc9e80e
--- a/dev/null
+++ b/noncore/games/sfcave-sdl/help.h
@@ -0,0 +1,35 @@
1
2#ifndef __HELP_H
3#define __help_h
4
5#include <list>
6#include <string>
7using namespace std;
8
9class SFCave;
10class StarField;
11
12class Help
13{
14public:
15 Help( SFCave *p );
16 ~Help();
17
18 void init();
19 void handleKeys( SDL_KeyboardEvent &key );
20 void draw( SDL_Surface *screen );
21 void update();
22private:
23
24 SFCave *parent;
25 StarField *stars;
26
27 int textSpeed;
28 list<string> textList;
29 int startPos;
30 int currLine;
31
32 void loadText();
33};
34
35#endif