00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef _P_GLUE_H
00013 #define _P_GLUE_H
00014
00015
00016 int HandledCommand_sub(dbref player, dbref location, char *command);
00017 int HandledCommand(dbref player, dbref loc, char *command);
00018 void mech_remove_from_all_maps(MECH * mech);
00019 void mech_remove_from_all_maps_except(MECH * mech, int num);
00020 void zap_unneccessary_hcode(void);
00021 void LoadSpecialObjects(void);
00022 void ChangeSpecialObjects(int i);
00023 void SaveSpecialObjects(int i);
00024 void UpdateSpecialObjects(void);
00025 void *NewSpecialObject(int id, int type);
00026 void CreateNewSpecialObject(dbref player, dbref key);
00027 void DisposeSpecialObject(dbref player, dbref key);
00028 void Dump_Mech(dbref player, int type, char *typestr);
00029 void DumpMechs(dbref player);
00030 void DumpMaps(dbref player);
00031 int WhichSpecial(dbref key);
00032 int IsMech(dbref num);
00033 int IsAuto(dbref num);
00034 int IsMap(dbref num);
00035 void *FindObjectsData(dbref key);
00036 char *center_string(char *c, int len);
00037 void InitSpecialHash(int which);
00038 void handle_xcode(dbref player, dbref obj, int from, int to);
00039 void initialize_colorize(void);
00040 char *colorize(dbref player, char *from);
00041 void mecha_notify(dbref player, char *msg);
00042 void mecha_notify_except(dbref loc, dbref player, dbref exception,
00043 char *msg);
00044 void list_chashstats(dbref player);
00045 void ResetSpecialObjects(void);
00046 MAP *getMap(dbref d);
00047 MECH *getMech(dbref d);
00048
00049 #endif