From bea4408fe95cd8660cafc4dbedba321ebc4f0b12 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Fri, 23 Oct 2009 20:22:17 +0200 Subject: Moving data out of newgame.cc. Also move species<->string translation from player.cc to species.cc. --- crawl-ref/source/newgame.h | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) (limited to 'crawl-ref/source/newgame.h') diff --git a/crawl-ref/source/newgame.h b/crawl-ref/source/newgame.h index 4dc9446073..bb3feb5dbd 100644 --- a/crawl-ref/source/newgame.h +++ b/crawl-ref/source/newgame.h @@ -8,6 +8,9 @@ #ifndef NEWGAME_H #define NEWGAME_H + +#include "itemprop.h" + enum death_knight_type { DK_NO_SELECTION, @@ -37,26 +40,6 @@ enum startup_wand_type SWT_RANDOM }; -/* *********************************************************************** - * called from: initfile - * *********************************************************************** */ -int get_species_index_by_abbrev(const char *abbrev); -int get_species_index_by_name(const char *name); -const char *get_species_abbrev(int which_species); - -int get_class_index_by_abbrev(const char *abbrev); -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 ); - undead_state_type get_undead_state(const species_type sp); /* *********************************************************************** -- cgit v1.2.3-54-g00ecf