[Scummvm-cvs-logs] SF.net SVN: scummvm: [30146] scummvm/trunk/engines/lure/res.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Wed Jan 2 12:45:59 CET 2008
Revision: 30146
http://scummvm.svn.sourceforge.net/scummvm/?rev=30146&view=rev
Author: dreammaster
Date: 2008-01-02 03:45:59 -0800 (Wed, 02 Jan 2008)
Log Message:
-----------
Adjusted the colour of the EGA cursors to match the original game
Modified Paths:
--------------
scummvm/trunk/engines/lure/res.cpp
Modified: scummvm/trunk/engines/lure/res.cpp
===================================================================
--- scummvm/trunk/engines/lure/res.cpp 2008-01-02 11:31:21 UTC (rev 30145)
+++ scummvm/trunk/engines/lure/res.cpp 2008-01-02 11:45:59 UTC (rev 30146)
@@ -415,7 +415,6 @@
Common::set_to(&_cursor[0], &_cursor[0] + CURSOR_SIZE, 0);
byte *pSrc = _cursors->data() + (cursorNum * 64);
byte *pDest = &_cursor[0];
- int planeNum = 0;
for (int y = 0; y < 16; ++y) {
for (int x = 0; x < 2; ++x) {
@@ -434,10 +433,9 @@
}
}
- // Post-process the cells to swap any values of 2 and 3
+ // Post-process the cells to adjust the colour
for (int index = 0; index < CURSOR_SIZE; ++index) {
- if (_cursor[index] == 2) _cursor[index] = 3;
- else if (_cursor[index] == 3) _cursor[index] = 2;
+ if (_cursor[index] == 3) _cursor[index] = 15;
}
return &_cursor[0];
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