/************************************************************************ Realms of Aurealis James Rhone aka Vall of RoA mobproc.h ******** 100% Completely Original Code ******** *** BE AWARE OF ALL RIGHTS AND RESERVATIONS *** ******** 100% Completely Original Code ******** All rights reserved henceforth. Please note that no guarantees are associated with any code from Realms of Aurealis. All code which has been released to the general public has been done so with an 'as is' pretense. RoA is based on both Diku and CircleMUD and ALL licenses from both *MUST* be adhered to as well as the RoA license. *** Read, Learn, Understand, Improve *** *************************************************************************/ #ifndef ROA_MOBPROC_H #define ROA_MOBPROC_H struct mproc_type { char *arg; /* the function this mproc arg calls */ int (*mproc_fn)(chdata *ch, char *arg); }; // what type of mobproc command just executed... #define MP_NORMAL 0 #define MP_MIF 1 #define MP_MRANDOM 2 #define MP_MTARGET 3 #define MP_MTAG 4 #define MP_MTRIG 5 #define AN_MPROC(procname) int procname(chdata *ch, char *arg) AN_MPROC(do_mtag); AN_MPROC(do_mtarget); AN_MPROC(do_mtarget_zone); AN_MPROC(do_mtarget_set); AN_MPROC(do_mreset); AN_MPROC(do_mstart); AN_MPROC(do_mend); AN_MPROC(do_mif); AN_MPROC(do_mgoto); AN_MPROC(do_mpause); AN_MPROC(do_mrandom); AN_MPROC(do_mtele_zone); AN_MPROC(do_mhunt); AN_MPROC(do_mtrig_wait); AN_MPROC(do_mtrig_off); AN_MPROC(do_mtrig_on); AN_MPROC(do_mtrig_wax); AN_MPROC(do_mtrig_add); AN_MPROC(do_mtrig_delete); AN_MPROC(do_msoundsendchar); AN_MPROC(do_msoundsendroom); #endif // ROA_MOBPROC_H