mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-25 00:58:33 -05:00
4a861faca3
* Refactor file names based on BETA10 * Extract LegoDeviceEnumerate to dedicated file * Fix compiler errors * Migrate contiguous block of code to `LegoDeviceEnumerate` --------- Co-authored-by: jonschz <jonschz@users.noreply.github.com>
32 lines
1,018 B
C++
32 lines
1,018 B
C++
#ifndef LEGODXINFO_H
|
|
#define LEGODXINFO_H
|
|
|
|
#include "mxdirectxinfo.h"
|
|
|
|
// VTABLE: CONFIG 0x4060e4
|
|
// VTABLE: LEGO1 0x100d9cc8
|
|
// VTABLE: BETA10 0x101befb4
|
|
// SIZE 0x14
|
|
class LegoDeviceEnumerate : public MxDeviceEnumerate {
|
|
public:
|
|
int ParseDeviceName(const char* p_deviceId);
|
|
int ProcessDeviceBytes(int p_deviceNum, GUID& p_guid);
|
|
int GetDevice(int p_deviceNum, MxDriver*& p_driver, Direct3DDeviceInfo*& p_device);
|
|
int FormatDeviceName(char* p_buffer, const MxDriver* p_ddInfo, const Direct3DDeviceInfo* p_d3dInfo) const;
|
|
int BETA_1011cc65(int p_idx, char* p_buffer);
|
|
int FUN_1009d0d0();
|
|
static int SupportsMMX();
|
|
static int SupportsCPUID();
|
|
int FUN_1009d210();
|
|
unsigned char DriverSupportsRequiredDisplayMode(MxDriver& p_driver);
|
|
unsigned char FUN_1009d3d0(Direct3DDeviceInfo& p_device);
|
|
|
|
// SYNTHETIC: BETA10 0x100d8d10
|
|
// LegoDeviceEnumerate::LegoDeviceEnumerate
|
|
|
|
// SYNTHETIC: LEGO1 0x1007b590
|
|
// SYNTHETIC: BETA10 0x100d8da0
|
|
// LegoDeviceEnumerate::~LegoDeviceEnumerate
|
|
};
|
|
|
|
#endif // LEGODXINFO_H
|