diff options
author | Vladimir Menshakov | 2010-03-18 22:35:58 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2010-03-18 22:35:58 +0000 |
commit | 77411ff0f9356036bb45720ff98df951492600d1 (patch) | |
tree | e2c5c76e326667158ed43e3bb6d3f66a2d90bc23 /engines/teenagent/font.h | |
parent | 3f2057226f438244b8b7b84bcb5fc41040bd9339 (diff) | |
download | scummvm-rg350-77411ff0f9356036bb45720ff98df951492600d1.tar.gz scummvm-rg350-77411ff0f9356036bb45720ff98df951492600d1.tar.bz2 scummvm-rg350-77411ff0f9356036bb45720ff98df951492600d1.zip |
added abstract Pack class, moved code into FilePack and MemoryPack
svn-id: r48292
Diffstat (limited to 'engines/teenagent/font.h')
-rw-r--r-- | engines/teenagent/font.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/teenagent/font.h b/engines/teenagent/font.h index 6961c21676..e08a3513af 100644 --- a/engines/teenagent/font.h +++ b/engines/teenagent/font.h @@ -29,13 +29,14 @@ namespace TeenAgent { +class Pack; class Font { public: byte grid_color, shadow_color; byte height, width_pack; Font(); - void load(int id); + void load(const Pack &pack, int id); uint render(Graphics::Surface *surface, int x, int y, const Common::String &str, byte color, bool grid = false); uint render(Graphics::Surface *surface, int x, int y, char c, byte color); static void grid(Graphics::Surface *surface, int x, int y, int w, int h, byte color); |