summary refs log tree commit diff stats
path: root/hsnew.h
blob: 123ac5383ca2eb8f8f41795eda08fd55c17e9af5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef HSNEW_H
#define HSNEW_H

class NewHighscoreState : public State {
	public:
		NewHighscoreState(int level);
		void input(SDL_keysym key);
		void render(SDL_Surface* screen);

	private:
		class NewHighscoreList : public HighscoreList {
			public:
				NewHighscoreList(int level);
				int getNewPos();
				void addToList(char* name);

			private:
				int newpos;
		};

		SDL_Surface* list;
		SDL_Surface* options;
		SDL_Surface* pointer;
		int selection;
		int level;
		int newpos;
		int lp;
		char* hsname;
		bool enterName;
		SDL_Rect rntSpace;
		SDL_Surface* newName;
		NewHighscoreList* lhl;
};

#endif