diff options
author | Tom Ross <midgey@rockbox.org> | 2007-01-18 00:25:57 +0000 |
---|---|---|
committer | Tom Ross <midgey@rockbox.org> | 2007-01-18 00:25:57 +0000 |
commit | 0edd86d0f0bc70084ccb7c6e2ddc3559c4610d2c (patch) | |
tree | e08cbe0249da3b2ad5e7852900083b4ceaa651cc | |
parent | 5f61bb9d64c59fd73f68a3126605d46ec23fd988 (diff) | |
download | rockbox-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
-rw-r--r-- | apps/plugins/SOURCES | 2 | ||||
-rw-r--r-- | 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 | |||
71 | video.c | 71 | video.c |
72 | #endif | 72 | #endif |
73 | vu_meter.c | 73 | vu_meter.c |
74 | #if !defined(IRIVER_H10_5GB) | ||
75 | wormlet.c | 74 | wormlet.c |
76 | #endif | ||
77 | 75 | ||
78 | #ifdef CONFIG_RTC | 76 | #ifdef CONFIG_RTC |
79 | clock.c | 77 | 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 | |||
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 |