変愚蛮怒のメインリポジトリです
Revision | bab19e75721209b9ce50a011225a80e537b34158 (tree) |
---|---|
Time | 2019-06-01 17:19:02 |
Author | deskull <deskull@user...> |
Commiter | deskull |
[Refactor] #37353 PW_* 定義を view-mainwindow.h へ移動.
@@ -30,6 +30,7 @@ | ||
30 | 30 | #include "files.h" |
31 | 31 | #include "grid.h" |
32 | 32 | #include "monster.h" |
33 | +#include "view-mainwindow.h" | |
33 | 34 | |
34 | 35 | /* |
35 | 36 | * The artifact arrays |
@@ -34,6 +34,7 @@ | ||
34 | 34 | #include "world.h" |
35 | 35 | #include "monster.h" |
36 | 36 | #include "monsterrace.h" |
37 | +#include "view-mainwindow.h" | |
37 | 38 | |
38 | 39 | #define MAX_LINELEN 1024 |
39 | 40 |
@@ -32,6 +32,7 @@ | ||
32 | 32 | #include "targeting.h" |
33 | 33 | #include "realm-song.h" |
34 | 34 | #include "player-race.h" |
35 | +#include "view-mainwindow.h" | |
35 | 36 | |
36 | 37 | /*! |
37 | 38 | * @brief 装備耐性に準じたブレス効果の選択テーブル / |
@@ -79,6 +79,7 @@ | ||
79 | 79 | #include "objectkind.h" |
80 | 80 | #include "floor-town.h" |
81 | 81 | #include "realm.h" |
82 | +#include "view-mainwindow.h" | |
82 | 83 | |
83 | 84 | /* |
84 | 85 | * Mark strings for auto dump |
@@ -22,6 +22,7 @@ | ||
22 | 22 | #include "objectkind.h" |
23 | 23 | #include "realm.h" |
24 | 24 | #include "realm-song.h" |
25 | +#include "view-mainwindow.h" | |
25 | 26 | |
26 | 27 | /*! |
27 | 28 | * @brief 食料を食べるコマンドのサブルーチン |
@@ -45,6 +45,7 @@ | ||
45 | 45 | #include "targeting.h" |
46 | 46 | #include "snipe.h" |
47 | 47 | #include "player-race.h" |
48 | +#include "view-mainwindow.h" | |
48 | 49 | |
49 | 50 | /*! |
50 | 51 | * @brief 持ち物一覧を表示するコマンドのメインルーチン / Display p_ptr->inventory_list |
@@ -26,6 +26,7 @@ | ||
26 | 26 | #include "cmd-basic.h" |
27 | 27 | #include "floor.h" |
28 | 28 | #include "objectkind.h" |
29 | +#include "view-mainwindow.h" | |
29 | 30 | |
30 | 31 | /*! |
31 | 32 | * @brief 薬を飲むコマンドのサブルーチン / |
@@ -10,6 +10,7 @@ | ||
10 | 10 | #include "cmd-smith.h" |
11 | 11 | #include "objectkind.h" |
12 | 12 | #include "autopick.h" |
13 | +#include "view-mainwindow.h" | |
13 | 14 | |
14 | 15 | |
15 | 16 |
@@ -13,6 +13,7 @@ | ||
13 | 13 | #include "cmd-basic.h" |
14 | 14 | #include "floor.h" |
15 | 15 | #include "objectkind.h" |
16 | +#include "view-mainwindow.h" | |
16 | 17 | |
17 | 18 | |
18 | 19 |
@@ -12,6 +12,7 @@ | ||
12 | 12 | #include "cmd-basic.h" |
13 | 13 | #include "floor.h" |
14 | 14 | #include "targeting.h" |
15 | +#include "view-mainwindow.h" | |
15 | 16 | |
16 | 17 | /*! |
17 | 18 | * @brief ロッドの効果を発動する |
@@ -11,6 +11,7 @@ | ||
11 | 11 | #include "cmd-basic.h" |
12 | 12 | #include "floor.h" |
13 | 13 | #include "targeting.h" |
14 | +#include "view-mainwindow.h" | |
14 | 15 | |
15 | 16 | /*! |
16 | 17 | * @brief 魔法棒の効果を発動する |
@@ -290,27 +290,6 @@ | ||
290 | 290 | #define PROJECT_WHO_GLASS_SHARDS -2 /*!< 魔法効果の自然発生要因: 破壊されたガラス地形の破片 */ |
291 | 291 | |
292 | 292 | |
293 | -/* | |
294 | - * Bit flags for the "p_ptr->window" variable (etc) | |
295 | - */ | |
296 | -#define PW_INVEN 0x00000001L /*!<サブウィンドウ描画フラグ: 所持品-装備品 / Display inven/equip */ | |
297 | -#define PW_EQUIP 0x00000002L /*!<サブウィンドウ描画フラグ: 装備品-所持品 / Display equip/inven */ | |
298 | -#define PW_SPELL 0x00000004L /*!<サブウィンドウ描画フラグ: 魔法一覧 / Display spell list */ | |
299 | -#define PW_PLAYER 0x00000008L /*!<サブウィンドウ描画フラグ: プレイヤーのステータス / Display character */ | |
300 | -#define PW_MONSTER_LIST 0x00000010L /*!<サブウィンドウ描画フラグ: 視界内モンスターの一覧 / Display monster list */ | |
301 | -/* xxx */ | |
302 | -/* xxx */ | |
303 | -#define PW_MESSAGE 0x00000040L /*!<サブウィンドウ描画フラグ: メッセージログ / Display messages */ | |
304 | -#define PW_OVERHEAD 0x00000080L /*!<サブウィンドウ描画フラグ: 周辺の光景 / Display overhead view */ | |
305 | -#define PW_MONSTER 0x00000100L /*!<サブウィンドウ描画フラグ: モンスターの思い出 / Display monster recall */ | |
306 | -#define PW_OBJECT 0x00000200L /*!<サブウィンドウ描画フラグ: アイテムの知識 / Display object recall */ | |
307 | -#define PW_DUNGEON 0x00000400L /*!<サブウィンドウ描画フラグ: ダンジョンの地形 / Display dungeon view */ | |
308 | -#define PW_SNAPSHOT 0x00000800L /*!<サブウィンドウ描画フラグ: 記念写真 / Display snap-shot */ | |
309 | -/* xxx */ | |
310 | -/* xxx */ | |
311 | -#define PW_BORG_1 0x00004000L /*!<サブウィンドウ描画フラグ: ボーグメッセージ / Display borg messages */ | |
312 | -#define PW_BORG_2 0x00008000L /*!<サブウィンドウ描画フラグ: ボーグステータス / Display borg status */ | |
313 | - | |
314 | 293 | /* Empty hand status */ |
315 | 294 | #define EMPTY_HAND_NONE 0x0000 /* Both hands are used */ |
316 | 295 | #define EMPTY_HAND_LARM 0x0001 /* Left hand is empty */ |
@@ -11,6 +11,7 @@ | ||
11 | 11 | #include "quest.h" |
12 | 12 | #include "world.h" |
13 | 13 | #include "objectkind.h" |
14 | +#include "view-mainwindow.h" | |
14 | 15 | |
15 | 16 | /*! |
16 | 17 | * @brief 対象のアイテムが矢やクロスボウの矢の材料になるかを返す。/ |
@@ -11,6 +11,7 @@ | ||
11 | 11 | #include "player-effects.h" |
12 | 12 | #include "monster-spell.h" |
13 | 13 | #include "world.h" |
14 | +#include "view-mainwindow.h" | |
14 | 15 | |
15 | 16 | |
16 | 17 | /*! |
@@ -23,6 +23,27 @@ extern bool change_panel(POSITION dy, POSITION dx); | ||
23 | 23 | |
24 | 24 | extern void window_stuff(void); |
25 | 25 | |
26 | +/* | |
27 | + * Bit flags for the "window" variable (etc) | |
28 | + */ | |
29 | +#define PW_INVEN 0x00000001L /*!<サブウィンドウ描画フラグ: 所持品-装備品 / Display inven/equip */ | |
30 | +#define PW_EQUIP 0x00000002L /*!<サブウィンドウ描画フラグ: 装備品-所持品 / Display equip/inven */ | |
31 | +#define PW_SPELL 0x00000004L /*!<サブウィンドウ描画フラグ: 魔法一覧 / Display spell list */ | |
32 | +#define PW_PLAYER 0x00000008L /*!<サブウィンドウ描画フラグ: プレイヤーのステータス / Display character */ | |
33 | +#define PW_MONSTER_LIST 0x00000010L /*!<サブウィンドウ描画フラグ: 視界内モンスターの一覧 / Display monster list */ | |
34 | + /* xxx */ | |
35 | + /* xxx */ | |
36 | +#define PW_MESSAGE 0x00000040L /*!<サブウィンドウ描画フラグ: メッセージログ / Display messages */ | |
37 | +#define PW_OVERHEAD 0x00000080L /*!<サブウィンドウ描画フラグ: 周辺の光景 / Display overhead view */ | |
38 | +#define PW_MONSTER 0x00000100L /*!<サブウィンドウ描画フラグ: モンスターの思い出 / Display monster recall */ | |
39 | +#define PW_OBJECT 0x00000200L /*!<サブウィンドウ描画フラグ: アイテムの知識 / Display object recall */ | |
40 | +#define PW_DUNGEON 0x00000400L /*!<サブウィンドウ描画フラグ: ダンジョンの地形 / Display dungeon view */ | |
41 | +#define PW_SNAPSHOT 0x00000800L /*!<サブウィンドウ描画フラグ: 記念写真 / Display snap-shot */ | |
42 | +/* xxx */ | |
43 | +/* xxx */ | |
44 | +#define PW_BORG_1 0x00004000L /*!<サブウィンドウ描画フラグ: ボーグメッセージ / Display borg messages */ | |
45 | +#define PW_BORG_2 0x00008000L /*!<サブウィンドウ描画フラグ: ボーグステータス / Display borg status */ | |
46 | + | |
26 | 47 | |
27 | 48 | /* |
28 | 49 | * Bit flags for the "redraw" variable |
@@ -47,6 +47,7 @@ | ||
47 | 47 | #include "bldg.h" |
48 | 48 | #include "objectkind.h" |
49 | 49 | #include "targeting.h" |
50 | +#include "view-mainwindow.h" | |
50 | 51 | |
51 | 52 | #ifdef ALLOW_WIZARD |
52 | 53 |