forked from len0rd/rockbox
plugins: use lcd_putsf/lcd_putsxyf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8418a2c94a
commit
ab9fd1840b
52 changed files with 173 additions and 412 deletions
|
@ -1573,11 +1573,11 @@ static int brickmania_game_loop(void)
|
|||
|
||||
/* write life num */
|
||||
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
|
||||
rb->snprintf(s, sizeof(s), "L:%d", life);
|
||||
#define LIFE_STR "L:%d"
|
||||
#else
|
||||
rb->snprintf(s, sizeof(s), "Life: %d", life);
|
||||
#define LIFE_STR "Life: %d"
|
||||
#endif
|
||||
rb->lcd_putsxy(0, 0, s);
|
||||
rb->lcd_putsxyf(0, 0, LIFE_STR, life);
|
||||
|
||||
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
|
||||
rb->snprintf(s, sizeof(s), "L%d", level+1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue