OSDN Git Service

Merge branch 'master' of git.osdn.net:/gitroot/hengband/hengband
[hengband/hengband.git] / src / io / read-pref-file.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 extern char auto_dump_header[];
6 extern char auto_dump_footer[];
7
8 errr process_pref_file(player_type *creature_ptr, concptr name, void(*process_autopick_file_command)(char*));
9 errr process_autopick_file(player_type *creature_ptr, concptr name, void(*process_autopick_file_command)(char*));
10 errr process_histpref_file(player_type *creature_ptr, concptr name, void(*process_autopick_file_command)(char*));
11 bool read_histpref(player_type *creature_ptr, void (*process_autopick_file_command)(char *));
12
13 void auto_dump_printf(FILE *auto_dump_stream, concptr fmt, ...);
14 bool open_auto_dump(FILE **fpp, concptr buf, concptr mark);
15 void close_auto_dump(FILE **fpp, concptr auto_dump_mark);
16
17 void load_all_pref_files(player_type* player_ptr);