#include <string>#include <cstdio>#include "enum.h"


Go to the source code of this file.
Classes | |
| struct | system_environment |
| class | InitLineInput |
| class | FileLineInput |
| class | StringLineInput |
Enumerations | |
| enum | drop_mode_type { DM_SINGLE, DM_MULTI } |
Functions | |
| int | str_to_summon_type (const std::string &str) |
| std::string | gametype_to_str (game_type type) |
| std::string | read_init_file (bool runscript=false) |
| newgame_def | read_startup_prefs () |
| void | read_options (FILE *f, bool runscript=false) |
| void | read_options (const std::string &s, bool runscript=false, bool clear_aliases=false) |
| void | parse_option_line (const std::string &line, bool runscript=false) |
| void | apply_ascii_display (bool ascii) |
| void | get_system_environment (void) |
| bool | parse_args (int argc, char **argv, bool rc_only) |
| void | write_newgame_options_file (const newgame_def &prefs) |
| void | save_player_name (void) |
| std::string | channel_to_str (int ch) |
| int | str_to_channel (const std::string &) |
Variables | |
| system_environment | SysEnv |
| enum drop_mode_type |
| void apply_ascii_display | ( | bool | ascii | ) |
| std::string channel_to_str | ( | int | ch | ) |
| std::string gametype_to_str | ( | game_type | type | ) |
| void get_system_environment | ( | void | ) |
| bool parse_args | ( | int | argc, | |
| char ** | argv, | |||
| bool | rc_only | |||
| ) |

| void parse_option_line | ( | const std::string & | line, | |
| bool | runscript = false | |||
| ) |
| std::string read_init_file | ( | bool | runscript = false |
) |

| void read_options | ( | const std::string & | s, | |
| bool | runscript = false, |
|||
| bool | clear_aliases = false | |||
| ) |

| void read_options | ( | FILE * | f, | |
| bool | runscript = false | |||
| ) |

| newgame_def read_startup_prefs | ( | ) |

| void save_player_name | ( | void | ) |

| int str_to_channel | ( | const std::string & | ) |
| int str_to_summon_type | ( | const std::string & | str | ) |

| void write_newgame_options_file | ( | const newgame_def & | prefs | ) |

1.5.6