From 92419b025aa5d82bb7592281af5505ff931c2e58 Mon Sep 17 00:00:00 2001 From: andyq Date: Mon, 20 Jan 2003 23:11:56 +0000 Subject: Initial Revision --- (limited to 'noncore/games/sfcave-sdl/help.h') 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 @@ + +#ifndef __HELP_H +#define __help_h + +#include +#include +using namespace std; + +class SFCave; +class StarField; + +class Help +{ +public: + Help( SFCave *p ); + ~Help(); + + void init(); + void handleKeys( SDL_KeyboardEvent &key ); + void draw( SDL_Surface *screen ); + void update(); +private: + + SFCave *parent; + StarField *stars; + + int textSpeed; + list textList; + int startPos; + int currLine; + + void loadText(); +}; + +#endif -- cgit v0.9.0.2