/************************************************************************ Realms of Aurealis James Rhone aka Vall of RoA roomproc.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_ROOMPROC_H #define ROA_ROOMPROC_H struct rproc_type { char *arg; /* the function this rproc arg calls */ int (*rproc_fn)(rmdata *r, char *arg); }; // what type of roomproc command just executed... #define RP_NORMAL 0 #define RP_RIF 1 #define RP_RRANDOM 2 #define RP_RTARGET 3 #define RP_RREMOTE 4 #define RP_RTAG 5 #define RP_RTRIG 6 #define AN_RPROC(procname) int procname(rmdata *r, char *arg) AN_RPROC(do_rif); AN_RPROC(do_rtarget); AN_RPROC(do_rtarget_zone); AN_RPROC(do_rtarget_set); AN_RPROC(do_rtag); AN_RPROC(do_rechochar); AN_RPROC(do_rexitlead); AN_RPROC(do_rexitvisible); AN_RPROC(do_rexitsecret); AN_RPROC(do_rsetremote); AN_RPROC(do_runsetremote); AN_RPROC(do_rtransmob); AN_RPROC(do_rtransobj); AN_RPROC(do_rteleport); AN_RPROC(do_rexitlock); AN_RPROC(do_rexitunlock); AN_RPROC(do_rexitclose); AN_RPROC(do_rexitopen); AN_RPROC(do_rexittoggle); AN_RPROC(do_rsoundsendchar); AN_RPROC(do_rsoundsendroom); AN_RPROC(do_rrandom); AN_RPROC(do_recho); AN_RPROC(do_rgoto); AN_RPROC(do_rreset); AN_RPROC(do_rstart); AN_RPROC(do_rend); AN_RPROC(do_rpause); AN_RPROC(do_rtrig_wait); AN_RPROC(do_rtrig_off); AN_RPROC(do_rtrig_on); AN_RPROC(do_rtrig_wax); AN_RPROC(do_rtrig_add); AN_RPROC(do_rtrig_delete); #endif // ROA_ROOMPROC_H