OSDN Git Service

[Refactor] clang-format適用。
authoriks <iks3@users.noreply.github.com>
Thu, 18 Mar 2021 07:04:44 +0000 (16:04 +0900)
committeriks <iks3@users.noreply.github.com>
Thu, 18 Mar 2021 07:04:44 +0000 (16:04 +0900)
src/world/world.h

index b69ef22..394e20d 100644 (file)
@@ -6,67 +6,67 @@
 
 typedef struct world_type {
 
-       POSITION max_wild_x; /*!< Maximum size of the wilderness */
-       POSITION max_wild_y; /*!< Maximum size of the wilderness */
-       GAME_TURN game_turn;                    /*!< 画面表示上のゲーム時間基準となるターン / Current game turn */
-       GAME_TURN game_turn_limit;              /*!< game_turnの最大値 / Limit of game_turn */
-       GAME_TURN dungeon_turn;                 /*!< NASTY生成の計算に関わる内部ターン値 / Game turn in dungeon */
-       GAME_TURN dungeon_turn_limit;   /*!< dungeon_turnの最大値 / Limit of game_turn in dungeon */
-       GAME_TURN arena_start_turn;             /*!< 闘技場賭博の開始ターン値 */
-       u32b start_time;
-       u16b noscore;             /* Cheating flags */
-       u16b total_winner;        /* Total winner */
-
-       MONSTER_IDX timewalk_m_idx;     /*!< 現在時間停止を行っているモンスターのID */
-
-       MONRACE_IDX bounty_r_idx[MAX_BOUNTY];
+    POSITION max_wild_x; /*!< Maximum size of the wilderness */
+    POSITION max_wild_y; /*!< Maximum size of the wilderness */
+    GAME_TURN game_turn; /*!< 画面表示上のゲーム時間基準となるターン / Current game turn */
+    GAME_TURN game_turn_limit; /*!< game_turnの最大値 / Limit of game_turn */
+    GAME_TURN dungeon_turn; /*!< NASTY生成の計算に関わる内部ターン値 / Game turn in dungeon */
+    GAME_TURN dungeon_turn_limit; /*!< dungeon_turnの最大値 / Limit of game_turn in dungeon */
+    GAME_TURN arena_start_turn; /*!< 闘技場賭博の開始ターン値 */
+    u32b start_time;
+    u16b noscore; /* Cheating flags */
+    u16b total_winner; /* Total winner */
+
+    MONSTER_IDX timewalk_m_idx; /*!< 現在時間停止を行っているモンスターのID */
+
+    MONRACE_IDX bounty_r_idx[MAX_BOUNTY];
     MONSTER_IDX today_mon; //!< 実際の日替わり賞金首
 
-       u32b play_time; /*!< 実プレイ時間 */
+    u32b play_time; /*!< 実プレイ時間 */
 
-       u32b seed_flavor;               /* Hack -- consistent object colors */
-       u32b seed_town;                 /* Hack -- consistent town layout */
+    u32b seed_flavor; /* Hack -- consistent object colors */
+    u32b seed_town; /* Hack -- consistent town layout */
 
-       bool is_loading_now;    /*!< ロード処理中フラグ...ロード直後にcalc_bonus()時の徳変化、及びsanity_blast()による異常を抑止する */
+    bool is_loading_now; /*!< ロード処理中フラグ...ロード直後にcalc_bonus()時の徳変化、及びsanity_blast()による異常を抑止する */
 
-       /*
-        * Savefile version
-        */
-       byte h_ver_major; /* Savefile version for Hengband 1.1.1 and later */
-       byte h_ver_minor;
-       byte h_ver_patch;
-       byte h_ver_extra;
+    /*
+     * Savefile version
+     */
+    byte h_ver_major; /* Savefile version for Hengband 1.1.1 and later */
+    byte h_ver_minor;
+    byte h_ver_patch;
+    byte h_ver_extra;
 
-       byte sf_extra;          /* Savefile's encoding key */
+    byte sf_extra; /* Savefile's encoding key */
 
-       byte z_major;           /* Savefile version for Hengband */
-       byte z_minor;
-       byte z_patch;
+    byte z_major; /* Savefile version for Hengband */
+    byte z_minor;
+    byte z_patch;
 
-       /*
-        * Savefile information
-        */
-       u32b sf_system;                 /* Operating system info */
-       u32b sf_when;                   /* Time when savefile created */
-       u16b sf_lives;                  /* Number of past "lives" with this file */
-       u16b sf_saves;                  /* Number of "saves" during this life */
+    /*
+     * Savefile information
+     */
+    u32b sf_system; /* Operating system info */
+    u32b sf_when; /* Time when savefile created */
+    u16b sf_lives; /* Number of past "lives" with this file */
+    u16b sf_saves; /* Number of "saves" during this life */
 
-       bool character_generated;       /* The character exists */
-       bool character_dungeon;         /* The character has a dungeon */
-       bool character_loaded;          /* The character was loaded from a savefile */
-       bool character_saved;           /* The character was just saved to a savefile */
+    bool character_generated; /* The character exists */
+    bool character_dungeon; /* The character has a dungeon */
+    bool character_loaded; /* The character was loaded from a savefile */
+    bool character_saved; /* The character was just saved to a savefile */
 
-       byte character_icky_depth;      /* The game is in an icky full screen mode */
-       bool character_xtra;            /* The game is in an icky startup mode */
+    byte character_icky_depth; /* The game is in an icky full screen mode */
+    bool character_xtra; /* The game is in an icky startup mode */
 
-       bool creating_savefile;         /* New savefile is currently created */
+    bool creating_savefile; /* New savefile is currently created */
 
-       bool wizard;              /* This world under wizard mode */
+    bool wizard; /* This world under wizard mode */
 
-       OBJECT_IDX max_o_idx; /*!< Maximum number of objects in the level */
-       MONSTER_IDX max_m_idx; /*!< Maximum number of monsters in the level */
+    OBJECT_IDX max_o_idx; /*!< Maximum number of objects in the level */
+    MONSTER_IDX max_m_idx; /*!< Maximum number of monsters in the level */
 
-       DUNGEON_IDX max_d_idx;
+    DUNGEON_IDX max_d_idx;
 
 } world_type;