00001 /*************************************************************************** 00002 * Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, * 00003 * Michael Seifert, Hans Henrik Strfeldt, Tom Madsen, and Katja Nyboe. * 00004 * * 00005 * Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael * 00006 * Chastain, Michael Quan, and Mitchell Tse. * 00007 * * 00008 * In order to use any part of this Merc Diku Mud, you must comply with * 00009 * both the original Diku license in 'license.doc' as well the Merc * 00010 * license in 'license.txt'. In particular, you may not remove either of * 00011 * these copyright notices. * 00012 * * 00013 * Much time and thought has gone into this software and you are * 00014 * benefitting. We hope that you share your changes too. What goes * 00015 * around, comes around. * 00016 ***************************************************************************/ 00017 00018 /*************************************************************************** 00019 * ROM 2.4 is copyright 1993-1998 Russ Taylor * 00020 * ROM has been brought to you by the ROM consortium * 00021 * Russ Taylor (rtaylor@hypercube.org) * 00022 * Gabrielle Taylor (gtaylor@hypercube.org) * 00023 * Brian Moore (zump@rom.org) * 00024 * By using this code, you have agreed to follow the terms of the * 00025 * ROM license, in the file Rom24/doc/rom.license * 00026 ***************************************************************************/ 00027 00028 /*************************************************************************** 00029 * * 00030 * Based on MERC 2.2 MOBprograms by N'Atas-ha. * 00031 * Written and adapted to ROM 2.4 by * 00032 * Markku Nylander (markku.nylander@uta.fi) * 00033 * * 00034 ***************************************************************************/ 00035 00036 00037 struct mob_cmd_type 00038 { 00039 char * const name; 00040 DO_FUN * do_fun; 00041 }; 00042 00043 /* the command table itself */ 00044 extern const struct mob_cmd_type mob_cmd_table []; 00045 00046 /* 00047 * Command functions. 00048 * Defined in mob_cmds.c 00049 */ 00050 DECLARE_DO_FUN( do_mpasound ); 00051 DECLARE_DO_FUN( do_mpgecho ); 00052 DECLARE_DO_FUN( do_mpzecho ); 00053 DECLARE_DO_FUN( do_mpkill ); 00054 DECLARE_DO_FUN( do_mpassist ); 00055 DECLARE_DO_FUN( do_mpjunk ); 00056 DECLARE_DO_FUN( do_mpechoaround ); 00057 DECLARE_DO_FUN( do_mpecho ); 00058 DECLARE_DO_FUN( do_mpechoat ); 00059 DECLARE_DO_FUN( do_mpmload ); 00060 DECLARE_DO_FUN( do_mpoload ); 00061 DECLARE_DO_FUN( do_mppurge ); 00062 DECLARE_DO_FUN( do_mpgoto ); 00063 DECLARE_DO_FUN( do_mpat ); 00064 DECLARE_DO_FUN( do_mptransfer ); 00065 DECLARE_DO_FUN( do_mpgtransfer ); 00066 DECLARE_DO_FUN( do_mpforce ); 00067 DECLARE_DO_FUN( do_mpgforce ); 00068 DECLARE_DO_FUN( do_mpvforce ); 00069 DECLARE_DO_FUN( do_mpcast ); 00070 DECLARE_DO_FUN( do_mpdamage ); 00071 DECLARE_DO_FUN( do_mpremember ); 00072 DECLARE_DO_FUN( do_mpforget ); 00073 DECLARE_DO_FUN( do_mpdelay ); 00074 DECLARE_DO_FUN( do_mpcancel ); 00075 DECLARE_DO_FUN( do_mpcall ); 00076 DECLARE_DO_FUN( do_mpflee ); 00077 DECLARE_DO_FUN( do_mpotransfer ); 00078 DECLARE_DO_FUN( do_mpremove );
1.4.0