• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisiond1a134d2b015c516fbbfe54f34d91cb5e708e18e (tree)
Time2019-05-03 15:21:50
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 core.h の宣言を整理.

Change Summary

Incremental Difference

--- a/src/bldg.c
+++ b/src/bldg.c
@@ -15,6 +15,7 @@
1515 #include "angband.h"
1616 #include "util.h"
1717
18+#include "core.h"
1819 #include "cmd-dump.h"
1920 #include "floor.h"
2021 #include "floor-events.h"
--- a/src/core.c
+++ b/src/core.c
@@ -12,6 +12,7 @@
1212
1313 #include "angband.h"
1414 #include "util.h"
15+#include "core.h"
1516
1617 #include "birth.h"
1718 #include "bldg.h"
--- a/src/core.h
+++ b/src/core.h
@@ -3,3 +3,8 @@
33 extern concptr ANGBAND_SYS;
44 extern concptr ANGBAND_KEYBOARD;
55 extern concptr ANGBAND_GRAF;
6+
7+extern void play_game(bool new_game);
8+extern s32b turn_real(s32b hoge);
9+extern void prevent_turn_overflow(void);
10+extern void close_game(void);
\ No newline at end of file
--- a/src/externs.h
+++ b/src/externs.h
@@ -259,12 +259,6 @@ extern COMMAND_CODE now_message;
259259 extern bool use_menu;
260260
261261
262-/* dungeon.c */
263-extern void play_game(bool new_game);
264-extern s32b turn_real(s32b hoge);
265-extern void prevent_turn_overflow(void);
266-extern void close_game(void);
267-
268262 /* load.c */
269263 extern errr rd_savefile_new(void);
270264 extern bool load_floor(saved_floor_type *sf_ptr, BIT_FLAGS mode);
--- a/src/report.c
+++ b/src/report.c
@@ -8,6 +8,7 @@
88 #define _GNU_SOURCE /*!< 未使用*/
99 #include "angband.h"
1010 #include "util.h"
11+#include "core.h"
1112
1213 #include "floor.h"
1314 #include "player-status.h"
--- a/src/scores.c
+++ b/src/scores.c
@@ -12,6 +12,7 @@
1212
1313 #include "angband.h"
1414 #include "util.h"
15+#include "core.h"
1516
1617 #include "player-race.h"
1718 #include "player-status.h"
Show on old repository browser