diff options
Diffstat (limited to 'engines/cge2/cge2.h')
-rw-r--r-- | engines/cge2/cge2.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/cge2/cge2.h b/engines/cge2/cge2.h index 4b505cb5cb..59eef76989 100644 --- a/engines/cge2/cge2.h +++ b/engines/cge2/cge2.h @@ -48,6 +48,7 @@ class V2D; class Dac; class Spare; class CommandHandler; +class InfoLine; #define kScrWidth 320 #define kScrHeight 240 @@ -65,6 +66,20 @@ enum CallbackType { kNullCB = 0, kQGame, kMiniStep, kXScene, kSoundSetVolume }; +class Font { + char _path[kPathMax]; + void load(); + CGE2Engine *_vm; +public: + uint8 *_widthArr; + uint16 *_pos; + uint8 *_map; + Font(CGE2Engine *vm, const char *name); + ~Font(); + uint16 width(const char *text); + void save(); +}; + class CGE2Engine : public Engine { public: CGE2Engine(OSystem *syst, const ADGameDescription *gameDescription); @@ -127,6 +142,7 @@ public: V3D *_eyeTab[kCaveMax]; Spare *_spare; CommandHandler *_commandHandler; + InfoLine *_infoLine; private: void init(); void deinit(); |