diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-03 11:48:10 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-03 11:48:10 +0000 |
commit | 64c579b2ffaaff8ff6aa49fac6520218d09ac559 (patch) | |
tree | 9d950cebf330b3d58173b954343da56d5f678a5e /crawl-ref/source/newgame.h | |
parent | c64f7db0025aeb9d0c0392271fb011053ff5d6cf (diff) | |
download | crawl-ref-64c579b2ffaaff8ff6aa49fac6520218d09ac559.tar.gz crawl-ref-64c579b2ffaaff8ff6aa49fac6520218d09ac559.zip |
Reintroduce parts of the old get_species_by_index to code to fix
misbehaviuor with wizmode-defined ghosts (doesn't really work anyway)
and (hopefully) the highscores.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3507 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/newgame.h')
-rw-r--r-- | crawl-ref/source/newgame.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/newgame.h b/crawl-ref/source/newgame.h index c3bf9f6fce..6fa34e55a1 100644 --- a/crawl-ref/source/newgame.h +++ b/crawl-ref/source/newgame.h @@ -26,6 +26,14 @@ const char *get_class_abbrev( int which_job ); const char *get_class_name( int which_job ); /* *********************************************************************** + * called from: debug and hiscores + * *********************************************************************** */ +int get_species_by_abbrev( const char *abbrev ); +int get_species_by_name( const char *name ); +int get_class_by_abbrev( const char *abbrev ); +int get_class_by_name( const char *name ); + +/* *********************************************************************** * called from: acr * *********************************************************************** */ bool new_game(); |