summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index 7dbdcbe9eb..e6dee9a54d 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -681,13 +681,6 @@ public:
void init();
- bool is_valid() const;
- std::string short_desc() const;
-
- // For sorting
- bool operator < (const player &p) const;
-
-public:
// Low-level move the player to (x, y). Use these functions instead of
// changing x_pos and y_pos directly.
void moveto(int x, int y);
@@ -814,6 +807,19 @@ public:
extern player you;
+struct player_save_info
+{
+ std::string name;
+ unsigned long experience;
+ int experience_level;
+ bool wizard;
+ species_type species;
+ std::string class_name;
+ player_save_info operator=(const player& rhs);
+ bool operator<(const player_save_info& rhs) const;
+ std::string short_desc() const;
+};
+
class monster_spells : public FixedVector<spell_type, NUM_MONSTER_SPELL_SLOTS>
{
public: