summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-23 20:22:17 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-23 20:30:14 +0200
commitbea4408fe95cd8660cafc4dbedba321ebc4f0b12 (patch)
tree48a93386188ed565359d1a62c4f464f89bed6c7b /crawl-ref/source/newgame.h
parent99a646377ec4f88d4cdea7b18ea8e49dbb1d6516 (diff)
downloadcrawl-ref-bea4408fe95cd8660cafc4dbedba321ebc4f0b12.tar.gz
crawl-ref-bea4408fe95cd8660cafc4dbedba321ebc4f0b12.zip
Moving data out of newgame.cc.
Also move species<->string translation from player.cc to species.cc.
Diffstat (limited to 'crawl-ref/source/newgame.h')
-rw-r--r--crawl-ref/source/newgame.h23
1 files changed, 3 insertions, 20 deletions
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);
/* ***********************************************************************