mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-27 18:21:15 +00:00
Fixes
This commit is contained in:
parent
d6234b4354
commit
59311d559d
@ -251,10 +251,10 @@ undefined4 MxDisplaySurface::VTable0x34(undefined4, undefined4, undefined4, unde
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100bba50
|
// FUNCTION: LEGO1 0x100bba50
|
||||||
void MxDisplaySurface::Display(MxS16 p_left, MxS16 p_top, MxS16 p_left2, MxS16 p_top2, MxS16 p_width, MxS16 p_height)
|
void MxDisplaySurface::Display(MxS32 p_left, MxS32 p_top, MxS32 p_left2, MxS32 p_top2, MxS32 p_width, MxS32 p_height)
|
||||||
{
|
{
|
||||||
if (m_videoParam.Flags().GetF2bit1()) {
|
if (m_videoParam.Flags().GetF2bit1()) {
|
||||||
if (m_videoParam.Flags().GetFlipSurfaces() != 0) {
|
if (m_videoParam.Flags().GetFlipSurfaces()) {
|
||||||
if (g_unk0x1010215c < 2) {
|
if (g_unk0x1010215c < 2) {
|
||||||
g_unk0x1010215c++;
|
g_unk0x1010215c++;
|
||||||
|
|
||||||
@ -282,8 +282,8 @@ void MxDisplaySurface::Display(MxS16 p_left, MxS16 p_top, MxS16 p_left2, MxS16 p
|
|||||||
POINT point = {0, 0};
|
POINT point = {0, 0};
|
||||||
ClientToScreen(MxOmni::GetInstance()->GetWindowHandle(), &point);
|
ClientToScreen(MxOmni::GetInstance()->GetWindowHandle(), &point);
|
||||||
|
|
||||||
RECT rect1;
|
// TODO: Match
|
||||||
RECT rect2;
|
RECT rect1, rect2;
|
||||||
rect1.left = p_left2 + m_videoParam.GetRect().GetLeft() + point.x;
|
rect1.left = p_left2 + m_videoParam.GetRect().GetLeft() + point.x;
|
||||||
rect2.left = p_left;
|
rect2.left = p_left;
|
||||||
rect1.top = p_top2 + m_videoParam.GetRect().GetTop() + point.y;
|
rect1.top = p_top2 + m_videoParam.GetRect().GetTop() + point.y;
|
||||||
|
|||||||
@ -62,7 +62,7 @@ class MxDisplaySurface : public MxCore {
|
|||||||
MxBool
|
MxBool
|
||||||
);
|
);
|
||||||
virtual undefined4 VTable0x34(undefined4, undefined4, undefined4, undefined4, undefined4, undefined4);
|
virtual undefined4 VTable0x34(undefined4, undefined4, undefined4, undefined4, undefined4, undefined4);
|
||||||
virtual void Display(MxS16 left, MxS16 top, MxS16 left2, MxS16 top2, MxS16 width, MxS16 height);
|
virtual void Display(MxS32 p_left, MxS32 p_top, MxS32 p_left2, MxS32 p_top2, MxS32 p_width, MxS32 p_height);
|
||||||
virtual void GetDC(HDC* p_hdc);
|
virtual void GetDC(HDC* p_hdc);
|
||||||
virtual void ReleaseDC(HDC p_hdc);
|
virtual void ReleaseDC(HDC p_hdc);
|
||||||
virtual LPDIRECTDRAWSURFACE VTable0x44(MxBitmap*, undefined4*, undefined4, undefined4);
|
virtual LPDIRECTDRAWSURFACE VTable0x44(MxBitmap*, undefined4*, undefined4, undefined4);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user