mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Refactor file names based on BETA10 (#1064)
* 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>
This commit is contained in:
32
LEGO1/mxdirectx/legodxinfo.h
Normal file
32
LEGO1/mxdirectx/legodxinfo.h
Normal file
@@ -0,0 +1,32 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user