initfile.h File Reference

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

Include dependency graph for initfile.h:

This graph shows which files directly or indirectly include this file:

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


Enumeration Type Documentation

Enumerator:
DM_SINGLE 
DM_MULTI 


Function Documentation

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 
)

Here is the call graph for this function:

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

std::string read_init_file ( bool  runscript = false  ) 

Here is the call graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:

newgame_def read_startup_prefs (  ) 

Here is the call graph for this function:

void save_player_name ( void   ) 

Here is the call graph for this function:

int str_to_channel ( const std::string  ) 

int str_to_summon_type ( const std::string str  ) 

Here is the call graph for this function:

void write_newgame_options_file ( const newgame_def prefs  ) 

Here is the call graph for this function:


Variable Documentation


Generated on Thu Jan 13 13:06:31 2011 by  doxygen 1.5.6