?? cbrun.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 + -