types.h

来自「Space Invaders game」· C头文件 代码 · 共 28 行

H
28
字号
typedef struct _setupdata {
	 char szAppName[10];
} SETUPDATA;

typedef struct _keys {
	 WORD wVirtkey;
	 int  iMessage;
	 WORD wRequest;
} KEYS;

typedef struct _gremlin {
	 struct _gremlin  *left;
	 struct _gremlin  *right;
	 int               alive;
	 int               value;
	 int               xpos;
	 int               ypos;
	 unsigned char    *object[3];
} GREMLIN, *GREMLINPTR;

typedef struct _bomb {
	 struct _bomb     *next;
	 int               xpos;
	 int               ypos;
} BOMB, *BOMBPTR;


⌨️ 快捷键说明

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