aboutsummaryrefslogtreecommitdiff
path: root/engines/chewy/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/chewy/resource.h')
-rw-r--r--engines/chewy/resource.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/chewy/resource.h b/engines/chewy/resource.h
index 04a0598803..6d2126c1e6 100644
--- a/engines/chewy/resource.h
+++ b/engines/chewy/resource.h
@@ -32,6 +32,7 @@
#include "common/hash-str.h"
#include "common/random.h"
#include "common/stream.h"
+#include "graphics/surface.h"
namespace Chewy {
@@ -185,6 +186,19 @@ public:
Common::SeekableReadStream *getVideoStream(uint num);
};
+class Font {
+public:
+ Font(Common::String filename);
+ virtual ~Font();
+
+ ::Graphics::Surface *getLine(Common::String text);
+
+private:
+ uint16 _count, _first, _last, _width, _height;
+
+ ::Graphics::Surface _fontSurface;
+};
+
} // End of namespace Chewy
#endif