3 extern const concptr copyright[5];
5 #define VERSION_NAME "Hengband" /*!< バリアント名称 / Name of the version/variant */
8 * @brief ゲームのバージョン番号定義 / "Program Version Number" of the game
10 * 本FAKE_VERSIONそのものは未使用である。Zangと整合性を合わせるための疑似的処理のためFAKE_VER_MAJORは実値-10が該当のバージョン番号となる。
12 * FAKE_VER_MAJOR=1,2 were reserved for ZAngband version 1.x.x/2.x.x .
13 * Program Version of Hengband version is
14 * "(FAKE_VER_MAJOR-10).(FAKE_VER_MINOR).(FAKE_VER_PATCH)".
17 #define FAKE_VERSION 0
19 #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */
20 #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */
21 #define FAKE_VER_PATCH 1 /*!< ゲームのバージョン番号定義(パッチ番号) */
22 #define FAKE_VER_EXTRA 7 /*!< ゲームのバージョン番号定義(エクストラ番号) */
25 * @brief バージョンが開発版が安定版かを返す
27 #define IS_STABLE_VERSION (FAKE_VER_MINOR % 2 == 0 && FAKE_VER_EXTRA == 0)
30 * @brief セーブファイル上のバージョン定義(メジャー番号) / "Savefile Version Number" for Hengband 1.1.1 and later
32 * 当面FAKE_VER_*を参照しておく。
34 * First three digits may be same as the Program Version. But not
35 * always same. It means that newer version may preserves lower
36 * compatibility with the older version.
37 * For example, newer Hengband 1.4.4 creates savefiles marked with
38 * Savefile Version 1.4.0.0 . It means that Hengband 1.4.0 can load a
39 * savefile of Hengband 1.4.4 (lower compatibility!).
40 * Upper compatibility is always guaranteed.
43 #define H_VER_MAJOR (FAKE_VER_MAJOR-10) /*!< セーブファイル上のバージョン定義(メジャー番号) */
44 #define H_VER_MINOR FAKE_VER_MINOR /*!< セーブファイル上のバージョン定義(マイナー番号) */
45 #define H_VER_PATCH FAKE_VER_PATCH /*!< セーブファイル上のバージョン定義(パッチ番号) */
46 #define H_VER_EXTRA FAKE_VER_EXTRA /*!< セーブファイル上のバージョン定義(エクストラ番号) */
48 #define ANGBAND_2_8_1 /*!< Angband 2.8.1以降から有効な処理分岐を定義 */
49 #define ZANGBAND /*!< Zangband 以降から有効な処理分岐を定義 */
52 * Special internal key
54 #define SPECIAL_KEY_QUEST 255
55 #define SPECIAL_KEY_BUILDING 254
56 #define SPECIAL_KEY_STORE 253
57 #define SPECIAL_KEY_QUIT 252
60 * Initialization flags
62 #define INIT_NAME_ONLY 0x01
63 #define INIT_SHOW_TEXT 0x02
64 #define INIT_ASSIGN 0x04
65 #define INIT_CREATE_DUNGEON 0x08
66 #define INIT_ONLY_FEATURES 0x10
67 #define INIT_ONLY_BUILDINGS 0x20
69 extern int init_flags;
71 extern concptr ANGBAND_SYS;
72 extern concptr ANGBAND_KEYBOARD;
73 extern concptr ANGBAND_GRAF;
76 extern COMMAND_CODE now_message;
78 extern bool repair_monsters;
79 extern bool repair_objects;
81 extern void play_game(player_type *player_ptr, bool new_game);
82 extern s32b turn_real(player_type *player_ptr, s32b hoge);
83 extern void prevent_turn_overflow(player_type *player_ptr);
84 extern void close_game(player_type *player_ptr);
86 extern void handle_stuff(player_type *player_ptr);
87 extern void update_output(player_type *player_ptr);