19 lines
513 B
C
19 lines
513 B
C
|
// key configuration
|
||
|
// see https://sdl.beuc.net/sdl.wiki/SDLKey for keysyms
|
||
|
// for joypad support use a tool like antimicro
|
||
|
#define DPAD_UP SDLK_UP
|
||
|
#define DPAD_DOWN SDLK_DOWN
|
||
|
#define DPAD_LEFT SDLK_LEFT
|
||
|
#define DPAD_RIGHT SDLK_RIGHT
|
||
|
|
||
|
#define PAUSE_BUTTON SDLK_SPACE
|
||
|
#define QUIT_BUTTON SDLK_q
|
||
|
#define FS_BUTTON SDLK_f
|
||
|
|
||
|
// difficulty settings: 3/6/7 is a good balance
|
||
|
#define STARTING_HP 3
|
||
|
#define PLAYER_SPD 6
|
||
|
#define SPEED_MOD 7
|
||
|
|
||
|
// video scaling factor
|
||
|
#define SCALE_FACTOR 2
|