#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"
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_def & | get_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 MUTDATASIZE (sizeof(mut_data)/sizeof(mutation_def)) |
bool balance_demonic_guardian | ( | ) |
void check_antennae_detect | ( | ) |
void check_demonic_guardian | ( | ) |
bool delete_all_mutations | ( | ) |
bool delete_mutation | ( | mutation_type | which_mutation, | |
bool | failMsg, | |||
bool | force_mutation, | |||
bool | god_gift, | |||
bool | disallow_mismatch | |||
) |
formatted_string describe_mutations | ( | ) |
void display_mutations | ( | ) |
void fixup_mutations | ( | ) |
const mutation_def& get_mutation_def | ( | mutation_type | mut | ) |
int handle_pbd_corpses | ( | bool | do_rot | ) |
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 | |||
) |
bool mutation_is_fully_active | ( | mutation_type | mut | ) |
std::string mutation_name | ( | mutation_type | mut, | |
int | level, | |||
bool | colour | |||
) |
bool perma_mutate | ( | mutation_type | which_mut, | |
int | how_much | |||
) |
void roll_demonspawn_mutations | ( | ) |