summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/species.h
blob: 03709311fafd95cd7ae95976f34f44107b4c7abc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef SPECIES_H
#define SPECIES_H

// from newgame.cc
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);
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);

#endif