diff options
author | Strangerke | 2011-07-24 23:42:03 +0200 |
---|---|---|
committer | Strangerke | 2011-07-24 23:42:03 +0200 |
commit | 82adc025ea451f1fce2c0e0eed03d6e48a51e152 (patch) | |
tree | 71e656cefd40b125bc5043b7f5e96f2fe280f603 /engines/cge/talk.h | |
parent | c728a53148d436cfebb33d58a75f3146980a39e0 (diff) | |
download | scummvm-rg350-82adc025ea451f1fce2c0e0eed03d6e48a51e152.tar.gz scummvm-rg350-82adc025ea451f1fce2c0e0eed03d6e48a51e152.tar.bz2 scummvm-rg350-82adc025ea451f1fce2c0e0eed03d6e48a51e152.zip |
CGE: Remove DrvInfo, rename some enums
Diffstat (limited to 'engines/cge/talk.h')
-rw-r--r-- | engines/cge/talk.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/engines/cge/talk.h b/engines/cge/talk.h index 5eab6672e3..d9c29261f6 100644 --- a/engines/cge/talk.h +++ b/engines/cge/talk.h @@ -46,18 +46,14 @@ namespace CGE { #define kFontHigh 8 #define kFontExt ".CFT" - - - #define kPathMax 128 +enum TextBoxStyle { kTBPure, kTBRect, kTBRound }; + class Font { char _path[kPathMax]; void load(); public: -// static uint8 _wid[256]; -// static uint16 _pos[256]; -// static uint8 _map[256*8]; uint8 *_wid; uint16 *_pos; uint8 *_map; @@ -67,17 +63,13 @@ public: void save(); }; - -enum TBOX_STYLE { PURE, RECT, ROUND }; - - class Talk : public Sprite { protected: - TBOX_STYLE _mode; + TextBoxStyle _mode; BMP_PTR *_ts; Bitmap *box(uint16 w, uint16 h); public: - Talk(CGEEngine *vm, const char *tx, TBOX_STYLE mode); + Talk(CGEEngine *vm, const char *tx, TextBoxStyle mode); Talk(CGEEngine *vm); //~TALK(); @@ -92,7 +84,6 @@ private: CGEEngine *_vm; }; - class InfoLine : public Talk { const char *_oldTxt; public: |