version 1.22 | | version 1.23 |
---|
| | |
* This file was automatically generated by version 1.7 of cextract. | | * This file was automatically generated by version 1.7 of cextract. |
* Manual editing not recommended. | | * Manual editing not recommended. |
* | | * |
* Created: Tue Apr 25 23:45:32 2000 | | * Created: Thu Nov 23 22:54:10 2000 |
*/ | | */ |
#ifndef __CEXTRACT__ | | #ifndef __CEXTRACT__ |
#ifdef __STDC__ | | #ifdef __STDC__ |
| | |
extern int improve_weapon ( object *op, object *improver, object *weapon ); | | extern int improve_weapon ( object *op, object *improver, object *weapon ); |
extern int check_improve_weapon ( object *op, object *tmp ); | | extern int check_improve_weapon ( object *op, object *tmp ); |
extern int improve_armour ( object *op, object *improver, object *armour ); | | extern int improve_armour ( object *op, object *improver, object *armour ); |
extern void money_change ( object *op, char *towhat ); | | |
extern int convert_item ( object *item, object *converter ); | | extern int convert_item ( object *item, object *converter ); |
extern int apply_container ( object *op, object *sack ); | | extern int apply_container ( object *op, object *sack ); |
extern int esrv_apply_container ( object *op, object *sack ); | | extern int esrv_apply_container ( object *op, object *sack ); |
extern char *gravestone_text ( object *op ); | | extern char *gravestone_text ( object *op ); |
extern void move_apply ( object *trap, object *victim, object *originator ); | | extern void move_apply ( object *trap, object *victim, object *originator ); |
| | extern void apply_poison ( object *op, object *tmp ); |
extern int manual_apply ( object *op, object *tmp, int aflag ); | | extern int manual_apply ( object *op, object *tmp, int aflag ); |
extern int player_apply ( object *pl, object *op, int aflag, int quiet ); | | extern int player_apply ( object *pl, object *op, int aflag, int quiet ); |
extern void player_apply_below ( object *pl ); | | extern void player_apply_below ( object *pl ); |
| | |
extern void eat_special_food ( object *who, object *food ); | | extern void eat_special_food ( object *who, object *food ); |
extern void apply_lighter ( object *who, object *lighter ); | | extern void apply_lighter ( object *who, object *lighter ); |
extern void scroll_failure ( object *op, int failure, int power ); | | extern void scroll_failure ( object *op, int failure, int power ); |
| | extern void apply_changes_to_player ( object *player, object *change ); |
extern int did_make_save_item ( object *op, int type, object *originator ); | | extern int did_make_save_item ( object *op, int type, object *originator ); |
extern void save_throw_object ( object *op, int type, object *originator ); | | extern void save_throw_object ( object *op, int type, object *originator ); |
extern int hit_map ( object *op, int dir, int type ); | | extern int hit_map ( object *op, int dir, int type ); |
| | |
extern int command_fire ( object *op, char *params ); | | extern int command_fire ( object *op, char *params ); |
extern int command_fire_stop ( object *op, char *params ); | | extern int command_fire_stop ( object *op, char *params ); |
extern int bad_command ( object *op, char *params ); | | extern int bad_command ( object *op, char *params ); |
extern int dump_object_from_tag ( object *pl, char *val ); | | |
extern int item_matched_string ( object *pl, object *op, char *name ); | | extern int item_matched_string ( object *pl, object *op, char *name ); |
extern object *find_best_object_match ( object *pl, char *params ); | | extern object *find_best_object_match ( object *pl, char *params ); |
extern int command_uskill ( object *pl, char *params ); | | extern int command_uskill ( object *pl, char *params ); |
| | |
extern void do_specials ( void ); | | extern void do_specials ( void ); |
extern int main ( int argc, char **argv ); | | extern int main ( int argc, char **argv ); |
extern object *get_enemy ( object *npc ); | | extern object *get_enemy ( object *npc ); |
object *find_nearest_living_creature(object *npc); | | extern object *find_nearest_living_creature ( object *npc ); |
int can_see_monsterP(mapstruct *m, int x, int y,int dir); | | |
extern object *find_enemy ( object *npc ); | | extern object *find_enemy ( object *npc ); |
extern int check_wakeup ( object *op, object *enemy ); | | extern int check_wakeup ( object *op, object *enemy ); |
extern int move_randomly ( object *op ); | | extern int move_randomly ( object *op ); |
| | |
extern int stand_near_hostile ( object *who ); | | extern int stand_near_hostile ( object *who ); |
extern int player_can_view ( object *pl, object *op ); | | extern int player_can_view ( object *pl, object *op ); |
extern int action_makes_visible ( object *op ); | | extern int action_makes_visible ( object *op ); |
| | extern int op_on_battleground ( object *op, int *x, int *y ); |
extern void dead_player ( object *op ); | | extern void dead_player ( object *op ); |
extern int cast_raise_dead_spell ( object *op, int dir, int spell_type, object * corpseobj ); | | extern int cast_raise_dead_spell ( object *op, int dir, int spell_type, object * corpseobj ); |
extern int resurrection_fails ( int levelcaster, int leveldead ); | | extern int resurrection_fails ( int levelcaster, int leveldead ); |
| | |
extern int learn_skill ( object *pl, object *scroll ); | | extern int learn_skill ( object *pl, object *scroll ); |
extern void show_skills ( object *op ); | | extern void show_skills ( object *op ); |
extern int use_skill ( object *op, char *string ); | | extern int use_skill ( object *op, char *string ); |
extern int change_skill ( object *pl, int sk_index ); | | extern int change_skill ( object *who, int sk_index ); |
extern int attack_melee_weapon ( object *op, int dir, char *string ); | | extern int attack_melee_weapon ( object *op, int dir, char *string ); |
extern int attack_hth ( object *pl, int dir, char *string ); | | extern int attack_hth ( object *pl, int dir, char *string ); |
extern int skill_attack ( object *tmp, object *pl, int dir, char *string ); | | extern int skill_attack ( object *tmp, object *pl, int dir, char *string ); |
| | |
extern int cast_faery_fire ( object *op, object *caster ); | | extern int cast_faery_fire ( object *op, object *caster ); |
extern int make_object_glow ( object *op, int radius, int time ); | | extern int make_object_glow ( object *op, int radius, int time ); |
extern int cast_cause_disease ( object *op, object *caster, int dir, archetype *disease_arch, int type ); | | extern int cast_cause_disease ( object *op, object *caster, int dir, archetype *disease_arch, int type ); |
| | extern void move_aura ( object *aura ); |
| | extern void move_peacemaker ( object *op ); |
| | extern int cast_cause_conflict ( object *op, object *caster, archetype *spellarch, int type ); |
extern void init_spells ( void ); | | extern void init_spells ( void ); |
extern void dump_spells ( void ); | | extern void dump_spells ( void ); |
extern void spell_effect ( int spell_type, int x, int y, mapstruct *map, object *originator ); | | extern void spell_effect ( int spell_type, int x, int y, mapstruct *map, object *originator ); |
| | |
extern int fire_arch ( object *op, object *caster, int dir, archetype *at, int type, int magic ); | | extern int fire_arch ( object *op, object *caster, int dir, archetype *at, int type, int magic ); |
extern int fire_arch_from_position ( object *op, object *caster, sint16 x, sint16 y, int dir, archetype *at, int type, int magic ); | | extern int fire_arch_from_position ( object *op, object *caster, sint16 x, sint16 y, int dir, archetype *at, int type, int magic ); |
extern int cast_cone ( object *op, object *caster, int dir, int strength, int spell_type, archetype *spell_arch, int magic ); | | extern int cast_cone ( object *op, object *caster, int dir, int strength, int spell_type, archetype *spell_arch, int magic ); |
extern void move_cone ( object *op ); | | extern void check_cone_push ( object *op ); |
extern void cone_drop(object *op); | | extern void cone_drop(object *op); |
int cast_cause_conflict(object *op, object *caster, archetype *spellarch,int type); | | extern void move_cone ( object *op ); |
extern void fire_a_ball ( object *op, int dir, int strength ); | | extern void fire_a_ball ( object *op, int dir, int strength ); |
extern void explosion ( object *op ); | | extern void explosion ( object *op ); |
| | extern void forklightning ( object *op, object *tmp ); |
extern int reflwall ( mapstruct *m, int x, int y ); | | extern int reflwall ( mapstruct *m, int x, int y ); |
extern void move_bolt ( object *op ); | | extern void move_bolt ( object *op ); |
extern void move_golem ( object *op ); | | extern void move_golem ( object *op ); |
| | |
extern void fix_rod_speed ( object *rod ); | | extern void fix_rod_speed ( object *rod ); |
extern object *find_target_for_friendly_spell ( object *op, int dir ); | | extern object *find_target_for_friendly_spell ( object *op, int dir ); |
extern void move_ball_lightning ( object *op ); | | extern void move_ball_lightning ( object *op ); |
| | extern int can_see_monsterP ( mapstruct *m, int x, int y, int dir ); |
extern int spell_find_dir ( mapstruct *m, int x, int y, object *exclude ); | | extern int spell_find_dir ( mapstruct *m, int x, int y, object *exclude ); |
extern int SP_level_dam_adjust ( object *op, object *caster, int spell_type ); | | extern int SP_level_dam_adjust ( object *op, object *caster, int spell_type ); |
extern int SP_level_strength_adjust ( object *op, object *caster, int spell_type ); | | extern int SP_level_strength_adjust ( object *op, object *caster, int spell_type ); |
extern int SP_level_spellpoint_cost ( object *op, object *caster, int spell_type ); | | extern int SP_level_spellpoint_cost ( object *op, object *caster, int spell_type ); |
extern void move_swarm_spell ( object *op ); | | extern void move_swarm_spell ( object *op ); |
extern void move_aura (object *aura); | | |
extern void move_peacemaker(object *op); | | |
extern void fire_swarm ( object *op, object *caster, int dir, archetype *swarm_type, int spell_type, int n, int magic ); | | extern void fire_swarm ( object *op, object *caster, int dir, archetype *swarm_type, int spell_type, int n, int magic ); |
| | extern int create_aura ( object *op, object *caster, archetype *aura_arch, int spell_type, int magic ); |
extern int look_up_spell_by_name ( object *op, char *spname ); | | extern int look_up_spell_by_name ( object *op, char *spname ); |
extern void put_a_monster ( object *op, char *monstername ); | | extern void put_a_monster ( object *op, char *monstername ); |
extern void shuffle_attack ( object *op, int change_face ); | | extern void shuffle_attack ( object *op, int change_face ); |
extern void init_spell_param ( void ); | | extern void init_spell_param ( void ); |
extern object *get_pointed_target ( object *op, int dir ); | | extern object *get_pointed_target ( object *op, int dir ); |
extern int create_aura(object *op, object *caster, archetype *aura_arch, int spell_type, int magic); | | |
extern int cast_smite_spell ( object *op, object *caster, int dir, int type ); | | extern int cast_smite_spell ( object *op, object *caster, int dir, int type ); |
extern void walk_on_deep_swamp ( object *op, object *victim ); | | extern void walk_on_deep_swamp ( object *op, object *victim ); |
extern void move_deep_swamp ( object *op ); | | extern void move_deep_swamp ( object *op ); |
| | |
extern void animate_trigger ( object *op ); | | extern void animate_trigger ( object *op ); |
extern void move_hole ( object *op ); | | extern void move_hole ( object *op ); |
extern object *stop_item ( object *op ); | | extern object *stop_item ( object *op ); |
| | extern void fix_stopped_item ( object *op, mapstruct *map, object *originator ); |
extern object *fix_stopped_arrow ( object *op ); | | extern object *fix_stopped_arrow ( object *op ); |
extern void move_arrow ( object *op ); | | extern void move_arrow ( object *op ); |
extern void change_object ( object *op ); | | extern void change_object ( object *op ); |
extern void move_teleporter ( object *op ); | | extern void move_teleporter ( object *op ); |
| | extern void move_player_changer ( object *op ); |
extern void move_firewall ( object *op ); | | extern void move_firewall ( object *op ); |
extern void move_firechest ( object *op ); | | extern void move_firechest ( object *op ); |
extern void move_player_mover ( object *op ); | | extern void move_player_mover ( object *op ); |
extern void move_creator ( object *op ); | | extern void move_creator ( object *op ); |
extern void move_marker ( object *op ); | | extern void move_marker ( object *op ); |
extern void apply_changes_to_player(object *player, object *change); | | |
extern int process_object ( object *op ); | | extern int process_object ( object *op ); |
extern void move_player_changer(object *op); | | |
extern int op_on_battleground ( object *op, int *x, int *y ); | | |
| | |
#endif /* __STDC__ */ | | #endif /* __STDC__ */ |
#endif /* __CEXTRACT__ */ | | #endif /* __CEXTRACT__ */ |