[Scummvm-cvs-logs] SF.net SVN: scummvm: [29067] scummvm/trunk/engines/lure/surface.h
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Mon Sep 24 00:11:14 CEST 2007
Revision: 29067
http://scummvm.svn.sourceforge.net/scummvm/?rev=29067&view=rev
Author: dreammaster
Date: 2007-09-23 15:11:14 -0700 (Sun, 23 Sep 2007)
Log Message:
-----------
Added support for original copy protection, in any anyone ever wants to see it
Modified Paths:
--------------
scummvm/trunk/engines/lure/surface.h
Modified: scummvm/trunk/engines/lure/surface.h
===================================================================
--- scummvm/trunk/engines/lure/surface.h 2007-09-23 22:10:29 UTC (rev 29066)
+++ scummvm/trunk/engines/lure/surface.h 2007-09-23 22:11:14 UTC (rev 29067)
@@ -52,7 +52,7 @@
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 @@
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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list