OSDN Git Service

[Refactor] #37353 ゲームオプション定義を gameoption.c/h へ整理。 / Move definition of game options...
authorDeskull <deskull@users.sourceforge.jp>
Sat, 8 Sep 2018 23:53:59 +0000 (08:53 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Sat, 8 Sep 2018 23:53:59 +0000 (08:53 +0900)
Hengband_vcs2015/Hengband/Hengband.vcxproj
Hengband_vcs2015/Hengband/Hengband.vcxproj.filters
src/gameoption.c [new file with mode: 0644]
src/gameoption.h [new file with mode: 0644]
src/tables.c
src/variable.c

index 4b208a9..6e2ba71 100644 (file)
     <ClCompile Include="..\..\src\files.c" />\r
     <ClCompile Include="..\..\src\flavor.c" />\r
     <ClCompile Include="..\..\src\floors.c" />\r
+    <ClCompile Include="..\..\src\gameoption.c" />\r
     <ClCompile Include="..\..\src\generate.c" />\r
     <ClCompile Include="..\..\src\grid.c" />\r
     <ClCompile Include="..\..\src\hex.c" />\r
     <ClInclude Include="..\..\src\cmd-usestaff.h" />\r
     <ClInclude Include="..\..\src\defines.h" />\r
     <ClInclude Include="..\..\src\externs.h" />\r
+    <ClInclude Include="..\..\src\gameoption.h" />\r
     <ClInclude Include="..\..\src\gamevalue.h" />\r
     <ClInclude Include="..\..\src\generate.h" />\r
     <ClInclude Include="..\..\src\grid.h" />\r
index f342be1..b3280a7 100644 (file)
     <ClCompile Include="..\..\src\cmd-magiceat.c">\r
       <Filter>Source</Filter>\r
     </ClCompile>\r
+    <ClCompile Include="..\..\src\gameoption.c">\r
+      <Filter>Source</Filter>\r
+    </ClCompile>\r
   </ItemGroup>\r
   <ItemGroup>\r
     <ClInclude Include="..\..\src\angband.h">\r
     <ClInclude Include="..\..\src\gamevalue.h">\r
       <Filter>Header</Filter>\r
     </ClInclude>\r
+    <ClInclude Include="..\..\src\gameoption.h">\r
+      <Filter>Header</Filter>\r
+    </ClInclude>\r
   </ItemGroup>\r
   <ItemGroup>\r
     <ResourceCompile Include="..\..\src\angband.rc" />\r
diff --git a/src/gameoption.c b/src/gameoption.c
new file mode 100644 (file)
index 0000000..901b2ac
--- /dev/null
@@ -0,0 +1,389 @@
+#include "angband.h"\r
+#include "gameoption.h"\r
+\r
+/*!\r
+ * @brief \83I\83v\83V\83\87\83\93\83e\81[\83u\83\8b /\r
+ * Available Options\r
+ */\r
+const option_type option_info[] =\r
+{\r
+       /*** Input Options ***/\r
+\r
+       { &rogue_like_commands,         FALSE, OPT_PAGE_INPUT, 0, 0,\r
+       "rogue_like_commands",          _("\83\8d\81[\83O\95\97\83L\81[\94z\92u\82ð\8eg\97p\82·\82é", "Rogue-like commands") },\r
+\r
+       { &always_pickup,               FALSE, OPT_PAGE_INPUT, 0, 5,\r
+       "always_pickup",                _("\8fí\82É\83A\83C\83e\83\80\82ð\8fE\82¤" , "Pick things up by default") },\r
+\r
+       { &carry_query_flag,            FALSE, OPT_PAGE_INPUT, 0, 3,\r
+       "carry_query_flag",             _("\83A\83C\83e\83\80\82ð\8fE\82¤\91O\82É\8am\94F\82·\82é", "Prompt before picking things up") },\r
+\r
+       { &quick_messages,              TRUE,  OPT_PAGE_INPUT, 0, 1,\r
+       "quick_messages",               _("\83N\83C\83b\83N\81E\83\81\83b\83Z\81[\83W\82ð\8eg\97p\82·\82é", "Activate quick messages") },\r
+\r
+       { &auto_more,                   FALSE, OPT_PAGE_INPUT, 2, 6,\r
+       "auto_more",                    _("\83L\81[\91Ò\82¿\82µ\82È\82¢\82Å\98A\91±\82Å\83\81\83b\83Z\81[\83W\82ð\95\\8e¦\82·\82é", "Automatically clear '-more-' prompts") },\r
+\r
+       { &command_menu,                TRUE,  OPT_PAGE_INPUT, 2, 7,\r
+       "command_menu",                 _("\83\81\83j\83\85\81[\82É\82æ\82è\83R\83}\83\93\83h\91I\91ð\82ð\97L\8cø\82É\82·\82é", "Enable command selection menu") },\r
+\r
+       { &other_query_flag,            FALSE, OPT_PAGE_INPUT, 0, 2,\r
+       "other_query_flag",             _("\8f°\8fã\82Ì\83A\83C\83e\83\80\82ð\8eg\97p\82·\82é\82Æ\82«\82É\8am\94F\82·\82é", "Prompt for floor item selection") },\r
+\r
+       { &use_old_target,              FALSE, OPT_PAGE_INPUT, 0, 4,\r
+       "use_old_target",               _("\8fí\82É\88È\91O\82Ì\83^\81[\83Q\83b\83g\82ð\8ew\92è\82·\82é", "Use old target by default") },\r
+\r
+       { &always_repeat,               TRUE,  OPT_PAGE_INPUT, 0, 6,\r
+       "always_repeat",                _("\83R\83}\83\93\83h\8e©\93®\8cJ\82è\95Ô\82µ", "Repeat obvious commands") },\r
+\r
+       { &confirm_destroy,             FALSE, OPT_PAGE_INPUT, 5, 3,\r
+       "confirm_destroy",              _("\81u\96³\89¿\92l\81v\82È\83A\83C\83e\83\80\82ð\94j\89ó\82·\82é\8e\9e\8am\94F\82·\82é", "Prompt for destruction of known worthless items") },\r
+\r
+       { &confirm_wear,                TRUE,  OPT_PAGE_INPUT, 5, 4,\r
+       "confirm_wear",                 _("\8eô\82í\82ê\82½\95¨\82ð\91\95\94õ\82·\82é\8e\9e\8am\94F\82·\82é", "Confirm to wear/wield known cursed items") },\r
+\r
+       { &confirm_quest,               TRUE,  OPT_PAGE_INPUT, 1, 9,\r
+       "confirm_quest",                _("\83N\83G\83X\83g\82ð\92ú\82ß\82Ä\8aK\92i\82Å\93¦\82°\82é\91O\82É\8am\94F\82·\82é", "Prompt before exiting a quest level") },\r
+\r
+       { &target_pet,                  FALSE, OPT_PAGE_INPUT, 2, 5,\r
+       "target_pet",                   _("\83y\83b\83g\82ð\83^\81[\83Q\83b\83g\82É\82·\82é", "Allow targetting pets") },\r
+\r
+#ifdef ALLOW_EASY_OPEN\r
+{ &easy_open,                   TRUE,  OPT_PAGE_INPUT, 5, 7,\r
+"easy_open",                    _("\8e©\93®\93I\82É\83h\83A\82ð\8aJ\82¯\82é", "Automatically open doors") },\r
+#endif /* ALLOW_EASY_OPEN */\r
+\r
+#ifdef ALLOW_EASY_DISARM\r
+{ &easy_disarm,                 TRUE,  OPT_PAGE_INPUT, 5, 8,\r
+"easy_disarm",                  _("\8e©\93®\93I\82Éã©\82ð\89ð\8f\9c\82·\82é", "Automatically disarm traps") },\r
+#endif /* ALLOW_EASY_DISARM */\r
+\r
+#ifdef ALLOW_EASY_FLOOR /* TNB */\r
+{ &easy_floor,                  FALSE, OPT_PAGE_INPUT, 5, 9,\r
+"easy_floor",                   _("\8f°\8fã\82Å\8fd\82È\82Á\82½\83A\83C\83e\83\80\82ð\83\8a\83X\83g\82·\82é", "Display floor stacks in a list") },\r
+#endif /* ALLOW_EASY_FLOOR -- TNB */\r
+\r
+{ &use_command,                 FALSE, OPT_PAGE_INPUT, 5, 10,\r
+"use_command",                  _("\81u\8eg\82¤(a)\81v\83R\83}\83\93\83h\82Å\83A\83C\83e\83\80\82ð\89½\82Å\82à\8eg\82¦\82é", "Allow unified use command") },\r
+\r
+{ &over_exert,                  FALSE, OPT_PAGE_INPUT, 0, 29,\r
+"over_exert",                   _("MP\82ª\91«\82è\82È\82­\82Ä\82à\96\82\96@\82É\92§\90í\82·\82é", "Allow casting spells when short of mana") },\r
+\r
+{ &numpad_as_cursorkey,         TRUE, OPT_PAGE_INPUT, 2, 31,\r
+"numpad_as_cursorkey",          _("\83G\83f\83B\83^\93à\82Å\83e\83\93\83L\81[\82ð\83J\81[\83\\83\8b\83L\81[\82Æ\82µ\82Ä\8eg\82¤", "Use numpad keys as cursor keys in editor mode") },\r
+\r
+/*** Map Screen Options ***/\r
+\r
+{ &center_player,               FALSE, OPT_PAGE_MAPSCREEN, 5, 11,\r
+"center_player",                _("\8fí\82É\83v\83\8c\83C\83\84\81[\82ð\92\86\90S\82É\92u\82­(*\92x\82¢*)", "Center map while walking (*slow*)") },\r
+\r
+{ &center_running,              TRUE,  OPT_PAGE_MAPSCREEN, 5, 12,\r
+"center_running",               _("\91\96\82Á\82Ä\82¢\82é\8e\9e\82Å\82à\92\86\90S\82É\92u\82­", "Centering even while running") },\r
+\r
+{ &view_yellow_lite,            TRUE,  OPT_PAGE_MAPSCREEN, 1, 28,\r
+"view_yellow_lite",             _("\96¾\82©\82è\82Ì\94Í\88Í\82ð\93Á\95Ê\82È\90F\82Å\95\\8e¦\82·\82é", "Use special colors for torch-lit grids") },\r
+\r
+{ &view_bright_lite,            TRUE,  OPT_PAGE_MAPSCREEN, 1, 29,\r
+"view_bright_lite",             _("\8e\8b\8aE\82Ì\94Í\88Í\82ð\93Á\95Ê\82È\90F\82Å\95\\8e¦\82·\82é", "Use special colors for 'viewable' grids") },\r
+\r
+{ &view_granite_lite,           TRUE,  OPT_PAGE_MAPSCREEN, 1, 30,\r
+"view_granite_lite",            _("\95Ç\82ð\93Á\95Ê\82È\90F\82Å\95\\8e¦\82·\82é(\8fd\82¢)", "Use special colors for wall grids (slow)") },\r
+\r
+{ &view_special_lite,           TRUE,  OPT_PAGE_MAPSCREEN, 1, 31,\r
+"view_special_lite",            _("\8f°\82ð\93Á\95Ê\82È\90F\82Å\95\\8e¦\82·\82é(\8fd\82¢)", "Use special colors for floor grids (slow)") },\r
+\r
+{ &view_perma_grids,            TRUE,  OPT_PAGE_MAPSCREEN, 1, 6,\r
+"view_perma_grids",             _("\96¾\82é\82¢\8fê\8f\8a\82Í\82»\82Ì\82Ü\82Ü\82É\82·\82é", "Map remembers all perma-lit grids") },\r
+\r
+{ &view_torch_grids,            FALSE, OPT_PAGE_MAPSCREEN, 1, 7,\r
+"view_torch_grids",             _("\96¾\82©\82è\82Å\8fÆ\82ç\82µ\82½\8fê\8f\8a\82Í\82»\82Ì\82Ü\82Ü\82É\82·\82é", "Map remembers all torch-lit grids") },\r
+\r
+{ &view_unsafe_grids,           FALSE, OPT_PAGE_MAPSCREEN, 1, 8,\r
+"view_unsafe_grids",            _("\83g\83\89\83b\83v\8a´\92m\8dÏ\82Ý\82Å\82È\82¢\8fê\8f\8a\82ð\95\\8e¦\82·\82é", "Map marked by detect traps") },\r
+\r
+{ &view_reduce_view,            FALSE, OPT_PAGE_MAPSCREEN, 1, 17,\r
+"view_reduce_view",             _("\8aX\82Å\82Í\8e\8b\96ì\82ð\8b·\82­\82·\82é", "Reduce view-radius in town") },\r
+\r
+{ &fresh_before,                TRUE,  OPT_PAGE_MAPSCREEN, 1, 23,\r
+"fresh_before",                 _("\98A\91±\83R\83}\83\93\83h\92\86\82É\89æ\96Ê\82ð\8dÄ\95`\89æ\82µ\91±\82¯\82é", "Flush output while continuous command") },\r
+\r
+{ &fresh_after,                 FALSE, OPT_PAGE_MAPSCREEN, 1, 24,\r
+"fresh_after",                  _("\83R\83}\83\93\83h\8cã\82É\89æ\96Ê\82ð\8fí\82É\8dÄ\95`\89æ\82µ\91±\82¯\82é", "Flush output after monster's move") },\r
+\r
+{ &fresh_message,               FALSE, OPT_PAGE_MAPSCREEN, 1, 25,\r
+"fresh_message",                _("\83\81\83b\83Z\81[\83W\82Ì\8cã\82É\89æ\96Ê\82ð\8dÄ\95`\89æ\82·\82é", "Flush output after every message") },\r
+\r
+{ &hilite_player,               FALSE, OPT_PAGE_MAPSCREEN, 1, 27,\r
+"hilite_player",                _("\83v\83\8c\83C\83\84\81[\82É\83J\81[\83\\83\8b\82ð\8d\87\82í\82¹\82é", "Hilite the player with the cursor") },\r
+\r
+{ &display_path,                FALSE, OPT_PAGE_MAPSCREEN, 2, 8,\r
+"display_path",                 _("\96\82\96@\82â\96î\82Ì\8bO\90Õ\82ð\95\\8e¦\82·\82é", "Display actual path before shooting") },\r
+\r
+/*** Text Display Options ***/\r
+\r
+{ &plain_descriptions,          TRUE,  OPT_PAGE_TEXT, 5, 1,\r
+"plain_descriptions",           _("\83A\83C\83e\83\80\82Ì\8bL\8fq\82ð\8aÈ\97ª\82É\82·\82é", "Plain object descriptions") },\r
+\r
+{ &plain_pickup,                FALSE, OPT_PAGE_TEXT, 6, 6,\r
+"plain_pickup",                 _("\81u\8fE\82Á\82½\81v\83\81\83b\83Z\81[\83W\82ð\8aÈ\97ª\89»\82·\82é", "Plain pickup messages(japanese only)") },\r
+\r
+{ &always_show_list,            TRUE,  OPT_PAGE_TEXT, 4, 0,\r
+"always_show_list",             _("\91I\91ð\8e\9e\82É\82Í\8fí\82É\88ê\97\97\82ð\95\\8e¦\82·\82é", "Always show list when choosing items") },\r
+\r
+{ &depth_in_feet,               FALSE, OPT_PAGE_TEXT, 0, 7,\r
+"depth_in_feet",                _("\83_\83\93\83W\83\87\83\93\82Ì\90[\82³\82ð\83t\83B\81[\83g\82Å\95\\8e¦\82·\82é", "Show dungeon level in feet") },\r
+\r
+{ &show_labels,                 TRUE,  OPT_PAGE_TEXT, 0, 10,\r
+"show_labels",                  _("\91\95\94õ\88ê\97\97\82Å\91\95\94õ\8fê\8f\8a\82ð\95\\8e¦\82·\82é", "Show labels in object listings") },\r
+\r
+{ &show_weights,                TRUE,  OPT_PAGE_TEXT, 0, 11,\r
+"show_weights",                 _("\83A\83C\83e\83\80\88ê\97\97\82Å\8fd\97Ê\82ð\95\\8e¦\82·\82é", "Show weights in object listings") },\r
+\r
+{ &show_item_graph,             TRUE,  OPT_PAGE_TEXT, 2, 0,\r
+"show_item_graph",              _("\83A\83C\83e\83\80\82Ì\83V\83\93\83{\83\8b\82ð\95\\8e¦\82·\82é", "Show items graphics") },\r
+\r
+{ &equippy_chars,               TRUE,  OPT_PAGE_TEXT, 1, 12,\r
+"equippy_chars",                _("\83X\83e\81[\83^\83X\82É\95\8e\9a\82Å\91\95\94õ\82ð\95\\8e¦\82·\82é", "Display 'equippy' chars") },\r
+\r
+{ &display_mutations,           FALSE, OPT_PAGE_TEXT, 5, 0,\r
+"display_mutations",            _("'C'\83R\83}\83\93\83h\82Å\93Ë\91R\95Ï\88Ù\82ð\95\\8e¦\82·\82é", "Display mutations in 'C'haracter Display") },\r
+\r
+{ &compress_savefile,           FALSE, OPT_PAGE_TEXT, 1, 26,\r
+"compress_savefile",            _("\83Z\81[\83u\81E\83t\83@\83C\83\8b\92\86\82Ì\83\81\83b\83Z\81[\83W\82ð\88³\8fk\82·\82é", "Compress messages in savefiles") },\r
+\r
+{ &abbrev_extra,                FALSE, OPT_PAGE_TEXT, 2, 10,\r
+"abbrev_extra",                 _("\83A\83C\83e\83\80\82É\92Ç\89Á\91Ï\90«/\94\\97Í\82Ì\97ª\8fÌ\82ð\8d\8f\82Þ", "Describe obj's extra resistances by abbreviation") },\r
+\r
+{ &abbrev_all,                  FALSE, OPT_PAGE_TEXT, 2, 11,\r
+"abbrev_all",                   _("\83A\83C\83e\83\80\82É\91S\82Ä\82Ì\91Ï\90«/\94\\97Í\82Ì\97ª\8fÌ\82ð\8d\8f\82Þ", "Describe obj's all resistances by abbreviation") },\r
+\r
+{ &exp_need,                    FALSE, OPT_PAGE_TEXT, 2, 12,\r
+"exp_need",                     _("\8e\9f\82Ì\83\8c\83x\83\8b\82É\95K\97v\82È\8co\8c±\92l\82ð\95\\8e¦\82·\82é", "Show the experience needed for next level") },\r
+\r
+{ &ignore_unview,               FALSE, OPT_PAGE_TEXT, 2, 13,\r
+"ignore_unview",                _("\8e\8b\8aE\8aO\82Ì\83\82\83\93\83X\83^\81[\82Ì\8ds\93®\82ð\95\\8e¦\82µ\82È\82¢", "Ignore whenever any monster does") },\r
+\r
+{ &show_ammo_detail,            TRUE, OPT_PAGE_TEXT, 2, 14,\r
+"show_ammo_detail",             _("\96î\92e\82Ì\83_\83\81\81[\83W\82Ì\90à\96¾\82ð\95\\8e¦\82·\82é", "Show description of ammo damage") },\r
+\r
+{ &show_ammo_no_crit,           FALSE, OPT_PAGE_TEXT, 2, 15,\r
+"show_ammo_no_crit",            _("\89ï\90S\82ð\8dl\97\82µ\82È\82¢\8fê\8d\87\82Ì\96î\92e\82Ì\83_\83\81\81[\83W\82ð\95\\8e¦\82·\82é", "Show ammo damage with no critical") },\r
+\r
+{ &show_ammo_crit_ratio,           FALSE, OPT_PAGE_TEXT, 2, 16,\r
+"show_ammo_crit_ratio",            _("\96î\92e\82Ì\89ï\90S\94­\90\97¦\82ð\95\\8e¦\82·\82é", "Show critical ratio of ammo") },\r
+\r
+\r
+/*** Game-Play ***/\r
+\r
+{ &stack_force_notes,           TRUE,  OPT_PAGE_GAMEPLAY, 0, 8,\r
+"stack_force_notes",            _("\88Ù\82È\82é\96Á\82Ì\83A\83C\83e\83\80\82ð\82Ü\82Æ\82ß\82é", "Merge inscriptions when stacking") },\r
+\r
+{ &stack_force_costs,           FALSE, OPT_PAGE_GAMEPLAY, 0, 9,\r
+"stack_force_costs",            _("\88Ù\82È\82é\8a\84\88ø\95\\8e¦\82Ì\83A\83C\83e\83\80\82ð\82Ü\82Æ\82ß\82é", "Merge discounts when stacking") },\r
+\r
+{ &expand_list,                 TRUE,  OPT_PAGE_GAMEPLAY, 1, 5,\r
+"expand_list",                  _("\81u\88ê\97\97\81v\83R\83}\83\93\83h\82ð\8ag\92£\82·\82é", "Expand the power of the list commands") },\r
+\r
+{ &small_levels,                TRUE,  OPT_PAGE_GAMEPLAY, 0, 30,\r
+"small_levels",                 _("\94ñ\8fí\82É\8f¬\82³\82¢\83t\83\8d\83A\82Ì\90\90¬\82ð\89Â\94\\82É\82·\82é", "Allow unusually small dungeon levels") },\r
+\r
+{ &always_small_levels,         FALSE, OPT_PAGE_GAMEPLAY, 2, 3,\r
+"always_small_levels",          _("\8fí\82É\94ñ\8fí\82É\8f¬\82³\82¢\83t\83\8d\83A\82ð\90\90¬\82·\82é", "Always create unusually small dungeon levels") },\r
+\r
+{ &empty_levels,                TRUE,  OPT_PAGE_GAMEPLAY, 0, 31,\r
+"empty_levels",                 _("\8bó\82Á\82Û\82Ì\81u\83A\83\8a\81[\83i\81v\83\8c\83x\83\8b\82Ì\90\90¬\82ð\89Â\94\\82É\82·\82é", "Allow empty 'arena' levels") },\r
+\r
+{ &bound_walls_perm,            FALSE, OPT_PAGE_GAMEPLAY, 2, 1,\r
+"bound_walls_perm",             _("\83_\83\93\83W\83\87\83\93\82Ì\8aO\95Ç\82ð\89i\8bv\8aâ\82É\82·\82é", "Boundary walls become 'permanent wall'") },\r
+\r
+{ &last_words,                  TRUE,  OPT_PAGE_GAMEPLAY, 0, 28,\r
+"last_words",                   _("\83L\83\83\83\89\83N\83^\81[\82ª\8e\80\82ñ\82¾\8e\9e\88â\8c¾\82ð\82Ì\82±\82·", "Leave last words when your character dies") },\r
+\r
+#ifdef WORLD_SCORE\r
+{ &send_score,                  TRUE,  OPT_PAGE_GAMEPLAY, 4, 6,\r
+"send_score",                   _("\83X\83R\83A\83T\81[\83o\82É\83X\83R\83A\82ð\91\97\82é", "Send score dump to the world score server") },\r
+#endif\r
+\r
+{ &allow_debug_opts,            FALSE, OPT_PAGE_GAMEPLAY, 6, 11,\r
+"allow_debug_opts",             _("\83f\83o\83b\83O/\8d¼\8b\\83I\83v\83V\83\87\83\93\82ð\8b\96\89Â\82·\82é", "Allow use of debug/cheat options") },\r
+\r
+/*** Disturbance ***/\r
+\r
+{ &find_ignore_stairs,          FALSE, OPT_PAGE_DISTURBANCE, 0, 16,\r
+"find_ignore_stairs",           _("\8aK\92i\82Í\92Ê\89ß\82·\82é", "Run past stairs") },\r
+\r
+{ &find_ignore_doors,           TRUE,  OPT_PAGE_DISTURBANCE, 0, 17,\r
+"find_ignore_doors",            _("\83h\83A\82Í\92Ê\89ß\82·\82é", "Run through open doors") },\r
+\r
+{ &find_cut,                    FALSE, OPT_PAGE_DISTURBANCE, 0, 18,\r
+"find_cut",                     _("\8bÈ\82è\8ap\82ð\8eÎ\82ß\82É\8dÅ\92Z\8b\97\97£\82Å\92Ê\89ß\82·\82é", "Run past known corners") },\r
+\r
+{ &check_abort,                 TRUE,  OPT_PAGE_DISTURBANCE, 1, 18,\r
+"check_abort",                  _("\98A\91±\83R\83}\83\93\83h\82Í\83L\81[\93ü\97Í\82Å\92\86\92f\82·\82é", "Check for user abort while continuous command") },\r
+\r
+{ &flush_failure,               TRUE,  OPT_PAGE_DISTURBANCE, 1, 20,\r
+"flush_failure",                _("\97l\81X\82È\83~\83X\94­\90\8e\9e\82É\93ü\97Í\82ð\83N\83\8a\83A\82·\82é", "Flush input on various failures") },\r
+\r
+{ &flush_disturb,               FALSE, OPT_PAGE_DISTURBANCE, 1, 21,\r
+"flush_disturb",                _("\8fá\8aQ\94­\90\8e\9e\82É\93ü\97Í\82ð\83N\83\8a\83A\82·\82é", "Flush input whenever disturbed") },\r
+\r
+{ &disturb_move,                FALSE, OPT_PAGE_DISTURBANCE, 0, 20,\r
+"disturb_move",                 _("\82Ç\82±\82Ì\83\82\83\93\83X\83^\81[\82ª\93®\82¢\82Ä\82à\8ds\93®\82ð\92\86\8e~\82·\82é", "Disturb whenever any monster moves") },\r
+\r
+{ &disturb_high,                FALSE, OPT_PAGE_DISTURBANCE, 1, 3,\r
+"disturb_high",                 _("\83\8c\83x\83\8b\82Ì\8d\82\82¢\83\82\83\93\83X\83^\81[\82ª\93®\82¢\82½\82ç\8ds\93®\82ð\92\86\8e~\82·\82é", "Disturb whenever high-level monster moves") },\r
+\r
+{ &disturb_near,                TRUE,  OPT_PAGE_DISTURBANCE, 0, 21,\r
+"disturb_near",                 _("\8e\8b\8aE\93à\82Ì\83\82\83\93\83X\83^\81[\82ª\93®\82¢\82½\82ç\8ds\93®\82ð\92\86\8e~\82·\82é", "Disturb whenever viewable monster moves") },\r
+\r
+{ &disturb_pets,                FALSE, OPT_PAGE_DISTURBANCE, 5, 6,\r
+"disturb_pets",                 _("\8e\8b\8aE\93à\82Ì\83y\83b\83g\82ª\93®\82¢\82½\82ç\8ds\93®\82ð\92\86\8e~\82·\82é", "Disturb when visible pets move") },\r
+\r
+{ &disturb_panel,               TRUE,  OPT_PAGE_DISTURBANCE, 0, 22,\r
+"disturb_panel",                _("\89æ\96Ê\83X\83N\83\8d\81[\83\8b\8e\9e\82É\8ds\93®\82ð\92\86\8e~\82·\82é", "Disturb whenever map panel changes") },\r
+\r
+{ &disturb_state,               TRUE,  OPT_PAGE_DISTURBANCE, 0, 23,\r
+"disturb_state",                _("\8e©\95ª\82Ì\83X\83e\81[\83^\83X\95Ï\89»\8e\9e\82É\8ds\93®\82ð\92\86\8e~\82·\82é", "Disturb whenever player state changes") },\r
+\r
+{ &disturb_minor,               TRUE,  OPT_PAGE_DISTURBANCE, 0, 24,\r
+"disturb_minor",                _("\8d±\8d×\82È\82±\82Æ\82ª\8bN\82«\82Ä\82à\8ds\93®\82ð\92\86\8e~\82·\82é", "Disturb whenever boring things happen") },\r
+\r
+{ &ring_bell,                   FALSE, OPT_PAGE_DISTURBANCE, 0, 14,\r
+"ring_bell",                    _("\83G\83\89\81[\8e\9e\82É\83r\81[\83v\89¹\82ð\96Â\82ç\82·", "Audible bell (on errors, etc)") },\r
+\r
+{ &disturb_trap_detect,         TRUE,  OPT_PAGE_DISTURBANCE, 0, 27,\r
+"disturb_trap_detect",          _("\83g\83\89\83b\83v\8a´\92m\94Í\88Í\8aO\82É\8fo\82é\92¼\91O\82É\8ds\93®\82ð\92\86\8e~\82·\82é", "Disturb when leaving trap detected area") },\r
+\r
+{ &alert_trap_detect,           FALSE, OPT_PAGE_DISTURBANCE, 0, 25,\r
+"alert_trap_detect",            _("\83g\83\89\83b\83v\8a´\92m\94Í\88Í\8aO\82É\8fo\82é\92¼\91O\82É\8cx\8d\90\82·\82é", "Alert when leaving trap detected area") },\r
+\r
+/*** Birth Options ***/\r
+{ &manual_haggle,               FALSE, OPT_PAGE_BIRTH, 1, 0,\r
+"manual_haggle",                _("\93X\82Å\92l\90Ø\82è\8cð\8fÂ\82ð\82·\82é", "Manually haggle in stores") },\r
+\r
+{ &easy_band,                   FALSE, OPT_PAGE_BIRTH, 6, 31,\r
+"easy_band",                    _("\8f\89\90S\8eÒ\97p\8aÈ\92P\83\82\81[\83h(*)", "Easy Mode (*)") },\r
+\r
+{ &smart_learn,                 TRUE,  OPT_PAGE_BIRTH, 1, 14,\r
+"smart_learn",                  _("\83\82\83\93\83X\83^\81[\82Í\8e¸\94s\82ð\8aw\8fK\82·\82é(*)", "Monsters learn from their mistakes (*)") },\r
+\r
+{ &smart_cheat,                 FALSE, OPT_PAGE_BIRTH, 1, 15,\r
+"smart_cheat",                  _("\83\82\83\93\83X\83^\81[\82Í\83v\83\8c\83C\83\84\81[\82Ì\8eã\82Ý\82ð\93Ë\82­(*)", "Monsters exploit players weaknesses (*)") },\r
+\r
+{ &vanilla_town,                FALSE, OPT_PAGE_BIRTH, 6, 0,\r
+"vanilla_town",                 _("\8c³\91c\82Ì\8aX/\83N\83G\83X\83g\82Æ\8dr\96ì\82È\82µ", "Use 'vanilla' town without quests and wilderness") },\r
+\r
+{ &lite_town,                   FALSE, OPT_PAGE_BIRTH, 6, 1,\r
+"lite_town",                    _("\8f¬\8bK\96Í\82È\8aX/\8dr\96ì\82È\82µ", "Use 'lite' town without a wilderness") },\r
+\r
+{ &ironman_shops,               FALSE, OPT_PAGE_BIRTH, 6, 2,\r
+"ironman_shops",                _("(\93S\90l\97p)\93X\82ð\8eg\97p\82µ\82È\82¢(*)", "Stores are permanently closed (*)") },\r
+\r
+{ &ironman_small_levels,        FALSE, OPT_PAGE_BIRTH, 6, 3,\r
+"ironman_small_levels",         _("(\93S\90l\97p)\8fí\82É\94ñ\8fí\82É\8f¬\82³\82¢\83t\83\8d\83A\82ð\90\90¬(*)", "Always create unusually small dungeon levels (*)") },\r
+\r
+{ &ironman_downward,            FALSE, OPT_PAGE_BIRTH, 6, 4,\r
+"ironman_downward",             _("(\93S\90l\97p)\8bA\8aÒ\82Æ\8fã\82è\8aK\92i\82È\82µ(*)", "Disable recall and use of up stairs (*)") },\r
+\r
+{ &ironman_empty_levels,        FALSE, OPT_PAGE_BIRTH, 6, 8,\r
+"ironman_empty_levels",         _("(\93S\90l\97p)\8fí\82É\8bó\82Á\82Û\82Ì\83A\83\8a\81[\83i\83\8c\83x\83\8b\82ð\90\90¬(*)", "Always create empty 'arena' levels (*)") },\r
+\r
+{ &ironman_rooms,               FALSE, OPT_PAGE_BIRTH, 6, 12,\r
+"ironman_rooms",                _("(\93S\90l\97p)\8fí\82É\95\81\92Ê\82Å\82È\82¢\95\94\89®\82ð\90\90¬\82·\82é(*)", "Always generate very unusual rooms (*)") },\r
+\r
+{ &ironman_nightmare,           FALSE, OPT_PAGE_BIRTH, 6, 18,\r
+"ironman_nightmare",            _("(\93S\90l\97p)\88«\96²\83\82\81[\83h(\82±\82ê\82Í\91S\82­\95s\8fð\97\9d\82Å\82·\81I)(*)", "Nightmare mode(it isn't even remotely fair!)(*)") },\r
+\r
+{ &left_hander,                 FALSE, OPT_PAGE_BIRTH, 6, 13,\r
+"left_hander",                  _("\8d\97\98\82«\82Å\82 \82é", "Left-Hander") },\r
+\r
+{ &preserve_mode,               TRUE,  OPT_PAGE_BIRTH, 6, 14,\r
+"preserve_mode",                _("\93`\90à\82Ì\83A\83C\83e\83\80\82ð\8eæ\82è\93¦\82µ\82Ä\82à\8dÄ\90\90¬\82³\82ê\82é(*)", "Preserve artifacts (*)") },\r
+\r
+{ &autoroller,                  TRUE,  OPT_PAGE_BIRTH, 6, 15,\r
+"autoroller",                   _("\94\\97Í\92l\82É\83I\81[\83g\83\8d\81[\83\89\81[\8eg\97p(*)", "Allow use of autoroller for stats (*)") },\r
+\r
+{ &autochara,                   FALSE, OPT_PAGE_BIRTH, 6, 16,\r
+"autochara",                   _("\91Ì\8ai/\92n\88Ê\82É\83I\81[\83g\83\8d\81[\83\89\81[\8eg\97p", "Autoroll for weight, height and social status") },\r
+\r
+{ &powerup_home,                TRUE,  OPT_PAGE_BIRTH, 4, 3,\r
+"powerup_home",                 _("\89ä\82ª\89Æ\82ð\8ag\92£\82·\82é(*)", "Increase capacity of your home (*)") },\r
+\r
+/*** Easy Object Auto-Destroyer ***/\r
+\r
+{ &destroy_items,               FALSE, OPT_PAGE_AUTODESTROY, 7, 0,\r
+"destroy_items",                _("\83A\83C\83e\83\80\82Ì\8aÈ\88Õ\8e©\93®\94j\89ó\82ð\8eg\97p\82·\82é", "Use easy auto-destroyer") },\r
+\r
+{ &destroy_feeling,             FALSE, OPT_PAGE_AUTODESTROY, 7, 8,\r
+"destroy_feeling",              _("\8aÈ\88Õ\8aÓ\92è\82µ\82½\82Æ\82«\8e©\93®\94j\89ó\82ð\93K\97p\82·\82é", "Apply auto-destroy as sense feeling") },\r
+\r
+{ &destroy_identify,            FALSE, OPT_PAGE_AUTODESTROY, 7, 9,\r
+"destroy_identify",             _("\8aÓ\92è\82µ\82½\82Æ\82«\8e©\93®\94j\89ó\82ð\93K\97p\82·\82é", "Apply auto-destroy as identify an item") },\r
+\r
+{ &leave_worth,                 TRUE,  OPT_PAGE_AUTODESTROY, 7, 2,\r
+"leave_worth",                  _("\89¿\92l\82ª\82 \82é\83A\83C\83e\83\80\82Í\89ó\82³\82È\82¢", "Auto-destroyer leaves known worthy items") },\r
+\r
+{ &leave_equip,                 FALSE, OPT_PAGE_AUTODESTROY, 7, 3,\r
+"leave_equip",                  _("\95\90\8aí/\96h\8bï\82Í\89ó\82³\82È\82¢", "Auto-destroyer leaves weapons and armour") },\r
+\r
+{ &leave_chest,                 TRUE,  OPT_PAGE_AUTODESTROY, 7, 7,\r
+"leave_chest",                  _("\8aJ\95\95\82³\82ê\82Ä\82¢\82È\82¢\94 \82Í\89ó\82³\82È\82¢", "Auto-destroyer leaves closed chests") },\r
+\r
+{ &leave_wanted,                TRUE,  OPT_PAGE_AUTODESTROY, 7, 4,\r
+"leave_wanted",                 _("\8fÜ\8bà\8eñ\82Ì\8e\80\91Ì/\8d\9c\82Í\89ó\82³\82È\82¢", "Auto-destroyer leaves wanted corpses") },\r
+\r
+{ &leave_corpse,                FALSE, OPT_PAGE_AUTODESTROY, 7, 5,\r
+"leave_corpse",                 _("\8e\80\91Ì/\8d\9c\82Í\89ó\82³\82È\82¢", "Auto-destroyer leaves corpses and skeletons") },\r
+\r
+{ &leave_junk,                  FALSE, OPT_PAGE_AUTODESTROY, 7, 6,\r
+"leave_junk",                   _("\82ª\82ç\82­\82½\82Í\89ó\82³\82È\82¢", "Auto-destroyer leaves junk") },\r
+\r
+{ &leave_special,               TRUE,  OPT_PAGE_AUTODESTROY, 7, 1,\r
+"leave_special",                _("\8eí\91°/\90E\8bÆ\82Å\93Á\95Ê\82É\95K\97v\82È\83A\83C\83e\83\80\82Í\89ó\82³\82È\82¢", "Auto-destroyer leaves items your race/class needs") },\r
+\r
+/*** Play-record Options ***/\r
+\r
+{ &record_fix_art,              TRUE,  OPT_PAGE_PLAYRECORD, 4, 11,\r
+"record_fix_art",               _("\8cÅ\92è\83A\81[\83e\83B\83t\83@\83N\83g\82Ì\93ü\8eè\82ð\8bL\98^\82·\82é", "Record fixed artifacts") },\r
+\r
+{ &record_rand_art,             TRUE,  OPT_PAGE_PLAYRECORD, 4, 12,\r
+"record_rand_art",              _("\83\89\83\93\83_\83\80\83A\81[\83e\83B\83t\83@\83N\83g\82Ì\93ü\8eè\82ð\8bL\98^\82·\82é", "Record random artifacts") },\r
+\r
+{ &record_destroy_uniq,         TRUE,  OPT_PAGE_PLAYRECORD, 4, 13,\r
+"record_destroy_uniq",          _("\83\86\83j\81[\83N\83\82\83\93\83X\83^\81[\82ð\93|\82µ\82½\82Æ\82«\82ð\8bL\98^\82·\82é", "Record when destroy unique monster") },\r
+\r
+{ &record_fix_quest,            TRUE,  OPT_PAGE_PLAYRECORD, 4, 14,\r
+"record_fix_quest",             _("\8cÅ\92è\83N\83G\83X\83g\82Ì\92B\90¬\82ð\8bL\98^\82·\82é", "Record fixed quests") },\r
+\r
+{ &record_rand_quest,           TRUE,  OPT_PAGE_PLAYRECORD, 4, 15,\r
+"record_rand_quest",            _("\83\89\83\93\83_\83\80\83N\83G\83X\83g\82Ì\92B\90¬\82ð\8bL\98^\82·\82é", "Record random quests") },\r
+\r
+{ &record_maxdepth,             TRUE,  OPT_PAGE_PLAYRECORD, 4, 16,\r
+"record_maxdepth",              _("\8dÅ\90[\8aK\82ð\8dX\90V\82µ\82½\82Æ\82«\82É\8bL\98^\82·\82é", "Record movements to deepest level") },\r
+\r
+{ &record_stair,                TRUE,  OPT_PAGE_PLAYRECORD, 4, 17,\r
+"record_stair",                 _("\8aK\82Ì\88Ú\93®\82ð\8bL\98^\82·\82é", "Record recall and stair movements") },\r
+\r
+{ &record_buy,                  TRUE,  OPT_PAGE_PLAYRECORD, 4, 18,\r
+"record_buy",                   _("\83A\83C\83e\83\80\82Ì\8dw\93ü\82ð\8bL\98^\82·\82é", "Record purchased items") },\r
+\r
+{ &record_sell,                 FALSE, OPT_PAGE_PLAYRECORD, 4, 19,\r
+"record_sell",                  _("\83A\83C\83e\83\80\82Ì\94\84\8bp\82ð\8bL\98^\82·\82é", "Record sold items") },\r
+\r
+{ &record_danger,               TRUE,  OPT_PAGE_PLAYRECORD, 4, 20,\r
+"record_danger",                _("\83s\83\93\83`\82É\82È\82Á\82½\82Æ\82«\82ð\8bL\98^\82·\82é", "Record hitpoint warning") },\r
+\r
+{ &record_arena,                TRUE,  OPT_PAGE_PLAYRECORD, 4, 21,\r
+"record_arena",                 _("\83A\83\8a\81[\83i\82Å\82Ì\8f\9f\97\98\82ð\8bL\98^\82·\82é", "Record arena victories") },\r
+\r
+{ &record_ident,                TRUE,  OPT_PAGE_PLAYRECORD, 4, 22,\r
+"record_ident",                 _("\96¢\94»\96¾\82Ì\83A\83C\83e\83\80\82Ì\8e¯\95Ê\82ð\8bL\98^\82·\82é", "Record first identified items") },\r
+\r
+{ &record_named_pet,            FALSE, OPT_PAGE_PLAYRECORD, 4, 23,\r
+"record_named_pet",             _("\96¼\91O\82Â\82«\83y\83b\83g\82Ì\8fî\95ñ\82ð\8bL\98^\82·\82é", "Record informations of named pets") },\r
+\r
+/*** End of Table ***/\r
+\r
+{ NULL,                         0, 0, 0, 0,\r
+NULL,                           NULL }\r
+};\r
diff --git a/src/gameoption.h b/src/gameoption.h
new file mode 100644 (file)
index 0000000..2c1dcc2
--- /dev/null
@@ -0,0 +1,196 @@
+\r
+/*\r
+ * Software options (set via the '=' command).  See "tables.c"\r
+ */\r
+\r
+/*** Input Options ***/\r
+\r
+bool rogue_like_commands;      /* Rogue-like commands */\r
+bool always_pickup;    /* Pick things up by default */\r
+bool carry_query_flag; /* Prompt before picking things up */\r
+bool quick_messages;   /* Activate quick messages */\r
+bool auto_more;        /* Automatically clear '-more-' prompts */\r
+bool command_menu;     /* Enable command selection menu */\r
+bool other_query_flag; /* Prompt for floor item selection */\r
+bool use_old_target;   /* Use old target by default */\r
+bool always_repeat;    /* Repeat obvious commands */\r
+bool confirm_destroy;  /* Prompt for destruction of known worthless items */\r
+bool confirm_wear;     /* Confirm to wear/wield known cursed items */\r
+bool confirm_quest;    /* Prompt before exiting a quest level */\r
+bool target_pet;       /* Allow targetting pets */\r
+\r
+#ifdef ALLOW_EASY_OPEN\r
+bool easy_open;        /* Automatically open doors */\r
+#endif\r
+\r
+#ifdef ALLOW_EASY_DISARM\r
+bool easy_disarm;      /* Automatically disarm traps */\r
+#endif\r
+\r
+#ifdef ALLOW_EASY_FLOOR\r
+bool easy_floor;       /* Display floor stacks in a list */\r
+#endif\r
+\r
+bool use_command;      /* Allow unified use command */\r
+bool over_exert;       /* Allow casting spells when short of mana */\r
+bool numpad_as_cursorkey;      /* Use numpad keys as cursor key in editor mode */\r
+\r
+\r
+                                                       /*** Map Screen Options ***/\r
+\r
+bool center_player;    /* Center map while walking (*slow*) */\r
+bool center_running;   /* Centering even while running */\r
+bool view_yellow_lite; /* Use special colors for torch-lit grids */\r
+bool view_bright_lite; /* Use special colors for 'viewable' grids */\r
+bool view_granite_lite;        /* Use special colors for wall grids (slow) */\r
+bool view_special_lite;        /* Use special colors for floor grids (slow) */\r
+bool view_perma_grids; /* Map remembers all perma-lit grids */\r
+bool view_torch_grids; /* Map remembers all torch-lit grids */\r
+bool view_unsafe_grids;        /* Map marked by detect traps */\r
+bool view_reduce_view; /* Reduce view-radius in town */\r
+bool fresh_before;     /* Flush output while continuous command */\r
+bool fresh_after;      /* Flush output after monster's move */\r
+bool fresh_message;    /* Flush output after every message */\r
+bool hilite_player;    /* Hilite the player with the cursor */\r
+bool display_path;     /* Display actual path before shooting */\r
+\r
+\r
+                                       /*** Text Display Options ***/\r
+\r
+bool plain_descriptions;       /* Plain object descriptions */\r
+bool plain_pickup;     /* Plain pickup messages(japanese only) */\r
+bool always_show_list; /* Always show list when choosing items */\r
+bool depth_in_feet;    /* Show dungeon level in feet */\r
+bool show_labels;      /* Show labels in object listings */\r
+bool show_weights;     /* Show weights in object listings */\r
+bool show_item_graph;  /* Show items graphics */\r
+bool equippy_chars;    /* Display 'equippy' chars */\r
+bool display_mutations;        /* Display mutations in 'C'haracter Display */\r
+bool compress_savefile;        /* Compress messages in savefiles */\r
+bool abbrev_extra;     /* Describe obj's extra resistances by abbreviation */\r
+bool abbrev_all;       /* Describe obj's all resistances by abbreviation */\r
+bool exp_need; /* Show the experience needed for next level */\r
+bool ignore_unview;    /* Ignore whenever any monster does */\r
+\r
+\r
+                                       /*** Game-Play Options ***/\r
+\r
+bool stack_force_notes;        /* Merge inscriptions when stacking */\r
+bool stack_force_costs;        /* Merge discounts when stacking */\r
+bool expand_list;      /* Expand the power of the list commands */\r
+bool small_levels;     /* Allow unusually small dungeon levels */\r
+bool always_small_levels;      /* Always create unusually small dungeon levels */\r
+bool empty_levels;     /* Allow empty 'arena' levels */\r
+bool bound_walls_perm; /* Boundary walls become 'permanent wall' */\r
+bool last_words;       /* Leave last words when your character dies */\r
+\r
+#ifdef WORLD_SCORE\r
+bool send_score;       /* Send score dump to the world score server */\r
+#endif\r
+\r
+bool allow_debug_opts; /* Allow use of debug/cheat options */\r
+\r
+\r
+                                               /*** Disturbance Options ***/\r
+\r
+bool find_ignore_stairs;       /* Run past stairs */\r
+bool find_ignore_doors;        /* Run through open doors */\r
+bool find_cut; /* Run past known corners */\r
+bool check_abort;      /* Check for user abort while continuous command */\r
+bool flush_failure;    /* Flush input on various failures */\r
+bool flush_disturb;    /* Flush input whenever disturbed */\r
+bool disturb_move;     /* Disturb whenever any monster moves */\r
+bool disturb_high;     /* Disturb whenever high-level monster moves */\r
+bool disturb_near;     /* Disturb whenever viewable monster moves */\r
+bool disturb_pets;     /* Disturb when visible pets move */\r
+bool disturb_panel;    /* Disturb whenever map panel changes */\r
+bool disturb_state;    /* Disturb whenever player state changes */\r
+bool disturb_minor;    /* Disturb whenever boring things happen */\r
+bool ring_bell;        /* Audible bell (on errors, etc) */\r
+bool disturb_trap_detect;      /* Disturb when leaving trap detected area */\r
+bool alert_trap_detect;        /* Alert when leaving trap detected area */\r
+\r
+\r
+                                               /*** Birth Options ***/\r
+\r
+bool manual_haggle;    /* Manually haggle in stores */\r
+bool easy_band;        /* Easy Mode (*) */\r
+bool smart_learn;      /* Monsters learn from their mistakes (*) */\r
+bool smart_cheat;      /* Monsters exploit players weaknesses (*) */\r
+bool vanilla_town;     /* Use 'vanilla' town without quests and wilderness */\r
+bool lite_town;        /* Use 'lite' town without a wilderness */\r
+bool ironman_shops;    /* Stores are permanently closed (*) */\r
+bool ironman_small_levels;     /* Always create unusually small dungeon levels (*) */\r
+bool ironman_downward; /* Disable recall and use of up stairs (*) */\r
+bool ironman_empty_levels;     /* Always create empty 'arena' levels (*) */\r
+bool ironman_rooms;    /* Always generate very unusual rooms (*) */\r
+bool ironman_nightmare;        /* Nightmare mode(it isn't even remotely fair!)(*) */\r
+bool left_hander;      /* Left-Hander */\r
+bool preserve_mode;    /* Preserve artifacts (*) */\r
+bool autoroller;       /* Allow use of autoroller for stats (*) */\r
+bool autochara;        /* Autoroll for weight, height and social status */\r
+bool powerup_home;     /* Increase capacity of your home (*) */\r
+bool show_ammo_detail; /* Show Description of ammo damage */\r
+bool show_ammo_no_crit;        /* Show No-crit damage of ammo */\r
+bool show_ammo_crit_ratio;     /* Show critical ratio of ammo */\r
+\r
+\r
+\r
+\r
+                                                       /*** Easy Object Auto-Destroyer ***/\r
+\r
+bool destroy_items;    /* Use easy auto-destroyer */\r
+bool destroy_feeling;  /* Apply auto-destroy as sense feeling */\r
+bool destroy_identify; /* Apply auto-destroy as identify an item */\r
+bool leave_worth;      /* Auto-destroyer leaves known worthy items */\r
+bool leave_equip;      /* Auto-destroyer leaves weapons and armour */\r
+bool leave_chest;      /* Auto-destroyer leaves closed chests */\r
+bool leave_wanted;     /* Auto-destroyer leaves wanted corpses */\r
+bool leave_corpse;     /* Auto-destroyer leaves corpses and skeletons */\r
+bool leave_junk;       /* Auto-destroyer leaves junk */\r
+bool leave_special;    /* Auto-destroyer leaves items your race/class needs */\r
+\r
+\r
+                                       /*** Play-record Options ***/\r
+\r
+bool record_fix_art;   /* Record fixed artifacts */\r
+bool record_rand_art;  /* Record random artifacts */\r
+bool record_destroy_uniq;      /* Record when destroy unique monster */\r
+bool record_fix_quest; /* Record fixed quests */\r
+bool record_rand_quest;        /* Record random quests */\r
+bool record_maxdepth;  /* Record movements to deepest level */\r
+bool record_stair;     /* Record recall and stair movements */\r
+bool record_buy;       /* Record purchased items */\r
+bool record_sell;      /* Record sold items */\r
+bool record_danger;    /* Record hitpoint warning */\r
+bool record_arena;     /* Record arena victories */\r
+bool record_ident;     /* Record first identified items */\r
+bool record_named_pet; /* Record informations of named pets */\r
+char record_o_name[MAX_NLEN];\r
+s32b record_turn;\r
+\r
+\r
+/* Cheating options */\r
+\r
+bool cheat_peek;       /* Peek into object creation */\r
+bool cheat_hear;       /* Peek into monster creation */\r
+bool cheat_room;       /* Peek into dungeon creation */\r
+bool cheat_xtra;       /* Peek into something else */\r
+bool cheat_know;       /* Know complete monster info */\r
+bool cheat_live;       /* Allow player to avoid death */\r
+bool cheat_save;       /* Ask for saving death */\r
+bool cheat_diary_output; /* Detailed info to diary */\r
+bool cheat_turn;       /* Peek turn */\r
+\r
+\r
+/* Special options */\r
+\r
+byte hitpoint_warn;    /* Hitpoint warning (0 to 9) */\r
+byte mana_warn;        /* Mana color (0 to 9) */\r
+\r
+byte delay_factor;     /* Delay factor (0 to 9) */\r
+\r
+bool autosave_l;       /* Autosave before entering new levels */\r
+bool autosave_t;       /* Timed autosave */\r
+s16b autosave_freq;     /* Autosave frequency */\r
+\r
index 9bafc57..6b126bd 100644 (file)
@@ -4921,393 +4921,6 @@ const cptr window_flag_desc[32] =
 };
 
 
-/*!
- * @brief オプションテーブル /
- * Available Options
- */
-const option_type option_info[] =
-{
-       /*** Input Options ***/
-
-       { &rogue_like_commands,         FALSE, OPT_PAGE_INPUT, 0, 0,
-       "rogue_like_commands",          _("ローグ風キー配置を使用する", "Rogue-like commands") },
-
-       { &always_pickup,               FALSE, OPT_PAGE_INPUT, 0, 5,
-       "always_pickup",                _("常にアイテムを拾う" , "Pick things up by default") },
-
-       { &carry_query_flag,            FALSE, OPT_PAGE_INPUT, 0, 3,
-       "carry_query_flag",             _("アイテムを拾う前に確認する", "Prompt before picking things up") },
-               
-       { &quick_messages,              TRUE,  OPT_PAGE_INPUT, 0, 1,
-       "quick_messages",               _("クイック・メッセージを使用する", "Activate quick messages") },
-               
-       { &auto_more,                   FALSE, OPT_PAGE_INPUT, 2, 6,
-       "auto_more",                    _("キー待ちしないで連続でメッセージを表示する", "Automatically clear '-more-' prompts") },
-       
-       { &command_menu,                TRUE,  OPT_PAGE_INPUT, 2, 7,
-       "command_menu",                 _("メニューによりコマンド選択を有効にする", "Enable command selection menu") },
-       
-       { &other_query_flag,            FALSE, OPT_PAGE_INPUT, 0, 2,
-       "other_query_flag",             _("床上のアイテムを使用するときに確認する", "Prompt for floor item selection") },
-       
-       { &use_old_target,              FALSE, OPT_PAGE_INPUT, 0, 4,
-       "use_old_target",               _("常に以前のターゲットを指定する", "Use old target by default") },
-
-       { &always_repeat,               TRUE,  OPT_PAGE_INPUT, 0, 6,
-       "always_repeat",                _("コマンド自動繰り返し", "Repeat obvious commands") },
-
-       { &confirm_destroy,             FALSE, OPT_PAGE_INPUT, 5, 3,
-       "confirm_destroy",              _("「無価値」なアイテムを破壊する時確認する", "Prompt for destruction of known worthless items") },
-
-       { &confirm_wear,                TRUE,  OPT_PAGE_INPUT, 5, 4,
-       "confirm_wear",                 _("呪われた物を装備する時確認する", "Confirm to wear/wield known cursed items") },
-
-       { &confirm_quest,               TRUE,  OPT_PAGE_INPUT, 1, 9,
-       "confirm_quest",                _("クエストを諦めて階段で逃げる前に確認する", "Prompt before exiting a quest level") },
-
-       { &target_pet,                  FALSE, OPT_PAGE_INPUT, 2, 5,
-       "target_pet",                   _("ペットをターゲットにする", "Allow targetting pets") },
-
-#ifdef ALLOW_EASY_OPEN
-       { &easy_open,                   TRUE,  OPT_PAGE_INPUT, 5, 7,
-       "easy_open",                    _("自動的にドアを開ける", "Automatically open doors") },
-#endif /* ALLOW_EASY_OPEN */
-
-#ifdef ALLOW_EASY_DISARM
-       { &easy_disarm,                 TRUE,  OPT_PAGE_INPUT, 5, 8,
-       "easy_disarm",                  _("自動的に罠を解除する", "Automatically disarm traps") },
-#endif /* ALLOW_EASY_DISARM */
-
-#ifdef ALLOW_EASY_FLOOR /* TNB */
-       { &easy_floor,                  FALSE, OPT_PAGE_INPUT, 5, 9,
-       "easy_floor",                   _("床上で重なったアイテムをリストする", "Display floor stacks in a list") },
-#endif /* ALLOW_EASY_FLOOR -- TNB */
-
-       { &use_command,                 FALSE, OPT_PAGE_INPUT, 5, 10,
-       "use_command",                  _("「使う(a)」コマンドでアイテムを何でも使える", "Allow unified use command") },
-
-       { &over_exert,                  FALSE, OPT_PAGE_INPUT, 0, 29,
-       "over_exert",                   _("MPが足りなくても魔法に挑戦する", "Allow casting spells when short of mana") },
-
-       { &numpad_as_cursorkey,         TRUE, OPT_PAGE_INPUT, 2, 31,
-       "numpad_as_cursorkey",          _("エディタ内でテンキーをカーソルキーとして使う", "Use numpad keys as cursor keys in editor mode") },
-
-       /*** Map Screen Options ***/
-
-       { &center_player,               FALSE, OPT_PAGE_MAPSCREEN, 5, 11,
-       "center_player",                _("常にプレイヤーを中心に置く(*遅い*)", "Center map while walking (*slow*)") },
-
-       { &center_running,              TRUE,  OPT_PAGE_MAPSCREEN, 5, 12,
-       "center_running",               _("走っている時でも中心に置く", "Centering even while running") },
-
-       { &view_yellow_lite,            TRUE,  OPT_PAGE_MAPSCREEN, 1, 28,
-       "view_yellow_lite",             _("明かりの範囲を特別な色で表示する", "Use special colors for torch-lit grids") },
-
-       { &view_bright_lite,            TRUE,  OPT_PAGE_MAPSCREEN, 1, 29,
-       "view_bright_lite",             _("視界の範囲を特別な色で表示する", "Use special colors for 'viewable' grids") },
-
-       { &view_granite_lite,           TRUE,  OPT_PAGE_MAPSCREEN, 1, 30,
-       "view_granite_lite",            _("壁を特別な色で表示する(重い)", "Use special colors for wall grids (slow)") },
-
-       { &view_special_lite,           TRUE,  OPT_PAGE_MAPSCREEN, 1, 31,
-       "view_special_lite",            _("床を特別な色で表示する(重い)", "Use special colors for floor grids (slow)") },
-
-       { &view_perma_grids,            TRUE,  OPT_PAGE_MAPSCREEN, 1, 6,
-       "view_perma_grids",             _("明るい場所はそのままにする", "Map remembers all perma-lit grids") },
-
-       { &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_reduce_view,            FALSE, OPT_PAGE_MAPSCREEN, 1, 17,
-       "view_reduce_view",             _("街では視野を狭くする", "Reduce view-radius in town") },
-
-       { &fresh_before,                TRUE,  OPT_PAGE_MAPSCREEN, 1, 23,
-       "fresh_before",                 _("連続コマンド中に画面を再描画し続ける", "Flush output while continuous command") },
-
-       { &fresh_after,                 FALSE, OPT_PAGE_MAPSCREEN, 1, 24,
-       "fresh_after",                  _("コマンド後に画面を常に再描画し続ける", "Flush output after monster's move") },
-
-       { &fresh_message,               FALSE, OPT_PAGE_MAPSCREEN, 1, 25,
-       "fresh_message",                _("メッセージの後に画面を再描画する", "Flush output after every message") },
-
-       { &hilite_player,               FALSE, OPT_PAGE_MAPSCREEN, 1, 27,
-       "hilite_player",                _("プレイヤーにカーソルを合わせる", "Hilite the player with the cursor") },
-
-       { &display_path,                FALSE, 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") },
-
-       { &plain_pickup,                FALSE, OPT_PAGE_TEXT, 6, 6,
-       "plain_pickup",                 _("「拾った」メッセージを簡略化する", "Plain pickup messages(japanese only)") },
-
-       { &always_show_list,            TRUE,  OPT_PAGE_TEXT, 4, 0,
-       "always_show_list",             _("選択時には常に一覧を表示する", "Always show list when choosing items") },
-
-       { &depth_in_feet,               FALSE, OPT_PAGE_TEXT, 0, 7,
-       "depth_in_feet",                _("ダンジョンの深さをフィートで表示する", "Show dungeon level in feet") },
-
-       { &show_labels,                 TRUE,  OPT_PAGE_TEXT, 0, 10,
-       "show_labels",                  _("装備一覧で装備場所を表示する", "Show labels in object listings") },
-
-       { &show_weights,                TRUE,  OPT_PAGE_TEXT, 0, 11,
-       "show_weights",                 _("アイテム一覧で重量を表示する", "Show weights in object listings") },
-
-       { &show_item_graph,             TRUE,  OPT_PAGE_TEXT, 2, 0,
-       "show_item_graph",              _("アイテムのシンボルを表示する", "Show items graphics") },
-
-       { &equippy_chars,               TRUE,  OPT_PAGE_TEXT, 1, 12,
-       "equippy_chars",                _("ステータスに文字で装備を表示する", "Display 'equippy' chars") },
-
-       { &display_mutations,           FALSE, OPT_PAGE_TEXT, 5, 0,
-       "display_mutations",            _("'C'コマンドで突然変異を表示する", "Display mutations in 'C'haracter Display") },
-
-       { &compress_savefile,           FALSE, OPT_PAGE_TEXT, 1, 26,
-       "compress_savefile",            _("セーブ・ファイル中のメッセージを圧縮する", "Compress messages in savefiles") },
-
-       { &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") },
-
-       { &exp_need,                    FALSE, OPT_PAGE_TEXT, 2, 12,
-       "exp_need",                     _("次のレベルに必要な経験値を表示する", "Show the experience needed for next level") },
-
-       { &ignore_unview,               FALSE, OPT_PAGE_TEXT, 2, 13,
-       "ignore_unview",                _("視界外のモンスターの行動を表示しない", "Ignore whenever any monster does") },
-       
-       { &show_ammo_detail,            TRUE, OPT_PAGE_TEXT, 2, 14,
-       "show_ammo_detail",             _("矢弾のダメージの説明を表示する", "Show description of ammo damage") },
-               
-       { &show_ammo_no_crit,           FALSE, OPT_PAGE_TEXT, 2, 15,
-       "show_ammo_no_crit",            _("会心を考慮しない場合の矢弾のダメージを表示する", "Show ammo damage with no critical") },
-
-       { &show_ammo_crit_ratio,           FALSE, OPT_PAGE_TEXT, 2, 16,
-       "show_ammo_crit_ratio",            _("矢弾の会心発生率を表示する", "Show critical ratio of ammo") },
-               
-
-       /*** Game-Play ***/
-
-       { &stack_force_notes,           TRUE,  OPT_PAGE_GAMEPLAY, 0, 8,
-       "stack_force_notes",            _("異なる銘のアイテムをまとめる", "Merge inscriptions when stacking") },
-
-       { &stack_force_costs,           FALSE, OPT_PAGE_GAMEPLAY, 0, 9,
-       "stack_force_costs",            _("異なる割引表示のアイテムをまとめる", "Merge discounts when stacking") },
-
-       { &expand_list,                 TRUE,  OPT_PAGE_GAMEPLAY, 1, 5,
-       "expand_list",                  _("「一覧」コマンドを拡張する", "Expand the power of the list commands") },
-
-       { &small_levels,                TRUE,  OPT_PAGE_GAMEPLAY, 0, 30,
-       "small_levels",                 _("非常に小さいフロアの生成を可能にする", "Allow unusually small dungeon levels") },
-
-       { &always_small_levels,         FALSE, OPT_PAGE_GAMEPLAY, 2, 3,
-       "always_small_levels",          _("常に非常に小さいフロアを生成する", "Always create unusually small dungeon levels") },
-
-       { &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'") },
-
-       { &last_words,                  TRUE,  OPT_PAGE_GAMEPLAY, 0, 28,
-       "last_words",                   _("キャラクターが死んだ時遺言をのこす", "Leave last words when your character dies") },
-
-#ifdef WORLD_SCORE
-       { &send_score,                  TRUE,  OPT_PAGE_GAMEPLAY, 4, 6,
-       "send_score",                   _("スコアサーバにスコアを送る", "Send score dump to the world score server") },
-#endif
-       
-       { &allow_debug_opts,            FALSE, OPT_PAGE_GAMEPLAY, 6, 11,
-       "allow_debug_opts",             _("デバッグ/詐欺オプションを許可する", "Allow use of debug/cheat options") },
-
-       /*** Disturbance ***/
-
-       { &find_ignore_stairs,          FALSE, OPT_PAGE_DISTURBANCE, 0, 16,
-       "find_ignore_stairs",           _("階段は通過する", "Run past stairs") },
-
-       { &find_ignore_doors,           TRUE,  OPT_PAGE_DISTURBANCE, 0, 17,
-       "find_ignore_doors",            _("ドアは通過する", "Run through open doors") },
-
-       { &find_cut,                    FALSE, OPT_PAGE_DISTURBANCE, 0, 18,
-       "find_cut",                     _("曲り角を斜めに最短距離で通過する", "Run past known corners") },
-
-       { &check_abort,                 TRUE,  OPT_PAGE_DISTURBANCE, 1, 18,
-       "check_abort",                  _("連続コマンドはキー入力で中断する", "Check for user abort while continuous command") },
-
-       { &flush_failure,               TRUE,  OPT_PAGE_DISTURBANCE, 1, 20,
-       "flush_failure",                _("様々なミス発生時に入力をクリアする", "Flush input on various failures") },
-
-       { &flush_disturb,               FALSE, OPT_PAGE_DISTURBANCE, 1, 21,
-       "flush_disturb",                _("障害発生時に入力をクリアする", "Flush input whenever disturbed") },
-
-       { &disturb_move,                FALSE, OPT_PAGE_DISTURBANCE, 0, 20,
-       "disturb_move",                 _("どこのモンスターが動いても行動を中止する", "Disturb whenever any monster moves") },
-
-       { &disturb_high,                FALSE, OPT_PAGE_DISTURBANCE, 1, 3,
-       "disturb_high",                 _("レベルの高いモンスターが動いたら行動を中止する", "Disturb whenever high-level monster moves") },
-
-       { &disturb_near,                TRUE,  OPT_PAGE_DISTURBANCE, 0, 21,
-       "disturb_near",                 _("視界内のモンスターが動いたら行動を中止する", "Disturb whenever viewable monster moves") },
-
-       { &disturb_pets,                FALSE, OPT_PAGE_DISTURBANCE, 5, 6,
-       "disturb_pets",                 _("視界内のペットが動いたら行動を中止する", "Disturb when visible pets move") },
-
-       { &disturb_panel,               TRUE,  OPT_PAGE_DISTURBANCE, 0, 22,
-       "disturb_panel",                _("画面スクロール時に行動を中止する", "Disturb whenever map panel changes") },
-
-       { &disturb_state,               TRUE,  OPT_PAGE_DISTURBANCE, 0, 23,
-       "disturb_state",                _("自分のステータス変化時に行動を中止する", "Disturb whenever player state changes") },
-
-       { &disturb_minor,               TRUE,  OPT_PAGE_DISTURBANCE, 0, 24,
-       "disturb_minor",                _("些細なことが起きても行動を中止する", "Disturb whenever boring things happen") },
-
-       { &ring_bell,                   FALSE, OPT_PAGE_DISTURBANCE, 0, 14,
-       "ring_bell",                    _("エラー時にビープ音を鳴らす", "Audible bell (on errors, etc)") },
-
-       { &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 when leaving trap detected area") },
-
-       /*** Birth Options ***/
-       { &manual_haggle,               FALSE, OPT_PAGE_BIRTH, 1, 0,
-       "manual_haggle",                _("店で値切り交渉をする", "Manually haggle in stores") },
-
-       { &easy_band,                   FALSE, OPT_PAGE_BIRTH, 6, 31,
-       "easy_band",                    _("初心者用簡単モード(*)", "Easy Mode (*)") },
-
-       { &smart_learn,                 TRUE,  OPT_PAGE_BIRTH, 1, 14,
-       "smart_learn",                  _("モンスターは失敗を学習する(*)", "Monsters learn from their mistakes (*)") },
-       
-       { &smart_cheat,                 FALSE, OPT_PAGE_BIRTH, 1, 15,
-       "smart_cheat",                  _("モンスターはプレイヤーの弱みを突く(*)", "Monsters exploit players weaknesses (*)") },
-
-       { &vanilla_town,                FALSE, OPT_PAGE_BIRTH, 6, 0,
-       "vanilla_town",                 _("元祖の街/クエストと荒野なし", "Use 'vanilla' town without quests and wilderness") },
-
-       { &lite_town,                   FALSE, OPT_PAGE_BIRTH, 6, 1,
-       "lite_town",                    _("小規模な街/荒野なし", "Use 'lite' town without a wilderness") },
-
-       { &ironman_shops,               FALSE, OPT_PAGE_BIRTH, 6, 2,
-       "ironman_shops",                _("(鉄人用)店を使用しない(*)", "Stores are permanently closed (*)") },
-
-       { &ironman_small_levels,        FALSE, OPT_PAGE_BIRTH, 6, 3,
-       "ironman_small_levels",         _("(鉄人用)常に非常に小さいフロアを生成(*)", "Always create unusually small dungeon levels (*)") },
-
-       { &ironman_downward,            FALSE, OPT_PAGE_BIRTH, 6, 4,
-       "ironman_downward",             _("(鉄人用)帰還と上り階段なし(*)", "Disable recall and use of up stairs (*)") },
-
-       { &ironman_empty_levels,        FALSE, OPT_PAGE_BIRTH, 6, 8,
-       "ironman_empty_levels",         _("(鉄人用)常に空っぽのアリーナレベルを生成(*)", "Always create empty 'arena' levels (*)") },
-
-       { &ironman_rooms,               FALSE, OPT_PAGE_BIRTH, 6, 12,
-       "ironman_rooms",                _("(鉄人用)常に普通でない部屋を生成する(*)", "Always generate very unusual rooms (*)") },
-
-       { &ironman_nightmare,           FALSE, OPT_PAGE_BIRTH, 6, 18,
-       "ironman_nightmare",            _("(鉄人用)悪夢モード(これは全く不条理です!)(*)", "Nightmare mode(it isn't even remotely fair!)(*)") },
-
-       { &left_hander,                 FALSE, OPT_PAGE_BIRTH, 6, 13,
-       "left_hander",                  _("左利きである", "Left-Hander") },
-
-       { &preserve_mode,               TRUE,  OPT_PAGE_BIRTH, 6, 14,
-       "preserve_mode",                _("伝説のアイテムを取り逃しても再生成される(*)", "Preserve artifacts (*)") },
-
-       { &autoroller,                  TRUE,  OPT_PAGE_BIRTH, 6, 15,
-       "autoroller",                   _("能力値にオートローラー使用(*)", "Allow use of autoroller for stats (*)") },
-
-       { &autochara,                   FALSE, OPT_PAGE_BIRTH, 6, 16,
-       "autochara",                   _("体格/地位にオートローラー使用", "Autoroll for weight, height and social status") },
-
-       { &powerup_home,                TRUE,  OPT_PAGE_BIRTH, 4, 3,
-       "powerup_home",                 _("我が家を拡張する(*)", "Increase capacity of your home (*)") },
-
-       /*** Easy Object Auto-Destroyer ***/
-
-       { &destroy_items,               FALSE, OPT_PAGE_AUTODESTROY, 7, 0,
-       "destroy_items",                _("アイテムの簡易自動破壊を使用する", "Use easy auto-destroyer") },
-
-       { &destroy_feeling,             FALSE, OPT_PAGE_AUTODESTROY, 7, 8,
-       "destroy_feeling",              _("簡易鑑定したとき自動破壊を適用する", "Apply auto-destroy as sense feeling") },
-
-       { &destroy_identify,            FALSE, OPT_PAGE_AUTODESTROY, 7, 9,
-       "destroy_identify",             _("鑑定したとき自動破壊を適用する", "Apply auto-destroy as identify an item") },
-
-       { &leave_worth,                 TRUE,  OPT_PAGE_AUTODESTROY, 7, 2,
-       "leave_worth",                  _("価値があるアイテムは壊さない", "Auto-destroyer leaves known worthy items") },
-
-       { &leave_equip,                 FALSE, OPT_PAGE_AUTODESTROY, 7, 3,
-       "leave_equip",                  _("武器/防具は壊さない", "Auto-destroyer leaves weapons and armour") },
-
-       { &leave_chest,                 TRUE,  OPT_PAGE_AUTODESTROY, 7, 7,
-       "leave_chest",                  _("開封されていない箱は壊さない", "Auto-destroyer leaves closed chests") },
-
-       { &leave_wanted,                TRUE,  OPT_PAGE_AUTODESTROY, 7, 4,
-       "leave_wanted",                 _("賞金首の死体/骨は壊さない", "Auto-destroyer leaves wanted corpses") },
-
-       { &leave_corpse,                FALSE, OPT_PAGE_AUTODESTROY, 7, 5,
-       "leave_corpse",                 _("死体/骨は壊さない", "Auto-destroyer leaves corpses and skeletons") },
-
-       { &leave_junk,                  FALSE, OPT_PAGE_AUTODESTROY, 7, 6,
-       "leave_junk",                   _("がらくたは壊さない", "Auto-destroyer leaves junk") },
-
-       { &leave_special,               TRUE,  OPT_PAGE_AUTODESTROY, 7, 1,
-       "leave_special",                _("種族/職業で特別に必要なアイテムは壊さない", "Auto-destroyer leaves items your race/class needs") },
-
-       /*** Play-record Options ***/
-
-       { &record_fix_art,              TRUE,  OPT_PAGE_PLAYRECORD, 4, 11,
-       "record_fix_art",               _("固定アーティファクトの入手を記録する", "Record fixed artifacts") },
-
-       { &record_rand_art,             TRUE,  OPT_PAGE_PLAYRECORD, 4, 12,
-       "record_rand_art",              _("ランダムアーティファクトの入手を記録する", "Record random artifacts") },
-
-       { &record_destroy_uniq,         TRUE,  OPT_PAGE_PLAYRECORD, 4, 13,
-       "record_destroy_uniq",          _("ユニークモンスターを倒したときを記録する", "Record when destroy unique monster") },
-
-       { &record_fix_quest,            TRUE,  OPT_PAGE_PLAYRECORD, 4, 14,
-       "record_fix_quest",             _("固定クエストの達成を記録する", "Record fixed quests") },
-
-       { &record_rand_quest,           TRUE,  OPT_PAGE_PLAYRECORD, 4, 15,
-       "record_rand_quest",            _("ランダムクエストの達成を記録する", "Record random quests") },
-
-       { &record_maxdepth,             TRUE,  OPT_PAGE_PLAYRECORD, 4, 16,
-       "record_maxdepth",              _("最深階を更新したときに記録する", "Record movements to deepest level") },
-
-       { &record_stair,                TRUE,  OPT_PAGE_PLAYRECORD, 4, 17,
-       "record_stair",                 _("階の移動を記録する", "Record recall and stair movements") },
-
-       { &record_buy,                  TRUE,  OPT_PAGE_PLAYRECORD, 4, 18,
-       "record_buy",                   _("アイテムの購入を記録する", "Record purchased items") },
-
-       { &record_sell,                 FALSE, OPT_PAGE_PLAYRECORD, 4, 19,
-       "record_sell",                  _("アイテムの売却を記録する", "Record sold items") },
-
-       { &record_danger,               TRUE,  OPT_PAGE_PLAYRECORD, 4, 20,
-       "record_danger",                _("ピンチになったときを記録する", "Record hitpoint warning") },
-
-       { &record_arena,                TRUE,  OPT_PAGE_PLAYRECORD, 4, 21,
-       "record_arena",                 _("アリーナでの勝利を記録する", "Record arena victories") },
-
-       { &record_ident,                TRUE,  OPT_PAGE_PLAYRECORD, 4, 22,
-       "record_ident",                 _("未判明のアイテムの識別を記録する", "Record first identified items") },
-
-       { &record_named_pet,            FALSE, OPT_PAGE_PLAYRECORD, 4, 23,
-       "record_named_pet",             _("名前つきペットの情報を記録する", "Record informations of named pets") },
-
-       /*** End of Table ***/
-
-       { NULL,                         0, 0, 0, 0,
-       NULL,                           NULL }
-};
-
 
 #ifdef JP
 /*!
index 596d508..4917c66 100644 (file)
@@ -177,201 +177,6 @@ int leaving_quest = 0;
 bool reinit_wilderness = FALSE;
 
 
-/*
- * Software options (set via the '=' command).  See "tables.c"
- */
-
-/*** Input Options ***/
-
-bool rogue_like_commands;      /* Rogue-like commands */
-bool always_pickup;    /* Pick things up by default */
-bool carry_query_flag; /* Prompt before picking things up */
-bool quick_messages;   /* Activate quick messages */
-bool auto_more;        /* Automatically clear '-more-' prompts */
-bool command_menu;     /* Enable command selection menu */
-bool other_query_flag; /* Prompt for floor item selection */
-bool use_old_target;   /* Use old target by default */
-bool always_repeat;    /* Repeat obvious commands */
-bool confirm_destroy;  /* Prompt for destruction of known worthless items */
-bool confirm_wear;     /* Confirm to wear/wield known cursed items */
-bool confirm_quest;    /* Prompt before exiting a quest level */
-bool target_pet;       /* Allow targetting pets */
-
-#ifdef ALLOW_EASY_OPEN
-bool easy_open;        /* Automatically open doors */
-#endif
-
-#ifdef ALLOW_EASY_DISARM
-bool easy_disarm;      /* Automatically disarm traps */
-#endif
-
-#ifdef ALLOW_EASY_FLOOR
-bool easy_floor;       /* Display floor stacks in a list */
-#endif
-
-bool use_command;      /* Allow unified use command */
-bool over_exert;       /* Allow casting spells when short of mana */
-bool numpad_as_cursorkey;      /* Use numpad keys as cursor key in editor mode */
-
-
-/*** Map Screen Options ***/
-
-bool center_player;    /* Center map while walking (*slow*) */
-bool center_running;   /* Centering even while running */
-bool view_yellow_lite; /* Use special colors for torch-lit grids */
-bool view_bright_lite; /* Use special colors for 'viewable' grids */
-bool view_granite_lite;        /* Use special colors for wall grids (slow) */
-bool view_special_lite;        /* Use special colors for floor grids (slow) */
-bool view_perma_grids; /* Map remembers all perma-lit grids */
-bool view_torch_grids; /* Map remembers all torch-lit grids */
-bool view_unsafe_grids;        /* Map marked by detect traps */
-bool view_reduce_view; /* Reduce view-radius in town */
-bool fresh_before;     /* Flush output while continuous command */
-bool fresh_after;      /* Flush output after monster's move */
-bool fresh_message;    /* Flush output after every message */
-bool hilite_player;    /* Hilite the player with the cursor */
-bool display_path;     /* Display actual path before shooting */
-
-
-/*** Text Display Options ***/
-
-bool plain_descriptions;       /* Plain object descriptions */
-bool plain_pickup;     /* Plain pickup messages(japanese only) */
-bool always_show_list; /* Always show list when choosing items */
-bool depth_in_feet;    /* Show dungeon level in feet */
-bool show_labels;      /* Show labels in object listings */
-bool show_weights;     /* Show weights in object listings */
-bool show_item_graph;  /* Show items graphics */
-bool equippy_chars;    /* Display 'equippy' chars */
-bool display_mutations;        /* Display mutations in 'C'haracter Display */
-bool compress_savefile;        /* Compress messages in savefiles */
-bool abbrev_extra;     /* Describe obj's extra resistances by abbreviation */
-bool abbrev_all;       /* Describe obj's all resistances by abbreviation */
-bool exp_need; /* Show the experience needed for next level */
-bool ignore_unview;    /* Ignore whenever any monster does */
-
-
-/*** Game-Play Options ***/
-
-bool stack_force_notes;        /* Merge inscriptions when stacking */
-bool stack_force_costs;        /* Merge discounts when stacking */
-bool expand_list;      /* Expand the power of the list commands */
-bool small_levels;     /* Allow unusually small dungeon levels */
-bool always_small_levels;      /* Always create unusually small dungeon levels */
-bool empty_levels;     /* Allow empty 'arena' levels */
-bool bound_walls_perm; /* Boundary walls become 'permanent wall' */
-bool last_words;       /* Leave last words when your character dies */
-
-#ifdef WORLD_SCORE
-bool send_score;       /* Send score dump to the world score server */
-#endif
-
-bool allow_debug_opts; /* Allow use of debug/cheat options */
-
-
-/*** Disturbance Options ***/
-
-bool find_ignore_stairs;       /* Run past stairs */
-bool find_ignore_doors;        /* Run through open doors */
-bool find_cut; /* Run past known corners */
-bool check_abort;      /* Check for user abort while continuous command */
-bool flush_failure;    /* Flush input on various failures */
-bool flush_disturb;    /* Flush input whenever disturbed */
-bool disturb_move;     /* Disturb whenever any monster moves */
-bool disturb_high;     /* Disturb whenever high-level monster moves */
-bool disturb_near;     /* Disturb whenever viewable monster moves */
-bool disturb_pets;     /* Disturb when visible pets move */
-bool disturb_panel;    /* Disturb whenever map panel changes */
-bool disturb_state;    /* Disturb whenever player state changes */
-bool disturb_minor;    /* Disturb whenever boring things happen */
-bool ring_bell;        /* Audible bell (on errors, etc) */
-bool disturb_trap_detect;      /* Disturb when leaving trap detected area */
-bool alert_trap_detect;        /* Alert when leaving trap detected area */
-
-
-/*** Birth Options ***/
-
-bool manual_haggle;    /* Manually haggle in stores */
-bool easy_band;        /* Easy Mode (*) */
-bool smart_learn;      /* Monsters learn from their mistakes (*) */
-bool smart_cheat;      /* Monsters exploit players weaknesses (*) */
-bool vanilla_town;     /* Use 'vanilla' town without quests and wilderness */
-bool lite_town;        /* Use 'lite' town without a wilderness */
-bool ironman_shops;    /* Stores are permanently closed (*) */
-bool ironman_small_levels;     /* Always create unusually small dungeon levels (*) */
-bool ironman_downward; /* Disable recall and use of up stairs (*) */
-bool ironman_empty_levels;     /* Always create empty 'arena' levels (*) */
-bool ironman_rooms;    /* Always generate very unusual rooms (*) */
-bool ironman_nightmare;        /* Nightmare mode(it isn't even remotely fair!)(*) */
-bool left_hander;      /* Left-Hander */
-bool preserve_mode;    /* Preserve artifacts (*) */
-bool autoroller;       /* Allow use of autoroller for stats (*) */
-bool autochara;        /* Autoroll for weight, height and social status */
-bool powerup_home;     /* Increase capacity of your home (*) */
-bool show_ammo_detail; /* Show Description of ammo damage */
-bool show_ammo_no_crit;        /* Show No-crit damage of ammo */
-bool show_ammo_crit_ratio;     /* Show critical ratio of ammo */
-
-
-
-
-/*** Easy Object Auto-Destroyer ***/
-
-bool destroy_items;    /* Use easy auto-destroyer */
-bool destroy_feeling;  /* Apply auto-destroy as sense feeling */
-bool destroy_identify; /* Apply auto-destroy as identify an item */
-bool leave_worth;      /* Auto-destroyer leaves known worthy items */
-bool leave_equip;      /* Auto-destroyer leaves weapons and armour */
-bool leave_chest;      /* Auto-destroyer leaves closed chests */
-bool leave_wanted;     /* Auto-destroyer leaves wanted corpses */
-bool leave_corpse;     /* Auto-destroyer leaves corpses and skeletons */
-bool leave_junk;       /* Auto-destroyer leaves junk */
-bool leave_special;    /* Auto-destroyer leaves items your race/class needs */
-
-
-/*** Play-record Options ***/
-
-bool record_fix_art;   /* Record fixed artifacts */
-bool record_rand_art;  /* Record random artifacts */
-bool record_destroy_uniq;      /* Record when destroy unique monster */
-bool record_fix_quest; /* Record fixed quests */
-bool record_rand_quest;        /* Record random quests */
-bool record_maxdepth;  /* Record movements to deepest level */
-bool record_stair;     /* Record recall and stair movements */
-bool record_buy;       /* Record purchased items */
-bool record_sell;      /* Record sold items */
-bool record_danger;    /* Record hitpoint warning */
-bool record_arena;     /* Record arena victories */
-bool record_ident;     /* Record first identified items */
-bool record_named_pet; /* Record informations of named pets */
-char record_o_name[MAX_NLEN];
-s32b record_turn;
-
-
-/* Cheating options */
-
-bool cheat_peek;       /* Peek into object creation */
-bool cheat_hear;       /* Peek into monster creation */
-bool cheat_room;       /* Peek into dungeon creation */
-bool cheat_xtra;       /* Peek into something else */
-bool cheat_know;       /* Know complete monster info */
-bool cheat_live;       /* Allow player to avoid death */
-bool cheat_save;       /* Ask for saving death */
-bool cheat_diary_output; /* Detailed info to diary */
-bool cheat_turn;       /* Peek turn */
-
-
-/* Special options */
-
-byte hitpoint_warn;    /* Hitpoint warning (0 to 9) */
-byte mana_warn;        /* Mana color (0 to 9) */
-
-byte delay_factor;     /* Delay factor (0 to 9) */
-
-bool autosave_l;       /* Autosave before entering new levels */
-bool autosave_t;       /* Timed autosave */
-s16b autosave_freq;     /* Autosave frequency */
-
 
 /*
  * Dungeon variables