• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

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


Commit MetaInfo

Revisión050cea819289cec41a7429707213a49fc616dbc8 (tree)
Tiempo2019-04-02 10:12:25
Autordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 cmd-mane.h を作成して変数宣言移動。 mane.c を cmd-mane.c に改名。

Cambiar Resumen

Diferencia incremental

--- a/Hengband_vcs2017/Hengband/Hengband.vcxproj
+++ b/Hengband_vcs2017/Hengband/Hengband.vcxproj
@@ -144,6 +144,7 @@
144144 <ClCompile Include="..\..\src\cmd-activate.c" />
145145 <ClCompile Include="..\..\src\cmd-eat.c" />
146146 <ClCompile Include="..\..\src\cmd-hissatsu.c" />
147+ <ClCompile Include="..\..\src\cmd-mane.c" />
147148 <ClCompile Include="..\..\src\cmd-pet.c" />
148149 <ClCompile Include="..\..\src\cmd-quaff.c" />
149150 <ClCompile Include="..\..\src\cmd-read.c" />
@@ -184,6 +185,7 @@
184185 <ClInclude Include="..\..\src\cmd-hissatsu.h" />
185186 <ClInclude Include="..\..\src\cmd-item.h" />
186187 <ClInclude Include="..\..\src\cmd-magiceat.h" />
188+ <ClInclude Include="..\..\src\cmd-mane.h" />
187189 <ClInclude Include="..\..\src\cmd-pet.h" />
188190 <ClInclude Include="..\..\src\cmd-smith.h" />
189191 <ClInclude Include="..\..\src\cmd-spell.h" />
@@ -209,7 +211,6 @@
209211 <ClCompile Include="..\..\src\japanese.c" />
210212 <ClCompile Include="..\..\src\load.c" />
211213 <ClCompile Include="..\..\src\main-win.c" />
212- <ClCompile Include="..\..\src\mane.c" />
213214 <ClCompile Include="..\..\src\melee1.c" />
214215 <ClCompile Include="..\..\src\mind.c" />
215216 <ClCompile Include="..\..\src\monster1.c" />
--- a/Hengband_vcs2017/Hengband/Hengband.vcxproj.filters
+++ b/Hengband_vcs2017/Hengband/Hengband.vcxproj.filters
@@ -27,7 +27,6 @@
2727 <ClCompile Include="..\..\src\japanese.c" />
2828 <ClCompile Include="..\..\src\load.c" />
2929 <ClCompile Include="..\..\src\main-win.c" />
30- <ClCompile Include="..\..\src\mane.c" />
3130 <ClCompile Include="..\..\src\melee1.c" />
3231 <ClCompile Include="..\..\src\mind.c" />
3332 <ClCompile Include="..\..\src\racial.c" />
@@ -252,6 +251,9 @@
252251 <ClCompile Include="..\..\src\object-boost.c">
253252 <Filter>object</Filter>
254253 </ClCompile>
254+ <ClCompile Include="..\..\src\cmd-mane.c">
255+ <Filter>cmd</Filter>
256+ </ClCompile>
255257 </ItemGroup>
256258 <ItemGroup>
257259 <ClInclude Include="..\..\src\angband.h" />
@@ -457,6 +459,9 @@
457459 <ClInclude Include="..\..\src\cmd-hissatsu.h">
458460 <Filter>cmd</Filter>
459461 </ClInclude>
462+ <ClInclude Include="..\..\src\cmd-mane.h">
463+ <Filter>cmd</Filter>
464+ </ClInclude>
460465 </ItemGroup>
461466 <ItemGroup>
462467 <ResourceCompile Include="..\..\src\angband.rc" />
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -13,7 +13,8 @@ hengband_SOURCES = \
1313 \
1414 birth.c bldg.c chest.c chest.h chuukei.c \
1515 cmd2.c cmd4.c cmd-activate.c cmd-activate.h cmd-eat.c cmd-eat.h \
16- cmd-item.c cmd-item.h cmd-magiceat.c cmd-magiceat.h cmd-pet.c cmd-pet.h \
16+ cmd-item.c cmd-item.h cmd-magiceat.c cmd-magiceat.h \
17+ cmd-mane.c cmd-mane.h cmd-pet.c cmd-pet.h \
1718 cmd-quaff.c cmd-quaff.h cmd-read.c cmd-read.h cmd-spell.c cmd-spell.h \
1819 cmd-usestaff.c cmd-usestaff.h cmd-zaprod.c cmd-zaprod.h cmd-zapwand.c \
1920 cmd-zapwand.h cmd-smith.c cmd-smith.h cmd-hissatsu.c cmd-hissatsu.h\
@@ -31,7 +32,7 @@ hengband_SOURCES = \
3132 generate.h grid.c grid.h h-basic.h h-config.h h-define.h \
3233 history.h history.c \
3334 h-system.h h-type.h inet.c init1.c init2.c init.h japanese.c load.c \
34- main.c main-x11.c main-gcu.c mane.c \
35+ main.c main-x11.c main-gcu.c \
3536 melee.h melee1.c mind.c \
3637 \
3738 monster.h \
--- /dev/null
+++ b/src/cmd-mane.h
@@ -0,0 +1,4 @@
1+#pragma once
2+
3+/* mane.c */
4+extern bool do_cmd_mane(bool baigaesi);
--- a/src/dungeon.c
+++ b/src/dungeon.c
@@ -16,6 +16,7 @@
1616 #include "cmd-hissatsu.h"
1717 #include "cmd-item.h"
1818 #include "cmd-magiceat.h"
19+#include "cmd-mane.h"
1920 #include "cmd-quaff.h"
2021 #include "cmd-read.h"
2122 #include "cmd-smith.h"
--- a/src/externs.h
+++ b/src/externs.h
@@ -1157,8 +1157,6 @@ extern void mindcraft_info(char *p, int use_mind, int power);
11571157 extern void do_cmd_mind(void);
11581158 extern void do_cmd_mind_browse(void);
11591159
1160-/* mane.c */
1161-extern bool do_cmd_mane(bool baigaesi);
11621160
11631161 /* mspells1.c */
11641162 extern bool clean_shot(POSITION y1, POSITION x1, POSITION y2, POSITION x2, bool is_friend);
--- a/src/racial.c
+++ b/src/racial.c
@@ -12,6 +12,7 @@
1212
1313 #include "angband.h"
1414 #include "cmd-magiceat.h"
15+#include "cmd-mane.h"
1516 #include "cmd-zapwand.h"
1617 #include "cmd-pet.h"
1718 #include "melee.h"