summaryrefslogtreecommitdiffstats
path: root/apps/plugins/wormlet.c
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-07-21 03:52:59 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-07-21 03:52:59 +0000
commit70deae01ffd67ec350e7f36bccfd0cf53265b5ef (patch)
tree7da99aeab5df2071219f3f0e89a176fddfba0dc8 /apps/plugins/wormlet.c
parentdebfd39882896e167e45950ce08ccb2934be529c (diff)
downloadrockbox-70deae01ffd67ec350e7f36bccfd0cf53265b5ef.tar.gz
rockbox-70deae01ffd67ec350e7f36bccfd0cf53265b5ef.zip
Star, Flipit, Rockblox, Sokoban, Wormlet: Add support for 640x480 screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21990 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/wormlet.c')
-rw-r--r--apps/plugins/wormlet.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index 4cc3d5cec1..2ef9f990f4 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -376,14 +376,16 @@ PLUGIN_HEADER
#define ARGH_SIZE 6
#define SPEED 4
#define MAX_WORM_SEGMENTS 512
-#elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240)
+#elif ((LCD_WIDTH == 320) && (LCD_HEIGHT == 240)) || \
+ ((LCD_WIDTH == 240) && ((LCD_HEIGHT == 320) || (LCD_HEIGHT == 400)))
#define FOOD_SIZE 7
#define ARGH_SIZE 8
#define SPEED 4
#define MAX_WORM_SEGMENTS 512
-#elif (LCD_WIDTH == 240) && ((LCD_HEIGHT == 320) || (LCD_HEIGHT == 400))
-#define FOOD_SIZE 7
-#define ARGH_SIZE 8
+#elif ((LCD_WIDTH == 640) && (LCD_HEIGHT == 480)) || \
+ ((LCD_WIDTH == 480) && (LCD_HEIGHT == 640))
+#define FOOD_SIZE 14
+#define ARGH_SIZE 16
#define SPEED 4
#define MAX_WORM_SEGMENTS 512
#endif