3 #include "system/angband.h"
7 typedef struct world_type {
9 POSITION max_wild_x; /*!< Maximum size of the wilderness */
10 POSITION max_wild_y; /*!< Maximum size of the wilderness */
11 GAME_TURN game_turn; /*!< 画面表示上のゲーム時間基準となるターン / Current game turn */
12 GAME_TURN game_turn_limit; /*!< game_turnの最大値 / Limit of game_turn */
13 GAME_TURN dungeon_turn; /*!< NASTY生成の計算に関わる内部ターン値 / Game turn in dungeon */
14 GAME_TURN dungeon_turn_limit; /*!< dungeon_turnの最大値 / Limit of game_turn in dungeon */
15 GAME_TURN arena_start_turn; /*!< 闘技場賭博の開始ターン値 */
17 u16b noscore; /* Cheating flags */
18 u16b total_winner; /* Total winner */
20 MONSTER_IDX timewalk_m_idx; /*!< 現在時間停止を行っているモンスターのID */
22 MONRACE_IDX bounty_r_idx[MAX_BOUNTY];
24 u32b play_time; /*!< 実プレイ時間 */
26 u32b seed_flavor; /* Hack -- consistent object colors */
27 u32b seed_town; /* Hack -- consistent town layout */
29 bool is_loading_now; /*!< ロード処理中フラグ...ロード直後にcalc_bonus()時の徳変化、及びsanity_blast()による異常を抑止する */
34 byte h_ver_major; /* Savefile version for Hengband 1.1.1 and later */
39 byte sf_extra; /* Savefile's encoding key */
41 byte z_major; /* Savefile version for Hengband */
46 * Savefile information
48 u32b sf_system; /* Operating system info */
49 u32b sf_when; /* Time when savefile created */
50 u16b sf_lives; /* Number of past "lives" with this file */
51 u16b sf_saves; /* Number of "saves" during this life */
53 bool character_generated; /* The character exists */
54 bool character_dungeon; /* The character has a dungeon */
55 bool character_loaded; /* The character was loaded from a savefile */
56 bool character_saved; /* The character was just saved to a savefile */
58 bool character_icky; /* The game is in an icky full screen mode */
59 bool character_xtra; /* The game is in an icky startup mode */
61 bool creating_savefile; /* New savefile is currently created */
63 bool wizard; /* This world under wizard mode */
65 OBJECT_IDX max_o_idx; /*!< Maximum number of objects in the level */
66 MONSTER_IDX max_m_idx; /*!< Maximum number of monsters in the level */
68 DUNGEON_IDX max_d_idx;
72 extern world_type *current_world_ptr;
74 bool is_daytime(void);
75 void extract_day_hour_min(player_type *player_ptr, int *day, int *hour, int *min);
76 void update_playtime(void);