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;
* @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)
{
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;
}
/* Grab permissions */
safe_setuid_grab();
- /* Simply kill the temporal file */
+ /* Simply kill the temporary file */
(void)fd_kill(floor_savefile);
/* Drop permissions */
/* 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 */
}
/*!
- * @brief 保存フロア用テンポラリファイルを削除する / Kill temporal files
+ * @brief 保存フロア用テンポラリファイルを削除する / Kill temporary files
* @details Should be called just before the game quit.
* @param creature_ptr プレーヤーへの参照ポインタ
* @return なし
{
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;
/* Grab permissions */
safe_setuid_grab();
- /* Simply kill the temporal file */
+ /* Simply kill the temporary file */
(void)fd_kill(floor_savefile);
/* Drop permissions */
/* Kill current floor */
creature_ptr->floor_id = 0;
- /* Current floor doesn't have temporal file */
+ /* Current floor doesn't have temporary file */
}
else
{
/* Grab permissions */
safe_setuid_grab();
- /* Simply kill the temporal file */
+ /* Simply kill the temporary file */
(void)fd_kill(floor_savefile);
/* Drop permissions */
(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);
}
* @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)
{
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 */