blob: 76d821f2c414297832bea3b56d9ded69531140aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
/*
* File: mutation.cc
* Summary: Functions for handling player mutations.
* Written by: Linley Henzell
*
* Modified for Crawl Reference by $Author$ on $Date$
*
* Change History (most recent first):
*
* <1> -/--/-- LRH Created
*/
#ifndef MUTATION_H
#define MUTATION_H
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: acr - decks - effects - fight - food - it_use2 - items -
* mutation - religion - spell - spells
* *********************************************************************** */
bool mutate(int which_mutation, bool failMsg = true);
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: acr
* *********************************************************************** */
void display_mutations(void);
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: decks - it_use2 - mutation - spells
* *********************************************************************** */
bool delete_mutation(int which_mutation);
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: chardump
* *********************************************************************** */
// default of level == -1, means to use the player's current level
const char *mutation_name( int which_mutat, int level = -1 );
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: religion
* *********************************************************************** */
bool give_good_mutation( bool failMsg = true );
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: items - religion
* *********************************************************************** */
bool give_cosmetic_mutation( void );
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: items - spells
* *********************************************************************** */
bool give_bad_mutation( bool forceMutation = false, bool failMsg = true );
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: player
* *********************************************************************** */
void demonspawn(void);
#endif
|