1 #ifndef PANDORA_H_INCLUDED
2 #define PANDORA_H_INCLUDED
3 
4 
5 #define SCREENW 320
6 #define SCREENH 240
7 
8 
9 //For Uploading stats and downloading DLC's
10 #define PLATFORM_SUPPORTS_STATSUPLOAD
11 
12 #define CMD_UPLOAD_STATS_POST "curl --user-agent wizznicPandoraCurl --connect-timeout 10 --fail --silent --url "API_URL"/stats/commit --data-ascii "
13 #define CMD_CHECK_DLC_API_VERSION "curl --user-agent wizznicPandoraCurl --connect-timeout 10 --fail --silent --url "API_URL"/check/version"
14 #define CMD_DOWNLOAD_DLC_FILE "curl --user-agent wizznicPandoraCurl --connect-timeout 10 --fail --silent --url "API_URL"/packs/get/%s -o %s"
15 #define CMD_UPLOAD_DLC_FILE "curl --user-agent wizznicPandoraCurl --connect-timeout 10 --fail --silent --url "API_URL"/packs/add/level/ --data-binary \"@%s\""
16 
17 
18 //Audio
19 #define SOUND_RATE  22050
20 #define SOUND_FORMAT  AUDIO_S16
21 #define SOUND_BUFFERS 256
22 #define SOUND_MIX_CHANNELS 16
23 
24 #define PLATFORM_HELP_FILE        "data/menu/helppandora.png"
25 
26 //Button definitions
27 #define PLATFORM_BUTTON_UP        SDLK_UP
28 #define PLATFORM_BUTTON_DOWN      SDLK_DOWN
29 #define PLATFORM_BUTTON_LEFT      SDLK_LEFT
30 #define PLATFORM_BUTTON_RIGHT     SDLK_RIGHT
31 #define PLATFORM_BUTTON_Y         SDLK_PAGEUP
32 #define PLATFORM_BUTTON_X         SDLK_PAGEDOWN
33 #define PLATFORM_BUTTON_A         SDLK_HOME
34 #define PLATFORM_BUTTON_B         SDLK_END
35 #define PLATFORM_SHOULDER_LEFT    SDLK_RSHIFT
36 #define PLATFORM_SHOULLER_RIGHT   SDLK_RCTRL
37 #define PLATFORM_BUTTON_MENU      SDLK_LALT
38 #define PLATFORM_BUTTON_SELECT    SDLK_LCTRL
39 #define PLATFORM_BUTTON_VOLUP     0 //Not used
40 #define PLATFORM_BUTTON_VOLDOWN   0 //on Pandora
41 
42 #endif // PANDORA_H_INCLUDED
43