Difference for include/sproto.h from version 1.36 to 1.37


version 1.36 version 1.37
Line 1
 
Line 1
 /*  /* alchemy.c */
  *   This file was automatically generated by version 1.7 of cextract.  char *cauldron_sound(void);
  *   Manual editing not recommended.  void attempt_do_alchemy(object *caster, object *cauldron);
  *  int content_recipe_value(object *op);
  *   Created: Mon May  7 21:17:02 2001  int numb_ob_inside(object *op);
  */  object *attempt_recipe(object *caster, object *cauldron, int ability, recipe *rp, int nbatches);
 #ifndef __CEXTRACT__  void adjust_product(object *item, int lvl, int yield);
 #ifdef __STDC__  object *make_item_from_recipe(object *cauldron, recipe *rp);
   object *find_transmution_ob(object *first_ingred, recipe *rp);
 extern char * cauldron_sound ( void );  void alchemy_failure_effect(object *op, object *cauldron, recipe *rp, int danger);
 extern void attempt_do_alchemy ( object *caster, object *cauldron );  void remove_contents(object *first_ob, object *save_item);
 extern int content_recipe_value ( object *op );  int calc_alch_danger(object *caster, object *cauldron);
 extern int numb_ob_inside ( object *op );  /* apply.c */
 extern object * attempt_recipe ( object *caster, object *cauldron, int ability, recipe *rp, int nbatches );  void draw_find(object *op, object *find);
 extern void adjust_product ( object *item, int lvl, int yield );  int apply_potion(object *op, object *tmp);
 extern object * make_item_from_recipe ( object *cauldron, recipe *rp );  int check_item(object *op, char *item);
 extern object * find_transmution_ob ( object *first_ingred, recipe *rp );  void eat_item(object *op, char *item);
 extern void alchemy_failure_effect ( object *op, object *cauldron, recipe *rp, int danger );  int check_weapon_power(object *who, int improvs);
 extern void remove_contents ( object *first_ob, object *save_item );  int improve_weapon_stat(object *op, object *improver, object *weapon, signed char *stat, int sacrifice_count, char *statname);
 extern int calc_alch_danger ( object *caster, object *cauldron );  int prepare_weapon(object *op, object *improver, object *weapon);
 extern void draw_find ( object *op, object *find );  int improve_weapon(object *op, object *improver, object *weapon);
 extern int apply_potion ( object *op, object *tmp );  int check_improve_weapon(object *op, object *tmp);
 extern int check_item ( object *op, char *item );  int improve_armour(object *op, object *improver, object *armour);
 extern void eat_item ( object *op, char *item );  int convert_item(object *item, object *converter);
 extern int check_weapon_power ( object *who, int improvs );  int apply_container(object *op, object *sack);
 extern int improve_weapon_stat ( object *op, object *improver, object *weapon, signed char *stat, int sacrifice_count, char *statname );  int esrv_apply_container(object *op, object *sack);
 extern int prepare_weapon ( object *op, object *improver, object *weapon );  char *gravestone_text(object *op);
 extern int improve_weapon ( object *op, object *improver, object *weapon );  void move_apply(object *trap, object *victim, object *originator);
 extern int check_improve_weapon ( object *op, object *tmp );  void do_learn_spell(object *op, int spell, int special_prayer);
 extern int improve_armour ( object *op, object *improver, object *armour );  void do_forget_spell(object *op, int spell);
 extern int convert_item ( object *item, object *converter );  void apply_poison(object *op, object *tmp);
 extern int apply_container ( object *op, object *sack );  int is_legal_2ways_exit(object *op, object *exit);
 extern int esrv_apply_container ( object *op, object *sack );  int manual_apply(object *op, object *tmp, int aflag);
 extern char *gravestone_text ( object *op );  int player_apply(object *pl, object *op, int aflag, int quiet);
 extern void move_apply ( object *trap, object *victim, object *originator );  void player_apply_below(object *pl);
 extern void do_learn_spell ( object *op, int spell, int special_prayer );  int apply_special(object *who, object *op, int aflags);
 extern void do_forget_spell ( object *op, int spell );  int monster_apply_special(object *who, object *op, int aflags);
 extern void apply_poison ( object *op, object *tmp );  int auto_apply(object *op);
 extern int manual_apply ( object *op, object *tmp, int aflag );  void fix_auto_apply(mapstruct *m);
 extern int player_apply ( object *pl, object *op, int aflag, int quiet );  void eat_special_food(object *who, object *food);
 extern void player_apply_below ( object *pl );  void apply_lighter(object *who, object *lighter);
 extern int apply_special ( object *who, object *op, int aflags );  void scroll_failure(object *op, int failure, int power);
 extern int monster_apply_special ( object *who, object *op, int aflags );  void apply_changes_to_player(object *pl, object *change);
 extern int auto_apply ( object *op );  /* attack.c */
 extern void fix_auto_apply ( mapstruct *m );  int did_make_save_item(object *op, int type, object *originator);
 extern void eat_special_food ( object *who, object *food );  void save_throw_object(object *op, int type, object *originator);
 extern void apply_lighter ( object *who, object *lighter );  int hit_map(object *op, int dir, int type);
 extern void scroll_failure ( object *op, int failure, int power );  int attack_ob(object *op, object *hitter);
 extern void apply_changes_to_player ( object *player, object *change );  object *hit_with_arrow(object *op, object *victim);
 extern int did_make_save_item ( object *op, int type, object *originator );  void tear_down_wall(object *op);
 extern void save_throw_object ( object *op, int type, object *originator );  int hit_player_attacktype(object *op, object *hitter, int dam, uint32 attacknum, int magic);
 extern int hit_map ( object *op, int dir, int type );  int kill_object(object *op, int dam, object *hitter, int type);
 extern int attack_ob ( object *op, object *hitter );  int hit_player(object *op, int dam, object *hitter, int type);
 extern object *hit_with_arrow ( object *op, object *victim );  void poison_player(object *op, object *hitter, int dam);
 extern void tear_down_wall ( object *op );  void slow_player(object *op, object *hitter, int dam);
 extern int hit_player_attacktype ( object *op, object *hitter, int dam, uint32 attacknum, int magic );  void confuse_player(object *op, object *hitter, int dam);
 extern int hit_player ( object *op, int dam, object *hitter, int type );  void blind_player(object *op, object *hitter, int dam);
 extern void poison_player ( object *op, object *hitter, int dam );  void paralyze_player(object *op, object *hitter, int dam);
 extern void slow_player ( object *op, object *hitter, int dam );  void deathstrike_player(object *op, object *hitter, int *dam);
 extern void confuse_player ( object *op, object *hitter, int dam );  int adj_attackroll(object *hitter, object *target);
 extern void blind_player ( object *op, object *hitter, int dam );  int is_aimed_missile(object *op);
 extern void paralyze_player ( object *op, object *hitter, int dam );  /* ban.c */
 extern void deathstrike_player ( object *op, object *hitter, int *dam );  int checkbanned(char *login, char *host);
 extern int adj_attackroll ( object *hitter, object *target );  /* c_chat.c */
 extern int is_aimed_missile ( object *op );  int command_say(object *op, char *params);
 extern int checkbanned ( char *login, char *host );  int command_shout(object *op, char *params);
 extern int command_say ( object *op, char *params );  int command_tell(object *op, char *params);
 extern int command_shout ( object *op, char *params );  /* c_misc.c */
 extern int command_tell ( object *op, char *params );  void map_info(object *op);
 extern void map_info ( object *op );  int command_spell_reset(object *op, char *params);
 extern int command_spell_reset ( object *op, char *params );  int command_motd(object *op, char *params);
 extern int command_motd ( object *op, char *params );  int command_bug(object *op, char *params);
 extern int command_bug ( object *op, char *params );  void malloc_info(object *op);
 extern void malloc_info ( object *op );  void current_map_info(object *op);
 extern void current_map_info ( object *op );  int command_who(object *op, char *params);
 extern int command_who ( object *op, char *params );  int command_malloc(object *op, char *params);
 extern int command_malloc ( object *op, char *params );  int command_mapinfo(object *op, char *params);
 extern int command_mapinfo ( object *op, char *params );  int command_maps(object *op, char *params);
 extern int command_maps ( object *op, char *params );  int command_strings(object *op, char *params);
 extern int command_strings ( object *op, char *params );  int command_sstable(object *op, char *params);
 extern int command_sstable ( object *op, char *params );  int command_time(object *op, char *params);
 extern int command_time ( object *op, char *params );  int command_archs(object *op, char *params);
 extern int command_archs ( object *op, char *params );  int command_hiscore(object *op, char *params);
 extern int command_hiscore ( object *op, char *params );  int command_debug(object *op, char *params);
 extern int command_debug ( object *op, char *params );  int command_dumpbelow(object *op, char *params);
 extern int command_dumpbelow ( object *op, char *params );  int command_wizpass(object *op, char *params);
 extern int command_wizpass ( object *op, char *params );  int command_dumpallobjects(object *op, char *params);
 extern int command_dumpallobjects ( object *op, char *params );  int command_dumpfriendlyobjects(object *op, char *params);
 extern int command_dumpfriendlyobjects ( object *op, char *params );  int command_dumpallarchetypes(object *op, char *params);
 extern int command_dumplights ( object *op, char *params );  int command_ssdumptable(object *op, char *params);
 extern int command_dumpallarchetypes ( object *op, char *params );  int command_dumpmap(object *op, char *params);
 extern int command_ssdumptable ( object *op, char *params );  int command_dumpallmaps(object *op, char *params);
 extern int command_dumpmap ( object *op, char *params );  int command_printlos(object *op, char *params);
 extern int command_dumpallmaps ( object *op, char *params );  int command_version(object *op, char *params);
 extern int command_printlos ( object *op, char *params );  void bug_report(char *reportstring);
 extern int command_version ( object *op, char *params );  int command_output_sync(object *op, char *params);
 extern void bug_report ( char * reportstring );  int command_output_count(object *op, char *params);
 extern int command_output_sync ( object *op, char *params );  int command_listen(object *op, char *params);
 extern int command_output_count ( object *op, char *params );  int command_statistics(object *pl, char *params);
 extern int command_listen ( object *op, char *params );  int command_fix_me(object *op, char *params);
 extern int command_statistics ( object *pl, char *params );  int command_players(object *op, char *paramss);
 extern int command_fix_me ( object *op, char *params );  int command_logs(object *op, char *params);
 extern int command_players ( object *op, char *paramss );  int command_usekeys(object *op, char *params);
 extern int command_logs ( object *op, char *params );  int command_resistances(object *op, char *params);
 extern int command_usekeys ( object *op, char *params );  int command_help(object *op, char *params);
 extern int command_resistances ( object *op, char *params );  int onoff_value(char *line);
 extern int command_help ( object *op, char *params );  int command_quit(object *op, char *params);
 extern int onoff_value ( char *line );  int command_sound(object *op, char *params);
 extern int command_quit ( object *op, char *params );  void receive_player_name(object *op, char k);
 extern int command_sound ( object *op, char *params );  void receive_player_password(object *op, char k);
 extern void receive_player_name ( object *op, char k );  int explore_mode(void);
 extern void receive_player_password ( object *op, char k );  int command_title(object *op, char *params);
 extern int explore_mode ( void );  int command_save(object *op, char *params);
 extern int command_title ( object *op, char *params );  int command_peaceful(object *op, char *params);
 extern int command_save ( object *op, char *params );  int command_wimpy(object *op, char *params);
 extern int command_peaceful ( object *op, char *params );  int command_brace(object *op, char *params);
 extern int command_wimpy ( object *op, char *params );  int command_style_map_info(object *op, char *params);
 extern int command_brace ( object *op, char *params );  /* c_move.c */
 extern int command_style_map_info ( object *op, char *params );  int command_east(object *op, char *params);
 extern int command_east ( object *op, char *params );  int command_north(object *op, char *params);
 extern int command_north ( object *op, char *params );  int command_northeast(object *op, char *params);
 extern int command_northeast ( object *op, char *params );  int command_northwest(object *op, char *params);
 extern int command_northwest ( object *op, char *params );  int command_south(object *op, char *params);
 extern int command_south ( object *op, char *params );  int command_southeast(object *op, char *params);
 extern int command_southeast ( object *op, char *params );  int command_southwest(object *op, char *params);
 extern int command_southwest ( object *op, char *params );  int command_west(object *op, char *params);
 extern int command_west ( object *op, char *params );  int command_stay(object *op, char *params);
 extern int command_stay ( object *op, char *params );  int command_search(object *op, char *params);
 extern int command_search ( object *op, char *params );  int command_disarm(object *op, char *params);
 extern int command_disarm ( object *op, char *params );  /* c_new.c */
 extern int execute_newserver_command ( object *pl, char *command );  int execute_newserver_command(object *pl, char *command);
 extern int command_run ( object *op, char *params );  int command_run(object *op, char *params);
 extern int command_run_stop ( object *op, char *params );  int command_run_stop(object *op, char *params);
 extern int command_fire ( object *op, char *params );  int command_fire(object *op, char *params);
 extern int command_fire_stop ( object *op, char *params );  int command_fire_stop(object *op, char *params);
 extern int bad_command ( object *op, char *params );  int bad_command(object *op, char *params);
 extern int item_matched_string ( object *pl, object *op, char *name );  /* c_object.c */
 extern object *find_best_object_match ( object *pl, char *params );  int command_uskill(object *pl, char *params);
 extern int command_uskill ( object *pl, char *params );  int command_rskill(object *pl, char *params);
 extern int command_rskill ( object *pl, char *params );  int command_apply(object *op, char *params);
 extern int command_apply ( object *op, char *params );  int sack_can_hold(object *pl, object *sack, object *op, int nrof);
 extern int sack_can_hold ( object *pl, object *sack, object *op, int nrof );  void pick_up(object *op, object *alt);
 extern void pick_up ( object *op, object *alt );  int command_take(object *op, char *params);
 extern int command_take ( object *op, char *params );  void put_object_in_sack(object *op, object *sack, object *tmp, long nrof);
 extern void put_object_in_sack ( object *op, object *sack, object *tmp, long nrof );  void drop_object(object *op, object *tmp, long nrof);
 extern void drop_object ( object *op, object *tmp, long nrof );  void drop(object *op, object *tmp);
 extern void drop ( object *op, object *tmp );  int command_dropall(object *op, char *params);
 extern int command_dropall ( object *op, char *params );  int command_drop(object *op, char *params);
 extern int command_drop ( object *op, char *params );  int command_examine(object *op, char *params);
 extern int command_examine ( object *op, char *params );  object *find_marked_object(object *op);
 extern object *find_marked_object ( object *op );  int command_mark(object *op, char *params);
 extern int command_mark ( object *op, char *params );  void examine_monster(object *op, object *tmp);
 extern void examine_monster ( object *op, object *tmp );  char *long_desc(object *tmp);
 extern char *long_desc ( object *tmp );  void examine(object *op, object *tmp);
 extern void examine ( object *op, object *tmp );  void inventory(object *op, object *inv);
 extern void inventory ( object *op, object *inv );  int command_pickup(object *op, char *params);
 extern int command_pickup ( object *op, char *params );  void set_pickup_mode(object *op, int i);
 extern void set_pickup_mode ( object *op, int i );  int command_search_items(object *op, char *params);
 extern int command_search_items ( object *op, char *params );  /* c_party.c */
 extern partylist * form_party ( object *op, char *params, partylist * firstparty, partylist * lastparty );  partylist *form_party(object *op, char *params, partylist *firstparty, partylist *lastparty);
 extern char * find_party ( int partynumber, partylist * party );  char *find_party(int partynumber, partylist *party);
 extern partylist *find_party_struct ( int partynumber );  partylist *find_party_struct(int partynumber);
 extern int confirm_party_password ( object *op );  int confirm_party_password(object *op);
 extern void receive_party_password ( object *op, char k );  void receive_party_password(object *op, char k);
 extern void send_party_message ( object *op, char *msg );  void send_party_message(object *op, char *msg);
 extern int command_gsay ( object *op, char *params );  int command_gsay(object *op, char *params);
 extern int command_party ( object *op, char *params );  int command_party(object *op, char *params);
 extern int command_invoke ( object *op, char *params );  /* c_range.c */
 extern int command_cast ( object *op, char *params );  int command_invoke(object *op, char *params);
 extern int command_prepare ( object *op, char *params );  int command_cast(object *op, char *params);
 extern int command_cast_spell ( object *op, char *params, char command );  int command_prepare(object *op, char *params);
 extern int legal_range ( object *op, int r );  int command_cast_spell(object *op, char *params, char command);
 extern void change_spell ( object *op, char k );  int legal_range(object *op, int r);
 extern int command_rotateshoottype ( object *op, char *params );  void change_spell(object *op, char k);
 extern int command_throw ( object *op, char *params );  int command_rotateshoottype(object *op, char *params);
 extern int command_rotatespells ( object *op, char *params );  int command_throw(object *op, char *params);
 extern int command_setgod ( object *op, char *params );  int command_rotatespells(object *op, char *params);
 extern int command_kick ( object *op, char *params );  /* c_wiz.c */
 extern int command_shutdown ( object *op, char *params );  int command_setgod(object *op, char *params);
 extern int command_goto ( object *op, char *params );  int command_kick(object *op, char *params);
 extern int command_generate ( object *op, char *params );  int command_shutdown(object *op, char *params);
 extern int command_summon ( object *op, char *params );  int command_goto(object *op, char *params);
 extern int command_create ( object *op, char *params );  int command_generate(object *op, char *params);
 extern int command_inventory ( object *op, char *params );  int command_summon(object *op, char *params);
 extern int command_skills ( object *op, char *params );  int command_create(object *op, char *params);
 extern int command_dump ( object *op, char *params );  int command_inventory(object *op, char *params);
 extern int command_patch ( object *op, char *params );  int command_skills(object *op, char *params);
 extern int command_remove ( object *op, char *params );  int command_dump(object *op, char *params);
 extern int command_free ( object *op, char *params );  int command_patch(object *op, char *params);
 extern int command_addexp ( object *op, char *params );  int command_remove(object *op, char *params);
 extern int command_speed ( object *op, char *params );  int command_free(object *op, char *params);
 extern int command_stats ( object *op, char *params );  int command_addexp(object *op, char *params);
 extern int command_abil ( object *op, char *params );  int command_speed(object *op, char *params);
 extern int command_reset ( object *op, char *params );  int command_stats(object *op, char *params);
 extern int command_nowiz ( object *op, char *params );  int command_abil(object *op, char *params);
 extern int command_dm ( object *op, char *params );  int command_reset(object *op, char *params);
 extern int command_invisible ( object *op, char *params );  int command_nowiz(object *op, char *params);
 extern int command_learn_spell ( object *op, char *params );  int command_dm(object *op, char *params);
 extern int command_learn_special_prayer ( object *op, char *params );  int command_invisible(object *op, char *params);
 extern int command_forget_spell ( object *op, char *params );  int command_learn_spell(object *op, char *params);
 extern void init_commands ( void );  int command_learn_special_prayer(object *op, char *params);
 extern CommFunc find_oldsocket_command ( char *cmd );  int command_forget_spell(object *op, char *params);
 extern CommFunc find_oldsocket_command2 ( char *cmd );  /* commands.c */
 extern int parse_string ( object *op, char *str );  void init_commands(void);
 extern int parse_command ( object *op, char *str );  CommFunc find_oldsocket_command(char *cmd);
 extern FILE *BecomeDaemon ( char *filename );  CommFunc find_oldsocket_command2(char *cmd);
 extern int move_disease ( object *disease );  int parse_string(object *op, char *str);
 extern int remove_symptoms ( object *disease );  int parse_command(object *op, char *str);
 extern object * find_symptom ( object *disease );  /* daemon.c */
 extern int check_infection ( object *disease );  FILE *BecomeDaemon(char *filename);
 extern int infect_object ( object *victim, object *disease, int force );  /* disease.c */
 extern int do_symptoms ( object *disease );  int move_disease(object *disease);
 extern int grant_immunity ( object *disease );  int remove_symptoms(object *disease);
 extern int move_symptom ( object *symptom );  object *find_symptom(object *disease);
 extern int check_physically_infect ( object *victim, object *hitter );  int check_infection(object *disease);
 extern object *find_disease ( object *victim );  int infect_object(object *victim, object *disease, int force);
 extern int cure_disease ( object *sufferer, object *caster );  int do_symptoms(object *disease);
 extern int reduce_symptoms ( object *sufferer, int reduction );  int grant_immunity(object *disease);
 extern int apply_power_crystal ( object *op, object *crystal );  int move_symptom(object *symptom);
 extern char *spool ( char *bp, char *error );  int check_physically_infect(object *victim, object *hitter);
 extern void check_score ( object *op );  object *find_disease(object *victim);
 extern void display_high_score ( object *op, int max, char *match );  int cure_disease(object *sufferer, object *caster);
 extern int lookup_god_by_name ( char *name );  int reduce_symptoms(object *sufferer, int reduction);
 extern object *find_god ( char *name );  /* egoitem.c */
 extern void pray_at_altar ( object *pl, object *altar );  int apply_power_crystal(object *op, object *crystal);
 extern void become_follower ( object *op, object *new_god );  /* hiscore.c */
 extern int worship_forbids_use ( object *op, object *exp_obj, uint32 flag, char *string );  char *spool(char *bp, char *error);
 extern void stop_using_item ( object *op, int type, int number );  void check_score(object *op);
 extern void update_priest_flag ( object *god, object *exp_ob, uint32 flag );  void display_high_score(object *op, int max, char *match);
 extern char *determine_god ( object *op );  /* gods.c */
 extern archetype *determine_holy_arch ( object *god, const char *type );  int lookup_god_by_name(char *name);
 extern void god_intervention ( object *op, object *god );  object *find_god(char *name);
 extern int god_examines_priest ( object *op, object *god );  void pray_at_altar(object *pl, object *altar);
 extern int god_examines_item ( object *god, object *item );  void become_follower(object *op, object *new_god);
 extern int get_god ( object *priest );  int worship_forbids_use(object *op, object *exp_obj, uint32 flag, char *string);
 extern int tailor_god_spell ( object *spellop, object *caster );  void stop_using_item(object *op, int type, int number);
 extern void lose_priest_exp ( object *pl, int loss );  void update_priest_flag(object *god, object *exp_ob, uint32 flag);
 extern void set_logfile ( char *val );  char *determine_god(object *op);
 extern void call_version ( void );  archetype *determine_holy_arch(object *god, const char *type);
 extern void showscores ( void );  void god_intervention(object *op, object *god);
 extern void set_debug ( void );  int god_examines_priest(object *op, object *god);
 extern void unset_debug ( void );  int god_examines_item(object *god, object *item);
 extern void set_mondebug ( void );  int get_god(object *priest);
 extern void set_dumpmon1 ( void );  int tailor_god_spell(object *spellop, object *caster);
 extern void set_dumpmon2 ( void );  void lose_priest_exp(object *pl, int loss);
 extern void set_dumpmon3 ( void );  /* init.c */
 extern void set_dumpmon4 ( void );  void set_logfile(char *val);
 extern void set_dumpmon5 ( void );  void call_version(void);
 extern void set_dumpmon6 ( void );  void showscores(void);
 extern void set_dumpmon7 ( void );  void set_debug(void);
 extern void set_dumpmon8 ( void );  void unset_debug(void);
 extern void set_dumpmon9 ( void );  void set_mondebug(void);
 extern void set_dumpmont ( char *name );  void set_dumpmon1(void);
 extern void set_daemon ( void );  void set_dumpmon2(void);
 extern void set_datadir ( char *path );  void set_dumpmon3(void);
 extern void set_localdir ( char *path );  void set_dumpmon4(void);
 extern void set_mapdir ( char *path );  void set_dumpmon5(void);
 extern void set_archetypes ( char *path );  void set_dumpmon6(void);
 extern void set_treasures ( char *path );  void set_dumpmon7(void);
 extern void set_uniquedir ( char *path );  void set_dumpmon8(void);
 extern void set_playerdir ( char *path );  void set_dumpmon9(void);
 extern void set_tmpdir ( char *path );  void set_dumpmont(char *name);
 extern void showscoresparm ( char *data );  void set_daemon(void);
 extern void set_csport ( char *val );  void set_datadir(char *path);
 extern void init ( int argc, char **argv );  void set_localdir(char *path);
 extern void usage ( void );  void set_mapdir(char *path);
 extern void help ( void );  void set_archetypes(char *path);
 extern void init_beforeplay ( void );  void set_treasures(char *path);
 extern void init_startup ( void );  void set_uniquedir(char *path);
 extern void compile_info ( void );  void set_playerdir(char *path);
 extern void rec_sigsegv ( int i );  void set_tmpdir(char *path);
 extern void rec_sigint ( int i );  void showscoresparm(char *data);
 extern void rec_sighup ( int i );  void set_csport(char *val);
 extern void rec_sigquit ( int i );  void init(int argc, char **argv);
 extern void rec_sigpipe ( int i );  void usage(void);
 extern void rec_sigbus ( int i );  void help(void);
 extern void rec_sigterm ( int i );  void init_beforeplay(void);
 extern void fatal_signal ( int make_core, int close_sockets );  void init_startup(void);
 extern void init_signals ( void );  void compile_info(void);
 extern void setup_library ( void );  void rec_sigsegv(int i);
 extern void init_races ( void );  void rec_sigint(int i);
 extern void dump_races ( void );  void rec_sighup(int i);
 extern void add_to_racelist ( char *race_name, object *op );  void rec_sigquit(int i);
 extern racelink * get_racelist ( void );  void rec_sigpipe(int i);
 extern racelink * find_racelink ( char *name );  void rec_sigbus(int i);
 extern void emergency_save ( int flag );  void rec_sigterm(int i);
 extern void delete_character ( char *name, int new );  void fatal_signal(int make_core, int close_sockets);
 extern void unlock_player ( char *name );  void init_signals(void);
 extern int verify_player ( char *name, char *password );  void setup_library(void);
 extern int check_name ( player *me, char *name );  void init_races(void);
 extern int create_savedir_if_needed ( char *savedir );  void dump_races(void);
 extern void destroy_object ( object *op );  void add_to_racelist(char *race_name, object *op);
 extern int save_player ( object *op, int flag );  racelink *get_racelist(void);
 extern long calculate_checksum ( char *filename, int checkdouble );  racelink *find_racelink(char *name);
 extern void copy_file ( char *filename, FILE *fpout );  /* login.c */
 extern void check_login ( object *op );  void emergency_save(int flag);
 extern void version ( object *op );  void delete_character(char *name, int new);
 extern void info_keys ( object *op );  void unlock_player(char *name);
 extern void start_info ( object *op );  int verify_player(char *name, char *password);
 extern char *crypt_string ( char *str, char *salt );  int check_name(player *me, char *name);
 extern int check_password ( char *typed, char *crypted );  int create_savedir_if_needed(char *savedir);
 extern void enter_player_savebed ( object *op );  void destroy_object(object *op);
 extern void leave_map ( object *op );  int save_player(object *op, int flag);
 extern void set_map_timeout ( mapstruct *oldmap );  long calculate_checksum(char *filename, int checkdouble);
 extern char *clean_path ( char *file );  void copy_file(char *filename, FILE *fpout);
 extern char *unclean_path ( char *src );  void check_login(object *op);
 extern void enter_exit ( object *op, object *exit_ob );  /* main.c */
 extern void process_active_maps ( void );  void version(object *op);
 extern void process_players1 ( mapstruct *map );  void info_keys(object *op);
 extern void process_players2 ( mapstruct *map );  void start_info(object *op);
 extern void process_events ( mapstruct *map );  char *crypt_string(char *str, char *salt);
 extern void clean_tmp_files ( void );  int check_password(char *typed, char *crypted);
 extern void cleanup ( void );  void enter_player_savebed(object *op);
 extern void leave ( player *pl, int draw_exit );  void leave_map(object *op);
 extern int forbid_play ( void );  void set_map_timeout(mapstruct *oldmap);
 extern void do_specials ( void );  char *clean_path(char *file);
 extern object *get_enemy ( object *npc );  char *unclean_path(char *src);
 extern object *find_nearest_living_creature ( object *npc );  void enter_exit(object *op, object *exit_ob);
 extern object *find_enemy ( object *npc );  void process_active_maps(void);
 extern int check_wakeup ( object *op, object *enemy );  void process_players1(mapstruct *map);
 extern int move_randomly ( object *op );  void process_players2(mapstruct *map);
 extern int move_monster ( object *op );  void process_events(mapstruct *map);
 extern int can_hit ( object *ob1, object *ob2 );  void clean_tmp_files(void);
 extern int can_apply ( object *who, object *item );  void cleanup(void);
 extern object *monster_choose_random_spell ( object *monster );  void leave(player *pl, int draw_exit);
 extern int monster_cast_spell ( object *head, object *part, object *pl, int dir );  int forbid_play(void);
 extern int monster_use_skill ( object *head, object *part, object *pl, int dir );  void do_specials(void);
 extern int monster_use_wand ( object *head, object *part, object *pl, int dir );  int main(int argc, char **argv);
 extern int monster_use_rod ( object *head, object *part, object *pl, int dir );  void main_crossfire(int argc, char **argv);
 extern int monster_use_horn ( object *head, object *part, object *pl, int dir );  /* monster.c */
 extern int monster_use_bow ( object *head, object *part, object *pl, int dir );  object *get_enemy(object *npc);
 extern int check_good_weapon ( object *who, object *item );  object *find_nearest_living_creature(object *npc);
 extern int check_good_armour ( object *who, object *item );  object *find_enemy(object *npc);
 extern void monster_check_pickup ( object *monster );  int check_wakeup(object *op, object *enemy);
 extern int monster_can_pick ( object *monster, object *item );  int move_randomly(object *op);
 extern void monster_apply_below ( object *monster );  int move_monster(object *op);
 extern void monster_check_apply ( object *mon, object *item );  int can_hit(object *ob1, object *ob2);
 extern void npc_call_help ( object *op );  int can_apply(object *who, object *item);
 extern int dist_att ( int dir, object *ob, object *enemy, object *part );  object *monster_choose_random_spell(object *monster);
 extern int run_att ( int dir, object *ob, object *enemy, object *part );  int monster_cast_spell(object *head, object *part, object *pl, int dir);
 extern int hitrun_att ( int dir, object *ob, object *enemy );  int monster_use_skill(object *head, object *part, object *pl, int dir);
 extern int wait_att ( int dir, object *ob, object *enemy, object *part );  int monster_use_wand(object *head, object *part, object *pl, int dir);
 extern int disthit_att ( int dir, object *ob, object *enemy, object *part );  int monster_use_rod(object *head, object *part, object *pl, int dir);
 extern int wait_att2 ( int dir, object *ob, object *enemy, object *part );  int monster_use_horn(object *head, object *part, object *pl, int dir);
 extern void circ1_move ( object *ob );  int monster_use_bow(object *head, object *part, object *pl, int dir);
 extern void circ2_move ( object *ob );  int check_good_weapon(object *who, object *item);
 extern void pace_movev ( object *ob );  int check_good_armour(object *who, object *item);
 extern void pace_moveh ( object *ob );  void monster_check_pickup(object *monster);
 extern void pace2_movev ( object *ob );  int monster_can_pick(object *monster, object *item);
 extern void pace2_moveh ( object *ob );  void monster_apply_below(object *monster);
 extern void rand_move ( object *ob );  void monster_check_apply(object *mon, object *item);
 extern void check_earthwalls ( object *op, int x, int y );  void npc_call_help(object *op);
 extern void check_doors ( object *op, int x, int y );  int dist_att(int dir, object *ob, object *enemy, object *part);
 extern int move_object ( object *op, int dir );  int run_att(int dir, object *ob, object *enemy, object *part);
 extern void communicate ( object *op, char *txt );  int hitrun_att(int dir, object *ob, object *enemy);
 extern int talk_to_npc ( object *op, object *npc, char *txt );  int wait_att(int dir, object *ob, object *enemy, object *part);
 extern int talk_to_wall ( object *npc, char *txt );  int disthit_att(int dir, object *ob, object *enemy, object *part);
 extern object *find_mon_throw_ob ( object *op );  int wait_att2(int dir, object *ob, object *enemy, object *part);
 extern int can_detect_enemy ( object *op, object *enemy );  void circ1_move(object *ob);
 extern int stand_in_light ( object *op );  void circ2_move(object *ob);
 extern int can_see_enemy ( object *op, object *enemy );  void pace_movev(object *ob);
 extern int move_ob ( object *op, int dir, object *originator );  void pace_moveh(object *ob);
 extern int transfer_ob ( object *op, int x, int y, int randomly, object *originator );  void pace2_movev(object *ob);
 extern int teleport ( object *teleporter, unsigned char tele_type, object *originator );  void pace2_moveh(object *ob);
 extern void recursive_roll ( object *op, int dir, object *pusher );  void rand_move(object *ob);
 extern int try_fit ( object *op, int x, int y );  void check_earthwalls(object *op, int x, int y);
 extern int roll_ob ( object *op, int dir, object *pusher );  void check_doors(object *op, int x, int y);
 extern int push_ob ( object *who, int dir, object *pusher );  int move_object(object *op, int dir);
 extern object *get_pet_enemy ( object * pet );  void communicate(object *op, char *txt);
 extern void terminate_all_pets ( object *owner );  int talk_to_npc(object *op, object *npc, char *txt);
 extern void remove_all_pets ( mapstruct *map );  int talk_to_wall(object *npc, char *txt);
 extern void follow_owner ( object *ob, object *owner );  object *find_mon_throw_ob(object *op);
 extern void pet_move ( object * ob );  int can_detect_enemy(object *op, object *enemy);
 extern void display_motd ( object *op );  int stand_in_light(object *op);
 extern int playername_ok ( char *cp );  int can_see_enemy(object *op, object *enemy);
 extern int add_player ( NewSocket *ns );  /* move.c */
 extern archetype *get_player_archetype ( archetype* at );  int move_ob(object *op, int dir, object *originator);
 extern object *get_nearest_player ( object *mon );  int transfer_ob(object *op, int x, int y, int randomly, object *originator);
 extern int path_to_player ( object *mon, object *pl, int mindiff );  int teleport(object *teleporter, unsigned char tele_type, object *originator);
 extern void give_initial_items ( object *pl, treasurelist *items );  void recursive_roll(object *op, int dir, object *pusher);
 extern void get_name ( object *op );  int try_fit(object *op, int x, int y);
 extern void get_password ( object *op );  int roll_ob(object *op, int dir, object *pusher);
 extern void play_again ( object *op );  int push_ob(object *who, int dir, object *pusher);
 extern int receive_play_again ( object *op, char key );  /* pets.c */
 extern void confirm_password ( object *op );  object *get_pet_enemy(object *pet);
 extern void get_party_password ( object *op, int partyid );  void terminate_all_pets(object *owner);
 extern int roll_stat ( void );  void remove_all_pets(mapstruct *map);
 extern void roll_stats ( object *op );  void follow_owner(object *ob, object *owner);
 extern void Roll_Again ( object *op );  void pet_move(object *ob);
 extern void Swap_Stat ( object *op, int Swap_Second );  /* player.c */
 extern int key_roll_stat ( object *op, char key );  void display_motd(object *op);
 extern int key_change_class ( object *op, char key );  int playername_ok(char *cp);
 extern int key_confirm_quit ( object *op, char key );  int add_player(NewSocket *ns);
 extern void flee_player ( object *op );  archetype *get_player_archetype(archetype *at);
 extern int check_pick ( object *op );  object *get_nearest_player(object *mon);
 extern object *find_arrow ( object *op, char *type );  int path_to_player(object *mon, object *pl, int mindiff);
 extern void fire ( object *op, int dir );  void give_initial_items(object *pl, treasurelist *items);
 extern object * find_key ( object *pl, object *container, object *door );  void get_name(object *op);
 extern void move_player_attack ( object *op, int dir );  void get_password(object *op);
 extern int move_player ( object *op, int dir );  void play_again(object *op);
 extern int handle_newcs_player ( object *op );  int receive_play_again(object *op, char key);
 extern int save_life ( object *op );  void confirm_password(object *op);
 extern void remove_unpaid_objects ( object *op, object *env );  void get_party_password(object *op, int partyid);
 extern void do_some_living ( object *op );  int roll_stat(void);
 extern void kill_player ( object *op );  void roll_stats(object *op);
 extern void loot_object ( object *op );  void Roll_Again(object *op);
 extern void fix_weight ( void );  void Swap_Stat(object *op, int Swap_Second);
 extern void fix_luck ( void );  int key_roll_stat(object *op, char key);
 extern void cast_dust ( object *op, object *throw_ob, int dir );  int key_change_class(object *op, char key);
 extern void make_visible ( object *op );  int key_confirm_quit(object *op, char key);
 extern int is_true_undead ( object *op );  void flee_player(object *op);
 extern int hideability ( object *ob );  int check_pick(object *op);
 extern void do_hidden_move ( object *op );  object *find_arrow(object *op, char *type);
 extern int stand_near_hostile ( object *who );  void fire(object *op, int dir);
 extern int player_can_view ( object *pl, object *op );  object *find_key(object *pl, object *container, object *door);
 extern int action_makes_visible ( object *op );  void move_player_attack(object *op, int dir);
 extern int op_on_battleground ( object *op, int *x, int *y );  int move_player(object *op, int dir);
 extern void dead_player ( object *op );  int handle_newcs_player(object *op);
 extern int cast_raise_dead_spell ( object *op, int dir, int spell_type, object * corpseobj );  int save_life(object *op);
 extern int resurrection_fails ( int levelcaster, int leveldead );  void remove_unpaid_objects(object *op, object *env);
 extern int resurrect_player ( object *op, char *playername, int rspell );  void do_some_living(object *op);
 extern void dead_character ( char *name );  void kill_player(object *op);
 extern int dead_player_exists ( char *name );  void loot_object(object *op);
 extern int write_rune ( object *op, int dir, int inspell, int level, char *runename );  void fix_weight(void);
 extern void move_rune ( object *op );  void fix_luck(void);
 extern void rune_attack ( object *op, object *victim );  void cast_dust(object *op, object *throw_ob, int dir);
 extern void spring_trap ( object *trap, object *victim );  void make_visible(object *op);
 extern int dispel_rune ( object *op, int dir, int risk );  int is_true_undead(object *op);
 extern int trap_see ( object *op, object *trap );  int hideability(object *ob);
 extern int trap_show ( object *trap, object *where );  void do_hidden_move(object *op);
 extern int trap_disarm ( object *disarmer, object *trap, int risk );  int stand_near_hostile(object *who);
 extern void trap_adjust ( object *trap, int difficulty );  int player_can_view(object *pl, object *op);
 extern int query_cost ( object *tmp, object *who, int flag );  int action_makes_visible(object *op);
 extern char *cost_string_from_value ( int cost );  int op_on_battleground(object *op, int *x, int *y);
 extern char *query_cost_string ( object *tmp, object *who, int flag );  /* resurrection.c */
 extern int query_money ( object *op );  void dead_player(object *op);
 extern int pay_for_item ( object *op, object *pl );  int cast_raise_dead_spell(object *op, int dir, int spell_type, object *corpseobj);
 extern int pay_from_container ( object *op, object *pouch, int to_pay );  int resurrection_fails(int levelcaster, int leveldead);
 extern int get_payment2 ( object *pl, object *op );  int resurrect_player(object *op, char *playername, int rspell);
 extern int get_payment ( object *pl );  void dead_character(char *name);
 extern void sell_item ( object *op, object *pl );  int dead_player_exists(char *name);
 extern void shop_listing ( object *op );  /* rune.c */
 extern int attempt_steal ( object* op, object* who );  int write_rune(object *op, int dir, int inspell, int level, char *runename);
 extern int adj_stealchance ( object *op, object *victim, int roll );  void move_rune(object *op);
 extern int steal ( object* op, int dir );  void rune_attack(object *op, object *victim);
 extern int pick_lock ( object *pl, int dir );  void spring_trap(object *trap, object *victim);
 extern int attempt_pick_lock ( object *door, object *pl );  int dispel_rune(object *op, int dir, int risk);
 extern int hide ( object *op );  int trap_see(object *op, object *trap);
 extern int attempt_hide ( object *op );  int trap_show(object *trap, object *where);
 extern int jump ( object *pl, int dir );  int trap_disarm(object *disarmer, object *trap, int risk);
 extern int skill_ident ( object *pl );  void trap_adjust(object *trap, int difficulty);
 extern int do_skill_detect_curse ( object *pl );  /* script.c */
 extern int do_skill_detect_magic ( object *pl );  void guile_init_functions(void);
 extern int do_skill_ident2 ( object *tmp, object *pl, int obj_class );  void guile_run(char *scriptfile);
 extern int do_skill_ident ( object *pl, int obj_class );  int guile_call_event(object *first, object *second, object *third, int flags, char *text, int dam, int wc, char *scriptname, int fixthem);
 extern int use_oratory ( object *pl, int dir );  int guile_call_event_str(object *first, object *second, object *third, int flags, char *text, int dam, int wc, char *scriptname, int fixthem);
 extern int singing ( object *pl, int dir );  int guile_use_weapon_script(object *hitter, object *hit, int base_dam, int base_wc);
 extern int find_traps ( object *pl );  void gfec_eval_file(const char *file, gfec_error_handler error_handler);
 extern int pray ( object *pl );  void gfec_eval_string(const char *str, gfec_error_handler error_handler);
 extern void meditate ( object *pl );  player *find_player(char *plname);
 extern int write_on_item ( object *pl, char *params );  object *create_artifact(object *op, char *artifactname);
 extern int write_note ( object *pl, object *item, char *msg );  SCM Script_setCursed(SCM who, SCM value);
 extern int write_scroll ( object *pl, object *scroll );  SCM Script_activateRune(SCM who, SCM what);
 extern int remove_trap ( object *op, int dir );  SCM Script_checkTrigger(SCM who, SCM what);
 extern int skill_throw ( object *op, int dir, char *params );  SCM Script_setUnaggressive(SCM who, SCM value);
 extern object *find_throw_ob ( object *op, char *request );  SCM Script_getMapPath(SCM where);
 extern object *make_throw_ob ( object *orig );  SCM Script_getMapObject(SCM where);
 extern void do_throw ( object *op, object *toss_item, int dir );  SCM Script_getMessage(SCM who);
 extern int do_skill ( object *op, int dir, char *string );  SCM Script_getGod(SCM who);
 extern int calc_skill_exp ( object *who, object *op );  SCM Script_setGod(SCM who, SCM value);
 extern float calc_stat_mult ( object *who, int sk );  SCM Script_setWeight(SCM who, SCM value);
 extern int get_weighted_skill_stat_sum ( object *who, int sk );  SCM Script_readyMap(SCM mapname);
 extern void init_new_exp_system ( void );  SCM Script_teleport(SCM who, SCM where, SCM x, SCM y);
 extern void dump_skills ( void );  SCM Script_outOfMap_p(SCM who, SCM x, SCM y);
 extern void init_exp_obj ( void );  SCM Script_pickUp(SCM who, SCM what);
 extern void link_skills_to_exp ( void );  SCM Script_getWeight(SCM who);
 extern int check_link ( int stat, object *exp );  SCM Script_NoPick_p(SCM who);
 extern void read_skill_params ( void );  SCM Script_getNextObject(SCM who);
 extern int lookup_skill_by_name ( char *string );  SCM Script_getPreviousObject(SCM who);
 extern int check_skill_to_fire ( object *who );  SCM Script_getFirstOnSquare(SCM where, SCM x, SCM y);
 extern int check_skill_to_apply ( object *who, object *item );  SCM Script_getMap(SCM who);
 extern int init_player_exp ( object *pl );  SCM Script_setQuantity(SCM what, SCM value);
 extern void unlink_skill ( object *skillop );  SCM Script_getQuantity(SCM what);
 extern int remove_skill_from_list ( object *op, object *skillop );  SCM Script_insertObjectInside(SCM what, SCM where);
 extern int link_player_skills ( object *pl );  SCM Script_findPlayer(SCM plname);
 extern int link_player_skill ( object *pl, object *skillop );  SCM Script_apply(SCM who, SCM what, SCM flags);
 extern int learn_skill ( object *pl, object *scroll );  SCM Script_drop(SCM who, SCM value);
 extern void show_skills ( object *op );  SCM Script_take(SCM who, SCM value);
 extern int use_skill ( object *op, char *string );  SCM Script_getScriptQuantum(void);
 extern int change_skill ( object *who, int sk_index );  SCM Script_getRemainingQuantum(void);
 extern int change_skill_to_skill ( object *who, object *skill );  SCM Script_invisible_p(SCM who);
 extern int attack_melee_weapon ( object *op, int dir, char *string );  SCM Script_setInvisible(SCM who, SCM value);
 extern int attack_hth ( object *pl, int dir, char *string );  SCM Script_getXP(SCM who);
 extern int skill_attack ( object *tmp, object *pl, int dir, char *string );  SCM Script_setXP(SCM who, SCM value);
 extern int do_skill_attack ( object *tmp, object *op, char *string );  SCM Script_getReturnValue(void);
 extern int hth_damage ( object *target, object *pl );  SCM Script_setReturnValue(SCM value);
 extern int SK_level ( object *op );  SCM Script_getDirection(SCM who);
 extern float get_skill_time ( object *op, int skillnr );  SCM Script_setDirection(SCM who, SCM value);
 extern int get_skill_stat1 ( object *op );  SCM Script_getScriptDeath(SCM who);
 extern int get_skill_stat2 ( object *op );  SCM Script_getScriptLoad(SCM who);
 extern int get_skill_stat3 ( object *op );  SCM Script_getScriptApply(SCM who);
 extern int get_weighted_skill_stats ( object *op );  SCM Script_getScriptSay(SCM who);
 extern void prayer_failure ( object *op, int failure, int power );  SCM Script_getScriptTrigger(SCM who);
 extern void cast_mana_storm ( object *op, int lvl );  SCM Script_getScriptTime(SCM who);
 extern void cast_magic_storm ( object *op, object *tmp, int lvl );  SCM Script_getScriptAttack(SCM who);
 extern void aggravate_monsters ( object *op );  SCM Script_getScriptDrop(SCM who);
 extern int recharge ( object *op );  SCM Script_getScriptThrow(SCM who);
 extern void polymorph_living ( object *op );  SCM Script_getScriptStop(SCM who);
 extern void polymorph_melt ( object *who, object *op );  SCM Script_setScriptDeath(SCM who, SCM value);
 extern void polymorph_item ( object *who, object *op );  SCM Script_setScriptLoad(SCM who, SCM value);
 extern void polymorph ( object *op, object *who );  SCM Script_setScriptApply(SCM who, SCM value);
 extern int cast_polymorph ( object *op, int dir );  SCM Script_setScriptSay(SCM who, SCM value);
 extern int cast_create_food ( object *op, object *caster, int dir, char *stringarg );  SCM Script_setScriptTrigger(SCM who, SCM value);
 extern int cast_speedball ( object *op, int dir, int type );  SCM Script_setScriptTime(SCM who, SCM value);
 extern int probe ( object *op, int dir );  SCM Script_setScriptAttack(SCM who, SCM value);
 extern int cast_invisible ( object *op, object *caster, int spell_type );  SCM Script_setScriptDrop(SCM who, SCM value);
 extern int cast_earth2dust ( object *op, object *caster );  SCM Script_setScriptThrow(SCM who, SCM value);
 extern int cast_wor ( object *op, object *caster );  SCM Script_setScriptStop(SCM who, SCM value);
 extern int cast_wow ( object *op, int dir, int ability, SpellTypeFrom item );  SCM Script_setSpeed(SCM who, SCM value);
 extern int perceive_self ( object *op );  SCM Script_getSpeed(SCM who);
 extern int cast_destruction ( object *op, object *caster, int dam, int attacktype );  SCM Script_getLastSP(SCM who);
 extern int magic_wall ( object *op, object *caster, int dir, int spell_type );  SCM Script_setLastSP(SCM who, SCM value);
 extern int cast_light ( object *op, object *caster, int dir );  SCM Script_getLastGP(SCM who);
 extern int dimension_door ( object *op, int dir );  SCM Script_setLastGP(SCM who, SCM value);
 extern int cast_heal ( object *op, int dir, int spell_type );  SCM Script_fixObject(SCM who);
 extern int cast_regenerate_spellpoints ( object *op );  SCM Script_setFace(SCM who, SCM value);
 extern int cast_change_attr ( object *op, object *caster, int dir, int spell_type );  SCM Script_setAttackType(SCM who, SCM value);
 extern int summon_pet ( object *op, int dir, SpellTypeFrom item );  SCM Script_getAttackType(SCM who);
 extern int create_bomb ( object *op, object *caster, int dir, int spell_type, char *name );  SCM Script_setDamage(SCM who, SCM value);
 extern void animate_bomb ( object *op );  SCM Script_getDamage(SCM who);
 extern int fire_cancellation ( object *op, int dir, archetype *at, int magic );  SCM Script_setBeenApplied(SCM who, SCM value);
 extern void move_cancellation ( object *op );  SCM Script_setIdentified(SCM who, SCM value);
 extern void cancellation ( object *op );  SCM Script_killObject(SCM killer, SCM killed, SCM type);
 extern int cast_create_missile ( object *op, object *caster, int dir, char *stringarg );  SCM Script_directionNorth(void);
 extern int cast_create_town_portal (object *op, object *caster, int dir);  SCM Script_directionNE(void);
 extern int alchemy ( object *op );  SCM Script_directionEast(void);
 extern int remove_curse ( object *op, int type, SpellTypeFrom src );  SCM Script_directionSE(void);
 extern int cast_identify ( object *op );  SCM Script_directionSouth(void);
 extern int cast_detection ( object *op, int type );  SCM Script_directionSW(void);
 extern int cast_pacify ( object *op, object *weap, archetype *arch, int spellnum );  SCM Script_directionWest(void);
 extern int summon_fog ( object *op, object *caster, int dir, int spellnum );  SCM Script_directionNW(void);
 extern int create_the_feature ( object *op, object *caster, int dir, int spell_effect );  SCM Script_castAbility(SCM who, SCM spell, SCM direction, SCM options);
 extern int cast_transfer ( object *op, int dir );  SCM Script_castSpell(SCM who, SCM spell, SCM direction, SCM options);
 extern int drain_magic ( object *op, int dir );  SCM Script_forgetSpell(SCM who, SCM spell);
 extern void counterspell ( object *op, int dir );  SCM Script_acquireSpell(SCM who, SCM spell);
 extern int summon_hostile_monsters ( object *op, int n, char *monstername );  SCM Script_knowSpell_p(SCM who, SCM spell);
 extern int cast_charm ( object *op, object *caster, archetype *arch, int spellnum );  SCM Script_checkInvisibleObjectInside(SCM idname, SCM who);
 extern int cast_charm_undead ( object *op, object *caster, archetype *arch, int spellnum );  SCM Script_checkArchetype(SCM what, SCM mapinfo, SCM x, SCM y);
 extern object *choose_cult_monster ( object *pl, object *god, int summon_level );  SCM Script_checkInventory(SCM who, SCM what);
 extern int summon_cult_monsters ( object *op, int old_dir );  SCM Script_getName(SCM who);
 extern int summon_avatar ( object *op, object *caster, int dir, archetype *at, int spellnum );  SCM Script_createObject(SCM archname, SCM x, SCM y);
 extern object *fix_summon_pet ( archetype *at, object *op, int dir, int type );  SCM Script_createObjectInside(SCM archname, SCM where);
 extern int cast_consecrate ( object *op );  SCM Script_createInvisibleObjectInside(SCM idname, SCM where);
 extern int finger_of_death ( object *op, object *caster, int dir );  SCM Script_removeObject(SCM what);
 extern int animate_weapon ( object *op, object *caster, int dir, archetype *at, int spellnum );  SCM Script_whoIsOther(void);
 extern int cast_daylight ( object *op );  SCM Script_whoAmI(void);
 extern int cast_nightfall ( object *op );  SCM Script_whoIsActivator(void);
 extern int cast_faery_fire ( object *op, object *caster );  SCM Script_whatMessage(void);
 extern int make_object_glow ( object *op, int radius, int time );  SCM Script_crossfireSay(SCM who, SCM message);
 extern int cast_cause_disease ( object *op, object *caster, int dir, archetype *disease_arch, int type );  SCM Script_crossfireWrite(SCM who, SCM message, SCM color);
 extern void move_aura ( object *aura );  SCM Script_crossfireMessage(SCM message, SCM color);
 extern void move_peacemaker ( object *op );  SCM Script_isAlive_p(SCM who);
 extern int cast_cause_conflict ( object *op, object *caster, archetype *spellarch, int type );  SCM Script_isWiz_p(SCM who);
 extern void init_spells ( void );  SCM Script_wasWiz_p(SCM who);
 extern void dump_spells ( void );  SCM Script_isApplied_p(SCM who);
 extern void spell_effect ( int spell_type, int x, int y, mapstruct *map, object *originator );  SCM Script_isUnpaid_p(SCM who);
 extern spell *find_spell ( int spelltype );  SCM Script_isFlying_p(SCM who);
 extern int path_level_mod ( object *caster, int base_level, int spell_type );  SCM Script_isMonster_p(SCM who);
 extern int casting_level ( object *caster, int spell_type );  SCM Script_isFriendly_p(SCM who);
 extern int check_spell_known ( object *op, int spell_type );  SCM Script_isGenerator_p(SCM who);
 extern int cast_spell ( object *op, object *caster, int dir, int type, int ability, SpellTypeFrom item, char *stringarg );  SCM Script_isThrown_p(SCM who);
 extern int cast_create_obj ( object *op, object *caster, object *new_op, int dir );  SCM Script_canSeeInvisible_p(SCM who);
 extern int summon_monster ( object *op, object *caster, int dir, archetype *at, int spellnum );  SCM Script_canRoll_p(SCM who);
 extern int fire_bolt ( object *op, object *caster, int dir, int type, int magic );  SCM Script_isTurnable_p(SCM who);
 extern int fire_arch ( object *op, object *caster, int dir, archetype *at, int type, int magic );  SCM Script_isUsedUp_p(SCM who);
 extern int fire_arch_from_position ( object *op, object *caster, sint16 x, sint16 y, int dir, archetype *at, int type, int magic );  SCM Script_isIdentified_p(SCM who);
 extern int cast_cone ( object *op, object *caster, int dir, int strength, int spell_type, archetype *spell_arch, int magic );  SCM Script_isSplitting_p(SCM who);
 extern void check_cone_push ( object *op );  SCM Script_hitback_p(SCM who);
 extern void cone_drop ( object *op );  SCM Script_blocksview_p(SCM who);
 extern void move_cone ( object *op );  SCM Script_isUndead_p(SCM who);
 extern void fire_a_ball ( object *op, int dir, int strength );  SCM Script_isScared_p(SCM who);
 extern void explosion ( object *op );  SCM Script_isUnaggressive_p(SCM who);
 extern void forklightning ( object *op, object *tmp );  SCM Script_reflectMissiles_p(SCM who);
 extern int reflwall ( mapstruct *m, int x, int y, object *sp_op );  SCM Script_reflectSpells_p(SCM who);
 extern void move_bolt ( object *op );  SCM Script_runAway_p(SCM who);
 extern void move_golem ( object *op );  SCM Script_canPassThru_p(SCM who);
 extern void control_golem ( object *op, int dir );  SCM Script_canPickUp_p(SCM who);
 extern void move_missile ( object *op );  SCM Script_isUnique_p(SCM who);
 extern void explode_object ( object *op );  SCM Script_canCastSpell_p(SCM who);
 extern void check_fired_arch ( object *op );  SCM Script_canUseScroll_p(SCM who);
 extern void move_fired_arch ( object *op );  SCM Script_canUseWand_p(SCM who);
 extern void drain_rod_charge ( object *rod );  SCM Script_canUseBow_p(SCM who);
 extern void fix_rod_speed ( object *rod );  SCM Script_canUseArmour_p(SCM who);
 extern object *find_target_for_friendly_spell ( object *op, int dir );  SCM Script_canUseWeapon_p(SCM who);
 extern void move_ball_lightning ( object *op );  SCM Script_canUseRing_p(SCM who);
 extern int can_see_monsterP ( mapstruct *m, int x, int y, int dir );  SCM Script_hasXRays_p(SCM who);
 extern int spell_find_dir ( mapstruct *m, int x, int y, object *exclude );  SCM Script_isFloor_p(SCM who);
 extern int SP_level_dam_adjust ( object *op, object *caster, int spell_type );  SCM Script_isLifesave_p(SCM who);
 extern int SP_level_strength_adjust ( object *op, object *caster, int spell_type );  SCM Script_isSleeping_p(SCM who);
 extern int SP_level_spellpoint_cost ( object *op, object *caster, int spell_type );  SCM Script_standStill_p(SCM who);
 extern void move_swarm_spell ( object *op );  SCM Script_onlyAttack_p(SCM who);
 extern void fire_swarm ( object *op, object *caster, int dir, archetype *swarm_type, int spell_type, int n, int magic );  SCM Script_isConfused_p(SCM who);
 extern int create_aura ( object *op, object *caster, archetype *aura_arch, int spell_type, int magic );  SCM Script_hasStealth_p(SCM who);
 extern int look_up_spell_by_name ( object *op, char *spname );  SCM Script_isCursed_p(SCM who);
 extern void put_a_monster ( object *op, char *monstername );  SCM Script_isDamned_p(SCM who);
 extern void shuffle_attack ( object *op, int change_face );  SCM Script_knownMagical_p(SCM who);
 extern void init_spell_param ( void );  SCM Script_knownCursed_p(SCM who);
 extern object *get_pointed_target ( object *op, int dir );  SCM Script_canUseSkill_p(SCM who);
 extern int cast_smite_spell ( object *op, object *caster, int dir, int type );  SCM Script_beenApplied_p(SCM who);
 extern void walk_on_deep_swamp ( object *op, object *victim );  SCM Script_canUseRod_p(SCM who);
 extern void move_deep_swamp ( object *op );  SCM Script_canUseHorn_p(SCM who);
 extern void read_map_log ( void );  SCM Script_makeInvisible_p(SCM who);
 extern void swap_map ( mapstruct *map );  SCM Script_isBlind_p(SCM who);
 extern void check_active_maps ( void );  SCM Script_canSeeInDark_p(SCM who);
 extern mapstruct *map_least_timeout ( char *except_level );  SCM Script_setPosition(SCM who, SCM X, SCM Y);
 extern void swap_below_max ( char *except_level );  SCM Script_getXPosition(SCM who);
 extern int players_on_map ( mapstruct *m );  SCM Script_getYPosition(SCM who);
 extern void flush_old_maps ( void );  SCM Script_setTitle(SCM who, SCM newname);
 extern void remove_door ( object *op );  SCM Script_setAC(SCM who, SCM newvalue);
 extern void remove_door2 ( object *op );  SCM Script_getAC(SCM who);
 extern void generate_monster ( object *gen );  SCM Script_getHP(SCM who);
 extern void regenerate_rod ( object *rod );  SCM Script_getSP(SCM who);
 extern void remove_force ( object *op );  SCM Script_getGP(SCM who);
 extern void remove_blindness ( object *op );  SCM Script_getFP(SCM who);
 extern void remove_confusion ( object *op );  SCM Script_getMaxHP(SCM who);
 extern void execute_wor ( object *op );  SCM Script_getMaxSP(SCM who);
 extern void poison_more ( object *op );  SCM Script_setHP(SCM who, SCM newvalue);
 extern void move_gate ( object *op );  SCM Script_setSP(SCM who, SCM newvalue);
 extern void move_timed_gate ( object *op );  SCM Script_setFP(SCM who, SCM newvalue);
 extern void move_detector ( object *op );  SCM Script_setGP(SCM who, SCM newvalue);
 extern void animate_trigger ( object *op );  SCM Script_setMaxHP(SCM who, SCM newvalue);
 extern void move_hole ( object *op );  SCM Script_setMaxSP(SCM who, SCM newvalue);
 extern object *stop_item ( object *op );  SCM Script_setCha(SCM who, SCM newvalue);
 extern void fix_stopped_item ( object *op, mapstruct *map, object *originator );  SCM Script_setStr(SCM who, SCM newvalue);
 extern object *fix_stopped_arrow ( object *op );  SCM Script_setDex(SCM who, SCM newvalue);
 extern void move_arrow ( object *op );  SCM Script_setInt(SCM who, SCM newvalue);
 extern void change_object ( object *op );  SCM Script_setWis(SCM who, SCM newvalue);
 extern void move_teleporter ( object *op );  SCM Script_setPow(SCM who, SCM newvalue);
 extern void move_player_changer ( object *op );  SCM Script_setCon(SCM who, SCM newvalue);
 extern void move_firewall ( object *op );  SCM Script_getCon(SCM who);
 extern void move_firechest ( object *op );  SCM Script_getStr(SCM who);
 extern void move_player_mover ( object *op );  SCM Script_getDex(SCM who);
 extern void move_creator ( object *op );  SCM Script_getInt(SCM who);
 extern void move_marker ( object *op );  SCM Script_getWis(SCM who);
 extern int process_object ( object *op );  SCM Script_getPow(SCM who);
   SCM Script_getCha(SCM who);
   SCM Script_getType(SCM who);
 /* GROS: Experimental extended alchemy code */  SCM Script_isType(SCM who, SCM what);
 extern object *find_improvable_object(object *cauldron);  /* script_spells.c */
 extern void try_alchemical_improve(object *cauldron, object *target, object *caster);  void guile_init_spell_functions(void);
   SCM Script_spellBullet(void);
 /* GROS: These two were changed to allow Guile to run */  SCM Script_spellSmallFireball(void);
 extern int main ( int argc, char **argv );  SCM Script_spellMediumFireball(void);
 extern void main_crossfire( int argc, char **argv );  SCM Script_spellLargeFireball(void);
   SCM Script_spellBurningHands(void);
 /* GROS: Some new utility functions */  SCM Script_spellSmallLightning(void);
 extern player *find_player(char *name);  SCM Script_spellLargeLightning(void);
 extern archetype *find_archetype_by_object_name(char *name);  SCM Script_spellMagicMissile(void);
 extern object *get_archetype_by_object_name(char *name) ;  SCM Script_spellCreateBomb(void);
   SCM Script_spellSummonGolem(void);
 extern void guile_init_functions();  SCM Script_spellSummonFireElemental(void);
 extern void guile_init_type_functions();  SCM Script_spellSummonEarthElemental(void);
 extern void guile_run(char *scriptfile);  SCM Script_spellSummonWaterElemental(void);
 extern object *find_best_weapon_used_match(object *pl, char *params);  SCM Script_spellSummonAirElemental(void);
   SCM Script_spellDimensionDoor(void);
 /* GROS: New event handlers */  SCM Script_spellCreateEarthWall(void);
 extern int guile_call_event(object *first, object *second, object *third, int flags, char *text, int dam, int wc, char *scriptname, int fixthem);  SCM Script_spellParalyze(void);
 extern int guile_call_event_str(object *first, object *second, object *third, int flags, char *text, int dam, int wc, char *scriptname, int fixthem);  SCM Script_spellIcestorm(void);
   SCM Script_spellMagicMapping(void);
 /* GROS: Old event handlers */  SCM Script_spellTurnUndead(void);
   SCM Script_spellFear(void);
 extern int guile_use_weapon_script(object *op, object *npc, int base_dam, int base_wc);  SCM Script_spellPoisonCloud(void);
   SCM Script_spellWOW(void);
 #endif /* __STDC__ */  SCM Script_spellDestruction(void);
 #endif /* __CEXTRACT__ */  SCM Script_spellPerceiveSelf(void);
   SCM Script_spellWOR(void);
   SCM Script_spellInvisibility(void);
   SCM Script_spellInvisibleToUndead(void);
   SCM Script_spellProbe(void);
   SCM Script_spellLargeBullet(void);
   SCM Script_spellImprovedInvisibility(void);
   SCM Script_spellHolyWord(void);
   SCM Script_spellMinorHealing(void);
   SCM Script_spellMediumHealing(void);
   SCM Script_spellMajorHealing(void);
   SCM Script_spellHeal(void);
   SCM Script_spellCreateFood(void);
   SCM Script_spellEarthToDust(void);
   SCM Script_spellArmour(void);
   SCM Script_spellStrength(void);
   SCM Script_spellDexterity(void);
   SCM Script_spellConstitution(void);
   SCM Script_spellCharisma(void);
   SCM Script_spellFireWall(void);
   SCM Script_spellFrostWall(void);
   SCM Script_spellProtectionCold(void);
   SCM Script_spellProtectionElectricity(void);
   SCM Script_spellProtectionFire(void);
   SCM Script_spellProtectionPoison(void);
   SCM Script_spellProtectionSlow(void);
   SCM Script_spellProtectionParalyze(void);
   SCM Script_spellProtectionDrain(void);
   SCM Script_spellProtectionMagic(void);
   SCM Script_spellProtectionAttack(void);
   SCM Script_spellLevitate(void);
   SCM Script_spellSmallSpeedball(void);
   SCM Script_spellLargeSpeedball(void);
   SCM Script_spellHellfire(void);
   SCM Script_spellFirebreath(void);
   SCM Script_spellLargeIcestorm(void);
   SCM Script_spellCharging(void);
   SCM Script_spellPolymorph(void);
   SCM Script_spellCancellation(void);
   SCM Script_spellConfusion(void);
   SCM Script_spellMassConfusion(void);
   SCM Script_spellSummonPetMonster(void);
   SCM Script_spellSlow(void);
   SCM Script_spellRegenerateSpellpoints(void);
   SCM Script_spellCurePoison(void);
   SCM Script_spellProtectionConfusion(void);
   SCM Script_spellProtectionCancellation(void);
   SCM Script_spellProtectionDepletion(void);
   SCM Script_spellAlchemy(void);
   SCM Script_spellRemoveCurse(void);
   SCM Script_spellRemoveDamnation(void);
   SCM Script_spellIdentify(void);
   SCM Script_spellDetectMagic(void);
   SCM Script_spellDetectMonster(void);
   SCM Script_spellDetectEvil(void);
   SCM Script_spellDetectCurse(void);
   SCM Script_spellHeroism(void);
   SCM Script_spellAggravation(void);
   SCM Script_spellFirebolt(void);
   SCM Script_spellFrostbolt(void);
   SCM Script_spellShockwave(void);
   SCM Script_spellColorSpray(void);
   SCM Script_spellHaste(void);
   SCM Script_spellFaceOfDeath(void);
   SCM Script_spellBallLightning(void);
   SCM Script_spellMeteorSwarm(void);
   SCM Script_spellMeteor(void);
   SCM Script_spellMysticFist(void);
   SCM Script_spellRaiseDead(void);
   SCM Script_spellResurrection(void);
   SCM Script_spellReincarnation(void);
   SCM Script_spellImmuneCold(void);
   SCM Script_spellImmuneElectricity(void);
   SCM Script_spellImmuneFire(void);
   SCM Script_spellImmunePoison(void);
   SCM Script_spellImmuneSlow(void);
   SCM Script_spellImmuneParalyze(void);
   SCM Script_spellImmuneDrain(void);
   SCM Script_spellImmuneMagic(void);
   SCM Script_spellImmuneAttack(void);
   SCM Script_spellInvulnerability(void);
   SCM Script_spellProtection(void);
   SCM Script_spellRuneFire(void);
   SCM Script_spellRuneFrost(void);
   SCM Script_spellRuneShock(void);
   SCM Script_spellRuneBlast(void);
   SCM Script_spellRuneDeath(void);
   SCM Script_spellRuneMark(void);
   SCM Script_spellBuildDirector(void);
   SCM Script_spellChaosPool(void);
   SCM Script_spellBuildBulletWall(void);
   SCM Script_spellBuildLightningWall(void);
   SCM Script_spellBuildFireballWall(void);
   SCM Script_spellRuneMagic(void);
   SCM Script_spellRuneDrainSP(void);
   SCM Script_spellRuneAntimagic(void);
   SCM Script_spellRuneTransferrence(void);
   SCM Script_spellTransfer(void);
   SCM Script_spellMagicDrain(void);
   SCM Script_spellCounterspell(void);
   SCM Script_spellDispelRune(void);
   SCM Script_spellCureConfusion(void);
   SCM Script_spellRestoration(void);
   SCM Script_spellSummonEvilMonster(void);
   SCM Script_spellCounterwall(void);
   SCM Script_spellCauseLightWounds(void);
   SCM Script_spellCauseMediumWounds(void);
   SCM Script_spellCauseHeavyWounds(void);
   SCM Script_spellCharm(void);
   SCM Script_spellBanishment(void);
   SCM Script_spellCreateMissile(void);
   SCM Script_spellShowInvisible(void);
   SCM Script_spellXRay(void);
   SCM Script_spellPacify(void);
   SCM Script_spellSummonFog(void);
   SCM Script_spellSteambolt(void);
   SCM Script_spellCommandUndead(void);
   SCM Script_spellHolyOrb(void);
   SCM Script_spellSummonAvatar(void);
   SCM Script_spellHolyPossession(void);
   SCM Script_spellBless(void);
   SCM Script_spellCurse(void);
   SCM Script_spellRegeneration(void);
   SCM Script_spellConsecrate(void);
   SCM Script_spellSummonCultMonsters(void);
   SCM Script_spellCauseCriticalWounds(void);
   SCM Script_spellHolyWrath(void);
   SCM Script_spellRetribution(void);
   SCM Script_spellFingerDeath(void);
   SCM Script_spellInsectPlague(void);
   SCM Script_spellHolyServant(void);
   SCM Script_spellWallOfThorns(void);
   SCM Script_spellStaffToSnake(void);
   SCM Script_spellLight(void);
   SCM Script_spellDarkness(void);
   SCM Script_spellNightfall(void);
   SCM Script_spellDaylight(void);
   SCM Script_spellSunSpear(void);
   SCM Script_spellFaeryFire(void);
   SCM Script_spellCureBlindness(void);
   SCM Script_spellDarkVision(void);
   SCM Script_spellBulletSwarm(void);
   SCM Script_spellBulletStorm(void);
   SCM Script_spellCauseManyWounds(void);
   SCM Script_spellSmallSnowstorm(void);
   SCM Script_spellMediumSnowstorm(void);
   SCM Script_spellLargeSnowstorm(void);
   SCM Script_spellCureDisease(void);
   SCM Script_spellCauseEbola(void);
   SCM Script_spellCauseFlu(void);
   SCM Script_spellCausePlague(void);
   SCM Script_spellCauseLeprosy(void);
   SCM Script_spellCauseSmallPox(void);
   SCM Script_spellCausePneumonicPlague(void);
   SCM Script_spellCauseAnthrax(void);
   SCM Script_spellCauseTyphoid(void);
   SCM Script_spellManaBlast(void);
   SCM Script_spellSmallManaball(void);
   SCM Script_spellMediumManaball(void);
   SCM Script_spellLargeManaball(void);
   SCM Script_spellManabolt(void);
   SCM Script_spellDancingSword(void);
   SCM Script_spellAnimateWeapon(void);
   SCM Script_spellCauseCold(void);
   SCM Script_spellDivineShock(void);
   SCM Script_spellWindStorm(void);
   SCM Script_spellSanctuary(void);
   SCM Script_spellPeace(void);
   SCM Script_spellSpiderWeb(void);
   SCM Script_spellConflict(void);
   SCM Script_spellRage(void);
   SCM Script_spellForkedLightning(void);
   SCM Script_spellPoisonFog(void);
   SCM Script_spellFlameAura(void);
   SCM Script_spellVitriol(void);
   SCM Script_spellVitriolSplash(void);
   SCM Script_spellIronwoodSkin(void);
   SCM Script_spellWrathfullEye(void);
   /* script_types.c */
   void guile_init_type_functions(void);
   SCM Script_colorBlack(void);
   SCM Script_colorDarkBlue(void);
   SCM Script_colorRed(void);
   SCM Script_colorDarkYellow(void);
   SCM Script_colorLightBlue(void);
   SCM Script_colorOrange(void);
   SCM Script_colorDarkGreen(void);
   SCM Script_colorLightGreen(void);
   SCM Script_colorGrey(void);
   SCM Script_colorBrown(void);
   SCM Script_colorYellow(void);
   SCM Script_colorLightYellow(void);
   SCM Script_attackTypePhysical(void);
   SCM Script_attackTypeMagic(void);
   SCM Script_attackTypeFire(void);
   SCM Script_attackTypeElectricity(void);
   SCM Script_attackTypeCold(void);
   SCM Script_attackTypeConfusion(void);
   SCM Script_attackTypeAcid(void);
   SCM Script_attackTypeDrain(void);
   SCM Script_attackTypeWeaponmagic(void);
   SCM Script_attackTypeGhosthit(void);
   SCM Script_attackTypePoison(void);
   SCM Script_attackTypeSlow(void);
   SCM Script_attackTypeParalyze(void);
   SCM Script_attackTypeTurnUndead(void);
   SCM Script_attackTypeFear(void);
   SCM Script_attackTypeCancellation(void);
   SCM Script_attackTypeDepletion(void);
   SCM Script_attackTypeDeath(void);
   SCM Script_attackTypeChaos(void);
   SCM Script_attackTypeCounterspell(void);
   SCM Script_attackTypeGodpower(void);
   SCM Script_attackTypeHolyWord(void);
   SCM Script_attackTypeBlind(void);
   SCM Script_typePlayer(void);
   SCM Script_typeBullet(void);
   SCM Script_typeRod(void);
   SCM Script_typeTreasure(void);
   SCM Script_typePotion(void);
   SCM Script_typeFood(void);
   SCM Script_typePoison(void);
   SCM Script_typeBook(void);
   SCM Script_typeClock(void);
   SCM Script_typeFBullet(void);
   SCM Script_typeFBall(void);
   SCM Script_typeLightning(void);
   SCM Script_typeArrow(void);
   SCM Script_typeBow(void);
   SCM Script_typeWeapon(void);
   SCM Script_typeArmour(void);
   SCM Script_typePedestal(void);
   SCM Script_typeAltar(void);
   SCM Script_typeConfusion(void);
   SCM Script_typeLockedDoor(void);
   SCM Script_typeSpecialKey(void);
   SCM Script_typeMap(void);
   SCM Script_typeDoor(void);
   SCM Script_typeKey(void);
   SCM Script_typeMMissile(void);
   SCM Script_typeTimedGate(void);
   SCM Script_typeTrigger(void);
   SCM Script_typeGrimReaper(void);
   SCM Script_typeMagicEar(void);
   SCM Script_typeTriggerButton(void);
   SCM Script_typeTriggerAltar(void);
   SCM Script_typeTriggerPedestal(void);
   SCM Script_typeShield(void);
   SCM Script_typeHelmet(void);
   SCM Script_typeHorn(void);
   SCM Script_typeMoney(void);
   SCM Script_typeClass(void);
   SCM Script_typeGravestone(void);
   SCM Script_typeAmulet(void);
   SCM Script_typePlayerMover(void);
   SCM Script_typeTeleporter(void);
   SCM Script_typeCreator(void);
   SCM Script_typeSkill(void);
   SCM Script_typeExperience(void);
   SCM Script_typeEarthwall(void);
   SCM Script_typeGolem(void);
   SCM Script_typeBomb(void);
   SCM Script_typeThrownObject(void);
   SCM Script_typeBlindness(void);
   SCM Script_typeGod(void);
   SCM Script_typeDetector(void);
   SCM Script_typeSpeedBall(void);
   SCM Script_typeDeadObject(void);
   SCM Script_typeDrink(void);
   SCM Script_typeMarker(void);
   SCM Script_typeHolyAltar(void);
   SCM Script_typePlayerChanger(void);
   SCM Script_typeBattleground(void);
   SCM Script_typePeacemaker(void);
   SCM Script_typeGem(void);
   SCM Script_typeFirechest(void);
   SCM Script_typeFirewall(void);
   SCM Script_typeCheckInv(void);
   SCM Script_typeMoodFloor(void);
   SCM Script_typeExit(void);
   SCM Script_typeEncounter(void);
   SCM Script_typeShopFloor(void);
   SCM Script_typeShopMat(void);
   SCM Script_typeRing(void);
   SCM Script_typeFlesh(void);
   SCM Script_typeInorganic(void);
   SCM Script_typeLighter(void);
   SCM Script_typeTrapPart(void);
   SCM Script_typeSpellbook(void);
   SCM Script_typeCloak(void);
   SCM Script_typeCone(void);
   SCM Script_typeAura(void);
   SCM Script_typeSpinner(void);
   SCM Script_typeGate(void);
   SCM Script_typeButton(void);
   SCM Script_typeHandle(void);
   SCM Script_typeHole(void);
   SCM Script_typeTrapdoor(void);
   SCM Script_typeWordOfRecall(void);
   SCM Script_typeParaimage(void);
   SCM Script_typeSign(void);
   SCM Script_typeBoots(void);
   SCM Script_typeGloves(void);
   SCM Script_typeConverter(void);
   SCM Script_typeBracers(void);
   SCM Script_typePoisoning(void);
   SCM Script_typeSavebed(void);
   SCM Script_typePoisonCloud(void);
   SCM Script_typeFireholes(void);
   SCM Script_typeWand(void);
   SCM Script_typeAbility(void);
   SCM Script_typeScroll(void);
   SCM Script_typeDirector(void);
   SCM Script_typeGirdle(void);
   SCM Script_typeForce(void);
   SCM Script_typePotionEffect(void);
   SCM Script_typeCloseContainer(void);
   SCM Script_typeContainer(void);
   SCM Script_typeArmourImprover(void);
   SCM Script_typeWeaponImprover(void);
   SCM Script_typeSkillScroll(void);
   SCM Script_typeDeepSwamp(void);
   SCM Script_typeIdentifyAltar(void);
   SCM Script_typeCancellation(void);
   SCM Script_typeMenu(void);
   SCM Script_typeBallLightning(void);
   SCM Script_typeSwarmSpell(void);
   SCM Script_typeRune(void);
   SCM Script_typePowerCrystal(void);
   SCM Script_typeCorpse(void);
   SCM Script_typeDisease(void);
   SCM Script_typeSymptom(void);
   /* shop.c */
   int query_cost(object *tmp, object *who, int flag);
   char *cost_string_from_value(int cost);
   char *query_cost_string(object *tmp, object *who, int flag);
   int query_money(object *op);
   int pay_for_item(object *op, object *pl);
   int pay_from_container(object *op, object *pouch, int to_pay);
   int get_payment2(object *pl, object *op);
   int get_payment(object *pl);
   void sell_item(object *op, object *pl);
   void shop_listing(object *op);
   /* skills.c */
   int attempt_steal(object *op, object *who);
   int adj_stealchance(object *op, object *victim, int roll);
   int steal(object *op, int dir);
   int pick_lock(object *pl, int dir);
   int attempt_pick_lock(object *door, object *pl);
   int hide(object *op);
   int attempt_hide(object *op);
   int jump(object *pl, int dir);
   int skill_ident(object *pl);
   int do_skill_detect_curse(object *pl);
   int do_skill_detect_magic(object *pl);
   int do_skill_ident2(object *tmp, object *pl, int obj_class);
   int do_skill_ident(object *pl, int obj_class);
   int use_oratory(object *pl, int dir);
   int singing(object *pl, int dir);
   int find_traps(object *pl);
   int pray(object *pl);
   void meditate(object *pl);
   int write_on_item(object *pl, char *params);
   int write_note(object *pl, object *item, char *msg);
   int write_scroll(object *pl, object *scroll);
   int remove_trap(object *op, int dir);
   int skill_throw(object *op, int dir, char *params);
   object *find_throw_ob(object *op, char *request);
   object *make_throw_ob(object *orig);
   void do_throw(object *op, object *toss_item, int dir);
   /* skill_util.c */
   void find_skill_exp_name(object *pl, object *exp, int index);
   int do_skill(object *op, int dir, char *string);
   int calc_skill_exp(object *who, object *op);
   float calc_stat_mult(object *who, int sk);
   int get_weighted_skill_stat_sum(object *who, int sk);
   void init_new_exp_system(void);
   void dump_skills(void);
   void init_exp_obj(void);
   void link_skills_to_exp(void);
   int check_link(int stat, object *exp);
   void read_skill_params(void);
   int lookup_skill_by_name(char *string);
   int check_skill_to_fire(object *who);
   int check_skill_to_apply(object *who, object *item);
   int init_player_exp(object *pl);
   void unlink_skill(object *skillop);
   int link_player_skills(object *pl);
   int link_player_skill(object *pl, object *skillop);
   int learn_skill(object *pl, object *scroll);
   void show_skills(object *op);
   int use_skill(object *op, char *string);
   int change_skill(object *who, int sk_index);
   int attack_melee_weapon(object *op, int dir, char *string);
   int attack_hth(object *pl, int dir, char *string);
   int skill_attack(object *tmp, object *pl, int dir, char *string);
   int do_skill_attack(object *tmp, object *op, char *string);
   int hth_damage(object *target, object *pl);
   int SK_level(object *op);
   float get_skill_time(object *op, int skillnr);
   int get_skill_stat1(object *op);
   int get_skill_stat2(object *op);
   int get_skill_stat3(object *op);
   int get_weighted_skill_stats(object *op);
   /* spell_effect.c */
   void prayer_failure(object *op, int failure, int power);
   void cast_mana_storm(object *op, int lvl);
   void cast_magic_storm(object *op, object *tmp, int lvl);
   void aggravate_monsters(object *op);
   int recharge(object *op);
   void polymorph_living(object *op);
   void polymorph_melt(object *who, object *op);
   void polymorph_item(object *who, object *op);
   void polymorph(object *op, object *who);
   int cast_polymorph(object *op, int dir);
   int cast_create_food(object *op, object *caster, int dir, char *stringarg);
   int cast_speedball(object *op, int dir, int type);
   int probe(object *op, int dir);
   int cast_invisible(object *op, object *caster, int spell_type);
   int cast_earth2dust(object *op, object *caster);
   int cast_wor(object *op, object *caster);
   int cast_wow(object *op, int dir, int ability, SpellTypeFrom item);
   int perceive_self(object *op);
   int cast_create_town_portal(object *op, object *caster, int dir);
   int cast_destruction(object *op, object *caster, int dam, int attacktype);
   int magic_wall(object *op, object *caster, int dir, int spell_type);
   int cast_light(object *op, object *caster, int dir);
   int dimension_door(object *op, int dir);
   int cast_heal(object *op, int dir, int spell_type);
   int cast_regenerate_spellpoints(object *op);
   int cast_change_attr(object *op, object *caster, int dir, int spell_type);
   int summon_pet(object *op, int dir, SpellTypeFrom item);
   int create_bomb(object *op, object *caster, int dir, int spell_type, char *name);
   void animate_bomb(object *op);
   int fire_cancellation(object *op, int dir, archetype *at, int magic);
   void move_cancellation(object *op);
   void cancellation(object *op);
   int cast_create_missile(object *op, object *caster, int dir, char *stringarg);
   int alchemy(object *op);
   int remove_curse(object *op, int type, SpellTypeFrom src);
   int cast_identify(object *op);
   int cast_detection(object *op, int type);
   int cast_pacify(object *op, object *weap, archetype *arch, int spellnum);
   int summon_fog(object *op, object *caster, int dir, int spellnum);
   int create_the_feature(object *op, object *caster, int dir, int spell_effect);
   int cast_transfer(object *op, int dir);
   int drain_magic(object *op, int dir);
   void counterspell(object *op, int dir);
   int summon_hostile_monsters(object *op, int n, char *monstername);
   int cast_charm(object *op, object *caster, archetype *arch, int spellnum);
   int cast_charm_undead(object *op, object *caster, archetype *arch, int spellnum);
   object *choose_cult_monster(object *pl, object *god, int summon_level);
   int summon_cult_monsters(object *op, int old_dir);
   int summon_avatar(object *op, object *caster, int dir, archetype *at, int spellnum);
   object *fix_summon_pet(archetype *at, object *op, int dir, int type);
   int cast_consecrate(object *op);
   int finger_of_death(object *op, object *caster, int dir);
   int animate_weapon(object *op, object *caster, int dir, archetype *at, int spellnum);
   int cast_daylight(object *op);
   int cast_nightfall(object *op);
   int cast_faery_fire(object *op, object *caster);
   int make_object_glow(object *op, int radius, int time);
   int cast_cause_disease(object *op, object *caster, int dir, archetype *disease_arch, int type);
   void move_aura(object *aura);
   void move_peacemaker(object *op);
   int cast_cause_conflict(object *op, object *caster, archetype *spellarch, int type);
   /* spell_util.c */
   void init_spells(void);
   void dump_spells(void);
   void spell_effect(int spell_type, int x, int y, mapstruct *map, object *originator);
   spell *find_spell(int spelltype);
   int path_level_mod(object *caster, int base_level, int spell_type);
   int casting_level(object *caster, int spell_type);
   int check_spell_known(object *op, int spell_type);
   int cast_spell(object *op, object *caster, int dir, int type, int ability, SpellTypeFrom item, char *stringarg);
   int cast_create_obj(object *op, object *caster, object *new_op, int dir);
   int summon_monster(object *op, object *caster, int dir, archetype *at, int spellnum);
   int fire_bolt(object *op, object *caster, int dir, int type, int magic);
   int fire_arch(object *op, object *caster, int dir, archetype *at, int type, int magic);
   int fire_arch_from_position(object *op, object *caster, sint16 x, sint16 y, int dir, archetype *at, int type, int magic);
   int cast_cone(object *op, object *caster, int dir, int strength, int spell_type, archetype *spell_arch, int magic);
   void check_cone_push(object *op);
   void cone_drop(object *op);
   void move_cone(object *op);
   void fire_a_ball(object *op, int dir, int strength);
   void explosion(object *op);
   void forklightning(object *op, object *tmp);
   int reflwall(mapstruct *m, int x, int y, object *sp_op);
   void move_bolt(object *op);
   void move_golem(object *op);
   void control_golem(object *op, int dir);
   void move_missile(object *op);
   void explode_object(object *op);
   void check_fired_arch(object *op);
   void move_fired_arch(object *op);
   void drain_rod_charge(object *rod);
   void fix_rod_speed(object *rod);
   object *find_target_for_friendly_spell(object *op, int dir);
   void move_ball_lightning(object *op);
   int can_see_monsterP(mapstruct *m, int x, int y, int dir);
   int spell_find_dir(mapstruct *m, int x, int y, object *exclude);
   int SP_level_dam_adjust(object *op, object *caster, int spell_type);
   int SP_level_strength_adjust(object *op, object *caster, int spell_type);
   int SP_level_spellpoint_cost(object *op, object *caster, int spell_type);
   void move_swarm_spell(object *op);
   void fire_swarm(object *op, object *caster, int dir, archetype *swarm_type, int spell_type, int n, int magic);
   int create_aura(object *op, object *caster, archetype *aura_arch, int spell_type, int magic);
   int look_up_spell_by_name(object *op, char *spname);
   void put_a_monster(object *op, char *monstername);
   void shuffle_attack(object *op, int change_face);
   void init_spell_param(void);
   object *get_pointed_target(object *op, int dir);
   int cast_smite_spell(object *op, object *caster, int dir, int type);
   /* swamp.c */
   void walk_on_deep_swamp(object *op, object *victim);
   void move_deep_swamp(object *op);
   /* swap.c */
   void read_map_log(void);
   void swap_map(mapstruct *map);
   void check_active_maps(void);
   mapstruct *map_least_timeout(char *except_level);
   void swap_below_max(char *except_level);
   int players_on_map(mapstruct *m);
   void flush_old_maps(void);
   /* time.c */
   void remove_door(object *op);
   void remove_door2(object *op);
   void generate_monster(object *gen);
   void regenerate_rod(object *rod);
   void remove_force(object *op);
   void remove_blindness(object *op);
   void remove_confusion(object *op);
   void execute_wor(object *op);
   void poison_more(object *op);
   void move_gate(object *op);
   void move_timed_gate(object *op);
   void move_detector(object *op);
   void animate_trigger(object *op);
   void move_hole(object *op);
   object *stop_item(object *op);
   void fix_stopped_item(object *op, mapstruct *map, object *originator);
   object *fix_stopped_arrow(object *op);
   void move_arrow(object *op);
   void change_object(object *op);
   void move_teleporter(object *op);
   void move_player_changer(object *op);
   void move_firewall(object *op);
   void move_firechest(object *op);
   void move_player_mover(object *op);
   void move_creator(object *op);
   void move_marker(object *op);
   int process_object(object *op);


Legend:
line(s) removed in v.1.36 
line(s) changed
 line(s) added in v.1.37

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:32