summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r--crawl-ref/source/player.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index dd12489769..51fbb3da85 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -79,8 +79,8 @@ bool wearing_amulet(char which_am, bool calc_unid = true);
/* ***********************************************************************
* called from: acr - chardump - describe - newgame - view
* *********************************************************************** */
-std::string species_name( int speci, int level, bool genus = false,
- bool adj = false, bool cap = true );
+std::string species_name( species_type speci, int level,
+ bool genus = false, bool adj = false);
int str_to_species(const std::string &species);
/* ***********************************************************************
@@ -298,7 +298,7 @@ void gain_exp(unsigned int exp_gained, unsigned int* actual_gain = NULL,
* misc - stuff
* *********************************************************************** */
void modify_stat(stat_type which_stat, char amount, bool suppress_msg,
- const std::string cause, bool see_source = true);
+ const std::string& cause, bool see_source = true);
void modify_stat(stat_type which_stat, char amount, bool suppress_msg,
const char* cause, bool see_source = true);
void modify_stat(stat_type which_stat, char amount, bool suppress_msg,
@@ -324,8 +324,8 @@ void redraw_skill(const std::string &your_name, const std::string &class_name);
* called from: ability - fight - item_use - mutation - newgame - spells0 -
* transfor
* *********************************************************************** */
-bool player_genus( unsigned char which_genus,
- unsigned char species = SP_UNKNOWN );
+bool player_genus( genus_type which_genus,
+ species_type species = SP_UNKNOWN );
bool you_can_wear( int eq, bool special_armour = false );
bool you_tran_can_wear( int eq, bool check_mutation = false );