OSDN Git Service

[Refactor] #38844 reset_concentrate を player_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  * User info
22  */
23 int player_uid;
24 int player_euid;
25 int player_egid;
26
27 pos_list tmp_pos;
28
29 /*
30  * The number of quarks
31  */
32 STR_OFFSET quark__num;
33
34 /*
35  * The pointers to the quarks [QUARK_MAX]
36  */
37 concptr *quark__str;
38
39 /*
40  * The array of window pointers
41  */
42 term *angband_term[8];
43
44
45
46 /*** Player information ***/
47
48 /*
49  * Static player info record
50  */
51 player_type p_body;
52
53 /*
54  * Pointer to the player info
55  */
56 player_type *p_ptr = &p_body;
57
58
59 MONSTER_IDX pet_t_m_idx;
60 MONSTER_IDX riding_t_m_idx;
61
62 MONSTER_IDX today_mon;
63
64 bool sukekaku;
65 bool new_mane;
66
67 /*
68  * Which dungeon ?
69  */
70 DEPTH *max_dlv;
71
72 bool use_menu;
73
74 #ifdef CHUUKEI
75 bool chuukei_server;
76 bool chuukei_client;
77 char *server_name;
78 int server_port;
79 #endif
80
81 /* for movie */
82 bool browsing_movie;