lcd.h

来自「日本的手持pda源码.wince下使用,完全开源」· C头文件 代码 · 共 58 行

H
58
字号
#ifndef __LCD_H__#define __LCD_H__#include "defs.h"struct vissprite{	byte *buf;	int x;	byte pal, pri, pad[6];};struct scan{	int bg[64];	int wnd[64];	byte buf[256];	//byte pal1[128];	un16 pal2[65];	//un32 pal4[64];	byte pri[256];	struct vissprite vs[16];	int ns, l, x, y, s, t, u, v, wx, wy, wt, wv;};struct obj{	byte y;	byte x;	byte pat;	byte flags;};struct lcd{	byte vbank[2][8192];	union	{		byte mem[256];		struct obj obj[40];	} oam;	byte pal[128];};extern struct lcd lcd;extern struct scan scan;#endif

⌨️ 快捷键说明

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