summary refs log tree commit diff stats
path: root/hslocal.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2009-10-18 15:24:07 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2009-10-18 15:24:07 -0400
commitc027f1b9cd6c9deb60931a7f9f75bb4ee130291b (patch)
tree49426a9cf3ee24434141c903b01481110b2808b6 /hslocal.h
parenta157cd82a86390f1fcb1a2086f86af5187e85a69 (diff)
downloadmazeoflife-c027f1b9cd6c9deb60931a7f9f75bb4ee130291b.tar.gz
mazeoflife-c027f1b9cd6c9deb60931a7f9f75bb4ee130291b.tar.bz2
mazeoflife-c027f1b9cd6c9deb60931a7f9f75bb4ee130291b.zip
Added local highscore list
You can now view and add to a local highscore list.

A change to State was necessary due to how the user's name would be entered into the highscore list and thus all states have been modified.

Refs #104
Diffstat (limited to 'hslocal.h')
-rw-r--r--hslocal.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/hslocal.h b/hslocal.h new file mode 100644 index 0000000..8708d03 --- /dev/null +++ b/hslocal.h
@@ -0,0 +1,18 @@
1#ifndef HSLOCAL_H
2#define HSLOCAL_H
3
4class LocalHighscoreListState : public State {
5 public:
6 LocalHighscoreListState(bool fromGame);
7 void input(SDL_keysym key);
8 void render(SDL_Surface* screen);
9
10 private:
11 SDL_Surface* list;
12 SDL_Surface* options;
13 SDL_Surface* pointer;
14 int selection;
15 bool fromGame;
16};
17
18#endif