mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +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,4 +1,3 @@
|
||||
|
||||
#ifndef MXDIRECTDRAW_H
|
||||
#define MXDIRECTDRAW_H
|
||||
|
||||
@@ -7,6 +6,7 @@
|
||||
|
||||
extern BOOL g_is_PALETTEINDEXED8;
|
||||
|
||||
// VTABLE 0x100db818
|
||||
// SIZE 0x880
|
||||
class MxDirectDraw
|
||||
{
|
||||
@@ -37,11 +37,12 @@ public:
|
||||
DDCAPS m_ddcaps;
|
||||
void* a_178;
|
||||
|
||||
DeviceModesInfo();
|
||||
~DeviceModesInfo();
|
||||
};
|
||||
|
||||
|
||||
private:
|
||||
protected:
|
||||
BOOL m_bOnlySoftRender;
|
||||
BOOL m_bFlipSurfaces;
|
||||
IDirectDraw* m_pDirectDraw;
|
||||
@@ -94,7 +95,7 @@ public:
|
||||
virtual void DestroyButNotDirectDraw();
|
||||
virtual const char* ErrorToString(HRESULT error);
|
||||
|
||||
private:
|
||||
protected:
|
||||
BOOL CacheOriginalPaletteEntries();
|
||||
HRESULT CreateDDSurface(
|
||||
LPDDSURFACEDESC a2,
|
||||
|
Reference in New Issue
Block a user