/
mudd/docs/html/
mudd/world/
******************************************************************************
* Locke's   __ -based on merc v2.2-____        NIM Server Software           *
* ___ ___  (__)__    __ __   __ ___| G| v4.0   Version 4.0 GOLD EDITION      *
* |  /   \  __|  \__/  |  | |  |     O|        documentation release         *
* |       ||  |        |  \_|  | ()  L|        Hallow's Eve 1999             *
* |    |  ||  |  |__|  |       |     D|                                      *
* |____|__|___|__|  |__|\___/__|______|        http://www.nimud.org/nimud    *
*   n a m e l e s s i n c a r n a t e          dedicated to chris cool       *
******************************************************************************

Documentation:

liscense.doc    important liscensing information by which users are bound
admin.doc       information on administrating nimud
setup.doc       setup information for a brand new nimud
scripts.doc     NIMScripts outline and information
history.doc     the history of nimud -- how and why
coding.doc      making changes to the code (for new coders)
release.doc     version release information
manifest.doc    this file - a list of files, their descriptions and purpose



****************************** FILE MANIFEST *********************************

Description and Directory of \src\

act_cfg  c          19,268
act_comm c          27,878
act_info c         110,428
act_move c          40,041
act_obj  c          75,031
backup   bat            97
bit      c          36,428
board    c          24,636
board    h           1,468
comm     c          48,100
comm     h           2,234
db       c          76,969
debug    bat            32
def      c          70,171
defaults h           1,634
door     c          17,252
fight    c          72,354
fight    h             166
function c          52,684
function h           3,924
furn     c           2,220
go       bat            31
go       pif           967
handler  c          34,124
interp   c          28,603
language c           2,189
magic    c          10,478
makefile               606
makefile dos           606
makefile grok        2,729
makefile isles         610
makefile nim         1,244
mem      c          45,273
mem      h             536
money    c          13,678
mount    c           3,425
mud      h         104,190
nanny    c          63,035
network  h           6,637
nim              1,330,647
oc       c         128,838
oc       h             881
parse    c           6,838
save     c          30,252
script   c          20,629
script   h           2,083
shop     c          34,931
shop     h             345
skills   c          22,286
skills   h           4,604
spells   c             372
spells   h           9,083
startup              1,445
startup  save        1,453
string   c          34,242
track    c           9,453
update   c          41,599
wiz      c          35,578
wiz_info c          57,089
wiz_set  c          17,751
worldgen c          10,327
xrand    c           3,996

64 file(s)       2,872,628 bytes


************************** FILE DESCRIPTIONS *********************************


----------  act_cfg  c          19,268  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional contents for file act_cfg.c.                      *
 * Contains mostly user-specific options for connection and gameplay.        *
 *****************************************************************************/

DECLARE_DO_FUN( do_clear     );
DECLARE_DO_FUN( do_blank     );
DECLARE_DO_FUN( do_brief     );
DECLARE_DO_FUN( do_compact   );
DECLARE_DO_FUN( do_holylight );
DECLARE_DO_FUN( do_pager     );
DECLARE_DO_FUN( do_prompt    );
DECLARE_DO_FUN( do_password  );
DECLARE_DO_FUN( do_ansi      );
DECLARE_DO_FUN( do_config    );
DECLARE_DO_FUN( do_notify    );

----------  act_comm c          27,878  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional contents for file act_comm.c                      *
 * Contains mostly in-game communication routines, not network parameters.   *
 *****************************************************************************/
 
DECLARE_DO_FUN( do_immtalk   );
DECLARE_DO_FUN( do_contact   );
DECLARE_DO_FUN( do_wish      );
void shout         args( ( CD *ch, CD *pRoom, char *message, int dir ) );
DECLARE_DO_FUN( do_shout     );
void say_to        args( ( CHAR_DATA *ch, CHAR_DATA *victim, char *argument ));
DECLARE_DO_FUN( do_say       );
DECLARE_DO_FUN( do_smote     );
DECLARE_DO_FUN( do_speak     );
DECLARE_DO_FUN( do_ooc       );
DECLARE_DO_FUN( do_emote     );
DECLARE_DO_FUN( do_bug       );
DECLARE_DO_FUN( do_idea      );
DECLARE_DO_FUN( do_typo      );
DECLARE_DO_FUN( do_qui       );
DECLARE_DO_FUN( do_quit      );
DECLARE_DO_FUN( do_save      );
DECLARE_DO_FUN( do_follow    );
void add_follower  args( ( CHAR_DATA *ch, CHAR_DATA *master ) );
void stop_follower args( ( CHAR_DATA *ch ) );
void die_follower  args( ( CHAR_DATA *ch ) );
DECLARE_DO_FUN( do_order     );

----------  act_info c         110,428  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional contents for file act_info.c                      *
 * Contains mostly informational routines for the player.                    *
 *****************************************************************************/

extern char *  const   where_name  [];
 
void scan_direction       args( ( CHAR_DATA *ch, int dir ) );
char *format_obj_to_char  args( ( OD *obj, CD *ch, bool fShort ) );
void show_list_to_char    args( ( OD *list, CD *ch, bool fShort, 
                                  bool fShowNothing ) );
char *show_list_to_char2  args( ( OD *list, CD *ch, char *prefix ) );
void show_peek_to_char    args( ( OD *list, CD *ch, bool fShort,
                                  bool fShowNothing, int percent ) );
 /* Omitted: show_char_to_char_0 */                                  
void show_equipment       args( ( CHAR_DATA *ch, CHAR_DATA *tch ) );
void show_equipment_table args( ( CHAR_DATA *ch, CHAR_DATA *victim ) );
void show_size            args( ( CHAR_DATA *ch, CHAR_DATA *tch ) );
 /* Omitted: show_char_to_char_1 */
void show_char_to_char    args( ( CHAR_DATA *list, CHAR_DATA *ch ) );
bool check_blind          args( ( CHAR_DATA *ch ) );
 /* Omitted: char_look_list      */
DECLARE_DO_FUN( do_look      );
DECLARE_DO_FUN( do_examine   );
DECLARE_DO_FUN( do_exits     );
DECLARE_DO_FUN( do_score     );
DECLARE_DO_FUN( do_time      );
DECLARE_DO_FUN( do_help      );
DECLARE_DO_FUN( do_who       );
void show_inventory       args( ( CD *ch, CD *tch, bool fPeek ) );
DECLARE_DO_FUN( do_inventory );
void show_belt            args( ( CHAR_DATA *victim, CHAR_DATA *ch ) );
DECLARE_DO_FUN( do_peek      );
DECLARE_DO_FUN( do_equipment );
DECLARE_DO_FUN( do_compare   );
DECLARE_DO_FUN( do_credits   );
DECLARE_DO_FUN( do_consider  );
DECLARE_DO_FUN( do_report    );
DECLARE_DO_FUN( do_socials   );
DECLARE_DO_FUN( do_commands  );
DECLARE_DO_FUN( do_wizlist   );

----------  act_move c          40,041  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional contents for file act_move.c                      *
 * Contains movement and positional procedures, and some skill routines.     *
 *****************************************************************************/
 
extern char *  const   dir_name        [];
extern char *  const   dir_rev         [];
extern char *  const   dir_letter      [];
extern const   sh_int  rev_dir         [];
extern const   sh_int  movement_loss   [SECT_MAX];

void hide_check      args( ( CHAR_DATA *ch, ROOM_INDEX_DATA *in_room ) );
/* void flee            args( ( CHAR_DATA *ch, CHAR_DATA *fighting, int d ) ); */
void leave_strings   args( ( CD *ch, OD *obj, int sect, int door ) );
void arrive_strings  args( ( CD *ch, OD *obj, int sect, int door ) );
bool lose_movement   args( ( CD *ch, RID *in_room, RID *to_room ) );
bool check_move      args( ( CD *ch, int door, int depth, RID *in_room,
                             RID *to_room, OD **obj ) );
void move_char       args( ( CHAR_DATA *ch, int door ) );
DECLARE_DO_FUN( do_north     );
DECLARE_DO_FUN( do_east      );
DECLARE_DO_FUN( do_south     );
DECLARE_DO_FUN( do_west      );
DECLARE_DO_FUN( do_up        );
DECLARE_DO_FUN( do_down      );
DECLARE_DO_FUN( do_nw        );
DECLARE_DO_FUN( do_ne        );
DECLARE_DO_FUN( do_sw        );
DECLARE_DO_FUN( do_se        );
DECLARE_DO_FUN( do_drag      );
DECLARE_DO_FUN( do_hitch     );
DECLARE_DO_FUN( do_unhitch   );
DECLARE_DO_FUN( do_enter     );
DECLARE_DO_FUN( do_leave     );
DECLARE_DO_FUN( do_stand     );
DECLARE_DO_FUN( do_rest      );
DECLARE_DO_FUN( do_sit       );
DECLARE_DO_FUN( do_sleep     );
DECLARE_DO_FUN( do_wake      );
DECLARE_DO_FUN( do_sneak     );
DECLARE_DO_FUN( do_hide      );

----------  act_obj  c          75,031  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional contents for file act_obj.c                       *
 * Contains object manipulation functions and commands.                      *
 *****************************************************************************/

bool can_wield           args( ( CHAR_DATA *ch, OBJ_DATA *obj ));
bool draw_obj            args( ( CHAR_DATA *ch, OBJ_DATA *obj ) );
bool sheath_obj          args( ( CHAR_DATA *ch, OBJ_DATA *obj ) );
bool remove_obj          args( ( CHAR_DATA *ch, int iWear, bool fReplace ) );
int  get_wear_location   args( ( int loc ) );
void wear_obj args( ( CHAR_DATA *ch, OBJ_DATA *obj, bool fReplace, int loc ) );
DECLARE_DO_FUN( do_wear     );
DECLARE_DO_FUN( do_sheath   );
DECLARE_DO_FUN( do_draw     );
DECLARE_DO_FUN( do_remove   );
DECLARE_DO_FUN( do_wield    );
DECLARE_DO_FUN( do_hold     );
void get_obj  args( ( CHAR_DATA *ch, OBJ_DATA *obj, OBJ_DATA *container, bool fMoney ) );
DECLARE_DO_FUN( do_get      );
DECLARE_DO_FUN( do_put      );
DECLARE_DO_FUN( do_dump     );
DECLARE_DO_FUN( do_drop     );
DECLARE_DO_FUN( do_give     );
DECLARE_DO_FUN( do_fill     );
DECLARE_DO_FUN( do_pour     );
DECLARE_DO_FUN( do_drink    );
DECLARE_DO_FUN( do_eat      );
DECLARE_DO_FUN( do_quaff    );
DECLARE_DO_FUN( do_recite   );
DECLARE_DO_FUN( do_brandish );
DECLARE_DO_FUN( do_zap      );
DECLARE_DO_FUN( do_steal    );
DECLARE_DO_FUN( do_light    );
DECLARE_DO_FUN( do_extinguish );
DECLARE_DO_FUN( do_swap     );

----------  backup   bat            97  09-13-95  5:26p

Saves and zips your code on DOS machines.
Make changes to your own path names.

----------  bit      c          36,428  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional contents for file bit.c                           *
 * Contains string-to-numeral and numeral-to-string conversions.             *
 *****************************************************************************/
 
char * item_type_name    args( ( int item_type   ) );
int    item_name_type    args( ( char *name      ) );
char * affect_loc_name   args( ( int location    ) );
int    affect_name_loc   args( ( char *name      ) );
char * affect_bit_name   args( ( int vector      ) );
int    affect_name_bit   args( ( char *buf       ) );
char * extra_bit_name    args( ( int extra_flags ) );
int    extra_name_bit    args( ( char *buf       ) );
char * room_bit_name     args( ( int room_flags  ) );
int    room_name_bit     args( ( char *buf       ) );
char * act_bit_name      args( ( int act         ) );
char * plr_bit_name      args( ( int act         ) );
int    act_name_bit      args( ( char *buf       ) );
char * wear_bit_name     args( ( int wear        ) );
int    wear_name_bit     args( ( char *buf       ) );
char * wear_loc_name     args( ( int wearloc     ) );
int    wear_name_loc     args( ( char *buf       ) );
char * sector_name       args( ( int sect        ) );
int    sector_number     args( ( char *argument  ) );
char * position_name     args( ( int pos         ) );
int    size_number       args( ( char *argument  ) );
char * size_name         args( ( int size        ) );
int    get_dir           args( ( char *arg       ) );
int    exit_name_bit     args( ( char *arg       ) );
char * exit_bit_name     args( ( int flag        ) );
int    get_mob_sex_number args(( char *arg       ) );
int    get_proc_type     args( ( char *arg       ) );
char * show_proc_type    args( ( int proc_type   ) );
char * shop_bit_name     args( ( int flag        ) );
int    shop_name_bit     args( ( char *name      ) );
char * name_good_code    args( ( int good_code   ) );
char * name_stat_range   args( ( int stat        ) );

----------  board    c          24,636  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional contents for file board.c                         *
 * Contains the current bulletin board and mail systems for internal mud use.*
 *****************************************************************************/
 
/* Omitted board listings. */

void fread_board   args( ( int b ) );
void load_boards   args( ( void ) );
void note_remove   args( ( CHAR_DATA *ch, NOTE_DATA *pnote, int b ) );
void save_board    args( ( int b ) );
bool is_note_to    args( ( CHAR_DATA *ch, int board, NOTE_DATA *pnote ) );
void note_attach   args( ( CHAR_DATA *ch ) );
DECLARE_DO_FUN( do_note    );

----------  board    h           1,468  03-30-99 12:56p


----------  comm     c          48,100  03-30-99 12:56p

/*****************************************************************************
 * Functional and variable contents for file comm.c                          *
 * Contains all hard-comm routines with each descriptor.                     *
 *****************************************************************************/
 
extern DESCRIPTOR_DATA * descriptor_list;
extern FILE *          fpReserve;
extern bool            newlock;
extern bool            wizlock;
extern bool            shut_down;
extern char            str_boot_time[MAX_INPUT_LENGTH];
extern time_t          current_time;
extern int             packet[60];
extern bool            QUIET_STC;

 /* Omitted: init_socket          */
void descriptor_output   args( ( void ) );
void process_input       args( ( void ) );
 /* Omitted: game_loop_mac_msdos  */
#if defined(unix)
void clean_descriptors   args( ( void ) );
void poll_descriptors    args( ( int control ) );
 /* Omitted: game_loop_unix       */
void new_descriptor      args( ( int control ) );
#endif
void close_socket        args( ( DESCRIPTOR_DATA *dclose ) );
 /* Omitted: read_from_descriptor */
 /* Omitted: read_from_buffer     */
void display_prompt      args( ( CHAR_DATA *ch ) );
bool process_output      args( ( DESCRIPTOR_DATA *d, bool fPrompt ) );
void write_to_buffer     args( ( DESCRIPTOR_DATA *d, const char *txt, 
                                 int length ) );
bool write_to_descriptor args( ( int desc, char *txt, int length ) );
void parse_snoop         args( ( DESCRIPTOR_DATA *d, const char *txt ) );
bool write_to_descr_nice args( ( DESCRIPTOR_DATA *d ) );
void stop_idling         args( ( CHAR_DATA *ch ) );
void send_to_char        args( ( const char *txt, CHAR_DATA *ch ) );
void page_to_char        args( ( const char *txt, CHAR_DATA *ch ) );
void show_string         args( ( DESCRIPTOR_DATA *d, char *input) );
void ansi_color          args( ( const char *txt, CHAR_DATA *ch ) );
void global              args( ( char *buf, int level, int toggler,
                                 int toggler2 ) );
void write_global        args( ( char *buf ) );
void act                 args( ( const char *format, CD *ch,
                                 const void *arg1, const void *arg2, 
                                 int type ) );
#if defined(macintosh)
int gettimeofday( struct timeval *tp, void *tzp )
#endif
DECLARE_DO_FUN( do_global );

----------  comm     h           2,234  03-30-99 12:56p


----------  db       c          76,969  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional contents for file db.c                            *
 * Contains all database, mud-wide configuration, and manipulation routines. *
 *****************************************************************************/

extern HELP_DATA *        help_first;
extern HELP_DATA *        help_last;
extern SHOP_DATA *        shop_first;
extern SHOP_DATA *        shop_last;
extern char               bug_buf           [2*MAX_INPUT_LENGTH];
extern CHAR_DATA *        char_list;
extern char *             help_greeting;
extern char               log_buf           [2*MAX_INPUT_LENGTH];
extern OBJ_DATA *         object_list;
extern TIME_INFO_DATA     time_info;
extern WEATHER_DATA       weather_info;
extern MOB_INDEX_DATA *   mob_index_hash    [MAX_KEY_HASH];
extern OBJ_INDEX_DATA *   obj_index_hash    [MAX_KEY_HASH];
extern ROOM_INDEX_DATA *  room_index_hash   [MAX_KEY_HASH];
extern SCRIPT_DATA *      script_index_hash [MAX_KEY_HASH];
extern char *             string_hash       [MAX_KEY_HASH];
extern AREA_DATA *        area_first;
extern AREA_DATA *        area_last;
extern int                LOG_LEVEL;
extern bool               fBootDb;
extern FILE *             fpArea;
extern char               strArea           [MAX_INPUT_LENGTH];
extern struct social_type social_table      [MAX_SOCIALS];
extern int                social_count;

void    boot_db          args( ( int control ) );
 /* Omitted: fread/load_area            */
 /* Omitted: fread/load_helps           */
 /* Omitted: fread/load_mobiles         */
 /* Omitted: fread/load_objects         */
 /* Omitted: fread/load_rooms           */
 /* Omitted: fread/load_socials         */
 /* Omitted: fread/load_scripts         */
 /* Omitted: fread/load_config          */
 /* Omitted: fread/load_content         */
 /* Omitted: dump_section_0             */
 /* Omitted: dump_section_s             */
 /* Omitted: set_mob_hp                 */
void    fix_exits        args( ( void ) );
CD *    create_mobile    args( ( MOB_INDEX_DATA *pMobIndex ) );
OD *    create_object    args( ( OBJ_INDEX_DATA *pObjIndex, int level ) );
MID *   get_mob_index    args( ( int vnum ) );
OID *   get_obj_index    args( ( int vnum ) );
RID *   get_room_index   args( ( int vnum ) );
SCD *   get_script_index args( ( int vnum ) );
void    obj_strings      args( ( OBJ_DATA *obj ) );
void    mob_strings      args( ( CHAR_DATA *mob ) );
void    bug              args( ( const char *str, int param ) );
void    log_string       args( ( const char *str ) );
/* Omitted: dump_section_0             */
/* Omitted: dump_section_s             */
void    tail_chain       args( ( void ) );

----------  debug    bat            32  06-13-99 12:45p

Runs the debugger on the a.out file, for MSDOS systems using DJGPP.
Make changes to reflect your own pathnames.

----------  def      c          70,171  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file def.c                       *
 * Contains most tables and mainly constant declarations.                    *
 *****************************************************************************/

extern char *   const                         percent_hit      [];
extern char *   const                         percent_tired    [];
extern          const   struct coin_type      coin_table       [MAX_COIN];
extern          const   struct race_type      race_table       [MAX_RACE];
extern          const   struct lang_type      lang_table       [MAX_LANGUAGE];
extern          const   struct color_data     color_table      [];
extern          const   struct attack_type    attack_table     [];
extern          const   struct str_app_type   str_app          [26];
extern          const   struct int_app_type   int_app          [26];
extern          const   struct wis_app_type   wis_app          [26];
extern          const   struct dex_app_type   dex_app          [26];
extern          const   struct con_app_type   con_app          [26];
extern          const   struct liq_type       liq_table        [LIQ_MAX];
extern          const   struct comp_type      comp_table       [];
extern          const   struct skill_type     skill_table      [MAX_SKILL];
extern          const   struct group_type     group_table      [];

----------  defaults h           1,634  03-30-99 12:56p


----------  door     c          17,252  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file door.c                      *
 * Contains most tables and mainly constant declarations.                    *
 *****************************************************************************/

char *  get_direction   args( ( char *arg ) );
int     find_door       args( ( CHAR_DATA *ch, char *arg ) );
DECLARE_DO_FUN( do_open     );
DECLARE_DO_FUN( do_close    );
OD *    has_key         args( ( CHAR_DATA *ch, int key ) );
DECLARE_DO_FUN( do_lock     );
DECLARE_DO_FUN( do_unlock   );
DECLARE_DO_FUN( do_pick     );

----------  fight    c          72,354  03-30-99 12:56p

/*****************************************************************************
 * Variable and function declarations for file fight.c                       *
 * This file constitutes the entire combat system.                           *
 *****************************************************************************/

void    death_cry       args( ( CHAR_DATA *ch ) );
bool    is_safe         args( ( CHAR_DATA *ch, CHAR_DATA *victim ) );
void    make_corpse     args( ( CHAR_DATA *ch ) );
void    oroc            args( ( CHAR_DATA *ch, CHAR_DATA *victim ) );
void    raw_kill        args( ( CHAR_DATA *victim ) );
void    set_fighting    args( ( CHAR_DATA *ch, CHAR_DATA *victim ) );
/* void    disarm          args( ( CHAR_DATA *ch, CHAR_DATA *victim ) ); */

void    hand_attack     args( ( CHAR_DATA *ch, CHAR_DATA *victim ) );
void    mobile_attack   args( ( CHAR_DATA *ch, CHAR_DATA *victim ) );
void    weapon_attack   args( ( CHAR_DATA *ch, OBJ_DATA *obj, CHAR_DATA *victim ) );
void    beat_armor      args( ( CHAR_DATA *victim, int idx ) );
void    damage          args( ( CHAR_DATA *ch, CHAR_DATA *victim, int dam ) );
void    update_pos      args( ( CHAR_DATA *victim ) );
void    stop_fighting   args( ( CHAR_DATA *ch, bool fBoth ) );
void    violence_update args( ( void ) );
DECLARE_DO_FUN( do_kill     );
DECLARE_DO_FUN( do_backstab );
DECLARE_DO_FUN( do_flee     );
DECLARE_DO_FUN( do_rescue   );
DECLARE_DO_FUN( do_retreat  );
DECLARE_DO_FUN( do_fight    );
DECLARE_DO_FUN( do_sla      );
DECLARE_DO_FUN( do_slay     );
DECLARE_DO_FUN( do_shoot    );
DECLARE_DO_FUN( do_reload   );
DECLARE_HIT_FUN(   hit_vorpal        );
DECLARE_HIT_FUN(   hit_suck_disarm   );

----------  fight    h             166  03-30-99 12:56p


----------  function c          52,684  03-30-99 12:56p


----------  function h           3,924  03-30-99 12:56p


----------  furn     c           2,220  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file furn.c                      *
 * Contains all furniture routines.                                          *
 *****************************************************************************/
 
void  show_occupants_to_char args( ( OBJ_DATA *obj, CHAR_DATA *ch ) );
int     count_occupants      args( ( OBJ_DATA *obj ) );
bool    has_occupant         args( ( OBJ_DATA *obj ) );
bool    occupant             args( ( OBJ_DATA *obj ) );
CD *    hitched              args( ( OBJ_DATA *obj ) );
OD *    get_furn_here        args( ( CHAR_DATA *ch, char *argument ) );
void    set_furn             args( ( CHAR_DATA *ch, OBJ_DATA *obj ) );

----------  go       bat            31  06-13-99 12:45p

Runs the a.out file with go32, for DJGPP on MSDOS systems.
Change this batch file to reflect your own path names.

----------  go       pif           967  05-28-98 11:17a

Lame Windows 98 file.

----------  handler  c          34,124  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file handler.c                   *
 * Contains all char/object/room manipulation procedures                     *
 *****************************************************************************/

int     get_trust     args( ( CHAR_DATA *ch ) );
int     get_curr_str     args( ( CHAR_DATA *ch ) );
int     get_curr_int     args( ( CHAR_DATA *ch ) );
int     get_curr_wis     args( ( CHAR_DATA *ch ) );
int     get_curr_dex     args( ( CHAR_DATA *ch ) );
int     get_curr_con     args( ( CHAR_DATA *ch ) );
int     can_carry_w     args( ( CHAR_DATA *ch ) );
void    affect_remove   args( ( CHAR_DATA *ch, AFFECT_DATA *paf ) );
void    affect_strip    args( ( CHAR_DATA *ch, int sn ) );
void    affect_to_char  args( ( CHAR_DATA *ch, AFFECT_DATA *paf ) );
bool     is_affected     args( ( CHAR_DATA *ch, int sn ) );
void     affect_join     args( ( CHAR_DATA *ch, AFFECT_DATA *paf ) );
void     char_from_room     args( ( CHAR_DATA *ch ) );
void     char_to_room     args( ( CHAR_DATA *ch, ROOM_INDEX_DATA *pRoomIndex ) );
void  obj_to_char_money args( ( OBJ_DATA *obj, CHAR_DATA *ch ) );
void    obj_to_char     args( ( OBJ_DATA *obj, CHAR_DATA *ch ) );
void     obj_from_char     args( ( OBJ_DATA *obj ) );
int     apply_ac        args( ( OBJ_DATA *obj, int iWear ) );
OD *    get_item_held   args( ( CHAR_DATA *obj, int iWear ) );
OD *     get_eq_char     args( ( CHAR_DATA *ch, int iWear ) );
int     hand_empty      args( ( CHAR_DATA *ch ) );
int     wield_free      args( ( CHAR_DATA *ch, OBJ_DATA *obj ) );
int     belt_empty      args( ( CHAR_DATA *ch ) );
bool    unequip_char    args( ( CHAR_DATA *ch, OBJ_DATA *obj ) );
void    equip_char      args( ( CHAR_DATA *ch, OBJ_DATA *obj, int iWear ) );
int     count_obj_list     args( ( OBJ_INDEX_DATA *obj, OBJ_DATA *list ) );
void     obj_from_room     args( ( OBJ_DATA *obj ) );
void     obj_to_room     args( ( OBJ_DATA *obj, ROOM_INDEX_DATA *pRoomIndex ) );
void     obj_to_obj     args( ( OBJ_DATA *obj, OBJ_DATA *obj_to ) );
void     obj_from_obj     args( ( OBJ_DATA *obj ) );
void     extract_obj     args( ( OBJ_DATA *obj ) );
void     extract_char     args( ( CHAR_DATA *ch, bool fPull ) );
CD *     get_char_room     args( ( CHAR_DATA *ch, char *argument ) );
CD *     get_char_world     args( ( CHAR_DATA *ch, char *argument ) );
OD *     get_obj_type     args( ( OBJ_INDEX_DATA *pObjIndexData ) );
int     get_obj_number  args( ( OBJ_DATA *obj ) );
int     get_obj_weight  args( ( OBJ_DATA *obj ) );
int     room_is_dark    args( ( ROOM_INDEX_DATA *pRoomIndex ) );
bool    room_is_private args( ( ROOM_INDEX_DATA *pRoomIndex ) );
bool    can_see         args( ( CHAR_DATA *ch, CHAR_DATA *victim ) );
bool    can_see_obj     args( ( CHAR_DATA *ch, OBJ_DATA *obj ) );
bool    can_drop_obj    args( ( CHAR_DATA *ch, OBJ_DATA *obj ) );
char *  get_extra_descr args( ( const char *name, EXTRA_DESCR_DATA *ed ) );
bool    use_tool        args( ( OBJ_DATA *obj, int bit ) );
int     PERCENTAGE      args( ( int amount, int max ) );
bool    skill_check     args( ( CHAR_DATA *ch, int sn, int modifier ) );
int     wield_weight    args( ( CHAR_DATA *ch ) );

----------  interp   c          28,603  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file interp.c                    *
 * Handles all input interpretation for the mail command set.                *
 *****************************************************************************/

extern  const   struct  cmd_type        cmd_table       [];

DECLARE_DO_FUN( do_comlist  );
void    interpret       args( ( CHAR_DATA *ch, char *argument ) );
 /* Omitted: check_social       */

----------  language c           2,189  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file language.c                  *
 * Does the cool stuff for language garbling and stuff like that.            *
 *****************************************************************************/

char *  garble_text     args( ( char *text, int prcnt_comp ) );
int     check_speech    args( ( CHAR_DATA *ch, CHAR_DATA *speaker,
                               int gsn ) );

----------  magic    c          10,478  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file magic.c                     *
 * This file is not really functioning at this time.                         *
 *****************************************************************************/
int    skill_lookup    args( ( const char *name ) );
int    slot_lookup    args( ( int slot ) );
bool    saves_spell    args( ( int level, CHAR_DATA *victim ) );
void    obj_cast_spell    args( ( int sn, int level, CHAR_DATA *ch,
                    CHAR_DATA *victim, OBJ_DATA *obj ) );

----------  makefile               606  06-13-99 12:45p

Standard makefile, works with both DJGPP and Unix I think.

----------  makefile dos           606  06-13-99 12:45p

Makefile specifically for MSDOS systems using DJGPP
(Dj Delorie's GNU C Compiler)

----------  makefile grok        2,729  03-30-99  1:10p

Makefile for GrokMUD, the other major nimud at MUGS.

----------  makefile isles         610  03-30-99 12:56p

Makefile for The Isles, used to run the home Nimud server.
http://www.nimud.org

----------  makefile nim         1,244  03-30-99  1:09p

The Nim makefile for standard Unix/Ultrix systems.

----------  mem      c          45,273  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file mem.c                       *
 * Handles all memory creation and disposing, and the free lists.            *
 *****************************************************************************/

/* Omitted free lists and zero structures, they need not be global. */

extern int    num_pulse;       /* Remaining pulses until reboot. */

extern char * string_space;
extern char * top_string;
extern char   str_empty[1];

extern int top_affect;
extern int top_area;
extern int top_ed;
extern int top_exit;
extern int top_help;
extern int top_mob_index;
extern int top_obj_index;
extern int top_reset;
extern int top_room;
extern int top_shop;
extern int top_variable;
extern int top_trigger;
extern int top_script;
extern int top_char_data;
extern int top_pcdata;
extern int top_attack;
extern int top_obj;
extern int top_descriptor;
extern int top_note;

extern int top_vnum_script;
extern int top_vnum_mob;
extern int top_vnum_obj;
extern int top_vnum_room;

DD *    new_descriptor_data   args( ( void ) );
void    free_descriptor       args( ( DESCRIPTOR_DATA *d ) );
CD *    new_char_data         args( ( void ) );
void    free_char             args( ( CHAR_DATA *ch ) );
PCD *   new_pc_data           args( ( void ) );
void    free_pc_data          args( ( PC_DATA *ch ) );
OD *    new_obj               args( ( void ) );
void    free_obj              args( ( OBJ_DATA *pObj ) );
RD *    new_reset_data        args( ( void ) );
void    free_reset_data       args( ( RESET_DATA *pReset ) );
AD *    new_area              args( ( void ) );
void    free_area             args( ( AREA_DATA *pArea ) );
EDD *   new_extra_descr       args( ( void ) );
void    free_extra_descr      args( ( EXTRA_DESCR_DATA *pExtra ) );
ED *    new_exit              args( ( void ) );
void    free_exit             args( ( EXIT_DATA *pExit ) );
ATD *   new_attack            args( ( void ) );
void    free_attack           args( ( ATTACK_DATA *attack ) );
RID *   new_room_index        args( ( void ) );
void    free_room_index       args( ( ROOM_INDEX_DATA *pRoom ) );
AFD *   new_affect            args( ( void ) );
void    free_affect           args( ( AFFECT_DATA* pAf ) );
OID *   new_obj_index         args( ( void ) );
void    free_obj_index        args( ( OBJ_INDEX_DATA *pObj ) );
SD *    new_shop              args( ( void ) );
void    free_shop             args( ( SHOP_DATA *pShop ) );
MID *   new_mob_index         args( ( void ) );
void    free_mob_index        args( ( MOB_INDEX_DATA *pMob ) );
VD *    new_variable          args( ( void ) );
TD *    new_trigger           args( ( void ) );
void    free_variable         args( ( VARIABLE_DATA *var ) );
void    free_trigger          args( ( TRIGGER_DATA *trig ) );
SCD *   new_script            args( ( void ) );
void    free_script           args( ( SCRIPT_DATA *scr ) );
char    fread_letter          args( ( FILE *fp ) );
int     fread_number          args( ( FILE *fp ) );
char *  fread_string          args( ( FILE *fp ) );
char *  fread_string_eol      args( ( FILE *fp ) );
void    fread_to_eol          args( ( FILE *fp ) );
char *  fread_word            args( ( FILE *fp ) );
void *  alloc_mem             args( ( int sMem ) );
void    free_mem              args( ( void *pMem, int sMem ) );
void *  alloc_perm            args( ( int sMem ) );
char *  str_dup               args( ( const char *str ) );
void    free_string           args( ( char *pstr ) );
DECLARE_DO_FUN( do_memory );

----------  mem      h             536  03-30-99 12:56p



----------  money    c          13,678  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file money.c                     *
 * Contains all money/object routines.                                       *
 *****************************************************************************/
 
void    update_money    args( ( OBJ_DATA *obj ) );
OD *    create_money    args( ( int amount, int type ) );
void    merge_money     args( ( CHAR_DATA *ch ) );
void    merge_money_obj args( ( OBJ_DATA *obj ) );
void    create_amount   args( ( int amount, CHAR_DATA *pMob,
                                ROOM_INDEX_DATA *pRoom, OBJ_DATA *pObj ) );
int     tally_coins     args( ( CHAR_DATA *mob ) );
int     tally_one_coin  args( ( CHAR_DATA *mob, int type, bool fContents ) );
int     tally_one_coin_obj  args( ( OBJ_DATA *obj, int type ) );
char *  name_amount     args( ( int amount ) );
void    strip_empty_money args( ( CHAR_DATA *ch ) );
char *  sub_coins       args( ( int amount, CHAR_DATA *ch ) );

----------  mount    c           3,425  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file mount.c                     *
 * Contains all mount/dismount routines.                                     *
 *****************************************************************************/

void dismount_char      args( ( CHAR_DATA *ch ) );
void mount_char         args( ( CHAR_DATA *ch, CHAR_DATA *victim ) );
DECLARE_DO_FUN( do_mount     );
DECLARE_DO_FUN( do_dismount  );

----------  mud      h         104,190  03-30-99 12:56p



----------  nanny    c          63,035  06-29-99  6:17p

/*****************************************************************************
 * Variable and functional declarations for file nanny.c                     *
 * Handles all new-connection and new-character code.                        *
 *****************************************************************************/

 /* Omitted: setup_race           */
 /* Omitted: new_char             */
void    nanny              args( ( DESCRIPTOR_DATA *d, char *argument ) );
 /* Omitted: nanny_check          */
 /* Omitted: check_parse_name     */
 /* Omitted: check_playing        */
 /* Omitted: check_reconnect      */
 /* Omitted: stop_idling          */
bool    apply_ok           args( ( CHAR_DATA *ch ) );
 /* Omitted: print_gen_menu       */
 /* Omitted: print_doc_menu       */
void    print_login_menu   args( ( CHAR_DATA *ch ) );

----------  network  h           6,637  03-30-99 12:56p



----------  oc       c         128,838  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file oc.c                        *
 * The online creation source code is contained herein.                      *
 *****************************************************************************/

AD *    get_area_data          args( ( int vnum ) );
AD *    get_vnum_area          args( ( int vnum ) );
char *  area_bit_name          args( ( int area_flags ) );
int     get_area_flags_number  args( ( char *argument ) );
void    aedit                  args( ( CHAR_DATA *ch, char *argument ) );
/* Omitted: redit_exit           */
void    redit                  args( ( CHAR_DATA *ch, char *argument ) );
void    oedit                  args( ( CHAR_DATA *ch, char *argument ) );
void    medit                  args( ( CHAR_DATA *ch, char *argument ) );
void    sedit                  args( ( CHAR_DATA *ch, char *argument ) );
DECLARE_DO_FUN( do_aedit  );
DECLARE_DO_FUN( do_redit  );
DECLARE_DO_FUN( do_oedit  );
DECLARE_DO_FUN( do_medit  );
DECLARE_DO_FUN( do_sedit  );
DECLARE_DO_FUN( do_mindex );
DECLARE_DO_FUN( do_sindex );
void value_breakdown           args( ( int type, int v1, int v2, int v3, int v4,
                                       CHAR_DATA *ch ) );
DECLARE_DO_FUN( do_oindex );
 /* Omitted: display_resets       */
 /* Omitted: add_reset            */
DECLARE_DO_FUN( do_resets );
DECLARE_DO_FUN( do_astat  );
 /* Omitted: save_area_list       */
 /* Omitted: save_mobiles         */
 /* Omitted: save_objects         */
 /* Omitted: save_rooms           */
 /* Omitted: save_area            */
DECLARE_DO_FUN( do_asave  );

----------  oc       h             881  03-30-99 12:56p


----------  parse    c           6,838  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file parse.c                     *
 * Contains all parsing routines for input.                                  *
 *****************************************************************************/

OD *    get_obj_list    args( ( CHAR_DATA *ch, char *argument,
                                OBJ_DATA *list ) );
OD *    get_obj_carry   args( ( CHAR_DATA *ch, char *argument ) );
OD *    get_obj_wear    args( ( CHAR_DATA *ch, char *argument ) );
OD *    get_obj_inv     args( ( CHAR_DATA *ch, char *argument ) );
OD *    get_obj_here    args( ( CHAR_DATA *ch, char *argument ) );
OD *    get_obj_world   args( ( CHAR_DATA *ch, char *argument ) );

----------  save     c          30,252  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file save.c                      *
 * Includes saving and loading of characters, and savable rooms.             *
 *****************************************************************************/

#define MAX_NEST        1000

extern CHAR_DATA *mount_list;
extern OBJ_DATA *      rgObjNest       [MAX_NEST];

 /* Omitted: fread/fwrite char */
 /* Omitted: fread/fwrite mob  */
void    fwrite_obj      args( ( OBJ_DATA *obj, FILE *fp, int iNest ) );
void    fread_obj       args( ( void *caller, int caller_type, FILE *fp ) );
void    save_char_obj    args( ( CHAR_DATA *ch ) );
bool    load_char_obj    args( ( DESCRIPTOR_DATA *d, char *name ) );

----------  script   c          20,629  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for script.c                         *
 * The script language and parser.                                           *
 *****************************************************************************/

DECLARE_DO_FUN( do_script   );
 /* Omitted internal parsing routines.   */
int script_update    args( ( void * caller, int type, int ttype,
                             CHAR_DATA *actor, OBJ_DATA *catalyst, char *astr,
                             char *bstr  ) );
void parse_script    args( ( TRIGGER_DATA *trig, void * caller, int type ) );
void trigger_list    args( ( OBJ_DATA *list, int ttype, CHAR_DATA  *actor,
                             OBJ_DATA *catalyst, char *astr, char *bstr ) );
VD *eval_function  args( ( void * caller, int type, char *exp ) );

----------  script   h           2,083  03-30-99 12:56p



----------  shop     c          34,931  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for shop.c                           *
 * The shop system and trading code.                                         *
 *****************************************************************************/

extern const     struct   goods_type    goods_table    [];

OD *    create_good        args( ( int good ) );
OD *    create_comp        args( ( int comp ) );
void    shop_list_to_char  args( ( CHAR_DATA *keeper, CHAR_DATA *ch ) );
OD *    get_shop_list_obj  args( ( CHAR_DATA *keeper, CHAR_DATA *ch, int number ) );
CD *    find_keeper        args( ( CHAR_DATA *ch, char *arg ) );
int     get_cost           args( ( CHAR_DATA *keeper, OBJ_DATA *obj, bool fBuy ) );
DECLARE_DO_FUN( do_list     );
DECLARE_DO_FUN( do_buy      );
DECLARE_DO_FUN( do_trade    );
DECLARE_DO_FUN( do_sell     );
DECLARE_DO_FUN( do_barter   );
DECLARE_DO_FUN( do_offer    );

----------  shop     h             345  03-30-99 12:56p



----------  skills   c          22,286  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for skills.c                         *
 * Skill routines.                                                           *
 *****************************************************************************/
bool    is_group_index     args( ( int sn ) );
int     group_lookup       args( ( char *name ) );
int     skill_lookup       args( ( const char *name ) );
int     slot_lookup        args( ( int slot ) );
int     group_slot_lookup  args( ( int slot ) );
char *  skill_level        args( ( int sn, int percent ) );
bool    advance_skill      args( ( CHAR_DATA *ch, int sn, int advance, int time_mod ) );
bool    has_prereq         args( ( CHAR_DATA *ch, int sn, bool fTell ) );
void    display_skills     args( ( CHAR_DATA *ch, int group ) );
DECLARE_DO_FUN( do_skills    );
DECLARE_DO_FUN( do_learn     );
DECLARE_DO_FUN( do_practice  );

----------  skills   h           4,604  03-30-99 12:56p



----------  spells   c             372  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for string.c                         *
 * Handles most string routines.                                             *
 *****************************************************************************/

void    smash_tilde     args( ( char *str ) );
bool    str_cmp         args( ( const char *astr, const char *bstr ) );
bool    str_prefix      args( ( const char *astr, const char *bstr ) );
bool    str_infix       args( ( const char *astr, const char *bstr ) );
bool    str_suffix      args( ( const char *astr, const char *bstr ) );
char *  capitalize      args( ( const char *str ) );
void    append_file     args( ( CHAR_DATA *ch, char *file, char *str ) );
char *  fix_string      args( ( const char *str ) );
char *  is_are          args( ( char *buf ) );
char *  smash_arg       args( ( char *text, char *name ) );
char *  smash_article   args( ( char *text ) );
char *  pluralize       args( ( char *argument ) );
char *  format_string   args( ( char *oldstring /*, bool fSpace */ ) );
char *  format_indent   args( ( char *oldstring, char *prefix, int width,
                                bool fEnd ) );
char *  replace_string  args( ( char *orig, char *old, char *new ) );
char *  string_replace  args( ( char * orig, char * old, char * new ) );
int     arg_count       args( ( char * argument ) );
char *  string_unpad    args( ( char * argument ) );
char *  string_proper   args( ( char * argument ) );
void    string_edit     args( ( CHAR_DATA *ch, char **pString ) );
void    string_append   args( ( CHAR_DATA *ch, char **pString ) );
void    string_add      args( ( CHAR_DATA *ch, char *argument ) );
bool    is_number       args( ( char *arg ) );
int     number_argument args( ( char *argument, char *arg ) );
char *  one_argument    args( ( char *argument, char *arg_first ) );
char *  one_argcase     args( ( char *argument, char *arg_first ) );
char *  strupr          args( ( char * s ) );
char *  strlwr          args( ( char * s ) );
char *  ansi_uppercase  args( ( char *txt) );
bool    is_name         args( ( const char *str, char *namelist ) );
bool    is_prename      args( ( const char *str, char *namelist ) );
/* Omitted a few const declarations for numberize. */
char *  numberize       args( ( int n ) );
char *  first_arg       args( ( char *argument, char *arg_first, bool fCase ));
char *  skip_spaces     args( ( char *argument ) );
char *  grab_line       args( ( char *argument, char *arg_first ) );
char *  one_line        args( ( char *argument, char *arg_first ) );
bool    has_arg         args( ( char *argument, char *item ) );
char *  trunc_fit       args( ( char *argument, int length ) );
char *  gotoxy          args( ( int x, int y ) );
char *  skip_curlies    args( ( char *arg ) );
char *  strip_curlies   args( ( char *arg ) );

----------  spells   h           9,083  03-30-99 12:56p



----------  startup              1,445  03-30-99  1:13p



----------  startup  save        1,453  03-30-99 12:56p



----------  string   c          34,242  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for string.c                         *
 * Handles most string routines.                                             *
 *****************************************************************************/

void    smash_tilde     args( ( char *str ) );
bool    str_cmp         args( ( const char *astr, const char *bstr ) );
bool    str_prefix      args( ( const char *astr, const char *bstr ) );
bool    str_infix       args( ( const char *astr, const char *bstr ) );
bool    str_suffix      args( ( const char *astr, const char *bstr ) );
char *  capitalize      args( ( const char *str ) );
void    append_file     args( ( CHAR_DATA *ch, char *file, char *str ) );
char *  fix_string      args( ( const char *str ) );
char *  is_are          args( ( char *buf ) );
char *  smash_arg       args( ( char *text, char *name ) );
char *  smash_article   args( ( char *text ) );
char *  pluralize       args( ( char *argument ) );
char *  format_string   args( ( char *oldstring /*, bool fSpace */ ) );
char *  format_indent   args( ( char *oldstring, char *prefix, int width,
                                bool fEnd ) );
char *  replace_string  args( ( char *orig, char *old, char *new ) );
char *  string_replace  args( ( char * orig, char * old, char * new ) );
int     arg_count       args( ( char * argument ) );
char *  string_unpad    args( ( char * argument ) );
char *  string_proper   args( ( char * argument ) );
void    string_edit     args( ( CHAR_DATA *ch, char **pString ) );
void    string_append   args( ( CHAR_DATA *ch, char **pString ) );
void    string_add      args( ( CHAR_DATA *ch, char *argument ) );
bool    is_number       args( ( char *arg ) );
int     number_argument args( ( char *argument, char *arg ) );
char *  one_argument    args( ( char *argument, char *arg_first ) );
char *  one_argcase     args( ( char *argument, char *arg_first ) );
char *  strupr          args( ( char * s ) );
char *  strlwr          args( ( char * s ) );
char *  ansi_uppercase  args( ( char *txt) );
bool    is_name         args( ( const char *str, char *namelist ) );
bool    is_prename      args( ( const char *str, char *namelist ) );
/* Omitted a few const declarations for numberize. */
char *  numberize       args( ( int n ) );
char *  first_arg       args( ( char *argument, char *arg_first, bool fCase ));
char *  skip_spaces     args( ( char *argument ) );
char *  grab_line       args( ( char *argument, char *arg_first ) );
char *  one_line        args( ( char *argument, char *arg_first ) );
bool    has_arg         args( ( char *argument, char *item ) );
char *  trunc_fit       args( ( char *argument, int length ) );
char *  gotoxy          args( ( int x, int y ) );
char *  skip_curlies    args( ( char *arg ) );
char *  strip_curlies   args( ( char *arg ) );

----------  track    c           9,453  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for track.c                          *
 * Handles the internal queue-based tracking routines submitted by jdinkel.  *
 *****************************************************************************/

 /* Omitted: list/bfs queue functions     */
int find_first_step     args( ( ROOM_INDEX_DATA *src, ROOM_INDEX_DATA *target,
                                int depth ) );
DECLARE_DO_FUN( do_track    );

----------  update   c          41,599  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for update.c                         *
 * Includes update handler and turn-to-turn information.                     *
 *****************************************************************************/
 
void    advance_level    args( ( CHAR_DATA *ch ) );
int     hit_gain        args( ( CHAR_DATA *ch ) );
int     move_gain       args( ( CHAR_DATA *ch ) );
void    gain_condition    args( ( CHAR_DATA *ch, int iCond, int value ) );
void    mobile_update    args( ( void ) );
void    weather_update    args( ( void ) );
void    char_update     args( ( bool fEach ) );
void    obj_update      args( ( bool fEach ) );
void    aggr_update     args( ( void ) );
bool    reset_room      args( ( ROOM_INDEX_DATA *pRoom ) );
void    room_update     args( ( void ) );
void script_update_proc args( ( void ) );
void    update_handler  args( ( void ) );

----------  wiz      c          35,578  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file wiz.c                       *
 * Contains generic immortal privledged commands and functions.              *
 *****************************************************************************/
extern BAN_DATA *ban_list;

RID   * find_location   args( ( CHAR_DATA *ch, char *arg ) );
DECLARE_DO_FUN( do_advance     );
DECLARE_DO_FUN( do_restore     );
DECLARE_DO_FUN( do_freeze      );
DECLARE_DO_FUN( do_log           );
DECLARE_DO_FUN( do_noemote     );
DECLARE_DO_FUN( do_peace       );
DECLARE_DO_FUN( do_ban           );
DECLARE_DO_FUN( do_allow       );
DECLARE_DO_FUN( do_wizlock     );
DECLARE_DO_FUN( do_force       );
DECLARE_DO_FUN( do_invis       );
DECLARE_DO_FUN( do_holylight   );
DECLARE_DO_FUN( do_bounty      );
DECLARE_DO_FUN( do_wizify      );
DECLARE_DO_FUN( do_bamfin      );
DECLARE_DO_FUN( do_bamfout     );
DECLARE_DO_FUN( do_deny        );
DECLARE_DO_FUN( do_disconnect  );
DECLARE_DO_FUN( do_system      );
DECLARE_DO_FUN( do_echo        );
DECLARE_DO_FUN( do_recho       );
DECLARE_DO_FUN( do_transfer    );
DECLARE_DO_FUN( do_at           );
DECLARE_DO_FUN( do_goto        );
DECLARE_DO_FUN( do_reboo       );
DECLARE_DO_FUN( do_reboot      );
DECLARE_DO_FUN( do_shutdow     );
DECLARE_DO_FUN( do_shutdown    );
DECLARE_DO_FUN( do_snoop       );
DECLARE_DO_FUN( do_switch      );
DECLARE_DO_FUN( do_return      );
DECLARE_DO_FUN( do_charload    );
DECLARE_DO_FUN( do_shell       );
DECLARE_DO_FUN( do_purge       );

----------  wiz_info c          57,089  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file wiz_info.c                  *
 * Contains all object/mobile/room commands for higher level immortals.      *
 *****************************************************************************/

extern int      FORCE_LEVEL;

DECLARE_DO_FUN( do_wizhelp     );
DECLARE_DO_FUN( do_rstat       );
DECLARE_DO_FUN( do_index       );
bool   ostat    args( ( CHAR_DATA *ch, char *argument ) );
bool   mstat    args( ( CHAR_DATA *ch, char *argument ) );
DECLARE_DO_FUN( do_stat        );
DECLARE_DO_FUN( do_mfind       );
DECLARE_DO_FUN( do_ofind       );
DECLARE_DO_FUN( do_rfind       );
DECLARE_DO_FUN( do_pfind       );
bool   mwhere    args( ( CHAR_DATA *ch, char *argument ) );
bool   owhere    args( ( CHAR_DATA *ch, char *argument ) );
void   pwhere    args( ( CHAR_DATA *ch ) );
DECLARE_DO_FUN( do_where       );
DECLARE_DO_FUN( do_users       );
DECLARE_DO_FUN( do_sockets     );
DECLARE_DO_FUN( do_slookup     );
DECLARE_DO_FUN( do_areas       );
DECLARE_DO_FUN( do_table       );

----------  wiz_set  c          17,751  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file wiz_set.c                   *
 * Contains immortal commands that allow "illegal" customization of objects. *
 *****************************************************************************/

DECLARE_DO_FUN( do_mload       );
DECLARE_DO_FUN( do_oload       );
DECLARE_DO_FUN( do_load        );
DECLARE_DO_FUN( do_sset        );
DECLARE_DO_FUN( do_mset        );
DECLARE_DO_FUN( do_oset        );
DECLARE_DO_FUN( do_pset        );

----------  worldgen c          10,327  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file worldgen.c                  *
 * Experimental World Creation Functions                                     *
 *****************************************************************************/
void    gen_room        args( ( ROOM_INDEX_DATA *pRoom ) );

----------  xrand    c           3,996  03-30-99 12:56p

/*****************************************************************************
 * Variable and functional declarations for file xrand.c                     *
 * Contains all random number generation routines.                           *
 *****************************************************************************/

int     number_fuzzy    args( ( int number ) );
int     number_gelify   args( ( int number ) );
int     number_range    args( ( int from, int to ) );
int     number_percent  args( ( void ) );
int     number_door     args( ( void ) );
int     number_bits     args( ( int width ) );
void    init_mm         args( ( void ) );
int     number_mm       args( ( void ) );
int     dice            args( ( int number, int size ) );