- 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:
gerstrong
2009-08-01 12:20:22 +00:00
parent ee00c0f49b
commit ed9f653202
9 changed files with 48 additions and 62 deletions

View File

@@ -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