summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-tab.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-01-08 00:48:05 +0100
committerRaphael Langella <raphael.langella@gmail.com>2011-01-08 00:48:05 +0100
commit992a0ca00dcb1cf33bcee7c013a7a5037d9e07b1 (patch)
treec09a29cbcf21f0ac27b7a58f3b267a2ea6fbfe65 /crawl-ref/source/tilereg-tab.h
parent7499eb241985446946244349949b532118a7f2dc (diff)
downloadcrawl-ref-992a0ca00dcb1cf33bcee7c013a7a5037d9e07b1.tar.gz
crawl-ref-992a0ca00dcb1cf33bcee7c013a7a5037d9e07b1.zip
Add a tile_layout_priority option.
Fully customizable detached tabs. It is even possible to detach the skill and memorisation tabs. I haven't put it in the documentation as it is quite useless and the text is already quite long. I also put a TAG_MAJOR_VERSION condition in the skill enum so NUM_SKILL actually does give the number of skills in the next major bumb.
Diffstat (limited to 'crawl-ref/source/tilereg-tab.h')
-rw-r--r--crawl-ref/source/tilereg-tab.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/tilereg-tab.h b/crawl-ref/source/tilereg-tab.h
index 4d68eb80a0..44aa3e951a 100644
--- a/crawl-ref/source/tilereg-tab.h
+++ b/crawl-ref/source/tilereg-tab.h
@@ -27,11 +27,13 @@ public:
void set_tab_region(int idx, GridRegion *reg, tileidx_t tile_tab);
GridRegion *get_tab_region(int idx);
+ tileidx_t get_tab_tile(int idx);
void activate_tab(int idx);
int active_tab() const;
int num_tabs() const;
void enable_tab(int idx);
void disable_tab(int idx);
+ int find_tab(std::string tab_name) const;
virtual void update();
virtual void clear();