• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision2f21916010ec934c4dbcb1f19f53ca3396f85b3e (tree)
Time2019-05-05 11:40:43
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 vcxproj 上のフィルタ構成を整理しつつ, racial.h を追加して宣言を移動.

Change Summary

Incremental Difference

--- a/Hengband_vcs2017/Hengband/Hengband.vcxproj
+++ b/Hengband_vcs2017/Hengband/Hengband.vcxproj
@@ -351,6 +351,7 @@
351351 <ClInclude Include="..\..\src\player-skill.h" />
352352 <ClInclude Include="..\..\src\player-status.h" />
353353 <ClInclude Include="..\..\src\quest.h" />
354+ <ClInclude Include="..\..\src\racial.h" />
354355 <ClInclude Include="..\..\src\readdib.h" />
355356 <ClInclude Include="..\..\src\realm-arcane.h" />
356357 <ClInclude Include="..\..\src\realm-chaos.h" />
--- a/Hengband_vcs2017/Hengband/Hengband.vcxproj.filters
+++ b/Hengband_vcs2017/Hengband/Hengband.vcxproj.filters
@@ -4,7 +4,6 @@
44 <ClCompile Include="..\..\src\inet.c" />
55 <ClCompile Include="..\..\src\japanese.c" />
66 <ClCompile Include="..\..\src\main-win.c" />
7- <ClCompile Include="..\..\src\racial.c" />
87 <ClCompile Include="..\..\src\readdib.c" />
98 <ClCompile Include="..\..\src\tables.c" />
109 <ClCompile Include="..\..\src\variable.c" />
@@ -373,9 +372,6 @@
373372 <ClCompile Include="..\..\src\z-rand.c">
374373 <Filter>core</Filter>
375374 </ClCompile>
376- <ClCompile Include="..\..\src\snipe.c">
377- <Filter>combat</Filter>
378- </ClCompile>
379375 <ClCompile Include="..\..\src\wizard2.c">
380376 <Filter>cmd</Filter>
381377 </ClCompile>
@@ -385,6 +381,12 @@
385381 <ClCompile Include="..\..\src\report.c">
386382 <Filter>io</Filter>
387383 </ClCompile>
384+ <ClCompile Include="..\..\src\racial.c">
385+ <Filter>cmd</Filter>
386+ </ClCompile>
387+ <ClCompile Include="..\..\src\snipe.c">
388+ <Filter>cmd</Filter>
389+ </ClCompile>
388390 </ItemGroup>
389391 <ItemGroup>
390392 <ClInclude Include="..\..\src\defines.h" />
@@ -732,15 +734,18 @@
732734 <ClInclude Include="..\..\src\z-rand.h">
733735 <Filter>core</Filter>
734736 </ClInclude>
735- <ClInclude Include="..\..\src\snipe.h">
736- <Filter>combat</Filter>
737- </ClInclude>
738737 <ClInclude Include="..\..\src\save.h">
739738 <Filter>io</Filter>
740739 </ClInclude>
741740 <ClInclude Include="..\..\src\load.h">
742741 <Filter>io</Filter>
743742 </ClInclude>
743+ <ClInclude Include="..\..\src\racial.h">
744+ <Filter>cmd</Filter>
745+ </ClInclude>
746+ <ClInclude Include="..\..\src\snipe.h">
747+ <Filter>cmd</Filter>
748+ </ClInclude>
744749 </ItemGroup>
745750 <ItemGroup>
746751 <None Include="..\..\src\wall.bmp" />
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -60,7 +60,7 @@ hengband_SOURCES = \
6060 \
6161 quest.h quest.c\
6262 \
63- racial.c \
63+ racial.c racial.h \
6464 realm-arcane.c \
6565 realm-arcane.h realm-chaos.c realm-chaos.h realm-craft.c realm-craft.h \
6666 realm-crusade.c realm-crusade.h realm-daemon.c realm-daemon.h realm-death.c \
--- a/src/core.c
+++ b/src/core.c
@@ -31,6 +31,7 @@
3131 #include "cmd-zapwand.h"
3232 #include "cmd-pet.h"
3333 #include "cmd-basic.h"
34+#include "racial.h"
3435 #include "snipe.h"
3536 #include "dungeon.h"
3637 #include "feature.h"
--- a/src/externs.h
+++ b/src/externs.h
@@ -237,9 +237,6 @@ extern DEPTH *max_dlv;
237237 extern COMMAND_CODE now_message;
238238 extern bool use_menu;
239239
240-/* racial.c */
241-extern void do_cmd_racial_power(void);
242-
243240 /* xtra1.c */
244241 extern void handle_stuff(void);
245242 extern void update_output(void);
--- /dev/null
+++ b/src/racial.h
@@ -0,0 +1,4 @@
1+#pragma once
2+
3+/* racial.c */
4+extern void do_cmd_racial_power(void);
Show on old repository browser