mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
88.78%
This commit is contained in:
parent
168c7fab25
commit
55af10f69e
@ -8,6 +8,11 @@
|
||||
#include <mxdirectx/mxdirect3d.h>
|
||||
#include <process.h> // _spawnl
|
||||
|
||||
DECOMP_SIZE_ASSERT(CWinApp, 0xc4)
|
||||
DECOMP_SIZE_ASSERT(CConfigApp, 0x10c)
|
||||
|
||||
DECOMP_STATIC_ASSERT(offsetof(CConfigApp, m_display_bit_depth) == 0xd0)
|
||||
|
||||
// FIXME: are these tags correct?
|
||||
// FIXME: how to tag static in-method variables?
|
||||
|
||||
@ -218,7 +223,7 @@ D3DCOLORMODEL CConfigApp::GetHardwareDeviceColorModel() const
|
||||
// FUNCTION: CONFIG 0x00403410
|
||||
BOOL CConfigApp::IsPrimaryDriver() const
|
||||
{
|
||||
return &m_device_enumerator->GetDriverList().front() == m_driver;
|
||||
return m_driver == &m_device_enumerator->GetDriverList().front();
|
||||
}
|
||||
|
||||
// FUNCTION: CONFIG 0x00403430
|
||||
|
||||
@ -13,7 +13,7 @@ struct MxDriver;
|
||||
|
||||
#define currentConfigApp ((CConfigApp*) afxCurrentWinApp)
|
||||
|
||||
// SIZE 0x108
|
||||
// SIZE 0x10c
|
||||
class CConfigApp : public CWinApp {
|
||||
public:
|
||||
CConfigApp();
|
||||
@ -56,7 +56,6 @@ class CConfigApp : public CWinApp {
|
||||
BOOL IsLegoNotRunning();
|
||||
|
||||
public:
|
||||
undefined m_unk0xc0; // 0x0c0
|
||||
MxDeviceEnumerate* m_device_enumerator; // 0x0c4
|
||||
MxDriver* m_driver; // 0x0c8
|
||||
MxDevice* m_device; // 0x0cc
|
||||
@ -74,6 +73,7 @@ class CConfigApp : public CWinApp {
|
||||
int m_texture_quality; // 0x0fc
|
||||
undefined m_unk0x100[4]; // 0x100
|
||||
BOOL m_music; // 0x104
|
||||
undefined m_unk[4];
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_CONFIG_H)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user