A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

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

+20 -22
+4 -2
apps/plugins/bitmaps/native/SOURCES
··· 431 431 432 432 /* Rockblox */ 433 433 #if LCD_DEPTH == 16 /* colour versions*/ 434 - #if (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) 434 + #if (LCD_WIDTH == 640) && (LCD_HEIGHT == 480) 435 + rockblox_background.640x480x16.bmp 436 + #elif (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) 435 437 rockblox_background.320x240x16.bmp 436 438 #elif (LCD_WIDTH == 240) && (LCD_HEIGHT >= 320) 437 439 rockblox_background.240x320x16.bmp ··· 526 528 #endif 527 529 528 530 #ifdef HAVE_LCD_COLOR 529 - #if SOKOBAN_TILESIZE >= 14 531 + #if SOKOBAN_TILESIZE >= 28 530 532 sokoban_tiles.28x28x16.bmp 531 533 #elif SOKOBAN_TILESIZE >= 14 532 534 sokoban_tiles.14x14x16.bmp
apps/plugins/bitmaps/native/flipit_cursor.112x112x16.bmp

This is a binary file and will not be displayed.

apps/plugins/bitmaps/native/flipit_tokens.112x224x16.bmp

This is a binary file and will not be displayed.

apps/plugins/bitmaps/native/rockblox_background.640x480x16.bmp

This is a binary file and will not be displayed.

apps/plugins/bitmaps/native/sokoban_tiles.28x28x16.bmp

This is a binary file and will not be displayed.

apps/plugins/bitmaps/native/star_tiles.40x40.bmp

This is a binary file and will not be displayed.

+10 -16
apps/plugins/rockblox.c
··· 329 329 330 330 #if (LCD_WIDTH == 640) && (LCD_HEIGHT == 480) 331 331 332 - #define BLOCK_WIDTH 30 333 - #define BLOCK_HEIGHT 30 334 - #define BOARD_X 14 335 - #define BOARD_Y 2 336 - #define PREVIEW_X 342 337 - #define PREVIEW_Y 482 338 - #define LABEL_X 344 339 - #define SCORE_Y 58 340 - #define LEVEL_Y 142 341 - #define LINES_Y 218 342 - #define HIGH_LABEL_X 344 343 - #define HIGH_SCORE_Y 326 344 - #define HIGH_LEVEL_Y 344 332 + #define BLOCK_WIDTH 24 333 + #define BLOCK_HEIGHT 24 334 + #define BOARD_X 172 335 + #define BOARD_Y 0 336 + #define PREVIEW_X 24 337 + #define PREVIEW_Y 22 338 + #define LABEL_X 482 339 + #define SCORE_Y 50 340 + #define LEVEL_Y 140 341 + #define LINES_Y 210 345 342 346 343 #elif (LCD_WIDTH == 480) && (LCD_HEIGHT == 640) 347 344 ··· 355 352 #define SCORE_Y 58 356 353 #define LEVEL_Y 142 357 354 #define LINES_Y 218 358 - #define HIGH_LABEL_X 344 359 - #define HIGH_SCORE_Y 326 360 - #define HIGH_LEVEL_Y 344 361 355 362 356 #elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240) 363 357
+6 -4
apps/plugins/wormlet.c
··· 376 376 #define ARGH_SIZE 6 377 377 #define SPEED 4 378 378 #define MAX_WORM_SEGMENTS 512 379 - #elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240) 379 + #elif ((LCD_WIDTH == 320) && (LCD_HEIGHT == 240)) || \ 380 + ((LCD_WIDTH == 240) && ((LCD_HEIGHT == 320) || (LCD_HEIGHT == 400))) 380 381 #define FOOD_SIZE 7 381 382 #define ARGH_SIZE 8 382 383 #define SPEED 4 383 384 #define MAX_WORM_SEGMENTS 512 384 - #elif (LCD_WIDTH == 240) && ((LCD_HEIGHT == 320) || (LCD_HEIGHT == 400)) 385 - #define FOOD_SIZE 7 386 - #define ARGH_SIZE 8 385 + #elif ((LCD_WIDTH == 640) && (LCD_HEIGHT == 480)) || \ 386 + ((LCD_WIDTH == 480) && (LCD_HEIGHT == 640)) 387 + #define FOOD_SIZE 14 388 + #define ARGH_SIZE 16 387 389 #define SPEED 4 388 390 #define MAX_WORM_SEGMENTS 512 389 391 #endif