summaryrefslogtreecommitdiff
path: root/src/screen/screen_settingKeys.h
blob: a58aacc96dd4da554e4c12c1b598bc46e50db734 (plain)
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

#ifndef SCREEN_SETTING_KEYS

#define SCREEN_SETTING_KEYS

#include "main.h"
extern void initScreenSettingKeys();
extern void drawScreenSettingKeys();
extern void eventScreenSettingKeys();
extern void quitScreenSettingKeys();

#define KEY_LENGTH	12

#define KEY_TUX_RIGHT_MOVE_UP		0
#define KEY_TUX_RIGHT_MOVE_RIGHT	1
#define KEY_TUX_RIGHT_MOVE_LEFT		2
#define KEY_TUX_RIGHT_MOVE_DOWN		3
#define KEY_TUX_RIGHT_SHOOT		4
#define KEY_TUX_RIGHT_SWITCH_WEAPON	5
#define KEY_TUX_LEFT_MOVE_UP		6
#define KEY_TUX_LEFT_MOVE_RIGHT		7
#define KEY_TUX_LEFT_MOVE_LEFT		8
#define KEY_TUX_LEFT_MOVE_DOWN		9
#define KEY_TUX_LEFT_SHOOT		10
#define KEY_TUX_LEFT_SWITCH_WEAPON	11

extern void initKeyTable();
extern int getKey(int n);
extern void quitKeyTable();
#endif