OSDN Git Service

[Refactor] #38844 start_time を world_type 構造体へ移動.
[hengband/hengband.git] / src / variable.c
1 /*!
2  * @file variable.c
3  * @brief グローバル変数定義 / Angband variables
4  * @date 2014/10/05
5  * @author
6  * Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke<br>
7  * <br>
8  * This software may be copied and distributed for educational, research,<br>
9  * and not for profit purposes provided that this copyright and statement<br>
10  * are included in all such copies.  Other copyrights may also apply.<br>
11  */
12
13 #include "angband.h"
14 #include "geometry.h"
15
16
17 bool repair_monsters;   /* Hack -- optimize detect monsters */
18 bool repair_objects;    /* Hack -- optimize detect objects */
19
20
21 /*
22  * Dungeon size info
23  */
24
25 POSITION panel_row_min, panel_row_max;
26 POSITION panel_col_min, panel_col_max;
27 POSITION panel_col_prt, panel_row_prt;
28
29
30 /*
31  * User info
32  */
33 int player_uid;
34 int player_euid;
35 int player_egid;
36
37 pos_list tmp_pos;
38
39 /*
40  * The number of quarks
41  */
42 STR_OFFSET quark__num;
43
44 /*
45  * The pointers to the quarks [QUARK_MAX]
46  */
47 concptr *quark__str;
48
49 /*
50  * The array of window pointers
51  */
52 term *angband_term[8];
53
54 /*
55  * Keymaps for each "mode" associated with each keypress.
56  */
57 concptr keymap_act[KEYMAP_MODES][256];
58
59
60
61 /*** Player information ***/
62
63 /*
64  * Static player info record
65  */
66 player_type p_body;
67
68 /*
69  * Pointer to the player info
70  */
71 player_type *p_ptr = &p_body;
72
73
74 MONSTER_IDX pet_t_m_idx;
75 MONSTER_IDX riding_t_m_idx;
76
77 MONSTER_IDX today_mon;
78
79 bool sukekaku;
80 bool new_mane;
81
82 /*
83  * Which dungeon ?
84  */
85 DEPTH *max_dlv;
86
87 bool use_menu;
88
89 #ifdef CHUUKEI
90 bool chuukei_server;
91 bool chuukei_client;
92 char *server_name;
93 int server_port;
94 #endif
95
96 /* for movie */
97 bool browsing_movie;
98
99
100 /* for snipers */
101 bool reset_concent = FALSE;   /* Concentration reset flag */
102
103