aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/viewmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/viewmgr.h')
-rw-r--r--engines/m4/viewmgr.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/engines/m4/viewmgr.h b/engines/m4/viewmgr.h
index 308240645d..16c3d6ecc3 100644
--- a/engines/m4/viewmgr.h
+++ b/engines/m4/viewmgr.h
@@ -148,71 +148,6 @@ protected:
bool _transparent;
};
-class MadsSpriteSlot {
-public:
- int spriteId;
- int timerIndex;
- int spriteListIndex;
- int frameNumber;
- int width;
- int height;
- int depth;
- int scale;
-
- MadsSpriteSlot() { };
-};
-
-#define SPRITE_SLOTS_SIZE 50
-
-class MadsTextDisplayEntry {
-public:
- bool active;
- int spacing;
- Common::Rect bounds;
- int active2;
- uint8 colour1;
- uint8 colour2;
- Font *font;
- const char *msg;
-
- MadsTextDisplayEntry() { active = false; }
-};
-
-#define TEXT_DISPLAY_SIZE 40
-
-class MadsTextDisplay {
-private:
- MadsTextDisplayEntry _entries[TEXT_DISPLAY_SIZE];
-public:
- MadsTextDisplay();
-
- MadsTextDisplayEntry &operator[](int idx) {
- assert(idx < TEXT_DISPLAY_SIZE);
- return _entries[idx];
- }
-
- int setActive2(int idx) {
- assert(idx < TEXT_DISPLAY_SIZE);
- _entries[idx].active2 = -1;
- }
-
- int add(int xp, int yp, uint fontColour, int charSpacing, const char *msg, Font *font);
- void draw(View *view);
-};
-
-class MadsView: public View {
-protected:
- MadsSpriteSlot _spriteSlots[SPRITE_SLOTS_SIZE];
- MadsTextDisplay _textDisplay;
- int _spriteSlotsStart;
-
- int getSpriteSlotsIndex();
-public:
- MadsView(MadsM4Engine *vm, const Common::Rect &viewBounds, bool transparent = false);
- MadsView(MadsM4Engine *vm, int x = 0, int y = 0, bool transparent = false);
-
-};
-
class ViewManager {
private:
MadsM4Engine *_vm;