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.tar.gz
rockbox-0edd86d0f0bc70084ccb7c6e2ddc3559c4610d2c.zip
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 72fdf7454e..2524a4c707 100644
--- a/apps/plugins/SOURCES
+++ b/apps/plugins/SOURCES
@@ -71,9 +71,7 @@ starfield.c
71video.c 71video.c
72#endif 72#endif
73vu_meter.c 73vu_meter.c
74#if !defined(IRIVER_H10_5GB)
75wormlet.c 74wormlet.c
76#endif
77 75
78#ifdef CONFIG_RTC 76#ifdef CONFIG_RTC
79clock.c 77clock.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
185#define ARGH_SIZE 5 185#define ARGH_SIZE 5
186#define SPEED 10 186#define SPEED 10
187#define MAX_WORM_SEGMENTS 128 187#define MAX_WORM_SEGMENTS 128
188#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 128)
189#define FOOD_SIZE 4
190#define ARGH_SIZE 5
191#define SPEED 9
192#define MAX_WORM_SEGMENTS 128
188#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) 193#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128)
189#define FOOD_SIZE 4 194#define FOOD_SIZE 4
190#define ARGH_SIZE 5 195#define ARGH_SIZE 5