108 lines
3.1 KiB
C
108 lines
3.1 KiB
C
/************************/
|
||
/* battleMenu.h */
|
||
/************************/
|
||
#ifndef _BATTLE_MENU_H_
|
||
#define _BATTLE_MENU_H_
|
||
|
||
#define AI_NONE 0
|
||
#define AI_ATTACK 1
|
||
#define AI_GUARD 2
|
||
#define AI_SELECT 3
|
||
#define AI_ESCAPE 4
|
||
|
||
extern int AI;
|
||
extern DWORD PauseAI;
|
||
|
||
// BattleBpFlag????㴻<>
|
||
#define BATTLE_BP_JOIN ( 1 << 0 ) // 𨚫·
|
||
#define BATTLE_BP_PLAYER_MENU_NON ( 1 << 1 ) // ???????????
|
||
#define BATTLE_BP_BOOMERANG ( 1 << 2 ) // ?????
|
||
#define BATTLE_BP_PET_MENU_NON ( 1 << 3 ) // ?????????
|
||
#define BATTLE_BP_ENEMY_SURPRISAL ( 1 << 4 ) // <20>?自?▄?????自???????
|
||
#define BATTLE_BP_PLAYER_SURPRISAL ( 1 << 5 ) // ??????自?▄?????
|
||
|
||
// ??????????
|
||
#define BATTLE_BUF_SIZE 4
|
||
#define BATTLE_COMMAND_SIZE 4096
|
||
// ???????更??
|
||
extern char BattleCmd[ BATTLE_COMMAND_SIZE ];
|
||
extern char BattleCmdBak[ BATTLE_BUF_SIZE ][ BATTLE_COMMAND_SIZE ];
|
||
// ???????更???????
|
||
extern int BattleCmdReadPointer;
|
||
extern int BattleCmdWritePointer;
|
||
// ???????更????????
|
||
//extern char BattleCmdBak[];
|
||
// ???𤅕┤更??
|
||
extern char BattleStatus[ BATTLE_COMMAND_SIZE ];
|
||
extern char BattleStatusBak[ BATTLE_BUF_SIZE ][ BATTLE_COMMAND_SIZE ];
|
||
// ???𤅕┤更???????
|
||
extern int BattleStatusReadPointer;
|
||
extern int BattleStatusWritePointer;
|
||
|
||
// ???𤅕┤更????????
|
||
//extern char BattleStatusBak[];
|
||
// ???𤅕┤更????????
|
||
//extern char BattleStatusBak2[];
|
||
// ??????????
|
||
extern int battleMenuFlag2;
|
||
// 姙希?<3F>?吻?
|
||
extern int BattleMyNo;
|
||
// ·卯??姙希???
|
||
extern int BattleMyMp;
|
||
// ·卯?皥掋????
|
||
extern int BattleEscFlag;
|
||
// ????????????
|
||
extern int BattlePetStMenCnt;
|
||
// 𨚫·???吻???????
|
||
extern int battlePetNoBak;
|
||
// 𨚫·???吻????????
|
||
extern int battlePetNoBak2;
|
||
|
||
// ?????
|
||
extern int BattleBpFlag;
|
||
// ????向??????
|
||
extern int BattleAnimFlag;
|
||
// ???𤒼媈???
|
||
extern BOOL BattleTurnReceiveFlag;
|
||
#ifdef PK_SYSTEM_TIMER_BY_ZHU
|
||
extern BOOL BattleCntDownRest;
|
||
extern BOOL SendToServer;
|
||
extern DWORD BattleCntDown;
|
||
#define BATTLE_CNT_DOWN_TIME 30000
|
||
#endif
|
||
extern int BattleCliTurnNo;
|
||
// ??????????吻?
|
||
extern int BattleSvTurnNo;
|
||
|
||
// ·卯??????????
|
||
extern BOOL BattleResultWndFlag;
|
||
|
||
#ifdef _HUNDRED_KILL
|
||
extern BOOL BattleHundredFlag;
|
||
#endif
|
||
|
||
// ????????? *********************************************************/
|
||
void BattleMenuProc( void );
|
||
// ??????「??? *****************************************************/
|
||
void ClearBattleButton( void );
|
||
// ?????????? ********************************************************/
|
||
void InitBattleMenu( void );
|
||
// ????向??????????? ********************************************/
|
||
void CheckBattleAnimFlag( void );
|
||
// ?鎅??匠鎅?????? ********************************************/
|
||
int CheckBattle1P2P( void );
|
||
// ▊??????牙𦲁 ***********************************************************/
|
||
void HpMeterDisp( int no );
|
||
// <20>〈?牙𦲁 ************************************************************************/
|
||
void BattleNameDisp( void );
|
||
#ifdef _BATTLESKILL // (祥褫羲) Syu ADD 桵須撮夔賡醱
|
||
void BattleSetWazaHitBox( int no , int typeflag ) ;
|
||
#endif
|
||
#ifdef PK_SYSTEM_TIMER_BY_ZHU
|
||
void BattleDown();
|
||
#endif
|
||
void battleMenuFix(void); // 党葩桵須AI蛌遙腔BUG
|
||
|
||
#endif
|
||
|