<ClCompile Include="..\..\src\view\display-main-window.c" />\r
<ClCompile Include="..\..\src\warning.c" />\r
<ClCompile Include="..\..\src\wild.c" />\r
- <ClCompile Include="..\..\src\wizard1.c" />\r
- <ClCompile Include="..\..\src\wizard2.c" />\r
+ <ClCompile Include="..\..\src\wizard\wizard-spoiler.c" />\r
+ <ClCompile Include="..\..\src\wizard\wizard-special-process.c" />\r
<ClCompile Include="..\..\src\world.c" />\r
<ClCompile Include="..\..\src\z-form.c" />\r
<ClCompile Include="..\..\src\z-rand.c" />\r
<ClInclude Include="..\..\src\player\process-death.h" />\r
<ClInclude Include="..\..\src\view\display-player-misc-info.h" />\r
<ClInclude Include="..\..\src\view\status-first-page.h" />\r
+ <ClInclude Include="..\..\src\wizard\wizard-special-process.h" />\r
+ <ClInclude Include="..\..\src\wizard\wizard-spoiler.h" />\r
<ClInclude Include="japanese.h" />\r
</ItemGroup>\r
<ItemGroup>\r
<ClCompile Include="..\..\src\z-rand.c">
<Filter>core</Filter>
</ClCompile>
- <ClCompile Include="..\..\src\wizard2.c">
- <Filter>cmd</Filter>
- </ClCompile>
- <ClCompile Include="..\..\src\wizard1.c">
- <Filter>cmd</Filter>
- </ClCompile>
<ClCompile Include="..\..\src\report.c">
<Filter>io</Filter>
</ClCompile>
<ClCompile Include="..\..\src\inventory\recharge-processor.c">
<Filter>inventory</Filter>
</ClCompile>
+ <ClCompile Include="..\..\src\wizard\wizard-spoiler.c">
+ <Filter>wizard</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\src\wizard\wizard-special-process.c">
+ <Filter>wizard</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\gamevalue.h" />
<ClInclude Include="..\..\src\inventory\recharge-processor.h">
<Filter>inventory</Filter>
</ClInclude>
+ <ClInclude Include="..\..\src\wizard\wizard-spoiler.h">
+ <Filter>wizard</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\src\wizard\wizard-special-process.h">
+ <Filter>wizard</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\wall.bmp" />
<Filter Include="mutation">
<UniqueIdentifier>{0e652835-2887-4970-9fa2-4ba77974e921}</UniqueIdentifier>
</Filter>
+ <Filter Include="wizard">
+ <UniqueIdentifier>{22328846-3669-435a-9731-f0998a1c3dfa}</UniqueIdentifier>
+ </Filter>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\src\angband.rc" />
cmd/cmd-usestaff.c cmd/cmd-usestaff.h \
cmd/cmd-zaprod.c cmd/cmd-zaprod.h cmd/cmd-zapwand.c cmd/cmd-zapwand.h \
\
- combat/melee.h combat/melee.c combat/shoot.c combat/shoot.h
+ combat/melee.h combat/melee.c combat/shoot.c combat/shoot.h \
+ \
+ wizard/wizard-spoiler.c wizard/wizard-spoiler.h\
+ wizard/wizard-special-process.c wizard/wizard-special-process.h
EXTRA_hengband_SOURCES = \
angband.ico angband.rc ang_eng.rc maid-x11.c main-win.c \
extern void do_cmd_version(void);
extern void do_cmd_feeling(player_type *creature_ptr);
extern void do_cmd_time(player_type *creature_ptr);
-
-/*
- * Forward declare
- */
-extern void do_cmd_spoilers(player_type *creature_ptr);
-
-/* wizard1.c */
-extern void spoil_random_artifact(player_type *creature_ptr, concptr fname);
#include "core/magic-effects-timeout-reducer.h"
#include "inventory/inventory-curse.h"
#include "inventory/recharge-processor.h"
+#include "wizard/wizard-spoiler.h"
+#include "wizard/wizard-special-process.h"
/*!
* コピーライト情報 /
return TRUE;
}
-/*
- * todo これが多重インクルード問題の原因 (の1つ)かもしれない、wizard2.cに同名の関数が存在する
- * Hack -- Declare the Debug Routines
- */
-extern void do_cmd_debug(player_type *creature_ptr);
-
/*!
* @brief プレイヤーから受けた入力コマンドの分岐処理。
* / Parse and execute the current command Give "Warning" on illegal commands.
*/
#include "angband.h"
+#include "wizard/wizard-special-process.h"
+#include "wizard/wizard-spoiler.h"
#include "core/angband-version.h"
#include "core/stuff-handler.h"
#include "gameterm.h"
#define NUM_O_SET 8
#define NUM_O_BIT 32
-extern void do_cmd_debug(player_type *creature_ptr);
-
typedef union spell_functions {
struct debug_spell_type1 { bool(*spell_function)(player_type *, floor_type *); } spell1;
struct debug_spell_type2 { bool(*spell_function)(player_type *); } spell2;
--- /dev/null
+#pragma once
+
+void do_cmd_debug(player_type* creature_ptr);
*/
#include "angband.h"
+#include "wizard/wizard-spoiler.h"
#include "util.h"
#include "gameterm.h"
--- /dev/null
+#pragma once
+
+void do_cmd_spoilers(player_type* player_ptr);
+void spoil_random_artifact(player_type* creature_ptr, concptr fname);