OSDN Git Service

[Refactor] floor_warp() を jump_floor() に改名.
authorDeskull <61610939+sikabane-works@users.noreply.github.com>
Sat, 24 Jul 2021 13:21:35 +0000 (22:21 +0900)
committerDeskull <61610939+sikabane-works@users.noreply.github.com>
Sat, 24 Jul 2021 13:21:35 +0000 (22:21 +0900)
src/floor/floor-leaver.cpp
src/floor/floor-leaver.h
src/wizard/wizard-special-process.cpp

index 2a7f904..e388a83 100644 (file)
@@ -424,7 +424,7 @@ void leave_floor(player_type *creature_ptr)
  * @brief 任意のダンジョン及び階層に飛ぶ
  * Go to any level
  */
-void floor_warp(player_type *creature_ptr, DUNGEON_IDX dun_idx, DEPTH depth)
+void jump_floor(player_type *creature_ptr, DUNGEON_IDX dun_idx, DEPTH depth)
 {
     creature_ptr->dungeon_idx = dun_idx;
     creature_ptr->current_floor_ptr->dun_level = depth;
index 3f2e94c..da677d6 100644 (file)
@@ -3,4 +3,4 @@
 
 typedef struct player_type player_type;
 void leave_floor(player_type *creature_ptr);
-void floor_warp(player_type *creature_ptr, DUNGEON_IDX dun_idx, DEPTH depth);
+void jump_floor(player_type *creature_ptr, DUNGEON_IDX dun_idx, DEPTH depth);
index 85ef96a..88d38b4 100644 (file)
@@ -471,7 +471,7 @@ void wiz_jump_to_dungeon(player_type *creature_ptr)
     if (autosave_l)
         do_cmd_save_game(creature_ptr, true);
 
-    floor_warp(creature_ptr, dungeon_type, command_arg);
+    jump_floor(creature_ptr, dungeon_type, command_arg);
 }
 
 /*!