OSDN Git Service

[Feature] オプションのデフォルト値を変更
authoriks <iks3@users.noreply.github.com>
Sat, 17 Apr 2021 18:14:50 +0000 (03:14 +0900)
committeriks <iks3@users.noreply.github.com>
Sun, 18 Apr 2021 03:52:56 +0000 (12:52 +0900)
lib/pref/pref-opt.prf
src/game-option/option-types-table.cpp

index 3b8e76e..7840da1 100644 (file)
@@ -16,6 +16,7 @@ X:always_pickup
 X:carry_query_flag
 Y:quick_messages
 X:auto_more
+X:skip_more
 Y:command_menu
 X:other_query_flag
 X:use_old_target
@@ -26,7 +27,7 @@ Y:confirm_quest
 X:target_pet
 Y:easy_open
 Y:easy_disarm
-X:easy_floor
+Y:easy_floor
 X:use_command
 X:over_exert
 Y:numpad_as_cursorkey
@@ -41,13 +42,16 @@ Y:view_granite_lite
 Y:view_special_lite
 Y:view_perma_grids
 X:view_torch_grids
-X:view_unsafe_grids
+Y:view_unsafe_grids
+Y:view_hidden_walls
+X:view_unsafe_walls
 X:view_reduce_view
 Y:fresh_before
 X:fresh_after
+X:fresh_once
 X:fresh_message
 X:hilite_player
-X:display_path
+Y:display_path
 
 ##### Text Display Options #####
 
@@ -62,9 +66,13 @@ Y:equippy_chars
 X:display_mutations
 X:compress_savefile
 X:abbrev_extra
-X:abbrev_all
+Y:abbrev_all
 X:exp_need
 X:ignore_unview
+Y:show_ammo_detail
+X:show_ammo_no_crit
+X:show_ammo_crit_ratio
+Y:show_actual_value
 
 ##### Game-Play #####
 
@@ -74,7 +82,7 @@ Y:expand_list
 Y:small_levels
 X:always_small_levels
 Y:empty_levels
-X:bound_walls_perm
+Y:bound_walls_perm
 Y:last_words
 X:auto_dump
 Y:send_score
@@ -97,7 +105,7 @@ Y:disturb_state
 Y:disturb_minor
 X:ring_bell
 Y:disturb_trap_detect
-X:alert_trap_detect
+Y:alert_trap_detect
 
 ##### Birth Options #####
 
@@ -117,6 +125,7 @@ Y:preserve_mode
 Y:autoroller
 X:autochara
 Y:powerup_home
+Y:keep_savefile
 
 ##### Easy Object Auto-Destroyer #####
 
index 8edf31b..7c9066f 100644 (file)
@@ -50,7 +50,7 @@ const std::array<const option_type, MAX_OPTION_INFO> option_info = {{
 
     { &easy_disarm, TRUE, OPT_PAGE_INPUT, 5, 8, "easy_disarm", _("自動的に罠を解除する", "Automatically disarm traps") },
 
-    { &easy_floor, FALSE, OPT_PAGE_INPUT, 5, 9, "easy_floor", _("床上で重なったアイテムをリストする", "Display floor stacks in a list") },
+    { &easy_floor, TRUE, OPT_PAGE_INPUT, 5, 9, "easy_floor", _("床上で重なったアイテムをリストする", "Display floor stacks in a list") },
 
     { &use_command, FALSE, OPT_PAGE_INPUT, 5, 10, "use_command", _("「使う(a)」コマンドでアイテムを何でも使える", "Allow unified use command") },
 
@@ -77,11 +77,11 @@ const std::array<const option_type, MAX_OPTION_INFO> option_info = {{
 
     { &view_torch_grids, FALSE, OPT_PAGE_MAPSCREEN, 1, 7, "view_torch_grids", _("明かりで照らした場所はそのままにする", "Map remembers all torch-lit grids") },
 
-    { &view_unsafe_grids, FALSE, OPT_PAGE_MAPSCREEN, 1, 8, "view_unsafe_grids", _("トラップ感知済みでない場所を表示する", "Map marked by detect traps") },
+    { &view_unsafe_grids, TRUE, OPT_PAGE_MAPSCREEN, 1, 8, "view_unsafe_grids", _("トラップ感知済みでない場所を表示する", "Map marked by detect traps") },
 
-    { &view_hidden_walls, FALSE, OPT_PAGE_MAPSCREEN, 1, 2, "view_hidden_walls", _("壁の中に囲まれた壁を表示する", "Map walls hidden in other walls") },
+    { &view_hidden_walls, TRUE, OPT_PAGE_MAPSCREEN, 1, 2, "view_hidden_walls", _("壁の中に囲まれた壁を表示する", "Map walls hidden in other walls") },
 
-    { &view_unsafe_walls, TRUE, OPT_PAGE_MAPSCREEN, 1, 1, "view_unsafe_walls", _("トラップ未感知の壁の中に囲まれた壁を表示する", "Map hidden walls not marked by detect traps") },
+    { &view_unsafe_walls, FALSE, OPT_PAGE_MAPSCREEN, 1, 1, "view_unsafe_walls", _("トラップ未感知の壁の中に囲まれた壁を表示する", "Map hidden walls not marked by detect traps") },
 
     { &view_reduce_view, FALSE, OPT_PAGE_MAPSCREEN, 1, 17, "view_reduce_view", _("街では視野を狭くする", "Reduce view-radius in town") },
 
@@ -95,7 +95,7 @@ const std::array<const option_type, MAX_OPTION_INFO> option_info = {{
 
     { &hilite_player, FALSE, OPT_PAGE_MAPSCREEN, 1, 27, "hilite_player", _("プレイヤーにカーソルを合わせる", "Highlight the player with the cursor") },
 
-    { &display_path, FALSE, OPT_PAGE_MAPSCREEN, 2, 8, "display_path", _("魔法や矢の軌跡を表示する", "Display actual path before shooting") },
+    { &display_path, TRUE, OPT_PAGE_MAPSCREEN, 2, 8, "display_path", _("魔法や矢の軌跡を表示する", "Display actual path before shooting") },
 
     /*** Text Display Options ***/
     { &plain_descriptions, TRUE, OPT_PAGE_TEXT, 5, 1, "plain_descriptions", _("アイテムの記述を簡略にする", "Plain object descriptions") },
@@ -121,7 +121,7 @@ const std::array<const option_type, MAX_OPTION_INFO> option_info = {{
     { &abbrev_extra, FALSE, OPT_PAGE_TEXT, 2, 10, "abbrev_extra",
         _("アイテムに追加耐性/能力の略称を刻む", "Describe obj's extra resistances by abbreviation") },
 
-    { &abbrev_all, FALSE, OPT_PAGE_TEXT, 2, 11, "abbrev_all", _("アイテムに全ての耐性/能力の略称を刻む", "Describe obj's all resistances by abbreviation") },
+    { &abbrev_all, TRUE, OPT_PAGE_TEXT, 2, 11, "abbrev_all", _("アイテムに全ての耐性/能力の略称を刻む", "Describe obj's all resistances by abbreviation") },
 
     { &exp_need, FALSE, OPT_PAGE_TEXT, 2, 12, "exp_need", _("次のレベルに必要な経験値を表示する", "Show the experience needed for next level") },
 
@@ -134,7 +134,7 @@ const std::array<const option_type, MAX_OPTION_INFO> option_info = {{
 
     { &show_ammo_crit_ratio, FALSE, OPT_PAGE_TEXT, 2, 16, "show_ammo_crit_ratio", _("矢弾の会心発生率を表示する", "Show critical ratio of ammo") },
 
-    { &show_actual_value, FALSE, OPT_PAGE_TEXT, 2, 17, "show_actual_value", _("技能値等に実値を並記する", "Show actual values of skills or etc.") },
+    { &show_actual_value, TRUE, OPT_PAGE_TEXT, 2, 17, "show_actual_value", _("技能値等に実値を並記する", "Show actual values of skills or etc.") },
 
     /*** Game-Play ***/
     { &stack_force_notes, TRUE, OPT_PAGE_GAMEPLAY, 0, 8, "stack_force_notes", _("異なる銘のアイテムをまとめる", "Merge inscriptions when stacking") },
@@ -150,7 +150,7 @@ const std::array<const option_type, MAX_OPTION_INFO> option_info = {{
 
     { &empty_levels, TRUE, OPT_PAGE_GAMEPLAY, 0, 31, "empty_levels", _("空っぽの「アリーナ」レベルの生成を可能にする", "Allow empty 'arena' levels") },
 
-    { &bound_walls_perm, FALSE, OPT_PAGE_GAMEPLAY, 2, 1, "bound_walls_perm", _("ダンジョンの外壁を永久岩にする", "Boundary walls become 'permanent wall'") },
+    { &bound_walls_perm, TRUE, OPT_PAGE_GAMEPLAY, 2, 1, "bound_walls_perm", _("ダンジョンの外壁を永久岩にする", "Boundary walls become 'permanent wall'") },
 
     { &last_words, TRUE, OPT_PAGE_GAMEPLAY, 0, 28, "last_words", _("キャラクターが死んだ時遺言をのこす", "Leave last words when your character dies") },
 
@@ -202,7 +202,7 @@ const std::array<const option_type, MAX_OPTION_INFO> option_info = {{
     { &disturb_trap_detect, TRUE, OPT_PAGE_DISTURBANCE, 0, 27, "disturb_trap_detect",
         _("トラップ感知範囲外に出る直前に行動を中止する", "Disturb when leaving trap detected area") },
 
-    { &alert_trap_detect, FALSE, OPT_PAGE_DISTURBANCE, 0, 25, "alert_trap_detect",
+    { &alert_trap_detect, TRUE, OPT_PAGE_DISTURBANCE, 0, 25, "alert_trap_detect",
         _("トラップ感知範囲外に出る直前に警告する", "Alert when leaving trap detected area") },
 
     /*** Birth Options ***/