ReactOS 0.4.16-dev-297-gc569aee
|
#include <assert.h>
#include <math.h>
#include "dxfile.h"
#include "d3drmwin.h"
#include "rmxfguid.h"
#include "wine/debug.h"
#include "wine/heap.h"
#include "wine/list.h"
Go to the source code of this file.
Classes | |
struct | d3drm_matrix |
struct | d3drm_object |
struct | d3drm_texture |
struct | d3drm_frame |
struct | d3drm_box |
struct | d3drm_viewport |
struct | d3drm_device |
struct | d3drm_face |
struct | d3drm_mesh_builder |
struct | mesh_group |
struct | d3drm_mesh |
struct | d3drm_light |
struct | color_rgb |
struct | d3drm_material |
struct | d3drm_animation_key |
struct | d3drm_animation_keys |
struct | d3drm_animation |
struct | d3drm_wrap |
struct | d3drm_file_header |
Macros | |
#define | NONAMELESSUNION |
#define | NONAMELESSSTRUCT |
#define | COBJMACROS |
Variables | |
char templates[] | DECLSPEC_HIDDEN |
#define COBJMACROS |
Definition at line 26 of file d3drm_private.h.
#define NONAMELESSSTRUCT |
Definition at line 25 of file d3drm_private.h.
#define NONAMELESSUNION |
Definition at line 24 of file d3drm_private.h.
HRESULT d3drm_animation_create | ( | struct d3drm_animation ** | animation, |
IDirect3DRM * | d3drm | ||
) |
Definition at line 3881 of file frame.c.
Referenced by d3drm1_CreateAnimation(), d3drm3_CreateAnimation(), and d3drm_create_animation_object().
BOOL d3drm_array_reserve | ( | void ** | elements, |
SIZE_T * | capacity, | ||
SIZE_T | element_count, | ||
SIZE_T | element_size | ||
) |
Definition at line 260 of file meshbuilder.c.
Referenced by d3drm_animation2_AddKey(), d3drm_frame3_AddChild(), d3drm_frame3_AddLight(), d3drm_frame3_AddVisual(), d3drm_mesh_AddGroup(), d3drm_mesh_builder3_AddNormal(), d3drm_mesh_builder3_AddVertex(), and load_mesh_data().
Definition at line 311 of file d3drm_private.h.
Referenced by d3drm_set_color().
HRESULT d3drm_device_create | ( | struct d3drm_device ** | device, |
IDirect3DRM * | d3drm | ||
) |
Definition at line 1634 of file device.c.
Referenced by d3drm1_CreateDeviceFromClipper(), d3drm1_CreateDeviceFromD3D(), d3drm1_CreateDeviceFromSurface(), d3drm3_CreateDeviceFromClipper(), d3drm3_CreateDeviceFromD3D(), d3drm3_CreateDeviceFromSurface(), and d3drm_create_device_object().
HRESULT d3drm_device_create_surfaces_from_clipper | ( | struct d3drm_device * | object, |
IDirectDraw * | ddraw, | ||
IDirectDrawClipper * | clipper, | ||
int | width, | ||
int | height, | ||
IDirectDrawSurface ** | surface | ||
) |
Definition at line 69 of file device.c.
Referenced by d3drm1_CreateDeviceFromClipper(), and d3drm3_CreateDeviceFromClipper().
void d3drm_device_destroy | ( | struct d3drm_device * | device | ) |
Definition at line 40 of file device.c.
Referenced by d3drm1_CreateDeviceFromClipper(), d3drm1_CreateDeviceFromD3D(), d3drm1_CreateDeviceFromSurface(), d3drm3_CreateDeviceFromClipper(), d3drm3_CreateDeviceFromD3D(), d3drm3_CreateDeviceFromSurface(), and d3drm_device3_Release().
HRESULT d3drm_device_init | ( | struct d3drm_device * | device, |
UINT | version, | ||
IDirectDraw * | ddraw, | ||
IDirectDrawSurface * | surface, | ||
BOOL | create_z_surface | ||
) |
Definition at line 120 of file device.c.
Referenced by d3drm1_CreateDeviceFromClipper(), d3drm1_CreateDeviceFromSurface(), d3drm3_CreateDeviceFromClipper(), and d3drm3_CreateDeviceFromSurface().
HRESULT d3drm_face_create | ( | struct d3drm_face ** | face | ) |
Definition at line 620 of file face.c.
Referenced by d3drm1_CreateFace(), d3drm_create_face_object(), d3drm_mesh_builder2_CreateFace(), and d3drm_mesh_builder3_CreateFace().
HRESULT d3drm_frame_create | ( | struct d3drm_frame ** | frame, |
IUnknown * | parent_frame, | ||
IDirect3DRM * | d3drm | ||
) |
Definition at line 3129 of file frame.c.
Referenced by d3drm1_CreateFrame(), d3drm2_CreateFrame(), d3drm3_CreateFrame(), and d3drm_create_frame_object().
HRESULT d3drm_light_create | ( | struct d3drm_light ** | light, |
IDirect3DRM * | d3drm | ||
) |
Definition at line 371 of file light.c.
Referenced by d3drm3_CreateLight(), d3drm3_CreateLightRGB(), and d3drm_create_light_object().
HRESULT d3drm_material_create | ( | struct d3drm_material ** | material, |
IDirect3DRM * | d3drm | ||
) |
Definition at line 279 of file material.c.
Referenced by d3drm3_CreateMaterial(), d3drm_create_material_object(), and load_mesh_data().
|
inlinestatic |
Definition at line 44 of file d3drm_private.h.
HRESULT d3drm_mesh_builder_create | ( | struct d3drm_mesh_builder ** | mesh_builder, |
IDirect3DRM * | d3drm | ||
) |
Definition at line 2334 of file meshbuilder.c.
Referenced by d3drm2_CreateMeshBuilder(), d3drm3_CreateMeshBuilder(), and d3drm_create_mesh_builder_object().
HRESULT d3drm_mesh_create | ( | struct d3drm_mesh ** | mesh, |
IDirect3DRM * | d3drm | ||
) |
Definition at line 2833 of file meshbuilder.c.
Referenced by d3drm3_CreateMesh(), and d3drm_create_mesh_object().
HRESULT d3drm_object_add_destroy_callback | ( | struct d3drm_object * | object, |
D3DRMOBJECTCALLBACK | cb, | ||
void * | ctx | ||
) |
Definition at line 55 of file d3drm_main.c.
Referenced by d3drm_animation2_AddDestroyCallback(), d3drm_device3_AddDestroyCallback(), d3drm_face2_AddDestroyCallback(), d3drm_frame3_AddDestroyCallback(), d3drm_light_AddDestroyCallback(), d3drm_material_AddDestroyCallback(), d3drm_mesh_AddDestroyCallback(), d3drm_mesh_builder3_AddDestroyCallback(), d3drm_texture3_AddDestroyCallback(), d3drm_viewport2_AddDestroyCallback(), and d3drm_wrap_AddDestroyCallback().
void d3drm_object_cleanup | ( | IDirect3DRMObject * | iface, |
struct d3drm_object * | object | ||
) |
Definition at line 153 of file d3drm_main.c.
Referenced by d3drm_animation2_Release(), d3drm_device_destroy(), d3drm_face1_Release(), d3drm_frame3_Release(), d3drm_light_Release(), d3drm_material_Release(), d3drm_mesh_builder2_Release(), d3drm_mesh_Release(), d3drm_texture_destroy(), d3drm_viewport_destroy(), and d3drm_wrap_Release().
HRESULT d3drm_object_delete_destroy_callback | ( | struct d3drm_object * | object, |
D3DRMOBJECTCALLBACK | cb, | ||
void * | ctx | ||
) |
Definition at line 72 of file d3drm_main.c.
Referenced by d3drm_animation2_DeleteDestroyCallback(), d3drm_device3_DeleteDestroyCallback(), d3drm_face2_DeleteDestroyCallback(), d3drm_frame3_DeleteDestroyCallback(), d3drm_light_DeleteDestroyCallback(), d3drm_material_DeleteDestroyCallback(), d3drm_mesh_builder3_DeleteDestroyCallback(), d3drm_mesh_DeleteDestroyCallback(), d3drm_texture3_DeleteDestroyCallback(), d3drm_viewport2_DeleteDestroyCallback(), and d3drm_wrap_DeleteDestroyCallback().
HRESULT d3drm_object_get_class_name | ( | struct d3drm_object * | object, |
DWORD * | size, | ||
char * | name | ||
) |
Definition at line 92 of file d3drm_main.c.
Referenced by d3drm_animation2_GetClassName(), d3drm_device3_GetClassName(), d3drm_face2_GetClassName(), d3drm_frame3_GetClassName(), d3drm_light_GetClassName(), d3drm_material_GetClassName(), d3drm_mesh_builder3_GetClassName(), d3drm_mesh_GetClassName(), d3drm_texture3_GetClassName(), d3drm_viewport2_GetClassName(), and d3drm_wrap_GetClassName().
HRESULT d3drm_object_get_name | ( | struct d3drm_object * | object, |
DWORD * | size, | ||
char * | name | ||
) |
Definition at line 111 of file d3drm_main.c.
Referenced by d3drm_animation2_GetName(), d3drm_device3_GetName(), d3drm_face2_GetName(), d3drm_frame3_GetName(), d3drm_light_GetName(), d3drm_material_GetName(), d3drm_mesh_builder3_GetName(), d3drm_mesh_GetName(), d3drm_texture3_GetName(), d3drm_viewport2_GetName(), and d3drm_wrap_GetName().
void d3drm_object_init | ( | struct d3drm_object * | object, |
const char * | classname | ||
) |
Definition at line 39 of file d3drm_main.c.
Referenced by d3drm_animation_create(), d3drm_device_create(), d3drm_face_create(), d3drm_frame_create(), d3drm_light_create(), d3drm_material_create(), d3drm_mesh_builder_create(), d3drm_mesh_create(), d3drm_texture_create(), d3drm_viewport_create(), and d3drm_wrap_create().
HRESULT d3drm_object_set_name | ( | struct d3drm_object * | object, |
const char * | name | ||
) |
Definition at line 135 of file d3drm_main.c.
Referenced by d3drm_animation2_SetName(), d3drm_device3_SetName(), d3drm_face2_SetName(), d3drm_frame3_SetName(), d3drm_light_SetName(), d3drm_material_SetName(), d3drm_mesh_builder3_SetName(), d3drm_mesh_SetName(), d3drm_texture3_SetName(), d3drm_viewport2_SetName(), and d3drm_wrap_SetName().
Definition at line 320 of file d3drm_private.h.
Referenced by d3drm_face2_SetColorRGB(), d3drm_frame3_SetSceneBackgroundRGB(), d3drm_frame_create(), d3drm_light_SetColorRGB(), d3drm_mesh_builder3_SetColorRGB(), d3drm_mesh_SetGroupColorRGB(), D3DRMCreateColorRGBA(), and load_mesh_data().
HRESULT d3drm_texture_create | ( | struct d3drm_texture ** | texture, |
IDirect3DRM * | d3drm | ||
) |
Definition at line 1412 of file texture.c.
Referenced by d3drm1_LoadTexture(), d3drm1_LoadTextureFromResource(), d3drm2_LoadTextureFromResource(), d3drm3_CreateTexture(), d3drm3_CreateTextureFromSurface(), d3drm3_LoadTexture(), d3drm3_LoadTextureFromResource(), d3drm_create_texture_object(), and load_mesh_data().
HRESULT d3drm_viewport_create | ( | struct d3drm_viewport ** | viewport, |
IDirect3DRM * | d3drm | ||
) |
Definition at line 1123 of file viewport.c.
Referenced by d3drm3_CreateViewport(), and d3drm_create_viewport_object().
HRESULT d3drm_wrap_create | ( | struct d3drm_wrap ** | wrap, |
IDirect3DRM * | d3drm | ||
) |
Definition at line 3019 of file meshbuilder.c.
Referenced by d3drm1_CreateWrap(), d3drm3_CreateWrap(), and d3drm_create_wrap_object().
HRESULT load_mesh_data | ( | IDirect3DRMMeshBuilder3 * | iface, |
IDirectXFileData * | data, | ||
D3DRMLOADTEXTURECALLBACK | load_texture_proc, | ||
void * | arg | ||
) |
Definition at line 1019 of file meshbuilder.c.
Referenced by d3drm_mesh_builder3_Load(), and load_data().
struct d3drm_device * unsafe_impl_from_IDirect3DRMDevice3 | ( | IDirect3DRMDevice3 * | iface | ) |
Definition at line 1625 of file device.c.
Referenced by d3drm_viewport2_Init().
struct d3drm_frame * unsafe_impl_from_IDirect3DRMFrame | ( | IDirect3DRMFrame * | iface | ) |
Definition at line 3120 of file frame.c.
Referenced by d3drm_frame1_AddChild(), d3drm_frame1_DeleteChild(), d3drm_viewport1_Init(), and d3drm_viewport1_SetCamera().
struct d3drm_frame * unsafe_impl_from_IDirect3DRMFrame3 | ( | IDirect3DRMFrame3 * | iface | ) |
Definition at line 3111 of file frame.c.
Referenced by d3drm_frame3_AddChild(), d3drm_frame3_DeleteChild(), d3drm_viewport1_GetCamera(), and d3drm_viewport2_SetCamera().
Definition at line 289 of file d3dcompiler_private.h.