diff options
| author | Starla Insigna <starla4444@gmail.com> | 2013-08-27 11:39:37 -0400 |
|---|---|---|
| committer | Starla Insigna <starla4444@gmail.com> | 2013-08-27 11:39:37 -0400 |
| commit | ffd335aca284c286030e2b26f1a02a0441748f46 (patch) | |
| tree | bcc1c241621fe159ae7ef178122fb41c5f23eb00 /hsnew.h | |
| parent | d47da18958b5214def5127e201f60668c566d9bb (diff) | |
| download | mazeoflife-ffd335aca284c286030e2b26f1a02a0441748f46.tar.gz mazeoflife-ffd335aca284c286030e2b26f1a02a0441748f46.tar.bz2 mazeoflife-ffd335aca284c286030e2b26f1a02a0441748f46.zip | |
Started rewriting game from scratch with SDL2
Only the title screen is currently implemented
Diffstat (limited to 'hsnew.h')
| -rw-r--r-- | hsnew.h | 35 |
1 files changed, 0 insertions, 35 deletions
| diff --git a/hsnew.h b/hsnew.h deleted file mode 100644 index 123ac53..0000000 --- a/hsnew.h +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | #ifndef HSNEW_H | ||
| 2 | #define HSNEW_H | ||
| 3 | |||
| 4 | class NewHighscoreState : public State { | ||
| 5 | public: | ||
| 6 | NewHighscoreState(int level); | ||
| 7 | void input(SDL_keysym key); | ||
| 8 | void render(SDL_Surface* screen); | ||
| 9 | |||
| 10 | private: | ||
| 11 | class NewHighscoreList : public HighscoreList { | ||
| 12 | public: | ||
| 13 | NewHighscoreList(int level); | ||
| 14 | int getNewPos(); | ||
| 15 | void addToList(char* name); | ||
| 16 | |||
| 17 | private: | ||
| 18 | int newpos; | ||
| 19 | }; | ||
| 20 | |||
| 21 | SDL_Surface* list; | ||
| 22 | SDL_Surface* options; | ||
| 23 | SDL_Surface* pointer; | ||
| 24 | int selection; | ||
| 25 | int level; | ||
| 26 | int newpos; | ||
| 27 | int lp; | ||
| 28 | char* hsname; | ||
| 29 | bool enterName; | ||
| 30 | SDL_Rect rntSpace; | ||
| 31 | SDL_Surface* newName; | ||
| 32 | NewHighscoreList* lhl; | ||
| 33 | }; | ||
| 34 | |||
| 35 | #endif | ||
