MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | // MorgenGrauen MUDlib |
| 2 | // |
| 3 | // player.h -- player object defines |
| 4 | // |
| 5 | // $Id: player.h 7386 2010-01-22 14:59:05Z Zesstra $ |
| 6 | |
| 7 | #ifndef _PLAYER_H_ |
| 8 | #define _PLAYER_H_ |
| 9 | |
| 10 | #ifdef NEED_PROTOTYPES |
| 11 | #undef NEED_PROTOTYPES // we need only the properties here!! |
| 12 | #define PLAYER_TMP_NEED_PROTOTYPES |
| 13 | #endif |
| 14 | |
| 15 | #include "/sys/player/base.h" |
| 16 | #include "/sys/player/description.h" |
| 17 | #include "/sys/player/moving.h" |
| 18 | #include "/sys/player/filesys.h" |
| 19 | #include "/sys/player/potion.h" |
| 20 | #include "/sys/player/quest.h" |
| 21 | #include "/sys/player/skills.h" |
| 22 | #include "/sys/player/viewcmd.h" |
| 23 | #include "/sys/player/comm.h" |
| 24 | #include "/sys/player/fao.h" |
| 25 | #include <player/user_filter.h> |
| 26 | #include <daemon.h> |
| 27 | |
| 28 | #ifdef PLAYER_TMP_NEED_PROTOTYPES |
| 29 | #undef PLAYER_TMP_NEED_PROTOTYPES |
| 30 | #define NEED_PROTOTYPES |
| 31 | #endif |
| 32 | |
| 33 | #define P_LAST_COMMAND_ENV "last_command_env" |
| 34 | #define P_HISTMIN "histmin" |
| 35 | #define P_SHOW_ALIAS_PROCESSING "show_alias_processing" |
| 36 | #define P_DEFAULT_NOTIFY_FAIL "default_notify_fail" |
| 37 | #define P_NETDEAD_INFO "netdead_info" |
| 38 | #define P_NETDEAD_ENV "netdead_env" |
| 39 | #define P_IP_NAME "ip_name" |
| 40 | #define P_LAST_KILLER "last_killer" |
| 41 | #define P_ACTUAL_NOTIFY_FAIL "actual_notify_fail" |
| 42 | #define P_LEP "lep" |
| 43 | #define P_NEWBIE_GUIDE "newbie_guide" |
| 44 | |
| 45 | #define DeclareAutoload(name,param) \ |
| 46 | mlfp_create(({P_AUTOLOAD,name}),param) |
| 47 | |
| 48 | #define UndeclareAutoload(name) \ |
| 49 | mlfp_remove(({P_AUTOLOAD}),name) |
| 50 | |
| 51 | #define QueryAutoload(name) \ |
| 52 | mlfp_query(({P_AUTOLOAD,name})) |
| 53 | |
| 54 | #ifdef NEED_PROTOTYPES |
| 55 | varargs string _unparsed_args(int level); |
| 56 | #endif |
| 57 | |
| 58 | #endif |