From 0edd86d0f0bc70084ccb7c6e2ddc3559c4610d2c Mon Sep 17 00:00:00 2001 From: Tom Ross Date: Thu, 18 Jan 2007 00:25:57 +0000 Subject: Add wormlet for the H10 5/6 GB. Seems to work well on the sim. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12057 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/SOURCES | 2 -- apps/plugins/wormlet.c | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index 72fdf7454e..2524a4c707 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -71,9 +71,7 @@ starfield.c video.c #endif vu_meter.c -#if !defined(IRIVER_H10_5GB) wormlet.c -#endif #ifdef CONFIG_RTC clock.c diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index b301a8ae11..fcfcb35513 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c @@ -185,6 +185,11 @@ PLUGIN_HEADER #define ARGH_SIZE 5 #define SPEED 10 #define MAX_WORM_SEGMENTS 128 +#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 128) +#define FOOD_SIZE 4 +#define ARGH_SIZE 5 +#define SPEED 9 +#define MAX_WORM_SEGMENTS 128 #elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) #define FOOD_SIZE 4 #define ARGH_SIZE 5 -- cgit v1.2.3