diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-23 19:17:05 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-23 20:30:14 +0200 |
commit | 4c378295ed83f92f9b7fcbd71f1d2c1a0ad48744 (patch) | |
tree | acd6b6367d5273c841b1da5f32931ebf97b7d425 /crawl-ref/source/species.h | |
parent | 921c44bb1d1e0ddea50fffe518a214f626a9d11b (diff) | |
download | crawl-ref-4c378295ed83f92f9b7fcbd71f1d2c1a0ad48744.tar.gz crawl-ref-4c378295ed83f92f9b7fcbd71f1d2c1a0ad48744.zip |
Use species_type/job_type instead of int.
Diffstat (limited to 'crawl-ref/source/species.h')
-rw-r--r-- | crawl-ref/source/species.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/species.h b/crawl-ref/source/species.h index 03709311fa..d84219847c 100644 --- a/crawl-ref/source/species.h +++ b/crawl-ref/source/species.h @@ -5,15 +5,15 @@ species_type get_species(const int index); species_type random_draconian_player_species(); int ng_num_species(); -int get_species_by_abbrev(const char *abbrev); -const char *get_species_abbrev(int which_species); +species_type get_species_by_abbrev(const char *abbrev); +const char *get_species_abbrev(species_type which_species); int get_species_index_by_abbrev(const char *abbrev); int get_species_index_by_name(const char *name); // from player.cc -std::string species_name( species_type speci, int level, bool genus = false, - bool adj = false ); -int str_to_species(const std::string &species); +std::string species_name(species_type speci, int level, bool genus = false, + bool adj = false); +species_type str_to_species(const std::string &species); #endif |