3 #include "system/angband.h"
7 typedef struct floor_type floor_type;
8 typedef struct player_type player_type;
9 typedef union spell_functions {
10 struct debug_spell_type1 {
11 bool (*spell_function)(player_type *, floor_type *);
14 struct debug_spell_type2 {
15 bool (*spell_function)(player_type *);
18 struct debug_spell_type3 {
19 bool (*spell_function)(player_type *, HIT_POINT);
24 typedef struct debug_spell_command {
27 spell_functions command_function;
28 } debug_spell_command;
30 extern debug_spell_command debug_spell_commands_list[SPELL_MAX];
32 bool wiz_debug_spell(player_type *creature_ptr);
33 void wiz_dimension_door(player_type *caster_ptr);
34 void wiz_summon_horde(player_type *caster_ptr);
35 void wiz_teleport_back(player_type *caster_ptr);
36 void wiz_learn_blue_magic_all(player_type *caster_ptr);
37 void wiz_summon_random_enemy(player_type *caster_ptr, int num);
38 void wiz_summon_specific_enemy(player_type *summoner_ptr, MONRACE_IDX r_idx);
39 void wiz_summon_pet(player_type *summoner_ptr, MONRACE_IDX r_idx);
40 void wiz_kill_enemy(player_type *caster_ptr);