- added semi-transparent sprites feature. (Used in masked tiles)
- fixed minor bugs git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@198 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
@@ -724,7 +724,6 @@ void CVideoDriver::setpixel(unsigned int x, unsigned int y, unsigned char c)
|
||||
if( x >= GAME_STD_WIDTH || y >= GAME_STD_HEIGHT ) // out of Bonds!!!
|
||||
return;
|
||||
|
||||
|
||||
if(BlitSurface->format->BitsPerPixel == 16)
|
||||
{
|
||||
Uint16 *ubuff16;
|
||||
@@ -749,7 +748,7 @@ void CVideoDriver::setpixel(unsigned int x, unsigned int y, unsigned char c)
|
||||
}
|
||||
unsigned char CVideoDriver::getpixel(int x, int y)
|
||||
{
|
||||
return 0;
|
||||
return 15;
|
||||
}
|
||||
|
||||
// "Console" here refers to the capability to pop up in-game messages
|
||||
|
||||
Reference in New Issue
Block a user