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 );
2017-01-13 23:37:03 +08:00
/* 职及NPC井日丑综今木月迕NPC棉皿夫玄戊伙卞勾中化反 npc_stepswitch.c毛心欠 */
2016-12-24 08:45:52 +08:00
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