diff options
author | Paul Gilbert | 2007-09-23 22:11:14 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-09-23 22:11:14 +0000 |
commit | 59e9e25a5fa2754037363756e08a7a63ce83f9b5 (patch) | |
tree | cf2e4f43335c49e75511ddb1f78982bceefbdff4 /engines/lure | |
parent | 9d07c3a4c5e1522d9d91a65a0d146734ca31d3ae (diff) | |
download | scummvm-rg350-59e9e25a5fa2754037363756e08a7a63ce83f9b5.tar.gz scummvm-rg350-59e9e25a5fa2754037363756e08a7a63ce83f9b5.tar.bz2 scummvm-rg350-59e9e25a5fa2754037363756e08a7a63ce83f9b5.zip |
Added support for original copy protection, in any anyone ever wants to see it
svn-id: r29067
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/surface.h | 14 |
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 |