OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Refactor] struct player_type を class PlayerType に置換。
[hengbandforosx/hengbandosx.git]
/
src
/
core
/
game-closer.cpp
diff --git
a/src/core/game-closer.cpp
b/src/core/game-closer.cpp
index
3b24184
..
2cca64d
100644
(file)
--- 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"
#include "view/display-scores.h"
#include "world/world.h"
-static void clear_floor(
player_t
ype *player_ptr)
+static void clear_floor(
PlayerT
ype *player_ptr)
{
(void)fd_close(highscore_fd);
highscore_fd = -1;
{
(void)fd_close(highscore_fd);
highscore_fd = -1;
@@
-40,7
+40,7
@@
static void clear_floor(player_type *player_ptr)
signals_handle_tstp();
}
signals_handle_tstp();
}
-static void send_world_score_on_closing(
player_t
ype *player_ptr, bool do_send)
+static void send_world_score_on_closing(
PlayerT
ype *player_ptr, bool do_send)
{
if (send_world_score(player_ptr, do_send, display_player))
return;
{
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。
*/
* @param player_ptr プレイヤー構造体参照ポインタ。
* @return 死亡していればTRUE, まだ生きているならば各処理を済ませた上ででFALSE。
*/
-static bool check_death(
player_t
ype *player_ptr)
+static bool check_death(
PlayerT
ype *player_ptr)
{
if (player_ptr->is_dead)
return true;
{
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-
*/
* @brief 勝利者用の引退演出処理 /
* Change the player into a King! -RAK-
*/
-static void kingly(
player_t
ype *player_ptr)
+static void kingly(
PlayerT
ype *player_ptr)
{
bool seppuku = streq(player_ptr->died_from, "Seppuku");
player_ptr->current_floor_ptr->dun_level = 0;
{
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".
* </pre>
*/
* This function is called only from "main.c" and "signals.c".
* </pre>
*/
-void close_game(
player_t
ype *player_ptr)
+void close_game(
PlayerT
ype *player_ptr)
{
bool do_send = true;
handle_stuff(player_ptr);
{
bool do_send = true;
handle_stuff(player_ptr);