OSDN Git Service

Merge pull request #3634 from Hourier/Prepare-Replace-ChooseRandomTrap-FloorType
[hengbandforosx/hengbandosx.git] / src / spell-kind / spells-teleport.h
1 #pragma once
2
3 #include "spell/spells-util.h"
4 #include "system/angband.h"
5
6 class PlayerType;
7 bool teleport_monster(PlayerType *player_ptr, DIRECTION dir, int distance);
8 bool teleport_swap(PlayerType *player_ptr, DIRECTION dir);
9 bool teleport_away(PlayerType *player_ptr, MONSTER_IDX m_idx, POSITION dis, teleport_flags mode);
10 void teleport_monster_to(PlayerType *player_ptr, MONSTER_IDX m_idx, POSITION ty, POSITION tx, int power, teleport_flags mode);
11 bool teleport_player_aux(PlayerType *player_ptr, POSITION dis, bool is_quantum_effect, teleport_flags mode);
12 void teleport_player(PlayerType *player_ptr, POSITION dis, BIT_FLAGS mode);
13 void teleport_player_away(MONSTER_IDX m_idx, PlayerType *player_ptr, POSITION dis, bool is_quantum_effect);
14 void teleport_player_to(PlayerType *player_ptr, POSITION ny, POSITION nx, teleport_flags mode);
15 void teleport_away_followable(PlayerType *player_ptr, MONSTER_IDX m_idx);
16 bool dimension_door(PlayerType *player_ptr);
17 bool exe_dimension_door(PlayerType *player_ptr, POSITION x, POSITION y);