diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-11-13 08:48:01 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-11-13 08:48:01 -0500 |
commit | 180733d411b0844e878574e4c9f9b34690510367 (patch) | |
tree | d11e9001657ab278c6cc33d520444be5c5207969 /include | |
parent | 1177a2ec843533b76fa9bd8573686f684103075c (diff) |
major font fixes
Diffstat (limited to 'include')
-rw-r--r-- | include/ui.h | 4 | ||||
-rw-r--r-- | include/world.h | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/include/ui.h b/include/ui.h index 6fafb17..c3c8940 100644 --- a/include/ui.h +++ b/include/ui.h @@ -42,10 +42,10 @@ namespace ui { void setFontSize(unsigned int size); /* - * Draws a string of text at the given coordinates. + * Draw a centered string. */ - float putString(const float x,const float y,const char *s); + float putStringCentered(const float x,const float y,const char *s); /* * Draws a formatted string at the given coordinates. diff --git a/include/world.h b/include/world.h index cb40ef6..fffdb9d 100644 --- a/include/world.h +++ b/include/world.h @@ -182,6 +182,14 @@ public: void draw(Player *p); // Draws the world (ignores layers) }; +class Arena : public World { +private: + World *exit; +public: + void drawDoor(void); + World *exitArena(void); +}; + extern int worldShade; #endif // WORLD_H |