OSDN Git Service

6a01a0050f600fbb678d650ff21928b4e6ea41bf
[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 pos_list tmp_pos;
22
23 /*
24  * The number of quarks
25  */
26 STR_OFFSET quark__num;
27
28 /*
29  * The pointers to the quarks [QUARK_MAX]
30  */
31 concptr *quark__str;
32
33 /*
34  * The array of window pointers
35  */
36 term *angband_term[8];
37
38
39
40 /*** Player information ***/
41
42 /*
43  * Static player info record
44  */
45 player_type p_body;
46
47 /*
48  * Pointer to the player info
49  */
50 player_type *p_ptr = &p_body;
51
52
53 MONSTER_IDX pet_t_m_idx;
54 MONSTER_IDX riding_t_m_idx;
55
56 MONSTER_IDX today_mon;
57
58 bool sukekaku;
59 bool new_mane;
60
61 bool use_menu;
62
63 #ifdef CHUUKEI
64 bool chuukei_server;
65 bool chuukei_client;
66 char *server_name;
67 int server_port;
68 #endif