summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorZakk Roberts <midk@rockbox.org>2006-03-21 08:27:30 +0000
committerZakk Roberts <midk@rockbox.org>2006-03-21 08:27:30 +0000
commit16f7aa76d049681f1aa3b3ca778b1d2be77d2231 (patch)
tree7517fc63869c048ec3b2b542c50b9e03cc17ecbb /apps/plugins
parentb26fd8c89dedab414f4a83cabedc7a8b21e0bfbe (diff)
FPS setting now LCD-specific and raised for a number of models - much smoother animations on the iPod 5G/Nano - probably smoother on the iRivers as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9148 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rwxr-xr-xapps/plugins/bubbles.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c
index 9e523fa744..f40f91ee58 100755
--- a/apps/plugins/bubbles.c
+++ b/apps/plugins/bubbles.c
@@ -43,9 +43,6 @@ PLUGIN_HEADER
#define BB_WIDTH 8
#define BB_LEVEL_HEIGHT BB_HEIGHT-2
-/* animation fps */
-#define MAX_FPS 20
-
/* various amount */
#define NUM_SCORES 10
#define NUM_LEVELS 100
@@ -109,6 +106,7 @@ PLUGIN_HEADER
#define XOFS 72
#define ROW_HEIGHT 18
#define ROW_INDENT 13
+#define MAX_FPS 40
/* 16x16 bubbles (H300, iPod Color) */
#elif (LCD_HEIGHT == 176) && (LCD_WIDTH == 220)
@@ -117,6 +115,7 @@ PLUGIN_HEADER
#define XOFS 46
#define ROW_HEIGHT 14
#define ROW_INDENT 8
+#define MAX_FPS 30
/* 16x16 bubbles (Gigabeat) */
#elif (LCD_HEIGHT == 320) && (LCD_WIDTH == 240)
@@ -125,6 +124,7 @@ PLUGIN_HEADER
#define XOFS 56
#define ROW_HEIGHT 14
#define ROW_INDENT 8
+#define MAX_FPS 20
/* 12x12 bubbles (iPod Nano) */
#elif (LCD_HEIGHT == 132) && (LCD_WIDTH == 176)
@@ -133,6 +133,7 @@ PLUGIN_HEADER
#define XOFS 40
#define ROW_HEIGHT 10
#define ROW_INDENT 6
+#define MAX_FPS 40
/* 12x12 bubbles (H100, iAudio X5, iPod 3G, iPod 4G grayscale) */
#elif (LCD_HEIGHT == 128) && (LCD_WIDTH == 160)
@@ -141,6 +142,7 @@ PLUGIN_HEADER
#define XOFS 33
#define ROW_HEIGHT 10
#define ROW_INDENT 6
+#define MAX_FPS 30
#else
#error BUBBLES: Unsupported LCD type