1 #include "birth/birth-util.h"
2 #include "cmd-io/cmd-gameoption.h"
3 #include "core/show-file.h"
4 #include "main/sound-of-music.h"
5 #include "system/game-option-types.h"
6 #include "term/screen-processor.h"
9 * @brief プレイヤー作成を中断して変愚蛮怒を終了する
17 * @brief 指定されたヘルプファイルを表示する / Show specific help file
18 * @param creature_ptr プレーヤーへの参照ポインタ
19 * @param helpfile ファイル名
21 void show_help(player_type* creature_ptr, concptr helpfile)
24 (void)show_file(creature_ptr, true, helpfile, NULL, 0, 0);
28 void birth_help_option(player_type *creature_ptr, char c, birth_kind bk)
33 help_file = _("jraceclas.txt#TheRaces", "raceclas.txt#TheRaces");
36 help_file = _("jraceclas.txt#TheClasses", "raceclas.txt#TheClasses");
39 help_file = _("jmagic.txt#MagicRealms", "magic.txt#MagicRealms");
42 help_file = _("jraceclas.txt#ThePersonalities", "raceclas.txt#ThePersonalities");
45 help_file = _("jbirth.txt#AutoRoller", "birth.txt#AutoRoller");
53 show_help(creature_ptr, help_file);
54 } else if (c == '=') {
56 do_cmd_options_aux(creature_ptr, OPT_PAGE_BIRTH, _("初期オプション((*)はスコアに影響)", "Birth Options ((*)) affect score"));
58 } else if (c != '2' && c != '4' && c != '6' && c != '8')