1
0
Fork 0
forked from len0rd/rockbox

Star, Flipit, Rockblox, Sokoban, Wormlet: Add support for 640x480 screens

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21990 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2009-07-21 03:52:59 +00:00
parent debfd39882
commit 70deae01ff
8 changed files with 20 additions and 22 deletions

View file

@ -431,7 +431,9 @@ pegbox_pieces.9x7x1.bmp
/* Rockblox */ /* Rockblox */
#if LCD_DEPTH == 16 /* colour versions*/ #if LCD_DEPTH == 16 /* colour versions*/
#if (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) #if (LCD_WIDTH == 640) && (LCD_HEIGHT == 480)
rockblox_background.640x480x16.bmp
#elif (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240)
rockblox_background.320x240x16.bmp rockblox_background.320x240x16.bmp
#elif (LCD_WIDTH == 240) && (LCD_HEIGHT >= 320) #elif (LCD_WIDTH == 240) && (LCD_HEIGHT >= 320)
rockblox_background.240x320x16.bmp rockblox_background.240x320x16.bmp
@ -526,7 +528,7 @@ snake2_bottom.160x128x2.bmp
#endif #endif
#ifdef HAVE_LCD_COLOR #ifdef HAVE_LCD_COLOR
#if SOKOBAN_TILESIZE >= 14 #if SOKOBAN_TILESIZE >= 28
sokoban_tiles.28x28x16.bmp sokoban_tiles.28x28x16.bmp
#elif SOKOBAN_TILESIZE >= 14 #elif SOKOBAN_TILESIZE >= 14
sokoban_tiles.14x14x16.bmp sokoban_tiles.14x14x16.bmp

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 900 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -329,19 +329,16 @@ PLUGIN_HEADER
#if (LCD_WIDTH == 640) && (LCD_HEIGHT == 480) #if (LCD_WIDTH == 640) && (LCD_HEIGHT == 480)
#define BLOCK_WIDTH 30 #define BLOCK_WIDTH 24
#define BLOCK_HEIGHT 30 #define BLOCK_HEIGHT 24
#define BOARD_X 14 #define BOARD_X 172
#define BOARD_Y 2 #define BOARD_Y 0
#define PREVIEW_X 342 #define PREVIEW_X 24
#define PREVIEW_Y 482 #define PREVIEW_Y 22
#define LABEL_X 344 #define LABEL_X 482
#define SCORE_Y 58 #define SCORE_Y 50
#define LEVEL_Y 142 #define LEVEL_Y 140
#define LINES_Y 218 #define LINES_Y 210
#define HIGH_LABEL_X 344
#define HIGH_SCORE_Y 326
#define HIGH_LEVEL_Y 344
#elif (LCD_WIDTH == 480) && (LCD_HEIGHT == 640) #elif (LCD_WIDTH == 480) && (LCD_HEIGHT == 640)
@ -355,9 +352,6 @@ PLUGIN_HEADER
#define SCORE_Y 58 #define SCORE_Y 58
#define LEVEL_Y 142 #define LEVEL_Y 142
#define LINES_Y 218 #define LINES_Y 218
#define HIGH_LABEL_X 344
#define HIGH_SCORE_Y 326
#define HIGH_LEVEL_Y 344
#elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240) #elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240)

View file

@ -376,14 +376,16 @@ PLUGIN_HEADER
#define ARGH_SIZE 6 #define ARGH_SIZE 6
#define SPEED 4 #define SPEED 4
#define MAX_WORM_SEGMENTS 512 #define MAX_WORM_SEGMENTS 512
#elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240) #elif ((LCD_WIDTH == 320) && (LCD_HEIGHT == 240)) || \
((LCD_WIDTH == 240) && ((LCD_HEIGHT == 320) || (LCD_HEIGHT == 400)))
#define FOOD_SIZE 7 #define FOOD_SIZE 7
#define ARGH_SIZE 8 #define ARGH_SIZE 8
#define SPEED 4 #define SPEED 4
#define MAX_WORM_SEGMENTS 512 #define MAX_WORM_SEGMENTS 512
#elif (LCD_WIDTH == 240) && ((LCD_HEIGHT == 320) || (LCD_HEIGHT == 400)) #elif ((LCD_WIDTH == 640) && (LCD_HEIGHT == 480)) || \
#define FOOD_SIZE 7 ((LCD_WIDTH == 480) && (LCD_HEIGHT == 640))
#define ARGH_SIZE 8 #define FOOD_SIZE 14
#define ARGH_SIZE 16
#define SPEED 4 #define SPEED 4
#define MAX_WORM_SEGMENTS 512 #define MAX_WORM_SEGMENTS 512
#endif #endif