mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Interpret Act3List properties, minor fixes (#1619)
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
@@ -41,7 +41,10 @@ public:
|
||||
|
||||
MxVideoParam& GetVideoParam() { return this->m_videoParam; }
|
||||
LPDIRECTDRAW GetDirectDraw() { return this->m_pDirectDraw; }
|
||||
|
||||
// FUNCTION: BETA10 0x1002e290
|
||||
MxDisplaySurface* GetDisplaySurface() { return this->m_displaySurface; }
|
||||
|
||||
MxRegion* GetRegion() { return this->m_region; }
|
||||
|
||||
// SYNTHETIC: LEGO1 0x100be280
|
||||
|
@@ -42,20 +42,22 @@ void MxDisplaySurface::Init()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100ba640
|
||||
// FUNCTION: BETA10 0x1013f506
|
||||
void MxDisplaySurface::ClearScreen()
|
||||
{
|
||||
MxS32 i;
|
||||
MxS32 backBuffers;
|
||||
DDSURFACEDESC desc;
|
||||
HRESULT hr;
|
||||
|
||||
if (!m_videoParam.Flags().GetFlipSurfaces()) {
|
||||
backBuffers = 1;
|
||||
}
|
||||
else {
|
||||
if (m_videoParam.Flags().GetFlipSurfaces()) {
|
||||
backBuffers = m_videoParam.GetBackBuffers() + 1;
|
||||
}
|
||||
else {
|
||||
backBuffers = 1;
|
||||
}
|
||||
|
||||
for (MxS32 i = 0; i < backBuffers; i++) {
|
||||
for (i = 0; i < backBuffers; i++) {
|
||||
memset(&desc, 0, sizeof(DDSURFACEDESC));
|
||||
|
||||
desc.dwSize = sizeof(DDSURFACEDESC);
|
||||
|
Reference in New Issue
Block a user