gameinit.h

来自「bbs server linux平台下软件源码」· C头文件 代码 · 共 33 行

H
33
字号
#ifndef GameInitializeHeader#define GameInitializeHeader#include"gamedefs.h"#define setodd(val) (val%2 ? val--:val)#define getodd(val) (val%2 ? val-1:val)#if 0const char SectionStart = '[';const char SectionEnd = ']';#else#define SectionStart	'['#define SectionEnd		']'#endiftypedef struct _PadPoint {    unsigned int start, end;    unsigned int pos;    int orientation;} PadPoint;typedef struct _BoxPoint {    unsigned int x, y;} BoxPoint;void DestroyPad(void);Boolean InitPad(void);void DestroyData(void);Boolean InitData(char *fname);#endif

⌨️ 快捷键说明

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