From eda188d2d5045e9fb02c416261d72a3c31b9cf57 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 27 Oct 2009 15:18:53 +0100 Subject: Move monster_pane_info out into mon-info.cc and rename. I plan to use monster_info to get monster data out to the player safely via Lua. --- crawl-ref/source/output.h | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'crawl-ref/source/output.h') diff --git a/crawl-ref/source/output.h b/crawl-ref/source/output.h index b85ca68766..7c443c9ff8 100644 --- a/crawl-ref/source/output.h +++ b/crawl-ref/source/output.h @@ -60,28 +60,5 @@ void print_overview_screen(void); std::string dump_overview_screen(bool full_id); -// Monster info used by the pane; precomputes some data -// to help with sorting and rendering. -class monster_pane_info -{ - public: - static bool less_than(const monster_pane_info& m1, - const monster_pane_info& m2, bool zombified = true); - - static bool less_than_wrapper(const monster_pane_info& m1, - const monster_pane_info& m2); - - monster_pane_info(const monsters* m); - - void to_string(int count, std::string& desc, int& desc_color) const; - - const monsters* m_mon; - mon_attitude_type m_attitude; - int m_difficulty; - int m_brands; - bool m_fullname; -}; - -void get_monster_pane_info(std::vector& mons); #endif -- cgit v1.2.3-54-g00ecf