newgame.cc File Reference

#include "AppHdr.h"
#include "newgame.h"
#include "cio.h"
#include "command.h"
#include "database.h"
#include "files.h"
#include "hints.h"
#include "initfile.h"
#include "itemname.h"
#include "itemprop.h"
#include "jobs.h"
#include "macro.h"
#include "makeitem.h"
#include "maps.h"
#include "menu.h"
#include "ng-input.h"
#include "ng-restr.h"
#include "options.h"
#include "random.h"
#include "religion.h"
#include "species.h"
#include "sprint.h"
#include "state.h"
#include "stuff.h"
#include "tutorial.h"

Include dependency graph for newgame.cc:


Typedefs

typedef std::pair< weapon_type,
char_choice_restriction
weapon_choice
typedef std::pair< god_type,
char_choice_restriction
god_choice

Enumerations

enum  MenuOptions {
  M_QUIT = -1, M_ABORT = -2, M_APTITUDES = -3, M_HELP = -4,
  M_VIABLE = -5, M_RANDOM = -6, M_VIABLE_CHAR = -7, M_RANDOM_CHAR = -8,
  M_DEFAULT_CHOICE = -9
}

Functions

undead_state_type get_undead_state (const species_type sp)
bool choose_game (newgame_def *ng, newgame_def *choice, const newgame_def &defaults)
int start_to_book (int firstbook, int booktype)
void make_rod (item_def &item, stave_type rod_type, int ncharges)
int start_to_wand (int wandtype, bool &is_rod)

Typedef Documentation


Enumeration Type Documentation

Enumerator:
M_QUIT 
M_ABORT 
M_APTITUDES 
M_HELP 
M_VIABLE 
M_RANDOM 
M_VIABLE_CHAR 
M_RANDOM_CHAR 
M_DEFAULT_CHOICE 


Function Documentation

bool choose_game ( newgame_def ng,
newgame_def choice,
const newgame_def defaults 
)

Here is the call graph for this function:

undead_state_type get_undead_state ( const species_type  sp  ) 

void make_rod ( item_def item,
stave_type  rod_type,
int  ncharges 
)

Here is the call graph for this function:

int start_to_book ( int  firstbook,
int  booktype 
)

int start_to_wand ( int  wandtype,
bool &  is_rod 
)


Generated on Thu Jan 13 13:17:05 2011 by  doxygen 1.5.6