chuyiwen_gmsv/include/npc_door.h

32 lines
1.1 KiB
C
Raw Normal View History

2016-12-24 08:45:52 +08:00
#ifndef __NPC_DOOR_H__
#define __NPC_DOOR_H__
BOOL NPC_DoorInit(int meindex );
void NPC_DoorTalked( int meindex , int talkerindex , char *msg , int color );
void NPC_DoorPreAttacked(int meindex , int attacker , float *dm);
void NPC_DoorPostOver( int meindex , int movedindex );
void NPC_DoorOff( int meindex , int movedindex );
void NPC_DoorWatch( int meindex, int moveindex, CHAR_ACTION act,
int x, int y, int dir, int* opt, int optlen );
int NPC_DoorSearchByName( char *name );
int NPC_DoorSearchByPosition( int fl , int x, int y );
void NPC_DoorLooked( int meindex , int lookedindex );
BOOL NPC_DoorRefreshOverFlg( int meind );
/* ְ<><D6B0>NPC<50><43><EFBFBD>ճ<EFBFBD><D5B3>۽<EFBFBD>ľ<EFBFBD><C4BE><EFBFBD>ã<EFBFBD>NPC<50><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD><D0BB><EFBFBD> npc_stepswitch.cë<63><C3AB>Ƿ */
int NPC_DoorSetPasswd( int meindex, char *pas );
int NPC_DoorGetPasswd( int meindex, char *out , int len );
void NPC_DoorFlip(int meindex , int doindex);
void NPC_DoorClose(int meindex , int doindex);
void NPC_DoorOpen(int meindex , int doindex );
void NPC_DoorAddSwitchCounter( int meindex , int i , int talker );
void NPC_DoorSetSwitchCounter( int meindex, int i , int doindex );
#endif