mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-18 22:11:16 +00:00
add global and function offsets for comparison tool
This commit is contained in:
parent
6f99f8c13c
commit
b239cdd224
@ -2,9 +2,13 @@
|
|||||||
|
|
||||||
#include "mxdirectdraw.h"
|
#include "mxdirectdraw.h"
|
||||||
|
|
||||||
|
// 0x10100c68
|
||||||
BOOL g_paletteIndexed8 = 0;
|
BOOL g_paletteIndexed8 = 0;
|
||||||
|
|
||||||
|
// 0x10100c70
|
||||||
BOOL DAT_10100c70 = 0;
|
BOOL DAT_10100c70 = 0;
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x1009e7a0
|
||||||
HRESULT MxDirectDraw::SetEntries()
|
HRESULT MxDirectDraw::SetEntries()
|
||||||
{
|
{
|
||||||
HRESULT ret;
|
HRESULT ret;
|
||||||
@ -22,6 +26,7 @@ HRESULT MxDirectDraw::SetEntries()
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x1009e7f0
|
||||||
HRESULT MxDirectDraw::FlipToGDISurface()
|
HRESULT MxDirectDraw::FlipToGDISurface()
|
||||||
{
|
{
|
||||||
HRESULT ret;
|
HRESULT ret;
|
||||||
@ -37,6 +42,7 @@ HRESULT MxDirectDraw::FlipToGDISurface()
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x1009e830
|
||||||
void MxDirectDraw::FUN_1009e830(char *error_msg, HRESULT ret)
|
void MxDirectDraw::FUN_1009e830(char *error_msg, HRESULT ret)
|
||||||
{
|
{
|
||||||
if (!DAT_10100c70) {
|
if (!DAT_10100c70) {
|
||||||
@ -50,6 +56,7 @@ void MxDirectDraw::FUN_1009e830(char *error_msg, HRESULT ret)
|
|||||||
DAT_10100c70 = 0;
|
DAT_10100c70 = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x1009d570
|
||||||
int MxDirectDraw::GetPrimaryBitDepth()
|
int MxDirectDraw::GetPrimaryBitDepth()
|
||||||
{
|
{
|
||||||
DWORD dwRGBBitCount;
|
DWORD dwRGBBitCount;
|
||||||
@ -72,6 +79,7 @@ int MxDirectDraw::GetPrimaryBitDepth()
|
|||||||
return dwRGBBitCount;
|
return dwRGBBitCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x1009e6a0
|
||||||
int MxDirectDraw::Pause(int param_1)
|
int MxDirectDraw::Pause(int param_1)
|
||||||
{
|
{
|
||||||
if (param_1) {
|
if (param_1) {
|
||||||
@ -107,7 +115,7 @@ int MxDirectDraw::Pause(int param_1)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x1009e750
|
||||||
HRESULT MxDirectDraw::FUN_1009e750()
|
HRESULT MxDirectDraw::FUN_1009e750()
|
||||||
{
|
{
|
||||||
HRESULT ret;
|
HRESULT ret;
|
||||||
@ -125,6 +133,7 @@ HRESULT MxDirectDraw::FUN_1009e750()
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x1009e880
|
||||||
char * MxDirectDraw::ErrorToString(HRESULT error)
|
char * MxDirectDraw::ErrorToString(HRESULT error)
|
||||||
{
|
{
|
||||||
switch(error) {
|
switch(error) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user