|
static void | remove_auto_dump (cptr orig_file) |
| prf出力内容を消去する / Remove old lines automatically generated before. [詳細]
|
|
static void | auto_dump_printf (cptr fmt,...) |
| prfファイルのフォーマットに従った内容を出力する / Dump a formatted line, using "vstrnfmt()". [詳細]
|
|
static bool | open_auto_dump (cptr buf, cptr mark) |
| prfファイルをファイルオープンする / Open file to append auto dump. [詳細]
|
|
static void | close_auto_dump (void) |
| prfファイルをファイルクローズする / Append foot part and close auto dump. [詳細]
|
|
cptr | get_ordinal_number_suffix (int num) |
| Return suffix of ordinal number. [詳細]
|
|
errr | do_cmd_write_nikki (int type, int num, cptr note) |
| 日記にメッセージを追加する / Take note to the diary. [詳細]
|
|
static void | do_cmd_disp_nikki (void) |
| 日記のタイトル表記と内容出力 / [詳細]
|
|
static void | do_cmd_bunshou (void) |
| 日記に任意の内容を表記するコマンドのメインルーチン / [詳細]
|
|
static void | do_cmd_last_get (void) |
| 最後に取得したアイテムの情報を日記に追加するメインルーチン / [詳細]
|
|
static void | do_cmd_erase_nikki (void) |
| ファイル中の全日記記録を消去する / [詳細]
|
|
void | do_cmd_nikki (void) |
| 日記コマンド [詳細]
|
|
void | do_cmd_redraw (void) |
| 画面を再描画するコマンドのメインルーチン Hack – redraw the screen [詳細]
|
|
void | do_cmd_change_name (void) |
| 名前を変更するコマンドのメインルーチン Hack – change name [詳細]
|
|
void | do_cmd_message_one (void) |
| 最近表示されたメッセージを再表示するコマンドのメインルーチン Recall the most recent message [詳細]
|
|
void | do_cmd_messages (int num_now) |
| メッセージのログを表示するコマンドのメインルーチン Recall the most recent message [詳細]
|
|
static void | do_cmd_options_cheat (cptr info) |
| チートオプションを変更するコマンドのメインルーチン Interact with some options for cheating [詳細]
|
|
static s16b | toggle_frequency (s16b current) |
| セーブ頻度ターンの次の値を返す [詳細]
|
|
static void | do_cmd_options_autosave (cptr info) |
| 自動セーブオプションを変更するコマンドのメインルーチン [詳細]
|
|
void | do_cmd_options_aux (int page, cptr info) |
| 標準オプションを変更するコマンドのサブルーチン / Interact with some options [詳細]
|
|
static void | do_cmd_options_win (void) |
| ウィンドウオプションを変更するコマンドのメインルーチン / Modify the "window" options [詳細]
|
|
void | do_cmd_options (void) |
| 標準オプションを変更するコマンドのメインルーチン / Set or unset various options. [詳細]
|
|
void | do_cmd_pref (void) |
| prefファイルを選択して処理する / Ask for a "user pref line" and process it [詳細]
|
|
void | do_cmd_reload_autopick (void) |
| 自動拾い設定ファイルをロードするコマンドのメインルーチン / [詳細]
|
|
static errr | macro_dump (cptr fname) |
| マクロ情報をprefファイルに保存する / [詳細]
|
|
static void | do_cmd_macro_aux (char *buf) |
| マクロのトリガーキーを取得する / Hack – ask for a "trigger" (see below) [詳細]
|
|
static void | do_cmd_macro_aux_keymap (char *buf) |
| マクロのキー表記からアスキーコードを得てターミナルに表示する / Hack – ask for a keymap "trigger" (see below) [詳細]
|
|
static errr | keymap_dump (cptr fname) |
| キーマップをprefファイルにダンプする / Hack – append all keymaps to the given file [詳細]
|
|
void | do_cmd_macros (void) |
| マクロを設定するコマンドのメインルーチン / Interact with "macros" [詳細]
|
|
static bool | cmd_visuals_aux (int i, int *num, int max) |
| キャラクタのビジュアルIDを変更する際の対象指定関数 [詳細]
|
|
static void | print_visuals_menu (cptr choice_msg) |
| キャラクタの変更メニュー表示 [詳細]
|
|
static void | do_cmd_knowledge_monsters (bool *need_redraw, bool visual_only, int direct_r_idx) |
|
static void | do_cmd_knowledge_objects (bool *need_redraw, bool visual_only, int direct_k_idx) |
|
static void | do_cmd_knowledge_features (bool *need_redraw, bool visual_only, int direct_f_idx, int *lighting_level) |
|
void | do_cmd_visuals (void) |
|
void | do_cmd_colors (void) |
|
void | do_cmd_note (void) |
|
void | do_cmd_version (void) |
|
void | do_cmd_feeling (void) |
|
static bool | ang_sort_comp_monster_level (vptr u, vptr v, int a, int b) |
|
static int | collect_monsters (int grp_cur, s16b mon_idx[], byte mode) |
|
static int | collect_objects (int grp_cur, int object_idx[], byte mode) |
|
static int | collect_features (int grp_cur, int *feat_idx, byte mode) |
|
void | do_cmd_load_screen (void) |
|
static void | do_cmd_knowledge_inven_aux (FILE *fff, object_type *o_ptr, int *j, byte tval, char *where) |
|
static void | do_cmd_knowledge_inven (void) |
|
void | do_cmd_save_screen_html_aux (char *filename, int message) |
|
static void | do_cmd_save_screen_html (void) |
|
void | do_cmd_save_screen (void) |
|
static bool | ang_sort_art_comp (vptr u, vptr v, int a, int b) |
|
static void | ang_sort_art_swap (vptr u, vptr v, int a, int b) |
|
static void | do_cmd_knowledge_artifacts (void) |
|
static void | do_cmd_knowledge_uniques (void) |
|
static void | do_cmd_knowledge_weapon_exp (void) |
|
static void | do_cmd_knowledge_spell_exp (void) |
| 魔法の経験値を表示するコマンドのメインルーチン Display spell-exp [詳細]
|
|
static void | do_cmd_knowledge_skill_exp (void) |
| スキル情報を表示するコマンドのメインルーチン / Display skill-exp [詳細]
|
|
void | plural_aux (char *Name) |
| 英単語、句、説を複数形を変換する / Pluralize a monster name [詳細]
|
|
static void | do_cmd_knowledge_pets (void) |
| 現在のペットを表示するコマンドのメインルーチン / Display current pets [詳細]
|
|
static void | do_cmd_knowledge_kill_count (void) |
| 現在のペットを表示するコマンドのメインルーチン / Total kill count [詳細]
|
|
static void | display_group_list (int col, int row, int wid, int per_page, int grp_idx[], cptr group_text[], int grp_cur, int grp_top) |
| モンスター情報リスト中のグループを表示する / Display the object groups. [詳細]
|
|
static void | browser_cursor (char ch, int *column, int *grp_cur, int grp_cnt, int *list_cur, int list_cnt) |
|
static void | display_visual_list (int col, int row, int height, int width, byte attr_top, byte char_left) |
|
static void | place_visual_list_cursor (int col, int row, byte a, byte c, byte attr_top, byte char_left) |
|
static bool | visual_mode_command (char ch, bool *visual_list_ptr, int height, int width, byte *attr_top_ptr, byte *char_left_ptr, byte *cur_attr_ptr, byte *cur_char_ptr, bool *need_redraw) |
|
static void | display_monster_list (int col, int row, int per_page, s16b mon_idx[], int mon_cur, int mon_top, bool visual_only) |
|
static void | display_object_list (int col, int row, int per_page, int object_idx[], int object_cur, int object_top, bool visual_only) |
|
static void | desc_obj_fake (int k_idx) |
|
static void | display_feature_list (int col, int row, int per_page, int *feat_idx, int feat_cur, int feat_top, bool visual_only, int lighting_level) |
|
static void | do_cmd_knowledge_kubi (void) |
|
static void | do_cmd_knowledge_virtues (void) |
|
static void | do_cmd_knowledge_dungeon (void) |
|
static void | do_cmd_knowledge_stat (void) |
|
static void | do_cmd_knowledge_quests_current (FILE *fff) |
|
static bool | do_cmd_knowledge_quests_aux (FILE *fff, int q_idx) |
|
void | do_cmd_knowledge_quests_completed (FILE *fff, int quest_num[]) |
|
void | do_cmd_knowledge_quests_failed (FILE *fff, int quest_num[]) |
|
static void | do_cmd_knowledge_quests_wiz_random (FILE *fff) |
|
bool | ang_sort_comp_quest_num (vptr u, vptr v, int a, int b) |
|
void | ang_sort_swap_quest_num (vptr u, vptr v, int a, int b) |
|
static void | do_cmd_knowledge_quests (void) |
|
static void | do_cmd_knowledge_home (void) |
|
static void | do_cmd_knowledge_autopick (void) |
|
void | do_cmd_knowledge (void) |
|
void | do_cmd_checkquest (void) |
|
void | do_cmd_time (void) |
|
プレイヤーのインターフェイスに関するコマンドの実装 / Interface commands
- 日付
- 2014/01/02
- 作者
Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
This software may be copied and distributed for educational, research,
and not for profit purposes provided that this copyright and statement
are included in all such copies. Other copyrights may also apply.
A set of functions to maintain automatic dumps of various kinds.
-Mogami-
remove_auto_dump(orig_file, mark)
Remove the old automatic dump of type "mark".
auto_dump_printf(fmt, ...)
Dump a formatted string using fprintf().
open_auto_dump(buf, mark)
Open a file, remove old dump, and add new header.
close_auto_dump(void)
Add a footer, and close the file.
The dump commands of original Angband simply add new lines to
existing files; these files will become bigger and bigger unless
an user deletes some or all of these files by hand at some
point.
These three functions automatically delete old dumped lines
before adding new ones. Since there are various kinds of automatic
dumps in a single file, we add a header and a footer with a type
name for every automatic dump, and kill old lines only when the
lines have the correct type of header and footer.
We need to be quite paranoid about correctness; the user might
(mistakenly) edit the file by hand, and see all their work come
to nothing on the next auto dump otherwise. The current code only
detects changes by noting inconsistencies between the actual number
of lines and the number written in the footer. Note that this will
not catch single-line edits.