52 lines
1.5 KiB
C
52 lines
1.5 KiB
C
![]() |
#ifndef __PET_H__
|
|||
|
#define __PET_H__
|
|||
|
|
|||
|
/*
|
|||
|
* ʸ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>ɬ<EFBFBD><EFBFBD>ƥ<EFBFBD>ʣ<EFBFBD>
|
|||
|
*/
|
|||
|
#include "version.h"
|
|||
|
#include "common.h"
|
|||
|
|
|||
|
#define PETFEEDTIME 60*60 // <20><><EFBFBD>ﵰι<EFB5B0><CEB9>ʱ<EFBFBD><CAB1>(<28><>)
|
|||
|
//#define PETFEEDTIME 5 // <20><><EFBFBD>ﵰι<EFB5B0><CEB9>ʱ<EFBFBD><CAB1>(<28><>)
|
|||
|
|
|||
|
int PET_DEBUG_initPetOne( int charaindex);
|
|||
|
int PET_dropPet( int charaindex, int havepetindex);
|
|||
|
int PET_dropPetFollow( int charaindex, int havepetindex, int fl, int x, int y);
|
|||
|
int PET_dropPetFLXY( int charaindex, int havepetindex, int fl, int x, int y);
|
|||
|
int PET_dropPetAbsolute( int petindex, int floor, int x, int y,BOOL net);
|
|||
|
int PET_createPetFromCharaIndex( int charaindex, int enemyindex);
|
|||
|
BOOL PET_SelectBattleEntryPet( int charaindex, int petarray);
|
|||
|
int PET_initCharOneArray( Char *ch);
|
|||
|
BOOL PET_isPutPoint( int fl,int x, int y);
|
|||
|
|
|||
|
|
|||
|
BOOL PET_getBaseForAllocpoint( int toindex, int *work);
|
|||
|
void PET_showEditBaseMsg( int charaindex, int toindex, int itemindex, int *work);
|
|||
|
|
|||
|
#ifdef _PET_EVOLUTION
|
|||
|
BOOL PET_getBaseAndSkill( int charaindex, int baseindex, int *base, int *skill, int flg);
|
|||
|
#endif
|
|||
|
BOOL CHAR_DelPetForIndex( int charaindex, int petindex);
|
|||
|
|
|||
|
#endif
|
|||
|
|
|||
|
#ifdef _PET_AMOI__E
|
|||
|
//typedef enum
|
|||
|
//{
|
|||
|
// PET_NOT_LIMIT = 0,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
// PET_NOT_DropTradeStreetVandor = 1,//<2F><><EFBFBD>ɶ<EFBFBD><C9B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD>
|
|||
|
// PET_NOT_Drop = 2,//<2F><><EFBFBD>ɶ<EFBFBD><C9B6><EFBFBD>
|
|||
|
// PET_NOT_Trade = 3,//<2F><><EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD>
|
|||
|
// PET_NOT_StreetVandor = 4,//<2F><><EFBFBD><EFBFBD><EFBFBD>ô˿<C3B4><CBBF><EFBFBD>
|
|||
|
// PET_NOT_TradeAndStreetVandor = 5,//<2F><><EFBFBD><EFBFBD><EFBFBD>ô˿<C3B4><CBBF><EFBFBD>
|
|||
|
//}PET_DUALTYPE;
|
|||
|
|
|||
|
#define PET_NOT_LIMIT 0x00000000
|
|||
|
#define PET_NOT_DROP 0x00000010
|
|||
|
#define PET_NOT_STREETVANDOR 0x00000100
|
|||
|
#define PET_NOT_TRADE 0x00001000
|
|||
|
#define PET_NOT_MAIL 0x00010000
|
|||
|
|
|||
|
#endif
|