str_buf 44 modules/games/gui_snake.c char str_buf[40]; str_buf 302 modules/games/gui_snake.c sprintf(str_buf,lang_str(LANG_SNAKE_POINTS),points); str_buf 303 modules/games/gui_snake.c draw_string(camera_screen.disp_width / 2 - strlen(str_buf)*FONT_WIDTH/2,camera_screen.height/2-FONT_HEIGHT/2,str_buf, MAKE_COLOR(COLOR_GREY, COLOR_BLUE)); str_buf 451 modules/games/gui_snake.c sprintf(str_buf, lang_str(LANG_SNAKE_POINTS), points); str_buf 452 modules/games/gui_snake.c draw_string(camera_screen.disp_width/2 - strlen(str_buf)*FONT_WIDTH/2, camera_screen.height-FONT_HEIGHT-4, str_buf, MAKE_COLOR(COLOR_GREY, COLOR_BLUE)); str_buf 244 modules/games/gui_tetris.c char str_buf[100]; str_buf 246 modules/games/gui_tetris.c sprintf(str_buf, "High: %5d", game->stats.high); str_buf 247 modules/games/gui_tetris.c draw_string(tx, camera_screen.height - yo * 11, str_buf, cl); str_buf 248 modules/games/gui_tetris.c sprintf(str_buf, "Points: %5d", game->stats.score); str_buf 249 modules/games/gui_tetris.c draw_string(tx, camera_screen.height - yo * 10, str_buf, cl); str_buf 250 modules/games/gui_tetris.c sprintf(str_buf, "Lines: %5d", game->stats.lines); str_buf 251 modules/games/gui_tetris.c draw_string(tx, camera_screen.height - yo * 9, str_buf, cl); str_buf 252 modules/games/gui_tetris.c sprintf(str_buf, "Level: %5d", game->stats.level); str_buf 253 modules/games/gui_tetris.c draw_string(tx, camera_screen.height - yo * 8, str_buf, cl); str_buf 254 modules/games/gui_tetris.c sprintf(str_buf, "UP -> Pause"); str_buf 255 modules/games/gui_tetris.c draw_string(tx, camera_screen.height - yo * 6, str_buf, cl); str_buf 256 modules/games/gui_tetris.c sprintf(str_buf, "SET -> Rotate"); str_buf 257 modules/games/gui_tetris.c draw_string(tx, camera_screen.height - yo * 5, str_buf, cl); str_buf 260 modules/games/gui_tetris.c sprintf(str_buf, "Time: %2u:%02u", ttm->tm_hour, ttm->tm_min); str_buf 261 modules/games/gui_tetris.c draw_string(tx, camera_screen.height - yo * 3, str_buf, cl); str_buf 262 modules/games/gui_tetris.c sprintf(str_buf, "Batt: %3d%%", get_batt_perc()); str_buf 263 modules/games/gui_tetris.c draw_string(tx, camera_screen.height - yo * 2, str_buf, cl);