* Another bugfix in the .dmod decompresser, fixes issue with Attack of the veggies

* (Windows) Holding Shift in addition to Tab will cause "super turbo" mode, speeding up the game faster than just holding Tab.  (Secret tip:  If you really want to see speed, hold down the Control key too)

git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1525 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
seth 2017-10-18 07:15:53 +00:00
parent e0b2d2e5f0
commit f1bf68da44
12 changed files with 176 additions and 17 deletions

View file

@ -324,6 +324,11 @@ void IDirectDrawSurface::UpdateShadowSurface()
assert(m_pSurf);
assert(m_pGLSurf);
assert(m_pSurf->GetSurfaceType() == SoftSurface::SURFACE_RGBA);
if (m_pSurf->GetSurfaceType() != SoftSurface::SURFACE_RGBA)
{
LogMsg("Don't know how to deal with surface type %d", m_pSurf->GetSurfaceType());
}
//m_pSurf->FillColor(glColorBytes(0,0,0,0));
if (m_pSurf->GetPixelData())
{