• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisiona883e922a004c532341687d24746e72f62c846cf (tree)
Time2019-06-11 20:30:45
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 externs.h と variable.c を削除。

Change Summary

Incremental Difference

--- a/Hengband_vcs2017/Hengband/Hengband.vcxproj
+++ b/Hengband_vcs2017/Hengband/Hengband.vcxproj
@@ -279,7 +279,6 @@
279279 <ClCompile Include="..\..\src\term.c" />
280280 <ClCompile Include="..\..\src\trap.c" />
281281 <ClCompile Include="..\..\src\util.c" />
282- <ClCompile Include="..\..\src\variable.c" />
283282 <ClCompile Include="..\..\src\view-mainwindow.c" />
284283 <ClCompile Include="..\..\src\warning.c" />
285284 <ClCompile Include="..\..\src\wild.c" />
@@ -304,7 +303,6 @@
304303 <ClInclude Include="..\..\src\creature.h" />
305304 <ClInclude Include="..\..\src\dungeon-file.h" />
306305 <ClInclude Include="..\..\src\dungeon.h" />
307- <ClInclude Include="..\..\src\externs.h" />
308306 <ClInclude Include="..\..\src\feature.h" />
309307 <ClInclude Include="..\..\src\files.h" />
310308 <ClInclude Include="..\..\src\floor-events.h" />
--- a/Hengband_vcs2017/Hengband/Hengband.vcxproj.filters
+++ b/Hengband_vcs2017/Hengband/Hengband.vcxproj.filters
@@ -3,7 +3,6 @@
33 <ItemGroup>
44 <ClCompile Include="..\..\src\main-win.c" />
55 <ClCompile Include="..\..\src\readdib.c" />
6- <ClCompile Include="..\..\src\variable.c" />
76 <ClCompile Include="..\..\src\z-form.c" />
87 <ClCompile Include="..\..\src\z-term.c" />
98 <ClCompile Include="..\..\src\warning.c" />
@@ -400,7 +399,6 @@
400399 </ClCompile>
401400 </ItemGroup>
402401 <ItemGroup>
403- <ClInclude Include="..\..\src\externs.h" />
404402 <ClInclude Include="..\..\src\gamevalue.h" />
405403 <ClInclude Include="..\..\src\h-basic.h" />
406404 <ClInclude Include="..\..\src\h-config.h" />
--- a/src/angband.h
+++ b/src/angband.h
@@ -1,4 +1,5 @@
1-/*!
1+#pragma once
2+/*!
23 * @file angband.h
34 * @brief Angband(変愚蛮怒)メインヘッダファイル
45 * Main "Angband" header file
@@ -38,14 +39,18 @@
3839 */
3940 #include "z-config.h"
4041
41-
42-/*
43- * Now, include the define's, the type's, and the extern's
44- */
4542 #include "gamevalue.h"
46-#include "externs.h"
4743 #include "gameoption.h"
4844
45+#include "geometry.h"
46+#include "grid.h"
47+#include "floor-save.h"
48+#include "monster.h"
49+#include "monsterrace.h"
50+#include "object.h"
51+#include "player-status.h"
52+
53+
4954 /***** Some copyright messages follow below *****/
5055
5156 /*
--- a/src/externs.h
+++ /dev/null
@@ -1,22 +0,0 @@
1-/*!
2- * @file externs.h
3- * @brief Angband(変愚蛮怒)基本関数、グローバル変数ヘッダファイル /
4- * extern declarations (variables and functions)
5- * @date 2014/08/08
6- * @author
7- * Copyright (c) 1997 Ben Harrison
8- * @details
9- * This software may be copied and distributed for educational, research,
10- * and not for profit purposes provided that this copyright and statement
11- * are included in all such copies.
12- * Note that some files have their own header files
13- * (z-virt.h, z-util.h, z-form.h, term.h, random.h)
14- */
15-#include "geometry.h"
16-#include "grid.h"
17-#include "floor-save.h"
18-#include "monster.h"
19-#include "monsterrace.h"
20-#include "object.h"
21-#include "player-status.h"
22-
--- a/src/variable.c
+++ /dev/null
@@ -1,15 +0,0 @@
1-/*!
2- * @file variable.c
3- * @brief グローバル変数定義 / Angband variables
4- * @date 2014/10/05
5- * @author
6- * Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke<br>
7- * <br>
8- * This software may be copied and distributed for educational, research,<br>
9- * and not for profit purposes provided that this copyright and statement<br>
10- * are included in all such copies. Other copyrights may also apply.<br>
11- */
12-
13-#include "angband.h"
14-#include "geometry.h"
15-
Show on old repository browser