mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-12 11:11:16 +00:00
Isle::Isle 100% accuracy
This commit is contained in:
parent
0ab8fc52d2
commit
25d5220eeb
@ -37,13 +37,7 @@ Isle::Isle()
|
||||
m_frameDelta = 10;
|
||||
m_windowActive = 1;
|
||||
|
||||
MxRect32 rect;
|
||||
rect.m_left = 0;
|
||||
rect.m_top = 0;
|
||||
rect.m_right = 639;
|
||||
rect.m_bottom = 479;
|
||||
|
||||
m_videoParam = MxVideoParam(rect, NULL, 1, MxVideoParamFlags());
|
||||
m_videoParam = MxVideoParam(MxRect32(0, 0, 639, 479), NULL, 1, MxVideoParamFlags());
|
||||
m_videoParam.flags().Enable16Bit(MxDirectDraw::GetPrimaryBitDepth() == 16);
|
||||
|
||||
m_windowHandle = NULL;
|
||||
|
||||
@ -4,6 +4,14 @@
|
||||
class MxRect32
|
||||
{
|
||||
public:
|
||||
MxRect32(int p_left, int p_top, int p_right, int p_bottom)
|
||||
{
|
||||
this->m_left = p_left;
|
||||
this->m_top = p_top;
|
||||
this->m_right = p_right;
|
||||
this->m_bottom = p_bottom;
|
||||
}
|
||||
|
||||
int m_left;
|
||||
int m_top;
|
||||
int m_right;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user