aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/surface.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/engines/lure/surface.h b/engines/lure/surface.h
index 4fd27a4c38..e590ac9c60 100644
--- a/engines/lure/surface.h
+++ b/engines/lure/surface.h
@@ -52,7 +52,7 @@ public:
MemoryBlock &data() { return *_data; }
void loadScreen(uint16 resourceId);
- void writeChar(uint16 x, uint16 y, uint8 ascii, bool transparent, uint8 colour);
+ int writeChar(uint16 x, uint16 y, uint8 ascii, bool transparent, uint8 colour);
void writeString(uint16 x, uint16 y, Common::String line, bool transparent,
uint8 colour = DIALOG_TEXT_COLOUR, bool varLength = true);
void transparentCopyTo(Surface *dest);
@@ -109,6 +109,18 @@ public:
static bool show();
};
+class CopyProtectionDialog {
+private:
+ Common::RandomSource _rnd;
+ ManagedList<Hotspot *> _hotspots;
+ int _charIndex;
+
+ void chooseCharacters();
+public:
+ CopyProtectionDialog();
+ bool show();
+};
+
} // End of namespace Lure
#endif