<ClCompile Include="..\..\src\object\warning.c" />\r
<ClCompile Include="..\..\src\floor\wild.c" />\r
<ClCompile Include="..\..\src\view\display-messages.c" />\r
+ <ClCompile Include="..\..\src\wizard\wizard-messages.c" />\r
<ClCompile Include="..\..\src\wizard\wizard-spells.c" />\r
<ClCompile Include="..\..\src\wizard\wizard-spoiler.c" />\r
<ClCompile Include="..\..\src\wizard\wizard-special-process.c" />\r
<ClInclude Include="..\..\src\view\object-describer.h" />\r
<ClInclude Include="..\..\src\view\status-bars-table.h" />\r
<ClInclude Include="..\..\src\wizard\spoiler-table.h" />\r
+ <ClInclude Include="..\..\src\wizard\wizard-messages.h" />\r
<ClInclude Include="..\..\src\wizard\wizard-spells.h" />\r
<ClInclude Include="..\..\src\world\world-object.h" />\r
<ClInclude Include="..\..\src\locale\english.h" />\r
<ClCompile Include="..\..\src\status\bad-status-setter.c">
<Filter>status</Filter>
</ClCompile>
+ <ClCompile Include="..\..\src\wizard\wizard-messages.c">
+ <Filter>wizard</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\cmd\cmd-basic.h">
<ClInclude Include="..\..\src\status\bad-status-setter.h">
<Filter>status</Filter>
</ClInclude>
+ <ClInclude Include="..\..\src\wizard\wizard-messages.h">
+ <Filter>wizard</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\wall.bmp" />
\
wizard/spoiler-table.c wizard/spoiler-table.h \
wizard/tval-descriptions-table.c wizard/tval-descriptions-table.h \
+ wizard/wizard-messages.c wizard/wizard-messages.h \
wizard/wizard-spells.c wizard/wizard-spells.h \
wizard/wizard-spoiler.c wizard/wizard-spoiler.h\
wizard/wizard-special-process.c wizard/wizard-special-process.h \
#include "spell/process-effect.h"
#include "spell/spell-types.h"
#include "view/display-messages.h"
+#include "wizard/wizard-messages.h"
/*!
* @brief プレイヤーの変異要素による打撃処理
#include "util/bit-flags-calculator.h"
#include "view/display-messages.h"
#include "view/object-describer.h"
+#include "wizard/wizard-messages.h"
#include "world/world.h"
/*!
#include "sv-definition/sv-bow-types.h"
#include "util/bit-flags-calculator.h"
#include "view/display-messages.h"
+#include "wizard/wizard-messages.h"
#include "world/world-object.h"
/*!
#include "util/bit-flags-calculator.h"
#include "view/display-messages.h"
#include "view/main-window-util.h"
+#include "wizard/wizard-messages.h"
#include "world/world.h"
int dun_tun_rnd;
#include "system/system-variables.h"
#include "util/bit-flags-calculator.h"
#include "view/display-messages.h"
-#include "view/object-describer.h"
+#include "wizard/wizard-messages.h"
#include "world/world-object.h"
#include "world/world.h"
#include "spell-kind/spells-floor.h"
#include "util/bit-flags-calculator.h"
#include "view/display-messages.h"
+#include "wizard/wizard-messages.h"
/*!
* @brief 再帰フラクタルアルゴリズムによりダンジョン内に川を配置する /
#include "spell/process-effect.h"
#include "spell/spell-types.h"
#include "view/display-messages.h"
+#include "wizard/wizard-messages.h"
#include "world/world.h"
static bool is_friendly_idx(player_type *player_ptr, MONSTER_IDX m_idx) { return m_idx > 0 && is_friendly(&player_ptr->current_floor_ptr->m_list[(m_idx)]); }
#include "util/bit-flags-calculator.h"
#include "util/quarks.h"
#include "view/display-messages.h"
+#include "wizard/wizard-messages.h"
#include "world/world.h"
/*
#include "sv-definition/sv-weapon-types.h"
#include "util/bit-flags-calculator.h"
#include "view/display-messages.h"
+#include "wizard/wizard-messages.h"
#include "world/world.h"
static player_attack_type *initialize_player_attack_type(
#include "store/store-util.h"
#include "store/store.h"
#include "util/bit-flags-calculator.h"
-#include "view/display-messages.h"
+#include "wizard/wizard-messages.h"
/*
* Precalculate buildings' location of underground arcade
#include "rooms.h"
#include "util/sort.h"
#include "view/display-messages.h"
+#include "wizard/wizard-messages.h"
/*!
* @brief ダンジョン毎に指定されたピット配列を基準にランダムなpit/nestタイプを決める
#include "object/object-kind-hook.h"
#include "room/rooms.h"
#include "system/system-variables.h"
-#include "view/display-messages.h"
+#include "wizard/wizard-messages.h"
/*!
* @brief タイプ15の部屋…ガラス部屋の生成 / Type 15 -- glass rooms
#include "grid/feature.h"
#include "grid/grid.h"
#include "room/rooms.h"
-#include "view/display-messages.h"
+#include "wizard/wizard-messages.h"
/*!
* @brief タイプ14の部屋…特殊トラップ部屋の生成 / Type 14 -- trapped rooms
#include "room/rooms.h"
#include "store/store-util.h"
#include "store/store.h"
-#include "view/display-messages.h"
+#include "wizard/wizard-messages.h"
/*
* The vault generation arrays
#include "room/rooms-vault.h"
#include "util/bit-flags-calculator.h"
#include "view/display-messages.h"
+#include "wizard/wizard-messages.h"
/*!
* 各部屋タイプの生成比定義
#include "view/display-messages.h"
#include "core/output-updater.h"
-#include "game-option/cheat-options.h"
-#include "game-option/cheat-types.h"
#include "game-option/input-options.h"
#include "game-option/map-screen-options.h"
#include "game-option/option-flags.h"
#include "io/input-key-acceptor.h"
#include "io/input-key-processor.h"
-#include "io/write-diary.h"
#include "main/sound-of-music.h"
#include "term/gameterm.h"
#include "term/term-color-types.h"
Term_fresh();
}
-void msg_print_wizard(int cheat_type, concptr msg)
-{
- if (!cheat_room && cheat_type == CHEAT_DUNGEON)
- return;
- if (!cheat_peek && cheat_type == CHEAT_OBJECT)
- return;
- if (!cheat_hear && cheat_type == CHEAT_MONSTER)
- return;
- if (!cheat_xtra && cheat_type == CHEAT_MISC)
- return;
-
- concptr cheat_mes[] = { "ITEM", "MONS", "DUNG", "MISC" };
- char buf[1024];
- sprintf(buf, "WIZ-%s:%s", cheat_mes[cheat_type], msg);
- msg_print(buf);
-
- if (cheat_diary_output) {
- exe_write_diary(p_ptr, DIARY_WIZARD_LOG, 0, buf);
- }
-}
-
/*
* Display a formatted message, using "vstrnfmt()" and "msg_print()".
*/
va_end(vp);
msg_print(buf);
}
-
-/*
- * Display a formatted message, using "vstrnfmt()" and "msg_print()".
- */
-void msg_format_wizard(int cheat_type, concptr fmt, ...)
-{
- if (!cheat_room && cheat_type == CHEAT_DUNGEON)
- return;
- if (!cheat_peek && cheat_type == CHEAT_OBJECT)
- return;
- if (!cheat_hear && cheat_type == CHEAT_MONSTER)
- return;
- if (!cheat_xtra && cheat_type == CHEAT_MISC)
- return;
-
- va_list vp;
- char buf[1024];
- va_start(vp, fmt);
- (void)vstrnfmt(buf, 1024, fmt, vp);
- va_end(vp);
- msg_print_wizard(cheat_type, buf);
-}
void message_add(concptr msg);
void msg_erase(void);
void msg_print(concptr msg);
-void msg_print_wizard(int cheat_type, concptr msg);
-
-#ifndef SWIG
void msg_format(concptr fmt, ...);
-void msg_format_wizard(int cheat_type, concptr fmt, ...);
-#endif
--- /dev/null
+#include "wizard/wizard-messages.h"
+#include "game-option/cheat-options.h"
+#include "game-option/cheat-types.h"
+#include "io/write-diary.h"
+#include "view/display-messages.h"
+
+void msg_print_wizard(int cheat_type, concptr msg)
+{
+ if (!cheat_room && cheat_type == CHEAT_DUNGEON)
+ return;
+ if (!cheat_peek && cheat_type == CHEAT_OBJECT)
+ return;
+ if (!cheat_hear && cheat_type == CHEAT_MONSTER)
+ return;
+ if (!cheat_xtra && cheat_type == CHEAT_MISC)
+ return;
+
+ concptr cheat_mes[] = { "ITEM", "MONS", "DUNG", "MISC" };
+ char buf[1024];
+ sprintf(buf, "WIZ-%s:%s", cheat_mes[cheat_type], msg);
+ msg_print(buf);
+
+ if (cheat_diary_output) {
+ exe_write_diary(p_ptr, DIARY_WIZARD_LOG, 0, buf);
+ }
+}
+
+/*
+ * Display a formatted message, using "vstrnfmt()" and "msg_print()".
+ */
+void msg_format_wizard(int cheat_type, concptr fmt, ...)
+{
+ if (!cheat_room && cheat_type == CHEAT_DUNGEON)
+ return;
+ if (!cheat_peek && cheat_type == CHEAT_OBJECT)
+ return;
+ if (!cheat_hear && cheat_type == CHEAT_MONSTER)
+ return;
+ if (!cheat_xtra && cheat_type == CHEAT_MISC)
+ return;
+
+ va_list vp;
+ char buf[1024];
+ va_start(vp, fmt);
+ (void)vstrnfmt(buf, 1024, fmt, vp);
+ va_end(vp);
+ msg_print_wizard(cheat_type, buf);
+}
--- /dev/null
+#pragma once
+
+#include "system/angband.h"
+
+void msg_print_wizard(int cheat_type, concptr msg);
+void msg_format_wizard(int cheat_type, concptr fmt, ...);