* @param x 配置を試みたいマスのX座標
* @return なし
*/
-void place_random_stairs(int y, int x)
+void place_random_stairs(POSITION y, POSITION x)
{
bool up_stairs = TRUE;
bool down_stairs = TRUE;
* @param room 部屋に接している場合向けのドア生成か否か
* @return なし
*/
-void place_random_door(int y, int x, bool room)
+void place_random_door(POSITION y, POSITION x, bool room)
{
int tmp, type;
s16b feat = feat_none;
* @param type ドアの地形ID
* @return なし
*/
-void place_closed_door(int y, int x, int type)
+void place_closed_door(POSITION y, POSITION x, int type)
{
int tmp;
s16b feat = feat_none;
* @param x 配置したいフロアのX座標
* @return なし
*/
-void place_locked_door(int y, int x)
+void place_locked_door(POSITION y, POSITION x)
{
if (d_info[dungeon_type].flags1 & DF1_NO_DOORS)
{
* @param type DOOR_DEFAULT / DOOR_DOOR / DOOR_GLASS_DOOR / DOOR_CURTAIN のいずれか
* @return なし
*/
-void place_secret_door(int y, int x, int type)
+void place_secret_door(POSITION y, POSITION x, int type)
{
if (d_info[dungeon_type].flags1 & DF1_NO_DOORS)
{
*
* The doors must be INSIDE the allocated region.
*/
-void add_door(int x, int y)
+void add_door(POSITION x, POSITION y)
{
/* Need to have a wall in the center square */
if (!is_outer_bold(y, x)) return;
extern bool new_player_spot(void);
-extern void place_random_stairs(int y, int x);
-extern void place_random_door(int y, int x, bool room);
-extern void place_closed_door(int y, int x, int type);
-extern void add_door(int x, int y);
-extern void place_secret_door(int y, int x, int type);
-extern void place_locked_door(int y, int x);
+extern void place_random_stairs(POSITION y, POSITION x);
+extern void place_random_door(POSITION y, POSITION x, bool room);
+extern void place_closed_door(POSITION y, POSITION x, int type);
+extern void add_door(POSITION x, POSITION y);
+extern void place_secret_door(POSITION y, POSITION x, int type);
+extern void place_locked_door(POSITION y, POSITION x);
extern void try_door(int y, int x);
extern void place_floor(int x1, int x2, int y1, int y2, bool light);
extern void place_room(int x1, int x2, int y1, int y2, bool light);