Angband
mon-summon.h
Go to the documentation of this file.
1 
19 #ifndef MONSTER_SUMMON_H
20 #define MONSTER_SUMMON_H
21 
22 #include "monster.h"
23 
28  #define S(a, b, c, d, e, f, g, h) S_##a,
29  #include "list-summon-types.h"
30  #undef S
31 };
32 
34 extern struct monster_base *kin_base;
35 
36 
38 int summon_name_to_idx(const char *name);
39 const char *summon_desc(int type);
40 int summon_message_type(int summon_type);
41 int summon_specific(int y1, int x1, int lev, int type, bool delay, bool call);
42 
43 #endif /* MONSTER_SUMMON_H */
Summon method details.
int summon_specific(int y1, int x1, int lev, int type, bool delay, bool call)
Places a monster (of the specified "type") near the given location.
Definition: mon-summon.c:220
int summon_message_type(int summon_type)
The message type for a particular summon.
Definition: mon-summon.c:104
struct monster_base * kin_base
Variables.
Definition: mon-summon.c:32
Base monster type.
Definition: monster.h:193
int type
Definition: mon-msg.c:80
Flags, structures and variables for monsters.
Intialize random names
Definition: init.c:664
summon_flag
Flags for summon_specific()
Definition: mon-summon.h:27
const char * summon_desc(int type)
Definition: mon-summon.c:60
int summon_name_to_idx(const char *name)
Functions.
Definition: mon-summon.c:49