Fixed some CDialog Graphic bugs

git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@208 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
gerstrong
2009-08-03 19:01:54 +00:00
parent 7abc5b0960
commit 20aebae483
5 changed files with 8 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 158 KiB

View File

@@ -125,9 +125,6 @@ void CGraphics::drawTile(int x, int y, unsigned int t)
memset(offset, COLOUR_MASK, 16);
offset+=512;
}
//HQBitmap->updateHQBitmap(g_pVideoDriver->getScrollSurface(),x,y);
}
else
{

View File

@@ -688,8 +688,12 @@ void gamedo_RenderScreen(stCloneKeenPlus *pCKP)
g_pVideoDriver->sb_blit(); // blit scrollbuffer to display
gamedo_render_erasedebug();
gamedo_render_eraseobjects();
if(pCKP != NULL)
{
gamedo_render_erasedebug();
gamedo_render_eraseobjects();
}
curfps++;
}

View File

@@ -224,6 +224,7 @@ void CDialog::renderDialog()
if(scrollpos < (number_of_options-h+2) && number_of_options > (int)(h-2))
g_pGraphics->sb_drawCharacter((x+w-1)<<3, (y+h-2)<<3, FONT_DOWNARROW);
}
// The original Game had a open Dialog Animation. This is what that function does...

View File

@@ -203,7 +203,7 @@ bool CEGALatch::loadData(const std::string& filename, bool compresseddata)
0);
// decode bitmaps into the BitmapData structure. The bitmaps are
// loaded into one continous stream of image data, with the bitmaps[]
// loaded into one continuous stream of image data, with the bitmaps[]
// array giving pointers to where each bitmap starts within the stream.