mutation.cc File Reference

#include "AppHdr.h"
#include "mutation.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sstream>
#include "libunix.h"
#include "externs.h"
#include "abl-show.h"
#include "cio.h"
#include "coordit.h"
#include "delay.h"
#include "defines.h"
#include "dgn-actions.h"
#include "effects.h"
#include "env.h"
#include "format.h"
#include "godabil.h"
#include "itemprop.h"
#include "macro.h"
#include "menu.h"
#include "mgen_data.h"
#include "mon-place.h"
#include "mon-iter.h"
#include "mon-stuff.h"
#include "mon-util.h"
#include "notes.h"
#include "ouch.h"
#include "player.h"
#include "player-stats.h"
#include "religion.h"
#include "random.h"
#include "skills2.h"
#include "stuff.h"
#include "transform.h"
#include "hints.h"
#include "xom.h"
#include "mutation-data.h"

Include dependency graph for mutation.cc:


Defines

#define MUTDATASIZE   (sizeof(mut_data)/sizeof(mutation_def))

Functions

void init_mut_index ()
bool is_valid_mutation (mutation_type mut)
bool is_body_facet (mutation_type mut)
const mutation_defget_mutation_def (mutation_type mut)
void fixup_mutations ()
bool mutation_is_fully_active (mutation_type mut)
formatted_string describe_mutations ()
void display_mutations ()
bool mutate (mutation_type which_mutation, bool failMsg, bool force_mutation, bool god_gift, bool stat_gain_potion, bool demonspawn)
bool delete_mutation (mutation_type which_mutation, bool failMsg, bool force_mutation, bool god_gift, bool disallow_mismatch)
bool delete_all_mutations ()
std::string mutation_name (mutation_type mut, int level, bool colour)
void roll_demonspawn_mutations ()
bool perma_mutate (mutation_type which_mut, int how_much)
int how_mutated (bool all, bool levels)
bool balance_demonic_guardian ()
void check_demonic_guardian ()
void check_antennae_detect ()
int handle_pbd_corpses (bool do_rot)

Variables

mutation_def mut_data []

Define Documentation

#define MUTDATASIZE   (sizeof(mut_data)/sizeof(mutation_def))


Function Documentation

bool balance_demonic_guardian (  ) 

Here is the call graph for this function:

void check_antennae_detect (  ) 

Here is the call graph for this function:

void check_demonic_guardian (  ) 

Here is the call graph for this function:

bool delete_all_mutations (  ) 

Here is the call graph for this function:

bool delete_mutation ( mutation_type  which_mutation,
bool  failMsg,
bool  force_mutation,
bool  god_gift,
bool  disallow_mismatch 
)

Here is the call graph for this function:

formatted_string describe_mutations (  ) 

Here is the call graph for this function:

void display_mutations (  ) 

Here is the call graph for this function:

void fixup_mutations (  ) 

Here is the call graph for this function:

const mutation_def& get_mutation_def ( mutation_type  mut  ) 

Here is the call graph for this function:

int handle_pbd_corpses ( bool  do_rot  ) 

Here is the call graph for this function:

int how_mutated ( bool  all,
bool  levels 
)

void init_mut_index (  ) 

bool is_body_facet ( mutation_type  mut  ) 

bool is_valid_mutation ( mutation_type  mut  ) 

bool mutate ( mutation_type  which_mutation,
bool  failMsg,
bool  force_mutation,
bool  god_gift,
bool  stat_gain_potion,
bool  demonspawn 
)

Here is the call graph for this function:

bool mutation_is_fully_active ( mutation_type  mut  ) 

Here is the call graph for this function:

std::string mutation_name ( mutation_type  mut,
int  level,
bool  colour 
)

Here is the call graph for this function:

bool perma_mutate ( mutation_type  which_mut,
int  how_much 
)

Here is the call graph for this function:

void roll_demonspawn_mutations (  ) 


Variable Documentation


Generated on Thu Jan 13 13:16:56 2011 by  doxygen 1.5.6