summaryrefslogtreecommitdiff
path: root/src/spell_type.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/spell_type.hpp')
-rw-r--r--src/spell_type.hpp16
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);