102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
graphics_devices.c File Reference
#include "pcdogs/graphics/constants.h"
#include "pcdogs/debug/functions.h"
#include "pcdogs/graphics/globals.h"
#include "pcdogs/image/globals.h"
#include "pcdogs/platform/functions.h"
#include "pcdogs/platform/types.h"
#include "pcdogs/runtime/functions.h"
#include "pcdogs/types/common.h"
#include <math.h>
#include <stdarg.h>
#include <string.h>

Go to the source code of this file.

Functions

HRESULT D3D_EnumZBufferFormatCallback (DDPIXELFORMAT *pixel_format, void *selected_format_context)
HRESULT D3D_EnumerateDirectDrawDevices (D3D_DeviceAcceptCallback unused_device_accept_callback)
BOOL D3D_EnumDriverCallback (GUID *guid, char *driver_description, char *driver_name, void *context, HMONITOR monitor)
HRESULT D3D_EnumDisplayModeCallback (DDSURFACEDESC2 *surface_desc, void *context)
HRESULT D3D_EnumDeviceCallback (char *device_description, char *device_name, D3DDEVICEDESC7 *device_desc, void *context)
void D3D_GetEnumeratedDevices (struct D3D_DriverInfo **device_list_out, uint32_t *device_count_out)
HRESULT D3D_SelectDefaultDevice (struct D3D_DriverInfo **selected_device_out, uint32_t flags)
HRESULT D3D_AcceptAnyDevice (DDCAPS *driver_caps, D3DDEVICEDESC7 *device_desc)
struct D3D_DriverInfo * D3D_EnumerateAndSelectDefaultDevice ()
HRESULT DDraw_EnumerateExA (LPDDENUMCALLBACKEXA lp_callback, LPVOID lp_context, DWORD dw_flags)

Function Documentation

◆ D3D_AcceptAnyDevice()

HRESULT D3D_AcceptAnyDevice ( DDCAPS * driver_caps,
D3DDEVICEDESC7 * device_desc )

Definition at line 254 of file graphics_devices.c.

◆ D3D_EnumDeviceCallback()

HRESULT D3D_EnumDeviceCallback ( char * device_description,
char * device_name,
D3DDEVICEDESC7 * device_desc,
void * context )

Definition at line 128 of file graphics_devices.c.

◆ D3D_EnumDisplayModeCallback()

HRESULT D3D_EnumDisplayModeCallback ( DDSURFACEDESC2 * surface_desc,
void * context )

Definition at line 112 of file graphics_devices.c.

◆ D3D_EnumDriverCallback()

BOOL D3D_EnumDriverCallback ( GUID * guid,
char * driver_description,
char * driver_name,
void * context,
HMONITOR monitor )

Definition at line 65 of file graphics_devices.c.

◆ D3D_EnumerateAndSelectDefaultDevice()

struct D3D_DriverInfo * D3D_EnumerateAndSelectDefaultDevice ( )

Definition at line 263 of file graphics_devices.c.

◆ D3D_EnumerateDirectDrawDevices()

HRESULT D3D_EnumerateDirectDrawDevices ( D3D_DeviceAcceptCallback unused_device_accept_callback)

Definition at line 34 of file graphics_devices.c.

◆ D3D_EnumZBufferFormatCallback()

HRESULT D3D_EnumZBufferFormatCallback ( DDPIXELFORMAT * pixel_format,
void * selected_format_context )

Definition at line 16 of file graphics_devices.c.

◆ D3D_GetEnumeratedDevices()

void D3D_GetEnumeratedDevices ( struct D3D_DriverInfo ** device_list_out,
uint32_t * device_count_out )

Definition at line 199 of file graphics_devices.c.

◆ D3D_SelectDefaultDevice()

HRESULT D3D_SelectDefaultDevice ( struct D3D_DriverInfo ** selected_device_out,
uint32_t flags )

Definition at line 210 of file graphics_devices.c.

◆ DDraw_EnumerateExA()

HRESULT DDraw_EnumerateExA ( LPDDENUMCALLBACKEXA lp_callback,
LPVOID lp_context,
DWORD dw_flags )

Definition at line 276 of file graphics_devices.c.