summary refs log tree commit diff stats
path: root/hssubmit.h
blob: 243dab8c89b7b888cd832df7ecb039fae2b63cf3 (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
#ifndef HSSUBMIT_H
#define HSSUBMIT_H

class SubmitHighscoreListState : public State {
	public:
		SubmitHighscoreListState(char* hsname, int level);
		void input(SDL_keysym key);
		void render(SDL_Surface* screen);

	private:
		static int LoadHighscoreList(void* pParam);

		class SubmitHighscoreList : public GlobalHighscoreList {
			public:
				SubmitHighscoreList(char* hsname, int level);
				int getNewPos();
				bool hasFailed();

			private:
				int newpos;
		};

		SDL_Surface* list;
		SDL_Surface* options;
		SDL_Surface* pointer;
		char* hsname;
		int level;
		bool scoreSent;
		int selection;
		int newpos;
		bool fail;
};

#endif