diff options
Diffstat (limited to 'saga/font.h')
-rw-r--r-- | saga/font.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/saga/font.h b/saga/font.h index 9ef83bb50f..46d6d229a3 100644 --- a/saga/font.h +++ b/saga/font.h @@ -76,7 +76,6 @@ public: } }; - struct FontHeader { int charHeight; int charWidth; @@ -106,6 +105,7 @@ class Font { public: Font(SagaEngine *vm); ~Font(void); + FontData *getFont(FontId fontId); int getStringWidth(FontId fontId, const char *text, size_t count, FontEffectFlags flags); int getHeight(FontId fontId); int getHeight(FontId fontId, const char *text, int width, FontEffectFlags flags); @@ -124,7 +124,6 @@ class Font { } private: - void loadFont(uint32 fontResourceId); void createOutline(FontData *font); void draw(FontId fontId, Surface *ds, const char *text, size_t count, const Common::Point &point, int color, int effectColor, FontEffectFlags flags); @@ -139,7 +138,6 @@ class Font { return byteLength; } - static const int _charMap[256]; SagaEngine *_vm; |