From 64c579b2ffaaff8ff6aa49fac6520218d09ac559 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 3 Mar 2008 11:48:10 +0000 Subject: 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 --- crawl-ref/source/newgame.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crawl-ref/source/newgame.h') 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 @@ -25,6 +25,14 @@ int get_class_index_by_name( const char *name ); 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 * *********************************************************************** */ -- cgit v1.2.3-54-g00ecf