• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision24eaa48fbe7a93cd493e865f1c86d1e4af7ae1bd (tree)
Time2019-06-11 22:23:37
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 do_cmd_change_name() を do_cmd_player_status() に改名.

Change Summary

Incremental Difference

--- a/src/cmd-dump.c
+++ b/src/cmd-dump.c
@@ -1037,18 +1037,14 @@ void do_cmd_redraw(void)
10371037
10381038
10391039 /*!
1040- * @brief 名前を変更するコマンドのメインルーチン
1041- * Hack -- change name
1040+ * @brief プレイヤーのステータス表示
10421041 * @return なし
10431042 */
1044-void do_cmd_change_name(void)
1043+void do_cmd_player_status(void)
10451044 {
1046- char c;
1047-
1048- int mode = 0;
1049-
1050- char tmp[160];
1051-
1045+ char c;
1046+ int mode = 0;
1047+ char tmp[160];
10521048 screen_save();
10531049
10541050 /* Forever */
--- a/src/cmd-dump.h
+++ b/src/cmd-dump.h
@@ -51,7 +51,7 @@ extern concptr get_ordinal_number_suffix(int num);
5151 extern errr do_cmd_write_nikki(int type, int num, concptr note);
5252 extern void do_cmd_nikki(void);
5353 extern void do_cmd_redraw(void);
54-extern void do_cmd_change_name(void);
54+extern void do_cmd_player_status(void);
5555 extern void do_cmd_message_one(void);
5656 extern void do_cmd_messages(int num_now);
5757 extern void do_cmd_options_aux(int page, concptr info);
--- a/src/core.c
+++ b/src/core.c
@@ -4102,7 +4102,7 @@ static void process_command(void)
41024102 /* Character description */
41034103 case 'C':
41044104 {
4105- do_cmd_change_name();
4105+ do_cmd_player_status();
41064106 break;
41074107 }
41084108
--- a/src/store.c
+++ b/src/store.c
@@ -5547,7 +5547,7 @@ static void store_process_command(void)
55475547 case 'C':
55485548 {
55495549 p_ptr->town_num = old_town_num;
5550- do_cmd_change_name();
5550+ do_cmd_player_status();
55515551 p_ptr->town_num = inner_town_num;
55525552 display_store();
55535553 break;
Show on old repository browser