X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fcore%2Fgame-closer.cpp;h=2cca64d069e42996d611815c20a0720efc438b17;hb=91d4519e2312ace0f5342efb8a5421222aa51d2d;hp=3b241848711b680365a653c17ab99be2d5ff2445;hpb=6e35104a8e4fec970936fb2399e161e4be9f8172;p=hengbandforosx%2Fhengbandosx.git diff --git a/src/core/game-closer.cpp b/src/core/game-closer.cpp index 3b2418487..2cca64d06 100644 --- a/src/core/game-closer.cpp +++ b/src/core/game-closer.cpp @@ -32,7 +32,7 @@ #include "view/display-scores.h" #include "world/world.h" -static void clear_floor(player_type *player_ptr) +static void clear_floor(PlayerType *player_ptr) { (void)fd_close(highscore_fd); highscore_fd = -1; @@ -40,7 +40,7 @@ static void clear_floor(player_type *player_ptr) signals_handle_tstp(); } -static void send_world_score_on_closing(player_type *player_ptr, bool do_send) +static void send_world_score_on_closing(PlayerType *player_ptr, bool do_send) { if (send_world_score(player_ptr, do_send, display_player)) return; @@ -60,7 +60,7 @@ static void send_world_score_on_closing(player_type *player_ptr, bool do_send) * @param player_ptr プレイヤー構造体参照ポインタ。 * @return 死亡していればTRUE, まだ生きているならば各処理を済ませた上ででFALSE。 */ -static bool check_death(player_type *player_ptr) +static bool check_death(PlayerType *player_ptr) { if (player_ptr->is_dead) return true; @@ -79,7 +79,7 @@ static bool check_death(player_type *player_ptr) * @brief 勝利者用の引退演出処理 / * Change the player into a King! -RAK- */ -static void kingly(player_type *player_ptr) +static void kingly(PlayerType *player_ptr) { bool seppuku = streq(player_ptr->died_from, "Seppuku"); player_ptr->current_floor_ptr->dun_level = 0; @@ -139,7 +139,7 @@ static void kingly(player_type *player_ptr) * This function is called only from "main.c" and "signals.c". * */ -void close_game(player_type *player_ptr) +void close_game(PlayerType *player_ptr) { bool do_send = true; handle_stuff(player_ptr);