diff options
author | Strangerke | 2011-09-15 07:58:31 +0200 |
---|---|---|
committer | Strangerke | 2011-09-15 08:00:54 +0200 |
commit | c99310820720714083b34d7d01080c54c977eb75 (patch) | |
tree | e7ebfefba735fd1934373817f63f678130726676 /engines/cge/talk.h | |
parent | fc6fce22212fad5a9c8d15f0b8649eed3b0104b4 (diff) | |
download | scummvm-rg350-c99310820720714083b34d7d01080c54c977eb75.tar.gz scummvm-rg350-c99310820720714083b34d7d01080c54c977eb75.tar.bz2 scummvm-rg350-c99310820720714083b34d7d01080c54c977eb75.zip |
CGE: Transform some static and globals into class members
Diffstat (limited to 'engines/cge/talk.h')
-rw-r--r-- | engines/cge/talk.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/engines/cge/talk.h b/engines/cge/talk.h index 23ef9c9c07..dcccc5e20e 100644 --- a/engines/cge/talk.h +++ b/engines/cge/talk.h @@ -44,23 +44,9 @@ namespace CGE { #define kMapSize (256*8) #define kFontHigh 8 #define kFontExt ".CFT" -#define kPathMax 128 enum TextBoxStyle { kTBPure, kTBRect, kTBRound }; -class Font { - char _path[kPathMax]; - void load(); -public: - uint8 *_widthArr; - uint16 *_pos; - uint8 *_map; - Font(const char *name); - ~Font(); - uint16 width(const char *text); - void save(); -}; - class Talk : public Sprite { protected: TextBoxStyle _mode; @@ -71,10 +57,6 @@ public: Talk(CGEEngine *vm); //~TALK(); - static Font *_font; - static void init(); - static void deinit(); - virtual void update(const char *text); virtual void update() {} void putLine(int line, const char *text); |