OSDN Git Service

Merge remote-tracking branch 'remotes/origin/feature/Refactoring-Hourier' into For2...
[hengband/hengband.git] / src / floor-save.c
index 155345e..030e6a5 100644 (file)
@@ -56,7 +56,7 @@ static monster_type party_mon[MAX_PARTY_MON]; /*!< フロア移動に保存す
 FLOOR_IDX max_floor_id;
 
 /*
- * Sign for current process used in temporal files.
+ * Sign for current process used in temporary files.
  * Actually it is the start time of current process.
  */
 u32b saved_floor_file_sign;
@@ -65,7 +65,7 @@ u32b saved_floor_file_sign;
  * @brief 保存フロア配列を初期化する / Initialize saved_floors array. 
  * @param creature_ptr プレーヤーへの参照ポインタ
  * @param force テンポラリファイルが残っていた場合も警告なしで強制的に削除するフラグ
- * @details Make sure that old temporal files are not remaining as gurbages.
+ * @details Make sure that old temporary files are not remaining as gurbages.
  * @return なし
  */
 void init_saved_floors(player_type *creature_ptr, bool force)
@@ -103,11 +103,11 @@ void init_saved_floors(player_type *creature_ptr, bool force)
                {
                        if (!force)
                        {
-                               msg_print(_("エラー:古いテンポラリ・ファイルが残っています。", "Error: There are old temporal files."));
+                               msg_print(_("エラー:古いテンポラリ・ファイルが残っています。", "Error: There are old temporary files."));
                                msg_print(_("変愚蛮怒を二重に起動していないか確認してください。", "Make sure you are not running two game processes simultaneously."));
-                               msg_print(_("過去に変愚蛮怒がクラッシュした場合は一時ファイルを", "If the temporal files are garbages of old crashed process, "));
+                               msg_print(_("過去に変愚蛮怒がクラッシュした場合は一時ファイルを", "If the temporary files are garbages of old crashed process, "));
                                msg_print(_("強制的に削除して実行を続けられます。", "you can delete it safely."));
-                               if (!get_check(_("強制的に削除してもよろしいですか?", "Do you delete old temporal files? ")))
+                               if (!get_check(_("強制的に削除してもよろしいですか?", "Do you delete old temporary files? ")))
                                        quit(_("実行中止", "Aborted."));
                                force = TRUE;
                        }
@@ -121,7 +121,7 @@ void init_saved_floors(player_type *creature_ptr, bool force)
                /* Grab permissions */
                safe_setuid_grab();
 
-               /* Simply kill the temporal file */ 
+               /* Simply kill the temporary file */ 
                (void)fd_kill(floor_savefile);
 
                /* Drop permissions */
@@ -136,7 +136,7 @@ void init_saved_floors(player_type *creature_ptr, bool force)
        /* vist_mark is from 1 */
        latest_visit_mark = 1;
 
-       /* A sign to mark temporal files */
+       /* A sign to mark temporary files */
        saved_floor_file_sign = (u32b)time(NULL);
 
        /* No next floor yet */
@@ -154,7 +154,7 @@ void init_saved_floors(player_type *creature_ptr, bool force)
 }
 
 /*!
- * @brief 保存フロア用テンポラリファイルを削除する / Kill temporal files
+ * @brief 保存フロア用テンポラリファイルを削除する / Kill temporary files
  * @details Should be called just before the game quit.
  * @param creature_ptr プレーヤーへの参照ポインタ
  * @return なし
@@ -175,7 +175,7 @@ void clear_saved_floor_files(player_type *creature_ptr)
        {
                saved_floor_type *sf_ptr = &saved_floors[i];
 
-               /* No temporal file */
+               /* No temporary file */
                if (!sf_ptr->floor_id) continue;
                if (sf_ptr->floor_id == creature_ptr->floor_id) continue;
 
@@ -185,7 +185,7 @@ void clear_saved_floor_files(player_type *creature_ptr)
                /* Grab permissions */
                safe_setuid_grab();
 
-               /* Simply kill the temporal file */ 
+               /* Simply kill the temporary file */ 
                (void)fd_kill(floor_savefile);
 
                /* Drop permissions */
@@ -243,7 +243,7 @@ static void kill_saved_floor(player_type *creature_ptr, saved_floor_type *sf_ptr
                /* Kill current floor */
                creature_ptr->floor_id = 0;
 
-               /* Current floor doesn't have temporal file */
+               /* Current floor doesn't have temporary file */
        }
        else 
        {
@@ -253,7 +253,7 @@ static void kill_saved_floor(player_type *creature_ptr, saved_floor_type *sf_ptr
                /* Grab permissions */
                safe_setuid_grab();
 
-               /* Simply kill the temporal file */ 
+               /* Simply kill the temporary file */ 
                (void)fd_kill(floor_savefile);
 
                /* Drop permissions */
@@ -896,7 +896,7 @@ void leave_floor(player_type *creature_ptr)
            (creature_ptr->change_floor_mode & CFM_SAVE_FLOORS) &&
            !(creature_ptr->change_floor_mode & CFM_NO_RETURN))
        {
-           /* Get temporal floor_id */
+           /* Get temporary floor_id */
                tmp_floor_idx = get_new_floor_id(creature_ptr);
        }
 
@@ -1102,7 +1102,7 @@ void leave_floor(player_type *creature_ptr)
  * @return なし
  * @details
  * If the floor is an old saved floor, it will be\n
- * restored from the temporal file.  If the floor is new one, new floor\n
+ * restored from the temporary file.  If the floor is new one, new floor\n
  * will be generated.\n
  */
 void change_floor(player_type *creature_ptr)
@@ -1302,7 +1302,7 @@ void change_floor(player_type *creature_ptr)
                {
                        if (sf_ptr->last_visit)
                        {
-                               /* Temporal file is broken? */
+                               /* Temporary file is broken? */
                                msg_print(_("階段は行き止まりだった。", "The staircases come to a dead end..."));
 
                                /* Create simple dead end */