diff options
-rw-r--r-- | apps/plugins/xobox.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c index 5ceb326892..e87005a9c7 100644 --- a/apps/plugins/xobox.c +++ b/apps/plugins/xobox.c | |||
@@ -226,14 +226,14 @@ const unsigned char pics[2][8] = { | |||
226 | }; | 226 | }; |
227 | #elif CUBE_SIZE == 4 | 227 | #elif CUBE_SIZE == 4 |
228 | /* | 228 | /* |
229 | 01100000 0x18 - 10010000 0xe7 | 229 | 0110 0x6 - 1001 0x9 |
230 | 11110100 0x3c - 01100000 0xe7 | 230 | 1111 0xf - 0110 0x6 |
231 | 11110000 0x7e - 01100000 0xc3 | 231 | 1111 0xf - 0110 0x6 |
232 | 01100000 0xff - 10010000 0x00 | 232 | 0110 0x6 - 1001 0x9 |
233 | */ | 233 | */ |
234 | const unsigned char pics[2][4] = { | 234 | const unsigned char pics[2][4] = { |
235 | {0x60, 0xf0, 0xf0, 0x60}, /* Alien (QIX) */ | 235 | {0x6, 0xf, 0xf, 0x6}, /* Alien (QIX) */ |
236 | {0x90, 0x60, 0x60, 0x90} /* Player (XONIX) */ | 236 | {0x9, 0x6, 0x6, 0x9} /* Player (XONIX) */ |
237 | }; | 237 | }; |
238 | #else | 238 | #else |
239 | #error Incorrect CUBE_SIZE value. | 239 | #error Incorrect CUBE_SIZE value. |
@@ -459,8 +459,6 @@ static void refresh_board (void) | |||
459 | #if LCD_DEPTH>=2 | 459 | #if LCD_DEPTH>=2 |
460 | rb->lcd_set_foreground (PLR_COL); | 460 | rb->lcd_set_foreground (PLR_COL); |
461 | rb->lcd_set_background (board[player.j][player.i]); | 461 | rb->lcd_set_background (board[player.j][player.i]); |
462 | #else | ||
463 | rb->lcd_set_drawmode (DRMODE_SOLID); | ||
464 | #endif | 462 | #endif |
465 | rb->lcd_mono_bitmap (pics[PIC_PLAYER], player.i * CUBE_SIZE + BOARD_X, | 463 | rb->lcd_mono_bitmap (pics[PIC_PLAYER], player.i * CUBE_SIZE + BOARD_X, |
466 | player.j * CUBE_SIZE + BOARD_Y, CUBE_SIZE, CUBE_SIZE); | 464 | player.j * CUBE_SIZE + BOARD_Y, CUBE_SIZE, CUBE_SIZE); |
@@ -470,7 +468,7 @@ static void refresh_board (void) | |||
470 | rb->lcd_set_foreground (LCD_WHITE); | 468 | rb->lcd_set_foreground (LCD_WHITE); |
471 | rb->lcd_set_drawmode (DRMODE_FG); | 469 | rb->lcd_set_drawmode (DRMODE_FG); |
472 | #else | 470 | #else |
473 | rb->lcd_set_drawmode (DRMODE_SOLID|DRMODE_INVERSEVID); | 471 | rb->lcd_set_drawmode (DRMODE_SOLID); |
474 | #endif | 472 | #endif |
475 | for (j = 0; j < player.level + STARTING_QIXES; j++) | 473 | for (j = 0; j < player.level + STARTING_QIXES; j++) |
476 | rb->lcd_mono_bitmap (pics[PIC_QIX], qixes[j].x + BOARD_X, | 474 | rb->lcd_mono_bitmap (pics[PIC_QIX], qixes[j].x + BOARD_X, |