MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | // MorgenGrauen MUDlib |
| 2 | // |
| 3 | // walking.h -- Definitionen und Properties fuer laufende INPCs |
| 4 | // |
| 5 | // $Id: walking.h,v 3.1 1997/02/12 13:17:14 Wargon Exp $ |
| 6 | |
| 7 | #ifndef __INPC_WALKING_H__ |
| 8 | #define __INPC_WALKING_H__ |
| 9 | |
| 10 | // Properties and types |
| 11 | #define P_INPC_LAST_PLAYER_CONTACT "inpc_last_player_contact" |
| 12 | #define P_INPC_LAST_ENVIRONMENT "inpc_last_environment" |
| 13 | #define P_INPC_WALK_MODE "inpc_walk_mode" |
| 14 | #define P_INPC_WALK_DELAYS "inpc_walk_delay" |
| 15 | #define P_INPC_WALK_FLAGS "inpc_walk_flags" |
| 16 | #define P_INPC_WALK_AREA "inpc_walk_area" |
| 17 | #define P_INPC_WALK_ROUTE "inpc_walk_route" |
| 18 | #define P_INPC_HOME "inpc_home" |
| 19 | |
| 20 | #define WF_MAY_LOAD 0x01 |
| 21 | #define WF_MAY_FOLLOW 0x02 |
| 22 | #define WF_MAY_USE_SPECIAL 0x04 |
| 23 | #define WF_MAY_WALK_BACK 0x08 |
| 24 | |
| 25 | #define WM_STOP 0 |
| 26 | #define WM_RANDOM 1 |
| 27 | #define WM_ROUTE 2 |
| 28 | #define WM_WALKTO 3 |
| 29 | #define WM_FOLLOW 4 |
| 30 | #define WM_FLEE 5 |
| 31 | |
| 32 | #endif // __INPC_WALKING_H__ |
| 33 | |
| 34 | #ifdef NEED_PROTOTYPES |
| 35 | #ifndef __INPC_WALKING_H_PROTOTYPES__ |
| 36 | #define __INPC_WALKING_H_PROTOTYPES__ |
| 37 | |
| 38 | // Prototypen |
| 39 | int may_enter_room(mixed room); |
| 40 | |
| 41 | #endif // __INPC_WALKING_H_PROTOTYPES__ |
| 42 | #endif // NEED_PROTOTYPES |
| 43 | |