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

📄 game.h

📁 此文件是LCM12864在LPC2131上的驱动代码
💻 H
字号:
#ifndef _game_h
#define _game_h
#define N 100
#include "config.h"
#include "LCM128645ZK.h"
#include <stdlib.h>
#include <time.h> 
#include <stdio.h> 
#define NULL 0
#define BEEP 1<<22

extern void Init(void);/*图形驱动*/
extern void Close(void);/*图形结束*/
extern void DrawK(void);/*开始画面*/
extern void GameOver(void);/*结束游戏*/
extern void GamePlay(void);/*玩游戏具体过程*/
extern void PrScore(void);/*输出成绩*/
extern void Init(void);/*图形驱动*/
extern void DrawK(void);
//extern uint8 rectangle(uint8 flood.x0,uint8 flood.y0,uint8 flood.x1,uint8 flood.y1);
extern int keyvalue (void);
extern void amain(void);
//extern void srand(void);
extern void GameOver(void);
#endif  

⌨️ 快捷键说明

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