Streamline MxVideoParamFlags (#999)

* Streamline MxVideoParamFlags

* Remove this-> from MxOmniCreateFlags
This commit is contained in:
MS
2024-06-06 17:15:57 -04:00
committed by GitHub
parent ca17928fc6
commit ba378eb224
6 changed files with 144 additions and 107 deletions

View File

@@ -1,15 +1,21 @@
#include "mxvideoparamflags.h"
#include "decomp.h"
DECOMP_SIZE_ASSERT(MxVideoParamFlags, 0x02)
// FUNCTION: LEGO1 0x100bec40
// FUNCTION: BETA10 0x1012dadb
MxVideoParamFlags::MxVideoParamFlags()
{
this->SetFullScreen(0);
this->SetFlipSurfaces(0);
this->SetBackBuffers(0);
this->SetF1bit3(0);
this->SetF1bit4(0);
this->Set16Bit(0);
this->SetWideViewAngle(1);
this->SetF1bit7(1);
this->SetF2bit1(1);
m_flags1.m_bit0 = FALSE; // FullScreen
m_flags1.m_bit1 = FALSE; // FlipSurfaces
m_flags1.m_bit2 = FALSE; // BackBuffers
m_flags1.m_bit3 = FALSE;
m_flags1.m_bit4 = FALSE;
m_flags1.m_bit5 = FALSE; // 16Bit
m_flags1.m_bit6 = TRUE; // WideViewAngle
m_flags1.m_bit7 = TRUE;
m_flags2.m_bit1 = TRUE;
}