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

📄 cbrun.h

📁 网页游戏赤壁
💻 H
字号:
/////////////
//	CBRun.h			:	v0040
//	Written by		:	Liu Gang
//	Compiler		:	Microsoft Visual C++ 4.2
//	Copyright (C)	:	1996 WayAhead Corporation
//	v0010			:	Nov.18.1996
//	v0030			:	Apr.2.1997, total changed
//	v0040			:	May.15.1997, fixed bugs in CreateBuild(), 
//						Harvest(), add some features in Repair(), Fight(), OnShip()
/////////////
// implementation file
// moving units, calculating units

#ifndef	__CBRUN_H__
#define	__CBRUN_H__
///////////////////////////////

// 用于事件的显示
// Nov.21.1997
#define	WM_SHOW_EVENT	10001

void RUN_RunUnits();


BOOL RUN_GetNextForward(struct CTRL_FRAME_STRUCT * pDraw,struct UNIT_STRUCT * pUnit);


void RUN_DrawUpAndDown(struct CTRL_FRAME_STRUCT * pDraw);

// 单挑
BOOL RUN_FIGHT_Single();
// 是否单挑
BOOL RUN_IfFight();
///////////////////////////////

///////////////////////////////
// 战斗记分,Nov.6.1997
struct RUN_COUNTDOWN
{
	int nBuildings;
	int nSoldiers;
	int nKilledGenerals;
	int nKilledBuildings;
	int nKilledSoldiers;
	int nTotalScore;
};

// 运行计数器
extern int RUN_nCounter;

///////////////////////////////
#endif

⌨️ 快捷键说明

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