3 #include "system/angband.h"
7 typedef union spell_functions {
8 struct debug_spell_type1 {
9 bool (*spell_function)(player_type *, floor_type *);
12 struct debug_spell_type2 {
13 bool (*spell_function)(player_type *);
16 struct debug_spell_type3 {
17 bool (*spell_function)(player_type *, HIT_POINT);
22 typedef struct debug_spell_command {
25 spell_functions command_function;
26 } debug_spell_command;
28 extern debug_spell_command debug_spell_commands_list[SPELL_MAX];
30 bool wiz_debug_spell(player_type *creature_ptr);
31 void wiz_dimension_door(player_type *caster_ptr);
32 void wiz_summon_horde(player_type *caster_ptr);
33 void wiz_teleport_back(player_type *caster_ptr);
34 void wiz_learn_blue_magic_all(player_type *caster_ptr);
35 void wiz_summon_random_enemy(player_type *caster_ptr, int num);
36 void wiz_summon_specific_enemy(player_type *summoner_ptr, MONRACE_IDX r_idx);
37 void wiz_summon_pet(player_type *summoner_ptr, MONRACE_IDX r_idx);
38 void wiz_kill_enemy(player_type *caster_ptr);