From 70deae01ffd67ec350e7f36bccfd0cf53265b5ef Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Tue, 21 Jul 2009 03:52:59 +0000 Subject: 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 --- apps/plugins/wormlet.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'apps/plugins/wormlet.c') diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index 4cc3d5c..2ef9f99 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 -- cgit v1.1