extern bool polymorph_monster(POSITION y, POSITION x);
extern bool dimension_door(void);
extern bool mirror_tunnel(void);
-extern bool summon_kin_player(int level, int y, int x, BIT_FLAGS mode);
+extern bool summon_kin_player(DEPTH level, POSITION y, POSITION x, BIT_FLAGS mode);
extern void massacre(void);
/* store.c */
* @param mode 召喚オプション
* @return ターンを消費した場合TRUEを返す
*/
-bool summon_kin_player(int level, int y, int x, BIT_FLAGS mode)
+bool summon_kin_player(DEPTH level, POSITION y, POSITION x, BIT_FLAGS mode)
{
bool pet = (bool)(mode & PM_FORCE_PET);
if (!pet) mode |= PM_NO_PET;
*/
void massacre(void)
{
- int x, y;
+ POSITION x, y;
cave_type *c_ptr;
monster_type *m_ptr;
int dir;
void hit_trap(bool break_trap)\r
{\r
int i, num, dam;\r
- int x = p_ptr->x, y = p_ptr->y;\r
+ POSITION x = p_ptr->x, y = p_ptr->y;\r
\r
/* Get the cave grid */\r
cave_type *c_ptr = &cave[y][x];\r