• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision66754af7996e821752e615e8d00107a3b879f0d8 (tree)
Time2019-05-18 19:29:45
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 now_message を core.c/h に移動.

Change Summary

Incremental Difference

--- a/src/core.c
+++ b/src/core.c
@@ -98,6 +98,8 @@ const concptr copyright[5] =
9898
9999 bool can_save = FALSE; /* Game can be saved */
100100
101+COMMAND_CODE now_message;
102+
101103 concptr ANGBAND_SYS = "xxx"; //!< Hack -- The special Angband "System Suffix" This variable is used to choose an appropriate "pref-xxx" file
102104
103105 #ifdef JP
--- a/src/core.h
+++ b/src/core.h
@@ -19,6 +19,7 @@ extern concptr ANGBAND_KEYBOARD;
1919 extern concptr ANGBAND_GRAF;
2020
2121 extern bool can_save;
22+extern COMMAND_CODE now_message;
2223
2324 extern void play_game(bool new_game);
2425 extern s32b turn_real(s32b hoge);
--- a/src/externs.h
+++ b/src/externs.h
@@ -89,7 +89,6 @@ extern bool sukekaku;
8989 extern bool new_mane;
9090
9191 extern DEPTH *max_dlv;
92-extern COMMAND_CODE now_message;
9392 extern bool use_menu;
9493
9594 /* xtra1.c */
--- a/src/util.c
+++ b/src/util.c
@@ -11,6 +11,7 @@
1111 /* Purpose: Angband utilities -BEN- */
1212
1313 #include "angband.h"
14+#include "core.h"
1415 #include "util.h"
1516 #include "files.h"
1617 #include "monsterrace-hook.h"
--- a/src/variable.c
+++ b/src/variable.c
@@ -101,7 +101,6 @@ bool new_mane;
101101 */
102102 DEPTH *max_dlv;
103103
104-COMMAND_CODE now_message;
105104 bool use_menu;
106105
107106 #ifdef CHUUKEI
Show on old repository browser