diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:56 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:56 +0100 |
commit | 9688ede57bcd87f51d94a2888f86da9fea37263a (patch) | |
tree | 1336358486f4bdd9cc5b49a860169397fc4b1c7a /src/spell_type.hpp | |
parent | 46a9d6e37cf61e03ab9c0fd03ebf04aca6a965d2 (diff) |
Remove now-unused object parameter from spellcasting functions
Diffstat (limited to 'src/spell_type.hpp')
-rw-r--r-- | src/spell_type.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/spell_type.hpp b/src/spell_type.hpp index 76e508a0..ac710341 100644 --- a/src/spell_type.hpp +++ b/src/spell_type.hpp @@ -25,30 +25,30 @@ enum random_type { RANDOM, NO_RANDOM }; void spell_type_init_music(spell_type *spell, s16b minimum_pval, const char* (*info_func)(), - casting_result (*effect_func)(int o_idx)); + casting_result (*effect_func)()); void spell_type_init_music_lasting(spell_type *spell, s16b minimum_pval, const char* (*info_func)(), - casting_result (*effect_func)(int o_idx), + casting_result (*effect_func)(), int (*lasting_func)()); void spell_type_init_mage(spell_type *spell, random_type random_type, s32b school_idx, const char* (*info_func)(), - casting_result (*effect_func)(int o_idx)); + casting_result (*effect_func)()); void spell_type_init_priest(spell_type *spell, s32b school_idx, const char* (*info_func)(), - casting_result (*effect_func)(int o_idx)); + casting_result (*effect_func)()); void spell_type_init_device(spell_type *spell, const char* (*info_func)(), - casting_result (*effect_func)(int o_idx)); + casting_result (*effect_func)()); void spell_type_init_demonology(spell_type *spell, const char* (*info_func)(), - casting_result (*effect_func)(int o_idx)); + casting_result (*effect_func)()); void spell_type_init_geomancy(spell_type *spell, const char* (*info_func)(), - casting_result (*effect_func)(int o_idx), + casting_result (*effect_func)(), bool_ (*depend_func)()); void spell_type_set_inertia(spell_type *spell, s32b difficulty, s32b delay); @@ -66,7 +66,7 @@ void spell_type_add_device_allocation(spell_type *spell, device_allocation *a); spell_type *spell_type_new(cptr name); int spell_type_produce_effect_lasting(spell_type *spell); -casting_result spell_type_produce_effect(spell_type *spell, int o_idx); +casting_result spell_type_produce_effect(spell_type *spell); cptr spell_type_name(spell_type *spell); int spell_type_skill_level(spell_type *spell); long spell_type_roll_charges(spell_type *spell); |