summaryrefslogtreecommitdiff
path: root/apps/plugins/snake2.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/snake2.c')
-rw-r--r--apps/plugins/snake2.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/plugins/snake2.c b/apps/plugins/snake2.c
index 1536840daf..094fd854eb 100644
--- a/apps/plugins/snake2.c
+++ b/apps/plugins/snake2.c
@@ -62,6 +62,18 @@ Head and Tail are stored
62 #define TOP_X4 548 /* x-coord of the lowerright item (hi-score) */ 62 #define TOP_X4 548 /* x-coord of the lowerright item (hi-score) */
63 #define TOP_Y1 8 /* y-coord of the top row of items */ 63 #define TOP_Y1 8 /* y-coord of the top row of items */
64 #define TOP_Y2 50 /* y-coord of the bottom row of items */ 64 #define TOP_Y2 50 /* y-coord of the bottom row of items */
65#elif (LCD_WIDTH >= 360) && (LCD_HEIGHT >= 400)
66 #define MULTIPLIER 12 /*Modifier for porting on other screens*/
67 #define MODIFIER_1 12
68 #define MODIFIER_2 10
69 #define CENTER_X 12
70 #define CENTER_Y 40
71 #define TOP_X1 34 /* x-coord of the upperleft item (game type) */
72 #define TOP_X2 320 /* x-coord of the upperright item (maze type) */
73 #define TOP_X3 42 /* x-coord of the lowerleft item (speed) */
74 #define TOP_X4 314 /* x-coord of the lowerright item (hi-score) */
75 #define TOP_Y1 4 /* y-coord of the top row of items */
76 #define TOP_Y2 25 /* y-coord of the bottom row of items */
65#elif (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) 77#elif (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240)
66 #define MULTIPLIER 10 /*Modifier for porting on other screens*/ 78 #define MULTIPLIER 10 /*Modifier for porting on other screens*/
67 #define MODIFIER_1 10 79 #define MODIFIER_1 10
@@ -446,6 +458,9 @@ CONFIG_KEYPAD == MROBE500_PAD
446#define SNAKE2_PLAYPAUSE BUTTON_PLAY 458#define SNAKE2_PLAYPAUSE BUTTON_PLAY
447#define SNAKE2_PLAYPAUSE_TEXT "PLAY" 459#define SNAKE2_PLAYPAUSE_TEXT "PLAY"
448 460
461#elif CONFIG_KEYPAD == SHANLING_Q1_PAD
462/* use touchscreen */
463
449#else 464#else
450#error No keymap defined! 465#error No keymap defined!
451#endif 466#endif