📄 gift.h
字号:
/*
gift.h
随机物品相关函数声明
最后修改: 2007-06-19
*/
#ifndef FILE_GIFT_INCLUDED
#define FILE_GIFT_INCLUDED
typedef struct Gift_Struct
{
int m_nX;
int m_nY;
char m_byType; /* 0-坦克 1-手枪 2-定时 3-炸弹 4-船 5-坦克无敌 6-老家无敌 */
int m_byTiming;
} CGift;
/*
void SetStopTank(char byType);
char GetStopTank();
void SetProtectBase(char byType);
*/
void DrawGift(CGift *pThis); /* 画随机物 */
void ClearGift(CGift *pThis); /* 清除随机物 */
void DeleteGift(CGift *pThis); /* 删除随机物 */
void CreateGift(int nLX, int nLY, int byType); /* 创建随机物 */
void GiftTimer(); /* 计时 */
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -