[AI] Enumerates and manages Direct3D devices and drivers for the LEGO Island engine.
static int SupportsCPUID()
[AI] Checks if the CPU supports CPUID instruction.
unsigned char DriverSupportsRequiredDisplayMode(MxDriver &p_driver)
[AI] Checks if a driver supports a 640x480 display mode in 8bpp or 16bpp (needed by LEGO Island).
int GetDevice(int p_deviceNum, MxDriver *&p_driver, Direct3DDeviceInfo *&p_device)
[AI] Outputs pointers to the MxDriver and Direct3DDeviceInfo for the given device index.
static int SupportsMMX()
[AI] Checks if the CPU supports MMX instructions.
unsigned char FUN_1009d3d0(Direct3DDeviceInfo &p_device)
[AI] Checks if a device supports required rendering features (Z-buffer, perspective,...
int FUN_1009d0d0()
[AI] Finds and returns the preferred device index that supports required features.
int ParseDeviceName(const char *p_deviceId)
[AI] Parses a device string identifier and locates the matching device entry.
int FormatDeviceName(char *p_buffer, const MxDriver *p_ddInfo, const Direct3DDeviceInfo *p_d3dInfo) const
[AI] Formats and serializes a device identification string for a given driver/device.
int ProcessDeviceBytes(int p_deviceNum, GUID &p_guid)
[AI] Returns the index of the device matching the given GUID and driver number.
int FUN_1009d210()
[AI] Prunes the enumeration to only include devices/drivers that support the required display mode an...
int BETA_1011cc65(int p_idx, char *p_buffer)
[AI] Formats device identification string for the device at a specific global index (Beta10-specific)...
[AI] Enumerates DirectDraw/Direct3D drivers, devices, and display modes on the system.
[AI] Encapsulates Direct3D device enumeration information and capability structures.
[AI] Holds data about a DirectDraw driver including devices and supported display modes.