OSDN Git Service

[Refactor] #37353 tmp_pos を util.h へ移動.
[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  * The number of quarks
23  */
24 STR_OFFSET quark__num;
25
26 /*
27  * The pointers to the quarks [QUARK_MAX]
28  */
29 concptr *quark__str;
30
31
32
33 /*** Player information ***/
34
35 /*
36  * Static player info record
37  */
38 player_type p_body;
39
40 /*
41  * Pointer to the player info
42  */
43 player_type *p_ptr = &p_body;
44
45
46 MONSTER_IDX pet_t_m_idx;
47 MONSTER_IDX riding_t_m_idx;
48
49 MONSTER_IDX today_mon;
50
51 bool new_mane;
52
53 #ifdef CHUUKEI
54 bool chuukei_server;
55 bool chuukei_client;
56 char *server_name;
57 int server_port;
58 #endif