summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorTom Ross <midgey@rockbox.org>2007-01-18 00:25:57 +0000
committerTom Ross <midgey@rockbox.org>2007-01-18 00:25:57 +0000
commit0edd86d0f0bc70084ccb7c6e2ddc3559c4610d2c (patch)
treee08cbe0249da3b2ad5e7852900083b4ceaa651cc /apps/plugins
parent5f61bb9d64c59fd73f68a3126605d46ec23fd988 (diff)
downloadrockbox-0edd86d0f0bc70084ccb7c6e2ddc3559c4610d2c.zip
rockbox-0edd86d0f0bc70084ccb7c6e2ddc3559c4610d2c.tar.gz
rockbox-0edd86d0f0bc70084ccb7c6e2ddc3559c4610d2c.tar.bz2
rockbox-0edd86d0f0bc70084ccb7c6e2ddc3559c4610d2c.tar.xz
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
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/SOURCES2
-rw-r--r--apps/plugins/wormlet.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
index 72fdf74..2524a4c 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 b301a8a..fcfcb35 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