⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 game_display.c

📁 智原mp3 SDK 开发包 与巨力 有mp3 wma ogg decoder
💻 C
字号:
/************************
 *   mp3_display.c
 ************************/

#include <string.h>
#include "api.h"
#include "lcd.h"
#include "common.h"
#include "display.h"
#include "file_brower.h"
//#include "mp3_main.h"
//#include "lrc_parse.h"
//#include "txt_display.h"
//#include "txt_utile.h"
#include "res.h"
#include "res_show.h"
#include "ap_common.h"
#include "ui_main.h"
#include "prefer.h"
#include "gameblock.h"

void ui_show_data3(char *buf, UINT8 x, UINT8 y)
{        
    	while(1)
    	{
        	if(*buf!=0)bResShowPic(MBIT0+*buf-0x30, x, y);
        	else
            		break;
        	buf++;
        	x+=5;
    	}
}

void vshow_score(INT8U *num)
{
	ui_show_data3(num,97,24);
}

void vshow_speed()
{
	UINT8 buf1[6];
	
	my_sprintf(buf1, "%02d",(UINT16)(tUserPreference.game_speed));
	ui_show_data3(buf1,102,54);
}


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -