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????<3F>ѩ<EFBFBD>
|
|||
|
#define BATTLE_BP_JOIN ( 1 << 0 ) // <20>ӡP
|
|||
|
#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><>?<3F><>?<3F>e?????<3F><>???????
|
|||
|
#define BATTLE_BP_PLAYER_SURPRISAL ( 1 << 5 ) // ??????<3F><>?<3F>e?????
|
|||
|
|
|||
|
// ??????????
|
|||
|
#define BATTLE_BUF_SIZE 4
|
|||
|
#define BATTLE_COMMAND_SIZE 4096
|
|||
|
// ???????<3F><>??
|
|||
|
extern char BattleCmd[ BATTLE_COMMAND_SIZE ];
|
|||
|
extern char BattleCmdBak[ BATTLE_BUF_SIZE ][ BATTLE_COMMAND_SIZE ];
|
|||
|
// ???????<3F><>???????
|
|||
|
extern int BattleCmdReadPointer;
|
|||
|
extern int BattleCmdWritePointer;
|
|||
|
// ???????<3F><>????????
|
|||
|
//extern char BattleCmdBak[];
|
|||
|
// ???<3F>֢t<D6A2><74>??
|
|||
|
extern char BattleStatus[ BATTLE_COMMAND_SIZE ];
|
|||
|
extern char BattleStatusBak[ BATTLE_BUF_SIZE ][ BATTLE_COMMAND_SIZE ];
|
|||
|
// ???<3F>֢t<D6A2><74>???????
|
|||
|
extern int BattleStatusReadPointer;
|
|||
|
extern int BattleStatusWritePointer;
|
|||
|
|
|||
|
// ???<3F>֢t<D6A2><74>????????
|
|||
|
//extern char BattleStatusBak[];
|
|||
|
// ???<3F>֢t<D6A2><74>????????
|
|||
|
//extern char BattleStatusBak2[];
|
|||
|
// ??????????
|
|||
|
extern int battleMenuFlag2;
|
|||
|
// <20><><EFBFBD><EFBFBD>?<3F><>?<3F>k?
|
|||
|
extern int BattleMyNo;
|
|||
|
// <20>P<EFBFBD>f??<3F><><EFBFBD><EFBFBD>???
|
|||
|
extern int BattleMyMp;
|
|||
|
// <20>P<EFBFBD>f?<3F><><EFBFBD><EFBFBD>????
|
|||
|
extern int BattleEscFlag;
|
|||
|
// ????????????
|
|||
|
extern int BattlePetStMenCnt;
|
|||
|
// <20>ӡP???<3F>k???????
|
|||
|
extern int battlePetNoBak;
|
|||
|
// <20>ӡP???<3F>k????????
|
|||
|
extern int battlePetNoBak2;
|
|||
|
|
|||
|
// ?????
|
|||
|
extern int BattleBpFlag;
|
|||
|
// ????<3F>V??????
|
|||
|
extern int BattleAnimFlag;
|
|||
|
// ???<3F><><EFBFBD><EFBFBD>???
|
|||
|
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;
|
|||
|
// ??????????<3F>k?
|
|||
|
extern int BattleSvTurnNo;
|
|||
|
|
|||
|
// <20>P<EFBFBD>f??????????
|
|||
|
extern BOOL BattleResultWndFlag;
|
|||
|
|
|||
|
#ifdef _HUNDRED_KILL
|
|||
|
extern BOOL BattleHundredFlag;
|
|||
|
#endif
|
|||
|
|
|||
|
// ????????? *********************************************************/
|
|||
|
void BattleMenuProc( void );
|
|||
|
// ??????<3F>u??? *****************************************************/
|
|||
|
void ClearBattleButton( void );
|
|||
|
// ?????????? ********************************************************/
|
|||
|
void InitBattleMenu( void );
|
|||
|
// ????<3F>V??????????? ********************************************/
|
|||
|
void CheckBattleAnimFlag( void );
|
|||
|
// ?<3F><>??<3F>K<EFBFBD><4B>?????? ********************************************/
|
|||
|
int CheckBattle1P2P( void );
|
|||
|
// <20>o??????<3F><><EFBFBD><EFBFBD> ***********************************************************/
|
|||
|
void HpMeterDisp( int no );
|
|||
|
// <20><><EFBFBD>q?<3F><><EFBFBD><EFBFBD> ************************************************************************/
|
|||
|
void BattleNameDisp( void );
|
|||
|
#ifdef _BATTLESKILL // (<28><><EFBFBD>ɿ<EFBFBD>) Syu ADD ս<><D5BD><EFBFBD><EFBFBD><EFBFBD>ܽ<EFBFBD><DCBD><EFBFBD>
|
|||
|
void BattleSetWazaHitBox( int no , int typeflag ) ;
|
|||
|
#endif
|
|||
|
#ifdef PK_SYSTEM_TIMER_BY_ZHU
|
|||
|
void BattleDown();
|
|||
|
#endif
|
|||
|
void battleMenuFix(void); // <20><EFBFBD>ս<EFBFBD><D5BD>AIת<49><D7AA><EFBFBD><EFBFBD>BUG
|
|||
|
|
|||
|
#endif
|
|||
|
|