mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
MxDirect3D (#114)
* MxDirect3D Constructor * Implement MxDirect3D::Clear (not yet matching) * Match MxDirect3D::Clear * Building out MxDirect3D, link dxguid, add size asserts * Move a few things around on the Enumerate context obj * remove dupe mxdirect3d * Match BuildErrorString and _DoEnumerate * Fix style --------- Co-authored-by: Christian Semmler <mail@csemmler.com> Co-authored-by: disinvite <disinvite@users.noreply.github.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
|
||||
#include "mxdirectdraw.h"
|
||||
#include "decomp.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(MxDirectDraw, 0x880);
|
||||
DECOMP_SIZE_ASSERT(MxDirectDraw::DeviceModesInfo, 0x17c);
|
||||
|
||||
#ifndef DDSCAPS_3DDEVICE
|
||||
#define DDSCAPS_3DDEVICE 0x00002000l
|
||||
@@ -30,6 +30,12 @@ void EnableResizing(HWND hwnd, BOOL flag)
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1009efb0
|
||||
MxDirectDraw::DeviceModesInfo::DeviceModesInfo()
|
||||
{
|
||||
memset(this, 0, sizeof(*this));
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1009EFD0
|
||||
MxDirectDraw::DeviceModesInfo::~DeviceModesInfo()
|
||||
{
|
||||
|
Reference in New Issue
Block a user