ReactOS 0.4.15-dev-7942-gd23573b
frame.c File Reference
#include "d3drm_private.h"
Include dependency graph for frame.c:

Go to the source code of this file.

Classes

struct  d3drm_frame_array
 
struct  d3drm_visual_array
 
struct  d3drm_light_array
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (d3drm)
 
static struct d3drm_frameimpl_from_IDirect3DRMFrame (IDirect3DRMFrame *iface)
 
static struct d3drm_frameimpl_from_IDirect3DRMFrame2 (IDirect3DRMFrame2 *iface)
 
static struct d3drm_frameimpl_from_IDirect3DRMFrame3 (IDirect3DRMFrame3 *iface)
 
static struct d3drm_frame_arrayimpl_from_IDirect3DRMFrameArray (IDirect3DRMFrameArray *iface)
 
static struct d3drm_visual_arrayimpl_from_IDirect3DRMVisualArray (IDirect3DRMVisualArray *iface)
 
static struct d3drm_light_arrayimpl_from_IDirect3DRMLightArray (IDirect3DRMLightArray *iface)
 
static struct d3drm_animationimpl_from_IDirect3DRMAnimation (IDirect3DRMAnimation *iface)
 
static struct d3drm_animationimpl_from_IDirect3DRMAnimation2 (IDirect3DRMAnimation2 *iface)
 
static void d3drm_matrix_multiply_affine (struct d3drm_matrix *dst, const struct d3drm_matrix *src1, const struct d3drm_matrix *src2)
 
static void d3drm_matrix_set_rotation (struct d3drm_matrix *matrix, D3DVECTOR *axis, float theta)
 
static void d3drm_vector_transform_affine (D3DVECTOR *dst, const D3DVECTOR *v, const struct d3drm_matrix *m)
 
static HRESULT WINAPI d3drm_frame_array_QueryInterface (IDirect3DRMFrameArray *iface, REFIID riid, void **out)
 
static ULONG WINAPI d3drm_frame_array_AddRef (IDirect3DRMFrameArray *iface)
 
static ULONG WINAPI d3drm_frame_array_Release (IDirect3DRMFrameArray *iface)
 
static DWORD WINAPI d3drm_frame_array_GetSize (IDirect3DRMFrameArray *iface)
 
static HRESULT WINAPI d3drm_frame_array_GetElement (IDirect3DRMFrameArray *iface, DWORD index, IDirect3DRMFrame **frame)
 
static struct d3drm_frame_arrayd3drm_frame_array_create (unsigned int frame_count, IDirect3DRMFrame3 **frames)
 
static HRESULT WINAPI d3drm_visual_array_QueryInterface (IDirect3DRMVisualArray *iface, REFIID riid, void **out)
 
static ULONG WINAPI d3drm_visual_array_AddRef (IDirect3DRMVisualArray *iface)
 
static ULONG WINAPI d3drm_visual_array_Release (IDirect3DRMVisualArray *iface)
 
static DWORD WINAPI d3drm_visual_array_GetSize (IDirect3DRMVisualArray *iface)
 
static HRESULT WINAPI d3drm_visual_array_GetElement (IDirect3DRMVisualArray *iface, DWORD index, IDirect3DRMVisual **visual)
 
static struct d3drm_visual_arrayd3drm_visual_array_create (unsigned int visual_count, IDirect3DRMVisual **visuals)
 
static HRESULT WINAPI d3drm_light_array_QueryInterface (IDirect3DRMLightArray *iface, REFIID riid, void **out)
 
static ULONG WINAPI d3drm_light_array_AddRef (IDirect3DRMLightArray *iface)
 
static ULONG WINAPI d3drm_light_array_Release (IDirect3DRMLightArray *iface)
 
static DWORD WINAPI d3drm_light_array_GetSize (IDirect3DRMLightArray *iface)
 
static HRESULT WINAPI d3drm_light_array_GetElement (IDirect3DRMLightArray *iface, DWORD index, IDirect3DRMLight **light)
 
static struct d3drm_light_arrayd3drm_light_array_create (unsigned int light_count, IDirect3DRMLight **lights)
 
static HRESULT WINAPI d3drm_frame3_QueryInterface (IDirect3DRMFrame3 *iface, REFIID riid, void **out)
 
static HRESULT WINAPI d3drm_frame2_QueryInterface (IDirect3DRMFrame2 *iface, REFIID riid, void **out)
 
static HRESULT WINAPI d3drm_frame1_QueryInterface (IDirect3DRMFrame *iface, REFIID riid, void **out)
 
static ULONG WINAPI d3drm_frame3_AddRef (IDirect3DRMFrame3 *iface)
 
static ULONG WINAPI d3drm_frame2_AddRef (IDirect3DRMFrame2 *iface)
 
static ULONG WINAPI d3drm_frame1_AddRef (IDirect3DRMFrame *iface)
 
static ULONG WINAPI d3drm_frame3_Release (IDirect3DRMFrame3 *iface)
 
static ULONG WINAPI d3drm_frame2_Release (IDirect3DRMFrame2 *iface)
 
static ULONG WINAPI d3drm_frame1_Release (IDirect3DRMFrame *iface)
 
static HRESULT WINAPI d3drm_frame3_Clone (IDirect3DRMFrame3 *iface, IUnknown *outer, REFIID iid, void **out)
 
static HRESULT WINAPI d3drm_frame2_Clone (IDirect3DRMFrame2 *iface, IUnknown *outer, REFIID iid, void **out)
 
static HRESULT WINAPI d3drm_frame1_Clone (IDirect3DRMFrame *iface, IUnknown *outer, REFIID iid, void **out)
 
static HRESULT WINAPI d3drm_frame3_AddDestroyCallback (IDirect3DRMFrame3 *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame2_AddDestroyCallback (IDirect3DRMFrame2 *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame1_AddDestroyCallback (IDirect3DRMFrame *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame3_DeleteDestroyCallback (IDirect3DRMFrame3 *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame2_DeleteDestroyCallback (IDirect3DRMFrame2 *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame1_DeleteDestroyCallback (IDirect3DRMFrame *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame3_SetAppData (IDirect3DRMFrame3 *iface, DWORD data)
 
static HRESULT WINAPI d3drm_frame2_SetAppData (IDirect3DRMFrame2 *iface, DWORD data)
 
static HRESULT WINAPI d3drm_frame1_SetAppData (IDirect3DRMFrame *iface, DWORD data)
 
static DWORD WINAPI d3drm_frame3_GetAppData (IDirect3DRMFrame3 *iface)
 
static DWORD WINAPI d3drm_frame2_GetAppData (IDirect3DRMFrame2 *iface)
 
static DWORD WINAPI d3drm_frame1_GetAppData (IDirect3DRMFrame *iface)
 
static HRESULT WINAPI d3drm_frame3_SetName (IDirect3DRMFrame3 *iface, const char *name)
 
static HRESULT WINAPI d3drm_frame2_SetName (IDirect3DRMFrame2 *iface, const char *name)
 
static HRESULT WINAPI d3drm_frame1_SetName (IDirect3DRMFrame *iface, const char *name)
 
static HRESULT WINAPI d3drm_frame3_GetName (IDirect3DRMFrame3 *iface, DWORD *size, char *name)
 
static HRESULT WINAPI d3drm_frame2_GetName (IDirect3DRMFrame2 *iface, DWORD *size, char *name)
 
static HRESULT WINAPI d3drm_frame1_GetName (IDirect3DRMFrame *iface, DWORD *size, char *name)
 
static HRESULT WINAPI d3drm_frame3_GetClassName (IDirect3DRMFrame3 *iface, DWORD *size, char *name)
 
static HRESULT WINAPI d3drm_frame2_GetClassName (IDirect3DRMFrame2 *iface, DWORD *size, char *name)
 
static HRESULT WINAPI d3drm_frame1_GetClassName (IDirect3DRMFrame *iface, DWORD *size, char *name)
 
static HRESULT WINAPI d3drm_frame3_AddChild (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *child)
 
static HRESULT WINAPI d3drm_frame2_AddChild (IDirect3DRMFrame2 *iface, IDirect3DRMFrame *child)
 
static HRESULT WINAPI d3drm_frame1_AddChild (IDirect3DRMFrame *iface, IDirect3DRMFrame *child)
 
static HRESULT WINAPI d3drm_frame3_AddLight (IDirect3DRMFrame3 *iface, IDirect3DRMLight *light)
 
static HRESULT WINAPI d3drm_frame2_AddLight (IDirect3DRMFrame2 *iface, IDirect3DRMLight *light)
 
static HRESULT WINAPI d3drm_frame1_AddLight (IDirect3DRMFrame *iface, IDirect3DRMLight *light)
 
static HRESULT WINAPI d3drm_frame3_AddMoveCallback (IDirect3DRMFrame3 *iface, D3DRMFRAME3MOVECALLBACK cb, void *ctx, DWORD flags)
 
static HRESULT WINAPI d3drm_frame2_AddMoveCallback (IDirect3DRMFrame2 *iface, D3DRMFRAMEMOVECALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame1_AddMoveCallback (IDirect3DRMFrame *iface, D3DRMFRAMEMOVECALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame3_AddTransform (IDirect3DRMFrame3 *iface, D3DRMCOMBINETYPE type, D3DRMMATRIX4D matrix)
 
static HRESULT WINAPI d3drm_frame2_AddTransform (IDirect3DRMFrame2 *iface, D3DRMCOMBINETYPE type, D3DRMMATRIX4D matrix)
 
static HRESULT WINAPI d3drm_frame1_AddTransform (IDirect3DRMFrame *iface, D3DRMCOMBINETYPE type, D3DRMMATRIX4D matrix)
 
static HRESULT WINAPI d3drm_frame3_AddTranslation (IDirect3DRMFrame3 *iface, D3DRMCOMBINETYPE type, D3DVALUE x, D3DVALUE y, D3DVALUE z)
 
static HRESULT WINAPI d3drm_frame2_AddTranslation (IDirect3DRMFrame2 *iface, D3DRMCOMBINETYPE type, D3DVALUE x, D3DVALUE y, D3DVALUE z)
 
static HRESULT WINAPI d3drm_frame1_AddTranslation (IDirect3DRMFrame *iface, D3DRMCOMBINETYPE type, D3DVALUE x, D3DVALUE y, D3DVALUE z)
 
static HRESULT WINAPI d3drm_frame3_AddScale (IDirect3DRMFrame3 *iface, D3DRMCOMBINETYPE type, D3DVALUE sx, D3DVALUE sy, D3DVALUE sz)
 
static HRESULT WINAPI d3drm_frame2_AddScale (IDirect3DRMFrame2 *iface, D3DRMCOMBINETYPE type, D3DVALUE sx, D3DVALUE sy, D3DVALUE sz)
 
static HRESULT WINAPI d3drm_frame1_AddScale (IDirect3DRMFrame *iface, D3DRMCOMBINETYPE type, D3DVALUE sx, D3DVALUE sy, D3DVALUE sz)
 
static HRESULT WINAPI d3drm_frame3_AddRotation (IDirect3DRMFrame3 *iface, D3DRMCOMBINETYPE type, D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta)
 
static HRESULT WINAPI d3drm_frame2_AddRotation (IDirect3DRMFrame2 *iface, D3DRMCOMBINETYPE type, D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta)
 
static HRESULT WINAPI d3drm_frame1_AddRotation (IDirect3DRMFrame *iface, D3DRMCOMBINETYPE type, D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta)
 
static HRESULT WINAPI d3drm_frame3_AddVisual (IDirect3DRMFrame3 *iface, IUnknown *visual)
 
static HRESULT WINAPI d3drm_frame2_AddVisual (IDirect3DRMFrame2 *iface, IDirect3DRMVisual *visual)
 
static HRESULT WINAPI d3drm_frame1_AddVisual (IDirect3DRMFrame *iface, IDirect3DRMVisual *visual)
 
static HRESULT WINAPI d3drm_frame3_GetChildren (IDirect3DRMFrame3 *iface, IDirect3DRMFrameArray **children)
 
static HRESULT WINAPI d3drm_frame2_GetChildren (IDirect3DRMFrame2 *iface, IDirect3DRMFrameArray **children)
 
static HRESULT WINAPI d3drm_frame1_GetChildren (IDirect3DRMFrame *iface, IDirect3DRMFrameArray **children)
 
static D3DCOLOR WINAPI d3drm_frame3_GetColor (IDirect3DRMFrame3 *iface)
 
static D3DCOLOR WINAPI d3drm_frame2_GetColor (IDirect3DRMFrame2 *iface)
 
static D3DCOLOR WINAPI d3drm_frame1_GetColor (IDirect3DRMFrame *iface)
 
static HRESULT WINAPI d3drm_frame3_GetLights (IDirect3DRMFrame3 *iface, IDirect3DRMLightArray **lights)
 
static HRESULT WINAPI d3drm_frame2_GetLights (IDirect3DRMFrame2 *iface, IDirect3DRMLightArray **lights)
 
static HRESULT WINAPI d3drm_frame1_GetLights (IDirect3DRMFrame *iface, IDirect3DRMLightArray **lights)
 
static D3DRMMATERIALMODE WINAPI d3drm_frame3_GetMaterialMode (IDirect3DRMFrame3 *iface)
 
static D3DRMMATERIALMODE WINAPI d3drm_frame2_GetMaterialMode (IDirect3DRMFrame2 *iface)
 
static D3DRMMATERIALMODE WINAPI d3drm_frame1_GetMaterialMode (IDirect3DRMFrame *iface)
 
static HRESULT WINAPI d3drm_frame3_GetParent (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 **parent)
 
static HRESULT WINAPI d3drm_frame2_GetParent (IDirect3DRMFrame2 *iface, IDirect3DRMFrame **parent)
 
static HRESULT WINAPI d3drm_frame1_GetParent (IDirect3DRMFrame *iface, IDirect3DRMFrame **parent)
 
static HRESULT WINAPI d3drm_frame3_GetPosition (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *reference, D3DVECTOR *position)
 
static HRESULT WINAPI d3drm_frame2_GetPosition (IDirect3DRMFrame2 *iface, IDirect3DRMFrame *reference, D3DVECTOR *position)
 
static HRESULT WINAPI d3drm_frame1_GetPosition (IDirect3DRMFrame *iface, IDirect3DRMFrame *reference, D3DVECTOR *position)
 
static HRESULT WINAPI d3drm_frame3_GetRotation (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *reference, D3DVECTOR *axis, D3DVALUE *theta)
 
static HRESULT WINAPI d3drm_frame2_GetRotation (IDirect3DRMFrame2 *iface, IDirect3DRMFrame *reference, D3DVECTOR *axis, D3DVALUE *theta)
 
static HRESULT WINAPI d3drm_frame1_GetRotation (IDirect3DRMFrame *iface, IDirect3DRMFrame *reference, D3DVECTOR *axis, D3DVALUE *theta)
 
static HRESULT WINAPI d3drm_frame3_GetScene (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 **scene)
 
static HRESULT WINAPI d3drm_frame2_GetScene (IDirect3DRMFrame2 *iface, IDirect3DRMFrame **scene)
 
static HRESULT WINAPI d3drm_frame1_GetScene (IDirect3DRMFrame *iface, IDirect3DRMFrame **scene)
 
static D3DRMSORTMODE WINAPI d3drm_frame3_GetSortMode (IDirect3DRMFrame3 *iface)
 
static D3DRMSORTMODE WINAPI d3drm_frame2_GetSortMode (IDirect3DRMFrame2 *iface)
 
static D3DRMSORTMODE WINAPI d3drm_frame1_GetSortMode (IDirect3DRMFrame *iface)
 
static HRESULT WINAPI d3drm_frame3_GetTexture (IDirect3DRMFrame3 *iface, IDirect3DRMTexture3 **texture)
 
static HRESULT WINAPI d3drm_frame2_GetTexture (IDirect3DRMFrame2 *iface, IDirect3DRMTexture **texture)
 
static HRESULT WINAPI d3drm_frame1_GetTexture (IDirect3DRMFrame *iface, IDirect3DRMTexture **texture)
 
static HRESULT WINAPI d3drm_frame3_GetTransform (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *reference, D3DRMMATRIX4D matrix)
 
static HRESULT WINAPI d3drm_frame2_GetTransform (IDirect3DRMFrame2 *iface, D3DRMMATRIX4D matrix)
 
static HRESULT WINAPI d3drm_frame1_GetTransform (IDirect3DRMFrame *iface, D3DRMMATRIX4D matrix)
 
static HRESULT WINAPI d3drm_frame3_GetVelocity (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *reference, D3DVECTOR *velocity, BOOL with_rotation)
 
static HRESULT WINAPI d3drm_frame2_GetVelocity (IDirect3DRMFrame2 *iface, IDirect3DRMFrame *reference, D3DVECTOR *velocity, BOOL with_rotation)
 
static HRESULT WINAPI d3drm_frame1_GetVelocity (IDirect3DRMFrame *iface, IDirect3DRMFrame *reference, D3DVECTOR *velocity, BOOL with_rotation)
 
static HRESULT WINAPI d3drm_frame3_GetOrientation (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *reference, D3DVECTOR *dir, D3DVECTOR *up)
 
static HRESULT WINAPI d3drm_frame2_GetOrientation (IDirect3DRMFrame2 *iface, IDirect3DRMFrame *reference, D3DVECTOR *dir, D3DVECTOR *up)
 
static HRESULT WINAPI d3drm_frame1_GetOrientation (IDirect3DRMFrame *iface, IDirect3DRMFrame *reference, D3DVECTOR *dir, D3DVECTOR *up)
 
static HRESULT WINAPI d3drm_frame3_GetVisuals (IDirect3DRMFrame3 *iface, DWORD *count, IUnknown **visuals)
 
static HRESULT WINAPI d3drm_frame2_GetVisuals (IDirect3DRMFrame2 *iface, IDirect3DRMVisualArray **visuals)
 
static HRESULT WINAPI d3drm_frame1_GetVisuals (IDirect3DRMFrame *iface, IDirect3DRMVisualArray **visuals)
 
static HRESULT WINAPI d3drm_frame2_GetTextureTopology (IDirect3DRMFrame2 *iface, BOOL *wrap_u, BOOL *wrap_v)
 
static HRESULT WINAPI d3drm_frame1_GetTextureTopology (IDirect3DRMFrame *iface, BOOL *wrap_u, BOOL *wrap_v)
 
static HRESULT WINAPI d3drm_frame3_InverseTransform (IDirect3DRMFrame3 *iface, D3DVECTOR *d, D3DVECTOR *s)
 
static HRESULT WINAPI d3drm_frame2_InverseTransform (IDirect3DRMFrame2 *iface, D3DVECTOR *d, D3DVECTOR *s)
 
static HRESULT WINAPI d3drm_frame1_InverseTransform (IDirect3DRMFrame *iface, D3DVECTOR *d, D3DVECTOR *s)
 
static HRESULT WINAPI d3drm_frame3_Load (IDirect3DRMFrame3 *iface, void *filename, void *name, D3DRMLOADOPTIONS flags, D3DRMLOADTEXTURE3CALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame2_Load (IDirect3DRMFrame2 *iface, void *filename, void *name, D3DRMLOADOPTIONS flags, D3DRMLOADTEXTURECALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame1_Load (IDirect3DRMFrame *iface, void *filename, void *name, D3DRMLOADOPTIONS flags, D3DRMLOADTEXTURECALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame3_LookAt (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *target, IDirect3DRMFrame3 *reference, D3DRMFRAMECONSTRAINT constraint)
 
static HRESULT WINAPI d3drm_frame2_LookAt (IDirect3DRMFrame2 *iface, IDirect3DRMFrame *target, IDirect3DRMFrame *reference, D3DRMFRAMECONSTRAINT constraint)
 
static HRESULT WINAPI d3drm_frame1_LookAt (IDirect3DRMFrame *iface, IDirect3DRMFrame *target, IDirect3DRMFrame *reference, D3DRMFRAMECONSTRAINT constraint)
 
static HRESULT WINAPI d3drm_frame3_Move (IDirect3DRMFrame3 *iface, D3DVALUE delta)
 
static HRESULT WINAPI d3drm_frame2_Move (IDirect3DRMFrame2 *iface, D3DVALUE delta)
 
static HRESULT WINAPI d3drm_frame1_Move (IDirect3DRMFrame *iface, D3DVALUE delta)
 
static HRESULT WINAPI d3drm_frame3_DeleteChild (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *child)
 
static HRESULT WINAPI d3drm_frame2_DeleteChild (IDirect3DRMFrame2 *iface, IDirect3DRMFrame *child)
 
static HRESULT WINAPI d3drm_frame1_DeleteChild (IDirect3DRMFrame *iface, IDirect3DRMFrame *child)
 
static HRESULT WINAPI d3drm_frame3_DeleteLight (IDirect3DRMFrame3 *iface, IDirect3DRMLight *light)
 
static HRESULT WINAPI d3drm_frame2_DeleteLight (IDirect3DRMFrame2 *iface, IDirect3DRMLight *light)
 
static HRESULT WINAPI d3drm_frame1_DeleteLight (IDirect3DRMFrame *iface, IDirect3DRMLight *light)
 
static HRESULT WINAPI d3drm_frame3_DeleteMoveCallback (IDirect3DRMFrame3 *iface, D3DRMFRAME3MOVECALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame2_DeleteMoveCallback (IDirect3DRMFrame2 *iface, D3DRMFRAMEMOVECALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame1_DeleteMoveCallback (IDirect3DRMFrame *iface, D3DRMFRAMEMOVECALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_frame3_DeleteVisual (IDirect3DRMFrame3 *iface, IUnknown *visual)
 
static HRESULT WINAPI d3drm_frame2_DeleteVisual (IDirect3DRMFrame2 *iface, IDirect3DRMVisual *visual)
 
static HRESULT WINAPI d3drm_frame1_DeleteVisual (IDirect3DRMFrame *iface, IDirect3DRMVisual *visual)
 
static D3DCOLOR WINAPI d3drm_frame3_GetSceneBackground (IDirect3DRMFrame3 *iface)
 
static D3DCOLOR WINAPI d3drm_frame2_GetSceneBackground (IDirect3DRMFrame2 *iface)
 
static D3DCOLOR WINAPI d3drm_frame1_GetSceneBackground (IDirect3DRMFrame *iface)
 
static HRESULT WINAPI d3drm_frame3_GetSceneBackgroundDepth (IDirect3DRMFrame3 *iface, IDirectDrawSurface **surface)
 
static HRESULT WINAPI d3drm_frame2_GetSceneBackgroundDepth (IDirect3DRMFrame2 *iface, IDirectDrawSurface **surface)
 
static HRESULT WINAPI d3drm_frame1_GetSceneBackgroundDepth (IDirect3DRMFrame *iface, IDirectDrawSurface **surface)
 
static D3DCOLOR WINAPI d3drm_frame3_GetSceneFogColor (IDirect3DRMFrame3 *iface)
 
static D3DCOLOR WINAPI d3drm_frame2_GetSceneFogColor (IDirect3DRMFrame2 *iface)
 
static D3DCOLOR WINAPI d3drm_frame1_GetSceneFogColor (IDirect3DRMFrame *iface)
 
static BOOL WINAPI d3drm_frame3_GetSceneFogEnable (IDirect3DRMFrame3 *iface)
 
static BOOL WINAPI d3drm_frame2_GetSceneFogEnable (IDirect3DRMFrame2 *iface)
 
static BOOL WINAPI d3drm_frame1_GetSceneFogEnable (IDirect3DRMFrame *iface)
 
static D3DRMFOGMODE WINAPI d3drm_frame3_GetSceneFogMode (IDirect3DRMFrame3 *iface)
 
static D3DRMFOGMODE WINAPI d3drm_frame2_GetSceneFogMode (IDirect3DRMFrame2 *iface)
 
static D3DRMFOGMODE WINAPI d3drm_frame1_GetSceneFogMode (IDirect3DRMFrame *iface)
 
static HRESULT WINAPI d3drm_frame3_GetSceneFogParams (IDirect3DRMFrame3 *iface, D3DVALUE *start, D3DVALUE *end, D3DVALUE *density)
 
static HRESULT WINAPI d3drm_frame2_GetSceneFogParams (IDirect3DRMFrame2 *iface, D3DVALUE *start, D3DVALUE *end, D3DVALUE *density)
 
static HRESULT WINAPI d3drm_frame1_GetSceneFogParams (IDirect3DRMFrame *iface, D3DVALUE *start, D3DVALUE *end, D3DVALUE *density)
 
static HRESULT WINAPI d3drm_frame3_SetSceneBackground (IDirect3DRMFrame3 *iface, D3DCOLOR color)
 
static HRESULT WINAPI d3drm_frame2_SetSceneBackground (IDirect3DRMFrame2 *iface, D3DCOLOR color)
 
static HRESULT WINAPI d3drm_frame1_SetSceneBackground (IDirect3DRMFrame *iface, D3DCOLOR color)
 
static HRESULT WINAPI d3drm_frame3_SetSceneBackgroundRGB (IDirect3DRMFrame3 *iface, D3DVALUE red, D3DVALUE green, D3DVALUE blue)
 
static HRESULT WINAPI d3drm_frame2_SetSceneBackgroundRGB (IDirect3DRMFrame2 *iface, D3DVALUE red, D3DVALUE green, D3DVALUE blue)
 
static HRESULT WINAPI d3drm_frame1_SetSceneBackgroundRGB (IDirect3DRMFrame *iface, D3DVALUE red, D3DVALUE green, D3DVALUE blue)
 
static HRESULT WINAPI d3drm_frame3_SetSceneBackgroundDepth (IDirect3DRMFrame3 *iface, IDirectDrawSurface *surface)
 
static HRESULT WINAPI d3drm_frame2_SetSceneBackgroundDepth (IDirect3DRMFrame2 *iface, IDirectDrawSurface *surface)
 
static HRESULT WINAPI d3drm_frame1_SetSceneBackgroundDepth (IDirect3DRMFrame *iface, IDirectDrawSurface *surface)
 
static HRESULT WINAPI d3drm_frame3_SetSceneBackgroundImage (IDirect3DRMFrame3 *iface, IDirect3DRMTexture3 *texture)
 
static HRESULT WINAPI d3drm_frame2_SetSceneBackgroundImage (IDirect3DRMFrame2 *iface, IDirect3DRMTexture *texture)
 
static HRESULT WINAPI d3drm_frame1_SetSceneBackgroundImage (IDirect3DRMFrame *iface, IDirect3DRMTexture *texture)
 
static HRESULT WINAPI d3drm_frame3_SetSceneFogEnable (IDirect3DRMFrame3 *iface, BOOL enable)
 
static HRESULT WINAPI d3drm_frame2_SetSceneFogEnable (IDirect3DRMFrame2 *iface, BOOL enable)
 
static HRESULT WINAPI d3drm_frame1_SetSceneFogEnable (IDirect3DRMFrame *iface, BOOL enable)
 
static HRESULT WINAPI d3drm_frame3_SetSceneFogColor (IDirect3DRMFrame3 *iface, D3DCOLOR color)
 
static HRESULT WINAPI d3drm_frame2_SetSceneFogColor (IDirect3DRMFrame2 *iface, D3DCOLOR color)
 
static HRESULT WINAPI d3drm_frame1_SetSceneFogColor (IDirect3DRMFrame *iface, D3DCOLOR color)
 
static HRESULT WINAPI d3drm_frame3_SetSceneFogMode (IDirect3DRMFrame3 *iface, D3DRMFOGMODE mode)
 
static HRESULT WINAPI d3drm_frame2_SetSceneFogMode (IDirect3DRMFrame2 *iface, D3DRMFOGMODE mode)
 
static HRESULT WINAPI d3drm_frame1_SetSceneFogMode (IDirect3DRMFrame *iface, D3DRMFOGMODE mode)
 
static HRESULT WINAPI d3drm_frame3_SetSceneFogParams (IDirect3DRMFrame3 *iface, D3DVALUE start, D3DVALUE end, D3DVALUE density)
 
static HRESULT WINAPI d3drm_frame2_SetSceneFogParams (IDirect3DRMFrame2 *iface, D3DVALUE start, D3DVALUE end, D3DVALUE density)
 
static HRESULT WINAPI d3drm_frame1_SetSceneFogParams (IDirect3DRMFrame *iface, D3DVALUE start, D3DVALUE end, D3DVALUE density)
 
static HRESULT WINAPI d3drm_frame3_SetColor (IDirect3DRMFrame3 *iface, D3DCOLOR color)
 
static HRESULT WINAPI d3drm_frame2_SetColor (IDirect3DRMFrame2 *iface, D3DCOLOR color)
 
static HRESULT WINAPI d3drm_frame1_SetColor (IDirect3DRMFrame *iface, D3DCOLOR color)
 
static HRESULT WINAPI d3drm_frame3_SetColorRGB (IDirect3DRMFrame3 *iface, D3DVALUE red, D3DVALUE green, D3DVALUE blue)
 
static HRESULT WINAPI d3drm_frame2_SetColorRGB (IDirect3DRMFrame2 *iface, D3DVALUE red, D3DVALUE green, D3DVALUE blue)
 
static HRESULT WINAPI d3drm_frame1_SetColorRGB (IDirect3DRMFrame *iface, D3DVALUE red, D3DVALUE green, D3DVALUE blue)
 
static D3DRMZBUFFERMODE WINAPI d3drm_frame3_GetZbufferMode (IDirect3DRMFrame3 *iface)
 
static D3DRMZBUFFERMODE WINAPI d3drm_frame2_GetZbufferMode (IDirect3DRMFrame2 *iface)
 
static D3DRMZBUFFERMODE WINAPI d3drm_frame1_GetZbufferMode (IDirect3DRMFrame *iface)
 
static HRESULT WINAPI d3drm_frame3_SetMaterialMode (IDirect3DRMFrame3 *iface, D3DRMMATERIALMODE mode)
 
static HRESULT WINAPI d3drm_frame2_SetMaterialMode (IDirect3DRMFrame2 *iface, D3DRMMATERIALMODE mode)
 
static HRESULT WINAPI d3drm_frame1_SetMaterialMode (IDirect3DRMFrame *iface, D3DRMMATERIALMODE mode)
 
static HRESULT WINAPI d3drm_frame3_SetOrientation (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *reference, D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz)
 
static HRESULT WINAPI d3drm_frame2_SetOrientation (IDirect3DRMFrame2 *iface, IDirect3DRMFrame *reference, D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz)
 
static HRESULT WINAPI d3drm_frame1_SetOrientation (IDirect3DRMFrame *iface, IDirect3DRMFrame *reference, D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz)
 
static HRESULT WINAPI d3drm_frame3_SetPosition (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z)
 
static HRESULT WINAPI d3drm_frame2_SetPosition (IDirect3DRMFrame2 *iface, IDirect3DRMFrame *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z)
 
static HRESULT WINAPI d3drm_frame1_SetPosition (IDirect3DRMFrame *iface, IDirect3DRMFrame *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z)
 
static HRESULT WINAPI d3drm_frame3_SetRotation (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta)
 
static HRESULT WINAPI d3drm_frame2_SetRotation (IDirect3DRMFrame2 *iface, IDirect3DRMFrame *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta)
 
static HRESULT WINAPI d3drm_frame1_SetRotation (IDirect3DRMFrame *iface, IDirect3DRMFrame *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta)
 
static HRESULT WINAPI d3drm_frame3_SetSortMode (IDirect3DRMFrame3 *iface, D3DRMSORTMODE mode)
 
static HRESULT WINAPI d3drm_frame2_SetSortMode (IDirect3DRMFrame2 *iface, D3DRMSORTMODE mode)
 
static HRESULT WINAPI d3drm_frame1_SetSortMode (IDirect3DRMFrame *iface, D3DRMSORTMODE mode)
 
static HRESULT WINAPI d3drm_frame3_SetTexture (IDirect3DRMFrame3 *iface, IDirect3DRMTexture3 *texture)
 
static HRESULT WINAPI d3drm_frame2_SetTexture (IDirect3DRMFrame2 *iface, IDirect3DRMTexture *texture)
 
static HRESULT WINAPI d3drm_frame1_SetTexture (IDirect3DRMFrame *iface, IDirect3DRMTexture *texture)
 
static HRESULT WINAPI d3drm_frame2_SetTextureTopology (IDirect3DRMFrame2 *iface, BOOL wrap_u, BOOL wrap_v)
 
static HRESULT WINAPI d3drm_frame1_SetTextureTopology (IDirect3DRMFrame *iface, BOOL wrap_u, BOOL wrap_v)
 
static HRESULT WINAPI d3drm_frame3_SetVelocity (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z, BOOL with_rotation)
 
static HRESULT WINAPI d3drm_frame2_SetVelocity (IDirect3DRMFrame2 *iface, IDirect3DRMFrame *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z, BOOL with_rotation)
 
static HRESULT WINAPI d3drm_frame1_SetVelocity (IDirect3DRMFrame *iface, IDirect3DRMFrame *reference, D3DVALUE x, D3DVALUE y, D3DVALUE z, BOOL with_rotation)
 
static HRESULT WINAPI d3drm_frame3_SetZbufferMode (IDirect3DRMFrame3 *iface, D3DRMZBUFFERMODE mode)
 
static HRESULT WINAPI d3drm_frame2_SetZbufferMode (IDirect3DRMFrame2 *iface, D3DRMZBUFFERMODE mode)
 
static HRESULT WINAPI d3drm_frame1_SetZbufferMode (IDirect3DRMFrame *iface, D3DRMZBUFFERMODE mode)
 
static HRESULT WINAPI d3drm_frame3_Transform (IDirect3DRMFrame3 *iface, D3DVECTOR *d, D3DVECTOR *s)
 
static HRESULT WINAPI d3drm_frame2_Transform (IDirect3DRMFrame2 *iface, D3DVECTOR *d, D3DVECTOR *s)
 
static HRESULT WINAPI d3drm_frame1_Transform (IDirect3DRMFrame *iface, D3DVECTOR *d, D3DVECTOR *s)
 
static HRESULT WINAPI d3drm_frame2_AddMoveCallback2 (IDirect3DRMFrame2 *iface, D3DRMFRAMEMOVECALLBACK cb, void *ctx, DWORD flags)
 
static HRESULT WINAPI d3drm_frame3_GetBox (IDirect3DRMFrame3 *iface, D3DRMBOX *box)
 
static HRESULT WINAPI d3drm_frame2_GetBox (IDirect3DRMFrame2 *iface, D3DRMBOX *box)
 
static BOOL WINAPI d3drm_frame3_GetBoxEnable (IDirect3DRMFrame3 *iface)
 
static BOOL WINAPI d3drm_frame2_GetBoxEnable (IDirect3DRMFrame2 *iface)
 
static HRESULT WINAPI d3drm_frame3_GetAxes (IDirect3DRMFrame3 *iface, D3DVECTOR *dir, D3DVECTOR *up)
 
static HRESULT WINAPI d3drm_frame2_GetAxes (IDirect3DRMFrame2 *iface, D3DVECTOR *dir, D3DVECTOR *up)
 
static HRESULT WINAPI d3drm_frame3_GetMaterial (IDirect3DRMFrame3 *iface, IDirect3DRMMaterial2 **material)
 
static HRESULT WINAPI d3drm_frame2_GetMaterial (IDirect3DRMFrame2 *iface, IDirect3DRMMaterial **material)
 
static BOOL WINAPI d3drm_frame3_GetInheritAxes (IDirect3DRMFrame3 *iface)
 
static BOOL WINAPI d3drm_frame2_GetInheritAxes (IDirect3DRMFrame2 *iface)
 
static HRESULT WINAPI d3drm_frame3_GetHierarchyBox (IDirect3DRMFrame3 *iface, D3DRMBOX *box)
 
static HRESULT WINAPI d3drm_frame2_GetHierarchyBox (IDirect3DRMFrame2 *iface, D3DRMBOX *box)
 
static HRESULT WINAPI d3drm_frame3_SetBox (IDirect3DRMFrame3 *iface, D3DRMBOX *box)
 
static HRESULT WINAPI d3drm_frame3_SetBoxEnable (IDirect3DRMFrame3 *iface, BOOL enable)
 
static HRESULT WINAPI d3drm_frame3_SetAxes (IDirect3DRMFrame3 *iface, D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz)
 
static HRESULT WINAPI d3drm_frame3_SetInheritAxes (IDirect3DRMFrame3 *iface, BOOL inherit)
 
static HRESULT WINAPI d3drm_frame3_SetMaterial (IDirect3DRMFrame3 *iface, IDirect3DRMMaterial2 *material)
 
static HRESULT WINAPI d3drm_frame3_SetQuaternion (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *reference, D3DRMQUATERNION *q)
 
static HRESULT WINAPI d3drm_frame3_RayPick (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *reference, D3DRMRAY *ray, DWORD flags, IDirect3DRMPicked2Array **visuals)
 
static HRESULT WINAPI d3drm_frame3_Save (IDirect3DRMFrame3 *iface, const char *filename, D3DRMXOFFORMAT format, D3DRMSAVEOPTIONS flags)
 
static HRESULT WINAPI d3drm_frame3_TransformVectors (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *reference, DWORD num, D3DVECTOR *dst, D3DVECTOR *src)
 
static HRESULT WINAPI d3drm_frame3_InverseTransformVectors (IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *reference, DWORD num, D3DVECTOR *dst, D3DVECTOR *src)
 
static HRESULT WINAPI d3drm_frame3_SetTraversalOptions (IDirect3DRMFrame3 *iface, DWORD options)
 
static HRESULT WINAPI d3drm_frame3_GetTraversalOptions (IDirect3DRMFrame3 *iface, DWORD *options)
 
static HRESULT WINAPI d3drm_frame3_SetSceneFogMethod (IDirect3DRMFrame3 *iface, DWORD flags)
 
static HRESULT WINAPI d3drm_frame3_GetSceneFogMethod (IDirect3DRMFrame3 *iface, DWORD *fog_mode)
 
static HRESULT WINAPI d3drm_frame3_SetMaterialOverride (IDirect3DRMFrame3 *iface, D3DRMMATERIALOVERRIDE *override)
 
static HRESULT WINAPI d3drm_frame3_GetMaterialOverride (IDirect3DRMFrame3 *iface, D3DRMMATERIALOVERRIDE *override)
 
struct d3drm_frameunsafe_impl_from_IDirect3DRMFrame3 (IDirect3DRMFrame3 *iface)
 
struct d3drm_frameunsafe_impl_from_IDirect3DRMFrame (IDirect3DRMFrame *iface)
 
HRESULT d3drm_frame_create (struct d3drm_frame **frame, IUnknown *parent_frame, IDirect3DRM *d3drm)
 
static HRESULT WINAPI d3drm_animation2_QueryInterface (IDirect3DRMAnimation2 *iface, REFIID riid, void **out)
 
static HRESULT WINAPI d3drm_animation1_QueryInterface (IDirect3DRMAnimation *iface, REFIID riid, void **out)
 
static ULONG WINAPI d3drm_animation2_AddRef (IDirect3DRMAnimation2 *iface)
 
static ULONG WINAPI d3drm_animation1_AddRef (IDirect3DRMAnimation *iface)
 
static ULONG WINAPI d3drm_animation2_Release (IDirect3DRMAnimation2 *iface)
 
static ULONG WINAPI d3drm_animation1_Release (IDirect3DRMAnimation *iface)
 
static HRESULT WINAPI d3drm_animation2_Clone (IDirect3DRMAnimation2 *iface, IUnknown *outer, REFIID iid, void **out)
 
static HRESULT WINAPI d3drm_animation1_Clone (IDirect3DRMAnimation *iface, IUnknown *outer, REFIID iid, void **out)
 
static HRESULT WINAPI d3drm_animation2_AddDestroyCallback (IDirect3DRMAnimation2 *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_animation1_AddDestroyCallback (IDirect3DRMAnimation *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_animation2_DeleteDestroyCallback (IDirect3DRMAnimation2 *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_animation1_DeleteDestroyCallback (IDirect3DRMAnimation *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
 
static HRESULT WINAPI d3drm_animation2_SetAppData (IDirect3DRMAnimation2 *iface, DWORD data)
 
static HRESULT WINAPI d3drm_animation1_SetAppData (IDirect3DRMAnimation *iface, DWORD data)
 
static DWORD WINAPI d3drm_animation2_GetAppData (IDirect3DRMAnimation2 *iface)
 
static DWORD WINAPI d3drm_animation1_GetAppData (IDirect3DRMAnimation *iface)
 
static HRESULT WINAPI d3drm_animation2_SetName (IDirect3DRMAnimation2 *iface, const char *name)
 
static HRESULT WINAPI d3drm_animation1_SetName (IDirect3DRMAnimation *iface, const char *name)
 
static HRESULT WINAPI d3drm_animation2_GetName (IDirect3DRMAnimation2 *iface, DWORD *size, char *name)
 
static HRESULT WINAPI d3drm_animation1_GetName (IDirect3DRMAnimation *iface, DWORD *size, char *name)
 
static HRESULT WINAPI d3drm_animation2_GetClassName (IDirect3DRMAnimation2 *iface, DWORD *size, char *name)
 
static HRESULT WINAPI d3drm_animation1_GetClassName (IDirect3DRMAnimation *iface, DWORD *size, char *name)
 
static HRESULT WINAPI d3drm_animation2_SetOptions (IDirect3DRMAnimation2 *iface, D3DRMANIMATIONOPTIONS options)
 
static HRESULT WINAPI d3drm_animation1_SetOptions (IDirect3DRMAnimation *iface, D3DRMANIMATIONOPTIONS options)
 
static SIZE_T d3drm_animation_lookup_key (const struct d3drm_animation_key *keys, SIZE_T count, D3DVALUE time)
 
static SIZE_T d3drm_animation_get_index_min (const struct d3drm_animation_key *keys, SIZE_T count, D3DVALUE time)
 
static SIZE_T d3drm_animation_get_index_max (const struct d3drm_animation_key *keys, SIZE_T count, D3DVALUE time)
 
static SIZE_T d3drm_animation_get_insert_position (const struct d3drm_animation_keys *keys, D3DVALUE time)
 
static const struct d3drm_animation_keyd3drm_animation_get_range (const struct d3drm_animation_keys *keys, D3DVALUE time_min, D3DVALUE time_max, SIZE_T *count)
 
static HRESULT WINAPI d3drm_animation2_AddKey (IDirect3DRMAnimation2 *iface, D3DRMANIMATIONKEY *key)
 
static HRESULT WINAPI d3drm_animation2_AddRotateKey (IDirect3DRMAnimation2 *iface, D3DVALUE time, D3DRMQUATERNION *q)
 
static HRESULT WINAPI d3drm_animation1_AddRotateKey (IDirect3DRMAnimation *iface, D3DVALUE time, D3DRMQUATERNION *q)
 
static HRESULT WINAPI d3drm_animation2_AddPositionKey (IDirect3DRMAnimation2 *iface, D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z)
 
static HRESULT WINAPI d3drm_animation1_AddPositionKey (IDirect3DRMAnimation *iface, D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z)
 
static HRESULT WINAPI d3drm_animation2_AddScaleKey (IDirect3DRMAnimation2 *iface, D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z)
 
static HRESULT WINAPI d3drm_animation1_AddScaleKey (IDirect3DRMAnimation *iface, D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z)
 
static void d3drm_animation_delete_key (struct d3drm_animation_keys *keys, const struct d3drm_animation_key *key)
 
static HRESULT WINAPI d3drm_animation2_DeleteKey (IDirect3DRMAnimation2 *iface, D3DVALUE time)
 
static HRESULT WINAPI d3drm_animation1_DeleteKey (IDirect3DRMAnimation *iface, D3DVALUE time)
 
static HRESULT WINAPI d3drm_animation1_SetFrame (IDirect3DRMAnimation *iface, IDirect3DRMFrame *frame)
 
static HRESULT WINAPI d3drm_animation1_SetTime (IDirect3DRMAnimation *iface, D3DVALUE time)
 
static D3DRMANIMATIONOPTIONS WINAPI d3drm_animation2_GetOptions (IDirect3DRMAnimation2 *iface)
 
static D3DRMANIMATIONOPTIONS WINAPI d3drm_animation1_GetOptions (IDirect3DRMAnimation *iface)
 
static HRESULT WINAPI d3drm_animation2_SetFrame (IDirect3DRMAnimation2 *iface, IDirect3DRMFrame3 *frame)
 
static HRESULT WINAPI d3drm_animation2_SetTime (IDirect3DRMAnimation2 *iface, D3DVALUE time)
 
static HRESULT WINAPI d3drm_animation2_GetFrame (IDirect3DRMAnimation2 *iface, IDirect3DRMFrame3 **frame)
 
static HRESULT WINAPI d3drm_animation2_DeleteKeyByID (IDirect3DRMAnimation2 *iface, DWORD id)
 
static HRESULT WINAPI d3drm_animation2_ModifyKey (IDirect3DRMAnimation2 *iface, D3DRMANIMATIONKEY *key)
 
static HRESULT WINAPI d3drm_animation2_GetKeys (IDirect3DRMAnimation2 *iface, D3DVALUE time_min, D3DVALUE time_max, DWORD *key_count, D3DRMANIMATIONKEY *keys)
 
HRESULT d3drm_animation_create (struct d3drm_animation **animation, IDirect3DRM *d3drm)
 

Variables

static const struct d3drm_matrix identity
 
static const struct IDirect3DRMFrameArrayVtbl d3drm_frame_array_vtbl
 
static const struct IDirect3DRMVisualArrayVtbl d3drm_visual_array_vtbl
 
static const struct IDirect3DRMLightArrayVtbl d3drm_light_array_vtbl
 
static const struct IDirect3DRMFrame3Vtbl d3drm_frame3_vtbl
 
static const struct IDirect3DRMFrame2Vtbl d3drm_frame2_vtbl
 
static const struct IDirect3DRMFrameVtbl d3drm_frame1_vtbl
 
static const struct IDirect3DRMAnimationVtbl d3drm_animation1_vtbl
 
static const struct IDirect3DRMAnimation2Vtbl d3drm_animation2_vtbl
 

Function Documentation

◆ d3drm_animation1_AddDestroyCallback()

static HRESULT WINAPI d3drm_animation1_AddDestroyCallback ( IDirect3DRMAnimation *  iface,
D3DRMOBJECTCALLBACK  cb,
void ctx 
)
static

Definition at line 3275 of file frame.c.

3277{
3278 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3279
3280 TRACE("iface %p, cb %p, ctx %p.\n", iface, cb, ctx);
3281
3283}
#define IDirect3DRMAnimation2_AddDestroyCallback(p, a, b)
Definition: d3drmobj.h:3898
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
static HMODULE MODULEINFO DWORD cb
Definition: module.c:33
#define TRACE(s)
Definition: solgame.cpp:4
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface

◆ d3drm_animation1_AddPositionKey()

static HRESULT WINAPI d3drm_animation1_AddPositionKey ( IDirect3DRMAnimation *  iface,
D3DVALUE  time,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z 
)
static

Definition at line 3594 of file frame.c.

3596{
3597 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3598
3599 TRACE("iface %p, time %.8e, x %.8e, y %.8e, z %.8e.\n", iface, time, x, y, z);
3600
3602}
static HRESULT WINAPI d3drm_animation2_AddPositionKey(IDirect3DRMAnimation2 *iface, D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z)
Definition: frame.c:3576
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLdouble GLdouble z
Definition: glext.h:5874
__u16 time
Definition: mkdosfs.c:8

◆ d3drm_animation1_AddRef()

static ULONG WINAPI d3drm_animation1_AddRef ( IDirect3DRMAnimation *  iface)
static

Definition at line 3218 of file frame.c.

3219{
3220 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3222}
#define IDirect3DRMAnimation2_AddRef(p)
Definition: d3drmobj.h:3894

◆ d3drm_animation1_AddRotateKey()

static HRESULT WINAPI d3drm_animation1_AddRotateKey ( IDirect3DRMAnimation *  iface,
D3DVALUE  time,
D3DRMQUATERNION q 
)
static

Definition at line 3567 of file frame.c.

3568{
3569 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3570
3571 TRACE("iface %p, time %.8e, q %p.\n", iface, time, q);
3572
3574}
static HRESULT WINAPI d3drm_animation2_AddRotateKey(IDirect3DRMAnimation2 *iface, D3DVALUE time, D3DRMQUATERNION *q)
Definition: frame.c:3552
GLdouble GLdouble GLdouble GLdouble q
Definition: gl.h:2063

◆ d3drm_animation1_AddScaleKey()

static HRESULT WINAPI d3drm_animation1_AddScaleKey ( IDirect3DRMAnimation *  iface,
D3DVALUE  time,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z 
)
static

Definition at line 3622 of file frame.c.

3624{
3625 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3626
3627 TRACE("iface %p, time %.8e, x %.8e, y %.8e, z %.8e.\n", iface, time, x, y, z);
3628
3630}
static HRESULT WINAPI d3drm_animation2_AddScaleKey(IDirect3DRMAnimation2 *iface, D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z)
Definition: frame.c:3604

◆ d3drm_animation1_Clone()

static HRESULT WINAPI d3drm_animation1_Clone ( IDirect3DRMAnimation *  iface,
IUnknown outer,
REFIID  iid,
void **  out 
)
static

Definition at line 3258 of file frame.c.

3259{
3260 FIXME("iface %p, outer %p, iid %s, out %p stub!\n", iface, outer, debugstr_guid(iid), out);
3261
3262 return E_NOTIMPL;
3263}
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99
#define debugstr_guid
Definition: kernel32.h:35
static FILE * out
Definition: regtests2xml.c:44

◆ d3drm_animation1_DeleteDestroyCallback()

static HRESULT WINAPI d3drm_animation1_DeleteDestroyCallback ( IDirect3DRMAnimation *  iface,
D3DRMOBJECTCALLBACK  cb,
void ctx 
)
static

Definition at line 3295 of file frame.c.

3297{
3298 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3299
3300 TRACE("iface %p, cb %p, ctx %p.\n", iface, cb, ctx);
3301
3303}
#define IDirect3DRMAnimation2_DeleteDestroyCallback(p, a, b)
Definition: d3drmobj.h:3899

◆ d3drm_animation1_DeleteKey()

static HRESULT WINAPI d3drm_animation1_DeleteKey ( IDirect3DRMAnimation *  iface,
D3DVALUE  time 
)
static

Definition at line 3660 of file frame.c.

3661{
3662 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3663
3664 TRACE("iface %p, time %.8e.\n", iface, time);
3665
3667}
static HRESULT WINAPI d3drm_animation2_DeleteKey(IDirect3DRMAnimation2 *iface, D3DVALUE time)
Definition: frame.c:3641

◆ d3drm_animation1_GetAppData()

static DWORD WINAPI d3drm_animation1_GetAppData ( IDirect3DRMAnimation *  iface)
static

Definition at line 3334 of file frame.c.

3335{
3336 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3337
3338 TRACE("iface %p.\n", iface);
3339
3341}
static DWORD WINAPI d3drm_animation2_GetAppData(IDirect3DRMAnimation2 *iface)
Definition: frame.c:3325

◆ d3drm_animation1_GetClassName()

static HRESULT WINAPI d3drm_animation1_GetClassName ( IDirect3DRMAnimation *  iface,
DWORD size,
char name 
)
static

Definition at line 3388 of file frame.c.

3389{
3390 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3391
3392 TRACE("iface %p, size %p, name %p.\n", iface, size, name);
3393
3395}
static HRESULT WINAPI d3drm_animation2_GetClassName(IDirect3DRMAnimation2 *iface, DWORD *size, char *name)
Definition: frame.c:3379
GLsizeiptr size
Definition: glext.h:5919
Definition: name.c:39

◆ d3drm_animation1_GetName()

static HRESULT WINAPI d3drm_animation1_GetName ( IDirect3DRMAnimation *  iface,
DWORD size,
char name 
)
static

Definition at line 3370 of file frame.c.

3371{
3372 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3373
3374 TRACE("iface %p, size %p, name %p.\n", iface, size, name);
3375
3377}
static HRESULT WINAPI d3drm_animation2_GetName(IDirect3DRMAnimation2 *iface, DWORD *size, char *name)
Definition: frame.c:3361

◆ d3drm_animation1_GetOptions()

static D3DRMANIMATIONOPTIONS WINAPI d3drm_animation1_GetOptions ( IDirect3DRMAnimation *  iface)
static

Definition at line 3704 of file frame.c.

3705{
3706 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3707
3708 TRACE("iface %p.\n", iface);
3709
3711}
static D3DRMANIMATIONOPTIONS WINAPI d3drm_animation2_GetOptions(IDirect3DRMAnimation2 *iface)
Definition: frame.c:3695

◆ d3drm_animation1_QueryInterface()

static HRESULT WINAPI d3drm_animation1_QueryInterface ( IDirect3DRMAnimation *  iface,
REFIID  riid,
void **  out 
)
static

Definition at line 3199 of file frame.c.

3200{
3201 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3202
3203 TRACE("iface %p, riid %s, out %p.\n", iface, debugstr_guid(riid), out);
3204
3206}
#define IDirect3DRMAnimation2_QueryInterface(p, a, b)
Definition: d3drmobj.h:3893
REFIID riid
Definition: atlbase.h:39

◆ d3drm_animation1_Release()

static ULONG WINAPI d3drm_animation1_Release ( IDirect3DRMAnimation *  iface)
static

Definition at line 3244 of file frame.c.

3245{
3246 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3247
3249}
#define IDirect3DRMAnimation2_Release(p)
Definition: d3drmobj.h:3895

◆ d3drm_animation1_SetAppData()

static HRESULT WINAPI d3drm_animation1_SetAppData ( IDirect3DRMAnimation *  iface,
DWORD  data 
)
static

Definition at line 3316 of file frame.c.

3317{
3318 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3319
3320 TRACE("iface %p, data %#x.\n", iface, data);
3321
3323}
static HRESULT WINAPI d3drm_animation2_SetAppData(IDirect3DRMAnimation2 *iface, DWORD data)
Definition: frame.c:3305
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950

◆ d3drm_animation1_SetFrame()

static HRESULT WINAPI d3drm_animation1_SetFrame ( IDirect3DRMAnimation *  iface,
IDirect3DRMFrame *  frame 
)
static

Definition at line 3669 of file frame.c.

3670{
3671 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3673
3674 TRACE("iface %p, frame %p.\n", iface, frame);
3675
3676 if (frame)
3677 {
3678 hr = IDirect3DRMFrame_QueryInterface(frame, &IID_IDirect3DRMFrame3, (void **)&animation->frame);
3679 if (SUCCEEDED(hr))
3680 IDirect3DRMFrame3_Release(animation->frame);
3681 }
3682 else
3683 animation->frame = NULL;
3684
3685 return hr;
3686}
#define D3DRM_OK
Definition: d3drm.h:486
#define IDirect3DRMFrame_QueryInterface(p, a, b)
Definition: d3drmobj.h:1166
#define IDirect3DRMFrame3_Release(p)
Definition: d3drmobj.h:1708
#define NULL
Definition: types.h:112
#define SUCCEEDED(hr)
Definition: intsafe.h:50
HRESULT hr
Definition: shlfolder.c:183
IDirect3DRMFrame3 * frame

◆ d3drm_animation1_SetName()

static HRESULT WINAPI d3drm_animation1_SetName ( IDirect3DRMAnimation *  iface,
const char name 
)
static

Definition at line 3352 of file frame.c.

3353{
3354 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3355
3356 TRACE("iface %p, name %s.\n", iface, debugstr_a(name));
3357
3359}
static HRESULT WINAPI d3drm_animation2_SetName(IDirect3DRMAnimation2 *iface, const char *name)
Definition: frame.c:3343
#define debugstr_a
Definition: kernel32.h:31

◆ d3drm_animation1_SetOptions()

static HRESULT WINAPI d3drm_animation1_SetOptions ( IDirect3DRMAnimation *  iface,
D3DRMANIMATIONOPTIONS  options 
)
static

Definition at line 3422 of file frame.c.

3423{
3424 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation(iface);
3425
3426 TRACE("iface %p, %#x.\n", iface, options);
3427
3429}
static HRESULT WINAPI d3drm_animation2_SetOptions(IDirect3DRMAnimation2 *iface, D3DRMANIMATIONOPTIONS options)
Definition: frame.c:3397

◆ d3drm_animation1_SetTime()

static HRESULT WINAPI d3drm_animation1_SetTime ( IDirect3DRMAnimation *  iface,
D3DVALUE  time 
)
static

Definition at line 3688 of file frame.c.

3689{
3690 FIXME("iface %p, time %.8e.\n", iface, time);
3691
3692 return E_NOTIMPL;
3693}

◆ d3drm_animation2_AddDestroyCallback()

static HRESULT WINAPI d3drm_animation2_AddDestroyCallback ( IDirect3DRMAnimation2 *  iface,
D3DRMOBJECTCALLBACK  cb,
void ctx 
)
static

Definition at line 3265 of file frame.c.

3267{
3268 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3269
3270 TRACE("iface %p, cb %p, ctx %p.\n", iface, cb, ctx);
3271
3272 return d3drm_object_add_destroy_callback(&animation->obj, cb, ctx);
3273}
HRESULT d3drm_object_add_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx)
Definition: d3drm_main.c:55
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
struct d3drm_object obj

◆ d3drm_animation2_AddKey()

static HRESULT WINAPI d3drm_animation2_AddKey ( IDirect3DRMAnimation2 *  iface,
D3DRMANIMATIONKEY key 
)
static

Definition at line 3501 of file frame.c.

3502{
3503 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3504 struct d3drm_animation_keys *keys;
3505 SIZE_T index;
3506
3507 TRACE("iface %p, key %p.\n", iface, key);
3508
3509 if (!key || key->dwSize != sizeof(*key))
3510 return E_INVALIDARG;
3511
3512 switch (key->dwKeyType)
3513 {
3515 keys = &animation->position;
3516 break;
3518 keys = &animation->scale;
3519 break;
3521 keys = &animation->rotate;
3522 break;
3523 default:
3524 return E_INVALIDARG;
3525 }
3526
3528
3529 if (!d3drm_array_reserve((void **)&keys->keys, &keys->size, keys->count + 1, sizeof(*keys->keys)))
3530 return E_OUTOFMEMORY;
3531
3532 if (index < keys->count)
3533 memmove(&keys->keys[index + 1], &keys->keys[index], sizeof(*keys->keys) * (keys->count - index));
3534 keys->keys[index].time = key->dvTime;
3535 switch (key->dwKeyType)
3536 {
3538 keys->keys[index].u.position = key->u.dvPositionKey;
3539 break;
3541 keys->keys[index].u.scale = key->u.dvScaleKey;
3542 break;
3544 keys->keys[index].u.rotate = key->u.dqRotateKey;
3545 break;
3546 }
3547 ++keys->count;
3548
3549 return D3DRM_OK;
3550}
#define index(s, c)
Definition: various.h:29
BOOL d3drm_array_reserve(void **elements, SIZE_T *capacity, SIZE_T element_count, SIZE_T element_size) DECLSPEC_HIDDEN
Definition: meshbuilder.c:260
#define D3DRMANIMATION_SCALEKEY
Definition: d3drmdef.h:415
#define D3DRMANIMATION_POSITIONKEY
Definition: d3drmdef.h:416
#define D3DRMANIMATION_ROTATEKEY
Definition: d3drmdef.h:414
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define E_INVALIDARG
Definition: ddrawi.h:101
static SIZE_T d3drm_animation_get_insert_position(const struct d3drm_animation_keys *keys, D3DVALUE time)
Definition: frame.c:3474
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLuint index
Definition: glext.h:6031
#define memmove(s1, s2, n)
Definition: mkisofs.h:881
struct d3drm_animation_key * keys
struct d3drm_animation_keys rotate
struct d3drm_animation_keys scale
struct d3drm_animation_keys position
Definition: copy.c:22
ULONG_PTR SIZE_T
Definition: typedefs.h:80

Referenced by d3drm_animation2_AddPositionKey(), d3drm_animation2_AddRotateKey(), and d3drm_animation2_AddScaleKey().

◆ d3drm_animation2_AddPositionKey()

static HRESULT WINAPI d3drm_animation2_AddPositionKey ( IDirect3DRMAnimation2 *  iface,
D3DVALUE  time,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z 
)
static

Definition at line 3576 of file frame.c.

3578{
3580
3581 TRACE("iface %p, time %.8e, x %.8e, y %.8e, z %.8e.\n", iface, time, x, y, z);
3582
3583 key.dwSize = sizeof(key);
3584 key.dwKeyType = D3DRMANIMATION_POSITIONKEY;
3585 key.dvTime = time;
3586 key.dwID = 0;
3587 key.u.dvPositionKey.u1.x = x;
3588 key.u.dvPositionKey.u2.y = y;
3589 key.u.dvPositionKey.u3.z = z;
3590
3591 return d3drm_animation2_AddKey(iface, &key);
3592}
static HRESULT WINAPI d3drm_animation2_AddKey(IDirect3DRMAnimation2 *iface, D3DRMANIMATIONKEY *key)
Definition: frame.c:3501

Referenced by d3drm_animation1_AddPositionKey().

◆ d3drm_animation2_AddRef()

static ULONG WINAPI d3drm_animation2_AddRef ( IDirect3DRMAnimation2 *  iface)
static

Definition at line 3208 of file frame.c.

3209{
3210 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3211 ULONG refcount = InterlockedIncrement(&animation->ref);
3212
3213 TRACE("%p increasing refcount to %u.\n", iface, refcount);
3214
3215 return refcount;
3216}
#define InterlockedIncrement
Definition: armddk.h:53
uint32_t ULONG
Definition: typedefs.h:59

◆ d3drm_animation2_AddRotateKey()

static HRESULT WINAPI d3drm_animation2_AddRotateKey ( IDirect3DRMAnimation2 *  iface,
D3DVALUE  time,
D3DRMQUATERNION q 
)
static

Definition at line 3552 of file frame.c.

3553{
3555
3556 TRACE("iface %p, time %.8e, q %p.\n", iface, time, q);
3557
3558 key.dwSize = sizeof(key);
3559 key.dwKeyType = D3DRMANIMATION_ROTATEKEY;
3560 key.dvTime = time;
3561 key.dwID = 0;
3562 key.u.dqRotateKey = *q;
3563
3564 return d3drm_animation2_AddKey(iface, &key);
3565}

Referenced by d3drm_animation1_AddRotateKey().

◆ d3drm_animation2_AddScaleKey()

static HRESULT WINAPI d3drm_animation2_AddScaleKey ( IDirect3DRMAnimation2 *  iface,
D3DVALUE  time,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z 
)
static

Definition at line 3604 of file frame.c.

3606{
3608
3609 TRACE("iface %p, time %.8e, x %.8e, y %.8e, z %.8e.\n", iface, time, x, y, z);
3610
3611 key.dwSize = sizeof(key);
3612 key.dwKeyType = D3DRMANIMATION_SCALEKEY;
3613 key.dvTime = time;
3614 key.dwID = 0;
3615 key.u.dvScaleKey.u1.x = x;
3616 key.u.dvScaleKey.u2.y = y;
3617 key.u.dvScaleKey.u3.z = z;
3618
3619 return d3drm_animation2_AddKey(iface, &key);
3620}

Referenced by d3drm_animation1_AddScaleKey().

◆ d3drm_animation2_Clone()

static HRESULT WINAPI d3drm_animation2_Clone ( IDirect3DRMAnimation2 *  iface,
IUnknown outer,
REFIID  iid,
void **  out 
)
static

Definition at line 3251 of file frame.c.

3252{
3253 FIXME("iface %p, outer %p, iid %s, out %p stub!\n", iface, outer, debugstr_guid(iid), out);
3254
3255 return E_NOTIMPL;
3256}

◆ d3drm_animation2_DeleteDestroyCallback()

static HRESULT WINAPI d3drm_animation2_DeleteDestroyCallback ( IDirect3DRMAnimation2 *  iface,
D3DRMOBJECTCALLBACK  cb,
void ctx 
)
static

Definition at line 3285 of file frame.c.

3287{
3288 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3289
3290 TRACE("iface %p, cb %p, ctx %p.\n", iface, cb, ctx);
3291
3292 return d3drm_object_delete_destroy_callback(&animation->obj, cb, ctx);
3293}
HRESULT d3drm_object_delete_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx)
Definition: d3drm_main.c:72

◆ d3drm_animation2_DeleteKey()

static HRESULT WINAPI d3drm_animation2_DeleteKey ( IDirect3DRMAnimation2 *  iface,
D3DVALUE  time 
)
static

Definition at line 3641 of file frame.c.

3642{
3643 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3644 const struct d3drm_animation_key *key;
3645
3646 TRACE("iface %p, time %.8e.\n", iface, time);
3647
3648 if ((key = d3drm_animation_get_range(&animation->rotate, time, time, NULL)))
3650
3651 if ((key = d3drm_animation_get_range(&animation->position, time, time, NULL)))
3653
3654 if ((key = d3drm_animation_get_range(&animation->scale, time, time, NULL)))
3655 d3drm_animation_delete_key(&animation->scale, key);
3656
3657 return D3DRM_OK;
3658}
static const struct d3drm_animation_key * d3drm_animation_get_range(const struct d3drm_animation_keys *keys, D3DVALUE time_min, D3DVALUE time_max, SIZE_T *count)
Definition: frame.c:3485
static void d3drm_animation_delete_key(struct d3drm_animation_keys *keys, const struct d3drm_animation_key *key)
Definition: frame.c:3632

Referenced by d3drm_animation1_DeleteKey().

◆ d3drm_animation2_DeleteKeyByID()

static HRESULT WINAPI d3drm_animation2_DeleteKeyByID ( IDirect3DRMAnimation2 *  iface,
DWORD  id 
)
static

Definition at line 3747 of file frame.c.

3748{
3749 FIXME("iface %p, id %#x.\n", iface, id);
3750
3751 return E_NOTIMPL;
3752}

◆ d3drm_animation2_GetAppData()

static DWORD WINAPI d3drm_animation2_GetAppData ( IDirect3DRMAnimation2 *  iface)
static

Definition at line 3325 of file frame.c.

3326{
3327 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3328
3329 TRACE("iface %p.\n", iface);
3330
3331 return animation->obj.appdata;
3332}

Referenced by d3drm_animation1_GetAppData().

◆ d3drm_animation2_GetClassName()

static HRESULT WINAPI d3drm_animation2_GetClassName ( IDirect3DRMAnimation2 *  iface,
DWORD size,
char name 
)
static

Definition at line 3379 of file frame.c.

3380{
3381 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3382
3383 TRACE("iface %p, size %p, name %p.\n", iface, size, name);
3384
3385 return d3drm_object_get_class_name(&animation->obj, size, name);
3386}
HRESULT d3drm_object_get_class_name(struct d3drm_object *object, DWORD *size, char *name)
Definition: d3drm_main.c:92

Referenced by d3drm_animation1_GetClassName().

◆ d3drm_animation2_GetFrame()

static HRESULT WINAPI d3drm_animation2_GetFrame ( IDirect3DRMAnimation2 *  iface,
IDirect3DRMFrame3 **  frame 
)
static

Definition at line 3731 of file frame.c.

3732{
3733 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3734
3735 TRACE("iface %p, frame %p.\n", iface, frame);
3736
3737 if (!frame)
3738 return D3DRMERR_BADVALUE;
3739
3740 *frame = animation->frame;
3741 if (*frame)
3743
3744 return D3DRM_OK;
3745}
#define D3DRMERR_BADVALUE
Definition: d3drm.h:496
#define IDirect3DRMFrame3_AddRef(p)
Definition: d3drmobj.h:1707

◆ d3drm_animation2_GetKeys()

static HRESULT WINAPI d3drm_animation2_GetKeys ( IDirect3DRMAnimation2 *  iface,
D3DVALUE  time_min,
D3DVALUE  time_max,
DWORD key_count,
D3DRMANIMATIONKEY keys 
)
static

Definition at line 3761 of file frame.c.

3763{
3764 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3765 const struct d3drm_animation_key *key;
3766 SIZE_T count, i;
3767
3768 TRACE("iface %p, time min %.8e, time max %.8e, key_count %p, keys %p.\n",
3769 iface, time_min, time_max, key_count, keys);
3770
3771 if (!key_count)
3772 return D3DRMERR_BADVALUE;
3773
3774 *key_count = 0;
3775
3776 if ((key = d3drm_animation_get_range(&animation->rotate, time_min, time_max, &count)))
3777 {
3778 if (keys)
3779 {
3780 for (i = 0; i < count; ++i)
3781 {
3782 keys[i].dwSize = sizeof(*keys);
3784 keys[i].dvTime = key[i].time;
3785 keys[i].dwID = 0; /* FIXME */
3786 keys[i].u.dqRotateKey = key[i].u.rotate;
3787 }
3788 keys += count;
3789 }
3790 *key_count += count;
3791 }
3792
3793 if ((key = d3drm_animation_get_range(&animation->position, time_min, time_max, &count)))
3794 {
3795 if (keys)
3796 {
3797 for (i = 0; i < count; ++i)
3798 {
3799 keys[i].dwSize = sizeof(*keys);
3801 keys[i].dvTime = key[i].time;
3802 keys[i].dwID = 0; /* FIXME */
3803 keys[i].u.dvPositionKey = key[i].u.position;
3804 }
3805 keys += count;
3806 }
3807 *key_count += count;
3808 }
3809
3810 if ((key = d3drm_animation_get_range(&animation->scale, time_min, time_max, &count)))
3811 {
3812 if (keys)
3813 {
3814 for (i = 0; keys && i < count; ++i)
3815 {
3816 keys[i].dwSize = sizeof(*keys);
3818 keys[i].dvTime = key[i].time;
3819 keys[i].dwID = 0; /* FIXME */
3820 keys[i].u.dvScaleKey = key[i].u.scale;
3821 }
3822 keys += count;
3823 }
3824 *key_count += count;
3825 }
3826
3827 return *key_count ? D3DRM_OK : D3DRMERR_NOSUCHKEY;
3828}
#define D3DRMERR_NOSUCHKEY
Definition: d3drm.h:514
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
D3DRMQUATERNION dqRotateKey
Definition: d3drmdef.h:404
D3DVECTOR dvPositionKey
Definition: d3drmdef.h:406
D3DVECTOR dvScaleKey
Definition: d3drmdef.h:405
D3DVALUE dvTime
Definition: d3drmdef.h:399

◆ d3drm_animation2_GetName()

static HRESULT WINAPI d3drm_animation2_GetName ( IDirect3DRMAnimation2 *  iface,
DWORD size,
char name 
)
static

Definition at line 3361 of file frame.c.

3362{
3363 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3364
3365 TRACE("iface %p, size %p, name %p.\n", iface, size, name);
3366
3367 return d3drm_object_get_name(&animation->obj, size, name);
3368}
HRESULT d3drm_object_get_name(struct d3drm_object *object, DWORD *size, char *name)
Definition: d3drm_main.c:111

Referenced by d3drm_animation1_GetName().

◆ d3drm_animation2_GetOptions()

static D3DRMANIMATIONOPTIONS WINAPI d3drm_animation2_GetOptions ( IDirect3DRMAnimation2 *  iface)
static

Definition at line 3695 of file frame.c.

3696{
3697 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3698
3699 TRACE("iface %p.\n", iface);
3700
3701 return animation->options;
3702}
D3DRMANIMATIONOPTIONS options

Referenced by d3drm_animation1_GetOptions().

◆ d3drm_animation2_ModifyKey()

static HRESULT WINAPI d3drm_animation2_ModifyKey ( IDirect3DRMAnimation2 *  iface,
D3DRMANIMATIONKEY key 
)
static

Definition at line 3754 of file frame.c.

3755{
3756 FIXME("iface %p, key %p.\n", iface, key);
3757
3758 return E_NOTIMPL;
3759}

◆ d3drm_animation2_QueryInterface()

static HRESULT WINAPI d3drm_animation2_QueryInterface ( IDirect3DRMAnimation2 *  iface,
REFIID  riid,
void **  out 
)
static

Definition at line 3172 of file frame.c.

3173{
3174 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3175
3176 TRACE("iface %p, riid %s, out %p.\n", iface, debugstr_guid(riid), out);
3177
3178 if (IsEqualGUID(riid, &IID_IDirect3DRMAnimation)
3179 || IsEqualGUID(riid, &IID_IDirect3DRMObject)
3181 {
3182 *out = &animation->IDirect3DRMAnimation_iface;
3183 }
3184 else if (IsEqualGUID(riid, &IID_IDirect3DRMAnimation2))
3185 {
3186 *out = &animation->IDirect3DRMAnimation2_iface;
3187 }
3188 else
3189 {
3190 *out = NULL;
3191 WARN("%s not implemented, returning CLASS_E_CLASSNOTAVAILABLE.\n", debugstr_guid(riid));
3193 }
3194
3195 IUnknown_AddRef((IUnknown *)*out);
3196 return S_OK;
3197}
const GUID IID_IUnknown
#define WARN(fmt,...)
Definition: debug.h:112
#define S_OK
Definition: intsafe.h:52
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
IDirect3DRMAnimation IDirect3DRMAnimation_iface
#define CLASS_E_CLASSNOTAVAILABLE
Definition: winerror.h:2663

◆ d3drm_animation2_Release()

static ULONG WINAPI d3drm_animation2_Release ( IDirect3DRMAnimation2 *  iface)
static

Definition at line 3224 of file frame.c.

3225{
3226 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3227 ULONG refcount = InterlockedDecrement(&animation->ref);
3228
3229 TRACE("%p decreasing refcount to %u.\n", iface, refcount);
3230
3231 if (!refcount)
3232 {
3233 d3drm_object_cleanup((IDirect3DRMObject *)&animation->IDirect3DRMAnimation_iface, &animation->obj);
3234 IDirect3DRM_Release(animation->d3drm);
3235 heap_free(animation->rotate.keys);
3236 heap_free(animation->scale.keys);
3237 heap_free(animation->position.keys);
3238 heap_free(animation);
3239 }
3240
3241 return refcount;
3242}
static BOOL heap_free(void *mem)
Definition: appwiz.h:76
#define InterlockedDecrement
Definition: armddk.h:52
#define IDirect3DRM_Release(p)
Definition: d3drm.h:111
void d3drm_object_cleanup(IDirect3DRMObject *iface, struct d3drm_object *object)
Definition: d3drm_main.c:153
IDirect3DRM * d3drm

◆ d3drm_animation2_SetAppData()

static HRESULT WINAPI d3drm_animation2_SetAppData ( IDirect3DRMAnimation2 *  iface,
DWORD  data 
)
static

Definition at line 3305 of file frame.c.

3306{
3307 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3308
3309 TRACE("iface %p, data %#x.\n", iface, data);
3310
3311 animation->obj.appdata = data;
3312
3313 return D3DRM_OK;
3314}

Referenced by d3drm_animation1_SetAppData().

◆ d3drm_animation2_SetFrame()

static HRESULT WINAPI d3drm_animation2_SetFrame ( IDirect3DRMAnimation2 *  iface,
IDirect3DRMFrame3 *  frame 
)
static

Definition at line 3713 of file frame.c.

3714{
3715 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3716
3717 TRACE("iface %p, frame %p.\n", iface, frame);
3718
3719 animation->frame = frame;
3720
3721 return D3DRM_OK;
3722}

◆ d3drm_animation2_SetName()

static HRESULT WINAPI d3drm_animation2_SetName ( IDirect3DRMAnimation2 *  iface,
const char name 
)
static

Definition at line 3343 of file frame.c.

3344{
3345 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3346
3347 TRACE("iface %p, name %s.\n", iface, debugstr_a(name));
3348
3349 return d3drm_object_set_name(&animation->obj, name);
3350}
HRESULT d3drm_object_set_name(struct d3drm_object *object, const char *name)
Definition: d3drm_main.c:135

Referenced by d3drm_animation1_SetName().

◆ d3drm_animation2_SetOptions()

static HRESULT WINAPI d3drm_animation2_SetOptions ( IDirect3DRMAnimation2 *  iface,
D3DRMANIMATIONOPTIONS  options 
)
static

Definition at line 3397 of file frame.c.

3398{
3399 struct d3drm_animation *animation = impl_from_IDirect3DRMAnimation2(iface);
3402
3403 TRACE("iface %p, options %#x.\n", iface, options);
3404
3405 if (!(options & supported_options))
3406 return D3DRMERR_BADVALUE;
3407
3413 {
3414 return D3DRMERR_BADVALUE;
3415 }
3416
3417 animation->options = options;
3418
3419 return D3DRM_OK;
3420}
#define D3DRMANIMATION_LINEARPOSITION
Definition: d3drmdef.h:325
#define D3DRMANIMATION_POSITION
Definition: d3drmdef.h:328
#define D3DRMANIMATION_SCALEANDROTATION
Definition: d3drmdef.h:327
#define D3DRMANIMATION_CLOSED
Definition: d3drmdef.h:324
#define D3DRMANIMATION_SPLINEPOSITION
Definition: d3drmdef.h:326
#define D3DRMANIMATION_OPEN
Definition: d3drmdef.h:323
unsigned long DWORD
Definition: ntddk_ex.h:95

Referenced by d3drm_animation1_SetOptions().

◆ d3drm_animation2_SetTime()

static HRESULT WINAPI d3drm_animation2_SetTime ( IDirect3DRMAnimation2 *  iface,
D3DVALUE  time 
)
static

Definition at line 3724 of file frame.c.

3725{
3726 FIXME("iface %p, time %.8e.\n", iface, time);
3727
3728 return E_NOTIMPL;
3729}

◆ d3drm_animation_create()

HRESULT d3drm_animation_create ( struct d3drm_animation **  animation,
IDirect3DRM *  d3drm 
)

Definition at line 3881 of file frame.c.

3882{
3883 static const char classname[] = "Animation";
3884 struct d3drm_animation *object;
3886
3887 TRACE("animation %p, d3drm %p.\n", animation, d3drm);
3888
3889 if (!(object = heap_alloc_zero(sizeof(*object))))
3890 return E_OUTOFMEMORY;
3891
3892 object->IDirect3DRMAnimation_iface.lpVtbl = &d3drm_animation1_vtbl;
3893 object->IDirect3DRMAnimation2_iface.lpVtbl = &d3drm_animation2_vtbl;
3894 object->d3drm = d3drm;
3895 object->ref = 1;
3897
3899
3900 IDirect3DRM_AddRef(object->d3drm);
3901
3902 *animation = object;
3903
3904 return hr;
3905}
#define IDirect3DRM_AddRef(p)
Definition: d3drm.h:110
void d3drm_object_init(struct d3drm_object *object, const char *classname)
Definition: d3drm_main.c:39
static const struct IDirect3DRMAnimationVtbl d3drm_animation1_vtbl
Definition: frame.c:3830
static const struct IDirect3DRMAnimation2Vtbl d3drm_animation2_vtbl
Definition: frame.c:3853
WCHAR classname[128]
Definition: startup.c:15
Definition: d3drm.c:189

Referenced by d3drm1_CreateAnimation(), d3drm3_CreateAnimation(), and d3drm_create_animation_object().

◆ d3drm_animation_delete_key()

static void d3drm_animation_delete_key ( struct d3drm_animation_keys keys,
const struct d3drm_animation_key key 
)
static

Definition at line 3632 of file frame.c.

3633{
3634 SIZE_T index = key - keys->keys;
3635
3636 if (index < keys->count - 1)
3637 memmove(&keys->keys[index], &keys->keys[index + 1], sizeof(*keys->keys) * (keys->count - index - 1));
3638 --keys->count;
3639}

Referenced by d3drm_animation2_DeleteKey().

◆ d3drm_animation_get_index_max()

static SIZE_T d3drm_animation_get_index_max ( const struct d3drm_animation_key keys,
SIZE_T  count,
D3DVALUE  time 
)
static

Definition at line 3463 of file frame.c.

3464{
3465 SIZE_T i;
3466
3468 while (i < count - 1 && keys[i + 1].time == time)
3469 ++i;
3470
3471 return i;
3472}
static SIZE_T d3drm_animation_lookup_key(const struct d3drm_animation_key *keys, SIZE_T count, D3DVALUE time)
Definition: frame.c:3431

Referenced by d3drm_animation_get_insert_position(), and d3drm_animation_get_range().

◆ d3drm_animation_get_index_min()

static SIZE_T d3drm_animation_get_index_min ( const struct d3drm_animation_key keys,
SIZE_T  count,
D3DVALUE  time 
)
static

Definition at line 3452 of file frame.c.

3453{
3454 SIZE_T i;
3455
3457 while (i > 0 && keys[i - 1].time == time)
3458 --i;
3459
3460 return i;
3461}

Referenced by d3drm_animation_get_range().

◆ d3drm_animation_get_insert_position()

static SIZE_T d3drm_animation_get_insert_position ( const struct d3drm_animation_keys keys,
D3DVALUE  time 
)
static

Definition at line 3474 of file frame.c.

3475{
3476 if (!keys->count || time < keys->keys[0].time)
3477 return 0;
3478
3479 if (time >= keys->keys[keys->count - 1].time)
3480 return keys->count;
3481
3482 return d3drm_animation_get_index_max(keys->keys, keys->count, time);
3483}
static SIZE_T d3drm_animation_get_index_max(const struct d3drm_animation_key *keys, SIZE_T count, D3DVALUE time)
Definition: frame.c:3463

Referenced by d3drm_animation2_AddKey().

◆ d3drm_animation_get_range()

static const struct d3drm_animation_key * d3drm_animation_get_range ( const struct d3drm_animation_keys keys,
D3DVALUE  time_min,
D3DVALUE  time_max,
SIZE_T count 
)
static

Definition at line 3485 of file frame.c.

3487{
3488 SIZE_T min;
3489
3490 if (!keys->count || time_max < keys->keys[0].time
3491 || time_min > keys->keys[keys->count - 1].time)
3492 return NULL;
3493
3494 min = d3drm_animation_get_index_min(keys->keys, keys->count, time_min);
3495 if (count)
3496 *count = d3drm_animation_get_index_max(&keys->keys[min], keys->count - min, time_max) - min + 1;
3497
3498 return &keys->keys[min];
3499}
static SIZE_T d3drm_animation_get_index_min(const struct d3drm_animation_key *keys, SIZE_T count, D3DVALUE time)
Definition: frame.c:3452
#define min(a, b)
Definition: monoChain.cc:55

Referenced by d3drm_animation2_DeleteKey(), and d3drm_animation2_GetKeys().

◆ d3drm_animation_lookup_key()

static SIZE_T d3drm_animation_lookup_key ( const struct d3drm_animation_key keys,
SIZE_T  count,
D3DVALUE  time 
)
static

Definition at line 3431 of file frame.c.

3433{
3434 SIZE_T start = 0, cur = 0, end = count;
3435
3436 while (start < end)
3437 {
3438 cur = start + (end - start) / 2;
3439
3440 if (time == keys[cur].time)
3441 return cur;
3442
3443 if (time < keys[cur].time)
3444 end = cur;
3445 else
3446 start = cur + 1;
3447 }
3448
3449 return cur;
3450}
FxCollectionEntry * cur
GLuint start
Definition: gl.h:1545
GLuint GLuint end
Definition: gl.h:1545

Referenced by d3drm_animation_get_index_max(), and d3drm_animation_get_index_min().

◆ d3drm_frame1_AddChild()

static HRESULT WINAPI d3drm_frame1_AddChild ( IDirect3DRMFrame *  iface,
IDirect3DRMFrame *  child 
)
static

Definition at line 928 of file frame.c.

929{
930 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
932
933 TRACE("iface %p, child %p.\n", iface, child);
934
935 if (!child_frame)
936 return D3DRMERR_BADOBJECT;
937
939}
#define D3DRMERR_BADOBJECT
Definition: d3drm.h:487
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
struct d3drm_frame * unsafe_impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:3120
static HRESULT WINAPI d3drm_frame3_AddChild(IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *child)
Definition: frame.c:873
static HWND child
Definition: cursoricon.c:298
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74

◆ d3drm_frame1_AddDestroyCallback()

static HRESULT WINAPI d3drm_frame1_AddDestroyCallback ( IDirect3DRMFrame *  iface,
D3DRMOBJECTCALLBACK  cb,
void ctx 
)
static

Definition at line 696 of file frame.c.

698{
699 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
700
701 TRACE("iface %p, cb %p, ctx %p.\n", iface, cb, ctx);
702
704}
#define IDirect3DRMFrame3_AddDestroyCallback(p, a, b)
Definition: d3drmobj.h:1711

◆ d3drm_frame1_AddLight()

static HRESULT WINAPI d3drm_frame1_AddLight ( IDirect3DRMFrame *  iface,
IDirect3DRMLight *  light 
)
static

Definition at line 975 of file frame.c.

976{
977 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
978
979 TRACE("iface %p, light %p.\n", iface, light);
980
982}
static HRESULT WINAPI d3drm_frame3_AddLight(IDirect3DRMFrame3 *iface, IDirect3DRMLight *light)
Definition: frame.c:941
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum light
Definition: glfuncs.h:170

◆ d3drm_frame1_AddMoveCallback()

static HRESULT WINAPI d3drm_frame1_AddMoveCallback ( IDirect3DRMFrame *  iface,
D3DRMFRAMEMOVECALLBACK  cb,
void ctx 
)
static

Definition at line 1000 of file frame.c.

1002{
1003 FIXME("iface %p, cb %p, ctx %p stub!\n", iface, cb, ctx);
1004
1005 return E_NOTIMPL;
1006}

◆ d3drm_frame1_AddRef()

static ULONG WINAPI d3drm_frame1_AddRef ( IDirect3DRMFrame *  iface)
static

Definition at line 592 of file frame.c.

593{
594 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
595
596 TRACE("iface %p.\n", iface);
597
599}
static ULONG WINAPI d3drm_frame3_AddRef(IDirect3DRMFrame3 *iface)
Definition: frame.c:573

◆ d3drm_frame1_AddRotation()

static HRESULT WINAPI d3drm_frame1_AddRotation ( IDirect3DRMFrame *  iface,
D3DRMCOMBINETYPE  type,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z,
D3DVALUE  theta 
)
static

Definition at line 1235 of file frame.c.

1237{
1238 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1239
1240 TRACE("iface %p, type %#x, x %.8e, y %.8e, z %.8e, theta %.8e.\n", iface, type, x, y, z, theta);
1241
1242 return d3drm_frame3_AddRotation(&frame->IDirect3DRMFrame3_iface, type, x, y, z, theta);
1243}
static HRESULT WINAPI d3drm_frame3_AddRotation(IDirect3DRMFrame3 *iface, D3DRMCOMBINETYPE type, D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta)
Definition: frame.c:1188
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545

◆ d3drm_frame1_AddScale()

static HRESULT WINAPI d3drm_frame1_AddScale ( IDirect3DRMFrame *  iface,
D3DRMCOMBINETYPE  type,
D3DVALUE  sx,
D3DVALUE  sy,
D3DVALUE  sz 
)
static

Definition at line 1178 of file frame.c.

1180{
1181 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1182
1183 TRACE("iface %p, type %#x, sx %.8e, sy %.8e, sz %.8e.\n", iface, type, sx, sy, sz);
1184
1185 return d3drm_frame3_AddScale(&frame->IDirect3DRMFrame3_iface, type, sx, sy, sz);
1186}
static HRESULT WINAPI d3drm_frame3_AddScale(IDirect3DRMFrame3 *iface, D3DRMCOMBINETYPE type, D3DVALUE sx, D3DVALUE sy, D3DVALUE sz)
Definition: frame.c:1117

◆ d3drm_frame1_AddTransform()

static HRESULT WINAPI d3drm_frame1_AddTransform ( IDirect3DRMFrame *  iface,
D3DRMCOMBINETYPE  type,
D3DRMMATRIX4D  matrix 
)
static

Definition at line 1051 of file frame.c.

1053{
1054 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1055
1056 TRACE("iface %p, type %#x, matrix %p.\n", iface, type, matrix);
1057
1059}
static HRESULT WINAPI d3drm_frame3_AddTransform(IDirect3DRMFrame3 *iface, D3DRMCOMBINETYPE type, D3DRMMATRIX4D matrix)
Definition: frame.c:1008
GLuint GLenum matrix
Definition: glext.h:9407

◆ d3drm_frame1_AddTranslation()

static HRESULT WINAPI d3drm_frame1_AddTranslation ( IDirect3DRMFrame *  iface,
D3DRMCOMBINETYPE  type,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z 
)
static

Definition at line 1107 of file frame.c.

1109{
1110 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1111
1112 TRACE("iface %p, type %#x, x %.8e, y %.8e, z %.8e.\n", iface, type, x, y, z);
1113
1115}
static HRESULT WINAPI d3drm_frame3_AddTranslation(IDirect3DRMFrame3 *iface, D3DRMCOMBINETYPE type, D3DVALUE x, D3DVALUE y, D3DVALUE z)
Definition: frame.c:1061

◆ d3drm_frame1_AddVisual()

static HRESULT WINAPI d3drm_frame1_AddVisual ( IDirect3DRMFrame *  iface,
IDirect3DRMVisual *  visual 
)
static

Definition at line 1279 of file frame.c.

1280{
1281 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1282
1283 TRACE("iface %p, visual %p.\n", iface, visual);
1284
1285 return d3drm_frame3_AddVisual(&frame->IDirect3DRMFrame3_iface, (IUnknown *)visual);
1286}
static HRESULT WINAPI d3drm_frame3_AddVisual(IDirect3DRMFrame3 *iface, IUnknown *visual)
Definition: frame.c:1245

◆ d3drm_frame1_Clone()

static HRESULT WINAPI d3drm_frame1_Clone ( IDirect3DRMFrame *  iface,
IUnknown outer,
REFIID  iid,
void **  out 
)
static

Definition at line 668 of file frame.c.

670{
671 FIXME("iface %p, outer %p, iid %s, out %p stub!\n", iface, outer, debugstr_guid(iid), out);
672
673 return E_NOTIMPL;
674}

◆ d3drm_frame1_DeleteChild()

static HRESULT WINAPI d3drm_frame1_DeleteChild ( IDirect3DRMFrame *  iface,
IDirect3DRMFrame *  child 
)
static

Definition at line 1872 of file frame.c.

1873{
1874 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1876
1877 TRACE("iface %p, child %p.\n", iface, child);
1878
1879 if (!child_frame)
1880 return D3DRMERR_BADOBJECT;
1881
1883}
static HRESULT WINAPI d3drm_frame3_DeleteChild(IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *child)
Definition: frame.c:1826

◆ d3drm_frame1_DeleteDestroyCallback()

static HRESULT WINAPI d3drm_frame1_DeleteDestroyCallback ( IDirect3DRMFrame *  iface,
D3DRMOBJECTCALLBACK  cb,
void ctx 
)
static

Definition at line 726 of file frame.c.

728{
729 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
730
731 TRACE("iface %p, cb %p, ctx %p.\n", iface, cb, ctx);
732
734}
#define IDirect3DRMFrame3_DeleteDestroyCallback(p, a, b)
Definition: d3drmobj.h:1712

◆ d3drm_frame1_DeleteLight()

static HRESULT WINAPI d3drm_frame1_DeleteLight ( IDirect3DRMFrame *  iface,
IDirect3DRMLight *  light 
)
static

Definition at line 1921 of file frame.c.

1922{
1923 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1924
1925 TRACE("iface %p, light %p.\n", iface, light);
1926
1928}
static HRESULT WINAPI d3drm_frame3_DeleteLight(IDirect3DRMFrame3 *iface, IDirect3DRMLight *light)
Definition: frame.c:1885

◆ d3drm_frame1_DeleteMoveCallback()

static HRESULT WINAPI d3drm_frame1_DeleteMoveCallback ( IDirect3DRMFrame *  iface,
D3DRMFRAMEMOVECALLBACK  cb,
void ctx 
)
static

Definition at line 1946 of file frame.c.

1948{
1949 FIXME("iface %p, cb %p, ctx %p stub!\n", iface, cb, ctx);
1950
1951 return E_NOTIMPL;
1952}

◆ d3drm_frame1_DeleteVisual()

static HRESULT WINAPI d3drm_frame1_DeleteVisual ( IDirect3DRMFrame *  iface,
IDirect3DRMVisual *  visual 
)
static

Definition at line 1990 of file frame.c.

1991{
1992 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1993
1994 TRACE("iface %p, visual %p.\n", iface, visual);
1995
1997}
static HRESULT WINAPI d3drm_frame3_DeleteVisual(IDirect3DRMFrame3 *iface, IUnknown *visual)
Definition: frame.c:1954

◆ d3drm_frame1_GetAppData()

static DWORD WINAPI d3drm_frame1_GetAppData ( IDirect3DRMFrame *  iface)
static

Definition at line 783 of file frame.c.

784{
785 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
786
787 TRACE("iface %p.\n", iface);
788
790}
static DWORD WINAPI d3drm_frame3_GetAppData(IDirect3DRMFrame3 *iface)
Definition: frame.c:765

◆ d3drm_frame1_GetChildren()

static HRESULT WINAPI d3drm_frame1_GetChildren ( IDirect3DRMFrame *  iface,
IDirect3DRMFrameArray **  children 
)
static

Definition at line 1315 of file frame.c.

1316{
1317 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1318
1319 TRACE("iface %p, children %p.\n", iface, children);
1320
1322}
static HRESULT WINAPI d3drm_frame3_GetChildren(IDirect3DRMFrame3 *iface, IDirect3DRMFrameArray **children)
Definition: frame.c:1288
IDirect3DRMFrame3 ** children
Definition: d3drm_private.h:80

◆ d3drm_frame1_GetClassName()

static HRESULT WINAPI d3drm_frame1_GetClassName ( IDirect3DRMFrame *  iface,
DWORD size,
char name 
)
static

Definition at line 864 of file frame.c.

865{
866 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
867
868 TRACE("iface %p, size %p, name %p.\n", iface, size, name);
869
871}
static HRESULT WINAPI d3drm_frame3_GetClassName(IDirect3DRMFrame3 *iface, DWORD *size, char *name)
Definition: frame.c:846

◆ d3drm_frame1_GetColor()

static D3DCOLOR WINAPI d3drm_frame1_GetColor ( IDirect3DRMFrame *  iface)
static

Definition at line 1338 of file frame.c.

1339{
1340 FIXME("iface %p stub!\n", iface);
1341
1342 return 0;
1343}

◆ d3drm_frame1_GetLights()

static HRESULT WINAPI d3drm_frame1_GetLights ( IDirect3DRMFrame *  iface,
IDirect3DRMLightArray **  lights 
)
static

Definition at line 1372 of file frame.c.

1373{
1374 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1375
1376 TRACE("iface %p, lights %p.\n", iface, lights);
1377
1379}
static HRESULT WINAPI d3drm_frame3_GetLights(IDirect3DRMFrame3 *iface, IDirect3DRMLightArray **lights)
Definition: frame.c:1345
IDirect3DRMLight ** lights
Definition: d3drm_private.h:86

◆ d3drm_frame1_GetMaterialMode()

static D3DRMMATERIALMODE WINAPI d3drm_frame1_GetMaterialMode ( IDirect3DRMFrame *  iface)
static

Definition at line 1395 of file frame.c.

1396{
1397 FIXME("iface %p stub!\n", iface);
1398
1400}
@ D3DRMMATERIAL_FROMPARENT
Definition: d3drmdef.h:215

◆ d3drm_frame1_GetName()

static HRESULT WINAPI d3drm_frame1_GetName ( IDirect3DRMFrame *  iface,
DWORD size,
char name 
)
static

Definition at line 837 of file frame.c.

838{
839 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
840
841 TRACE("iface %p, size %p, name %p.\n", iface, size, name);
842
844}
static HRESULT WINAPI d3drm_frame3_GetName(IDirect3DRMFrame3 *iface, DWORD *size, char *name)
Definition: frame.c:819

◆ d3drm_frame1_GetOrientation()

static HRESULT WINAPI d3drm_frame1_GetOrientation ( IDirect3DRMFrame *  iface,
IDirect3DRMFrame *  reference,
D3DVECTOR dir,
D3DVECTOR up 
)
static

Definition at line 1677 of file frame.c.

1679{
1680 FIXME("iface %p, reference %p, dir %p, up %p stub!\n", iface, reference, dir, up);
1681
1682 return E_NOTIMPL;
1683}
unsigned int dir
Definition: maze.c:112
GLint reference
Definition: glext.h:11729
#define up(mutex)
Definition: glue.h:30

◆ d3drm_frame1_GetParent()

static HRESULT WINAPI d3drm_frame1_GetParent ( IDirect3DRMFrame *  iface,
IDirect3DRMFrame **  parent 
)
static

Definition at line 1446 of file frame.c.

1447{
1448 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1449
1450 TRACE("iface %p, parent %p.\n", iface, parent);
1451
1453}
static HRESULT WINAPI d3drm_frame2_GetParent(IDirect3DRMFrame2 *iface, IDirect3DRMFrame **parent)
Definition: frame.c:1424
r parent
Definition: btrfs.c:3010
IDirect3DRMFrame2 IDirect3DRMFrame2_iface
Definition: d3drm_private.h:73

◆ d3drm_frame1_GetPosition()

static HRESULT WINAPI d3drm_frame1_GetPosition ( IDirect3DRMFrame *  iface,
IDirect3DRMFrame *  reference,
D3DVECTOR position 
)
static

Definition at line 1471 of file frame.c.

1473{
1474 FIXME("iface %p, reference %p, position %p stub!\n", iface, reference, position);
1475
1476 return E_NOTIMPL;
1477}

◆ d3drm_frame1_GetRotation()

static HRESULT WINAPI d3drm_frame1_GetRotation ( IDirect3DRMFrame *  iface,
IDirect3DRMFrame *  reference,
D3DVECTOR axis,
D3DVALUE theta 
)
static

Definition at line 1496 of file frame.c.

1498{
1499 FIXME("iface %p, reference %p, axis %p, theta %p stub!\n", iface, reference, axis, theta);
1500
1501 return E_NOTIMPL;
1502}

◆ d3drm_frame1_GetScene()

static HRESULT WINAPI d3drm_frame1_GetScene ( IDirect3DRMFrame *  iface,
IDirect3DRMFrame **  scene 
)
static

Definition at line 1546 of file frame.c.

1547{
1548 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1549
1550 TRACE("iface %p, scene %p.\n", iface, scene);
1551
1552 return d3drm_frame2_GetScene(&frame->IDirect3DRMFrame2_iface, scene);
1553}
static HRESULT WINAPI d3drm_frame2_GetScene(IDirect3DRMFrame2 *iface, IDirect3DRMFrame **scene)
Definition: frame.c:1522

◆ d3drm_frame1_GetSceneBackground()

static D3DCOLOR WINAPI d3drm_frame1_GetSceneBackground ( IDirect3DRMFrame *  iface)
static

Definition at line 2017 of file frame.c.

2018{
2019 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
2020
2021 TRACE("iface %p.\n", iface);
2022
2024}
static D3DCOLOR WINAPI d3drm_frame3_GetSceneBackground(IDirect3DRMFrame3 *iface)
Definition: frame.c:1999

◆ d3drm_frame1_GetSceneBackgroundDepth()

static HRESULT WINAPI d3drm_frame1_GetSceneBackgroundDepth ( IDirect3DRMFrame *  iface,
IDirectDrawSurface **  surface 
)
static

Definition at line 2042 of file frame.c.

2044{
2045 FIXME("iface %p, surface %p stub!\n", iface, surface);
2046
2047 return E_NOTIMPL;
2048}

◆ d3drm_frame1_GetSceneFogColor()

static D3DCOLOR WINAPI d3drm_frame1_GetSceneFogColor ( IDirect3DRMFrame *  iface)
static

Definition at line 2064 of file frame.c.

2065{
2066 FIXME("iface %p stub!\n", iface);
2067
2068 return 0;
2069}

◆ d3drm_frame1_GetSceneFogEnable()

static BOOL WINAPI d3drm_frame1_GetSceneFogEnable ( IDirect3DRMFrame *  iface)
static

Definition at line 2085 of file frame.c.

2086{
2087 FIXME("iface %p stub!\n", iface);
2088
2089 return FALSE;
2090}
#define FALSE
Definition: types.h:117

◆ d3drm_frame1_GetSceneFogMode()

static D3DRMFOGMODE WINAPI d3drm_frame1_GetSceneFogMode ( IDirect3DRMFrame *  iface)
static

Definition at line 2106 of file frame.c.

2107{
2108 FIXME("iface %p stub!\n", iface);
2109
2110 return D3DRMFOG_LINEAR;
2111}
@ D3DRMFOG_LINEAR
Definition: d3drmdef.h:220

◆ d3drm_frame1_GetSceneFogParams()

static HRESULT WINAPI d3drm_frame1_GetSceneFogParams ( IDirect3DRMFrame *  iface,
D3DVALUE start,
D3DVALUE end,
D3DVALUE density 
)
static

Definition at line 2129 of file frame.c.

2131{
2132 FIXME("iface %p, start %p, end %p, density %p stub!\n", iface, start, end, density);
2133
2134 return E_NOTIMPL;
2135}

◆ d3drm_frame1_GetSortMode()

static D3DRMSORTMODE WINAPI d3drm_frame1_GetSortMode ( IDirect3DRMFrame *  iface)
static

Definition at line 1569 of file frame.c.

1570{
1571 FIXME("iface %p stub!\n", iface);
1572
1573 return D3DRMSORT_FROMPARENT;
1574}
@ D3DRMSORT_FROMPARENT
Definition: d3drmdef.h:232

◆ d3drm_frame1_GetTexture()

static HRESULT WINAPI d3drm_frame1_GetTexture ( IDirect3DRMFrame *  iface,
IDirect3DRMTexture **  texture 
)
static

Definition at line 1590 of file frame.c.

1591{
1592 FIXME("iface %p, texture %p stub!\n", iface, texture);
1593
1594 return E_NOTIMPL;
1595}
GLenum GLuint texture
Definition: glext.h:6295

◆ d3drm_frame1_GetTextureTopology()

static HRESULT WINAPI d3drm_frame1_GetTextureTopology ( IDirect3DRMFrame *  iface,
BOOL wrap_u,
BOOL wrap_v 
)
static

Definition at line 1726 of file frame.c.

1727{
1728 FIXME("iface %p, wrap_u %p, wrap_v %p stub!\n", iface, wrap_u, wrap_v);
1729
1730 return E_NOTIMPL;
1731}

◆ d3drm_frame1_GetTransform()

static HRESULT WINAPI d3drm_frame1_GetTransform ( IDirect3DRMFrame *  iface,
D3DRMMATRIX4D  matrix 
)
static

Definition at line 1625 of file frame.c.

1626{
1627 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1628
1629 TRACE("iface %p, matrix %p.\n", iface, matrix);
1630
1632}
static HRESULT WINAPI d3drm_frame2_GetTransform(IDirect3DRMFrame2 *iface, D3DRMMATRIX4D matrix)
Definition: frame.c:1613

◆ d3drm_frame1_GetVelocity()

static HRESULT WINAPI d3drm_frame1_GetVelocity ( IDirect3DRMFrame *  iface,
IDirect3DRMFrame *  reference,
D3DVECTOR velocity,
BOOL  with_rotation 
)
static

Definition at line 1652 of file frame.c.

1654{
1655 FIXME("iface %p, reference %p, velocity %p, with_rotation %#x stub!\n",
1656 iface, reference, velocity, with_rotation);
1657
1658 return E_NOTIMPL;
1659}

◆ d3drm_frame1_GetVisuals()

static HRESULT WINAPI d3drm_frame1_GetVisuals ( IDirect3DRMFrame *  iface,
IDirect3DRMVisualArray **  visuals 
)
static

Definition at line 1710 of file frame.c.

1711{
1712 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
1713
1714 TRACE("iface %p, visuals %p.\n", iface, visuals);
1715
1717}
static HRESULT WINAPI d3drm_frame2_GetVisuals(IDirect3DRMFrame2 *iface, IDirect3DRMVisualArray **visuals)
Definition: frame.c:1692
IDirect3DRMVisual ** visuals
Definition: d3drm_private.h:83

◆ d3drm_frame1_GetZbufferMode()

static D3DRMZBUFFERMODE WINAPI d3drm_frame1_GetZbufferMode ( IDirect3DRMFrame *  iface)
static

Definition at line 2392 of file frame.c.

2393{
2394 FIXME("iface %p stub!\n", iface);
2395
2397}
@ D3DRMZBUFFER_FROMPARENT
Definition: d3drmdef.h:226

◆ d3drm_frame1_InverseTransform()

static HRESULT WINAPI d3drm_frame1_InverseTransform ( IDirect3DRMFrame *  iface,
D3DVECTOR d,
D3DVECTOR s 
)
static

Definition at line 1747 of file frame.c.

1748{
1749 FIXME("iface %p, d %p, s %p stub!\n", iface, d, s);
1750
1751 return E_NOTIMPL;
1752}
GLdouble s
Definition: gl.h:2039
#define d
Definition: ke_i.h:81

◆ d3drm_frame1_Load()

static HRESULT WINAPI d3drm_frame1_Load ( IDirect3DRMFrame *  iface,
void filename,
void name,
D3DRMLOADOPTIONS  flags,
D3DRMLOADTEXTURECALLBACK  cb,
void ctx 
)
static

Definition at line 1772 of file frame.c.

1774{
1775 FIXME("iface %p, filename %p, name %p, flags %#x, cb %p, ctx %p stub!\n",
1776 iface, filename, name, flags, cb, ctx);
1777
1778 return E_NOTIMPL;
1779}
GLbitfield flags
Definition: glext.h:7161
const char * filename
Definition: ioapi.h:137

◆ d3drm_frame1_LookAt()

static HRESULT WINAPI d3drm_frame1_LookAt ( IDirect3DRMFrame *  iface,
IDirect3DRMFrame *  target,
IDirect3DRMFrame *  reference,
D3DRMFRAMECONSTRAINT  constraint 
)
static

Definition at line 1797 of file frame.c.

1799{
1800 FIXME("iface %p, target %p, reference %p, constraint %#x stub!\n", iface, target, reference, constraint);
1801
1802 return E_NOTIMPL;
1803}
GLenum target
Definition: glext.h:7315

◆ d3drm_frame1_Move()

static HRESULT WINAPI d3drm_frame1_Move ( IDirect3DRMFrame *  iface,
D3DVALUE  delta 
)
static

Definition at line 1819 of file frame.c.

1820{
1821 FIXME("iface %p, delta %.8e stub!\n", iface, delta);
1822
1823 return E_NOTIMPL;
1824}

◆ d3drm_frame1_QueryInterface()

static HRESULT WINAPI d3drm_frame1_QueryInterface ( IDirect3DRMFrame *  iface,
REFIID  riid,
void **  out 
)
static

Definition at line 564 of file frame.c.

565{
566 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
567
568 TRACE("iface %p, riid %s, out %p.\n", iface, debugstr_guid(riid), out);
569
571}
static HRESULT WINAPI d3drm_frame3_QueryInterface(IDirect3DRMFrame3 *iface, REFIID riid, void **out)
Definition: frame.c:523

◆ d3drm_frame1_Release()

static ULONG WINAPI d3drm_frame1_Release ( IDirect3DRMFrame *  iface)
static

Definition at line 643 of file frame.c.

644{
645 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
646
647 TRACE("iface %p.\n", iface);
648
650}
static ULONG WINAPI d3drm_frame3_Release(IDirect3DRMFrame3 *iface)
Definition: frame.c:601

◆ d3drm_frame1_SetAppData()

static HRESULT WINAPI d3drm_frame1_SetAppData ( IDirect3DRMFrame *  iface,
DWORD  data 
)
static

Definition at line 756 of file frame.c.

757{
758 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
759
760 TRACE("iface %p, data %#x.\n", iface, data);
761
763}
static HRESULT WINAPI d3drm_frame3_SetAppData(IDirect3DRMFrame3 *iface, DWORD data)
Definition: frame.c:736

◆ d3drm_frame1_SetColor()

static HRESULT WINAPI d3drm_frame1_SetColor ( IDirect3DRMFrame *  iface,
D3DCOLOR  color 
)
static

Definition at line 2347 of file frame.c.

2348{
2349 FIXME("iface %p, color 0x%08x stub!\n", iface, color);
2350
2351 return E_NOTIMPL;
2352}
GLuint color
Definition: glext.h:6243

◆ d3drm_frame1_SetColorRGB()

static HRESULT WINAPI d3drm_frame1_SetColorRGB ( IDirect3DRMFrame *  iface,
D3DVALUE  red,
D3DVALUE  green,
D3DVALUE  blue 
)
static

Definition at line 2370 of file frame.c.

2372{
2373 FIXME("iface %p, red %.8e, green %.8e, blue %.8e stub!\n", iface, red, green, blue);
2374
2375 return E_NOTIMPL;
2376}
GLclampf green
Definition: gl.h:1740
GLclampf GLclampf blue
Definition: gl.h:1740
#define red
Definition: linetest.c:67

◆ d3drm_frame1_SetMaterialMode()

static HRESULT WINAPI d3drm_frame1_SetMaterialMode ( IDirect3DRMFrame *  iface,
D3DRMMATERIALMODE  mode 
)
static

Definition at line 2413 of file frame.c.

2414{
2415 FIXME("iface %p, mode %#x stub!\n", iface, mode);
2416
2417 return E_NOTIMPL;
2418}
GLenum mode
Definition: glext.h:6217

◆ d3drm_frame1_SetName()

static HRESULT WINAPI d3drm_frame1_SetName ( IDirect3DRMFrame *  iface,
const char name 
)
static

Definition at line 810 of file frame.c.

811{
812 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
813
814 TRACE("iface %p, name %s.\n", iface, debugstr_a(name));
815
817}
static HRESULT WINAPI d3drm_frame3_SetName(IDirect3DRMFrame3 *iface, const char *name)
Definition: frame.c:792

◆ d3drm_frame1_SetOrientation()

static HRESULT WINAPI d3drm_frame1_SetOrientation ( IDirect3DRMFrame *  iface,
IDirect3DRMFrame *  reference,
D3DVALUE  dx,
D3DVALUE  dy,
D3DVALUE  dz,
D3DVALUE  ux,
D3DVALUE  uy,
D3DVALUE  uz 
)
static

Definition at line 2438 of file frame.c.

2440{
2441 FIXME("iface %p, reference %p, dx %.8e, dy %.8e, dz %.8e, ux %.8e, uy %.8e, uz %.8e stub!\n",
2442 iface, reference, dx, dy, dz, ux, uy, uz);
2443
2444 return E_NOTIMPL;
2445}
GLint dy
Definition: linetemp.h:97
GLint dx
Definition: linetemp.h:97

◆ d3drm_frame1_SetPosition()

static HRESULT WINAPI d3drm_frame1_SetPosition ( IDirect3DRMFrame *  iface,
IDirect3DRMFrame *  reference,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z 
)
static

Definition at line 2463 of file frame.c.

2465{
2466 FIXME("iface %p, reference %p, x %.8e, y %.8e, z %.8e stub!\n", iface, reference, x, y, z);
2467
2468 return E_NOTIMPL;
2469}

◆ d3drm_frame1_SetRotation()

static HRESULT WINAPI d3drm_frame1_SetRotation ( IDirect3DRMFrame *  iface,
IDirect3DRMFrame *  reference,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z,
D3DVALUE  theta 
)
static

Definition at line 2489 of file frame.c.

2491{
2492 FIXME("iface %p, reference %p, x %.8e, y %.8e, z %.8e, theta %.8e stub!\n",
2493 iface, reference, x, y, z, theta);
2494
2495 return E_NOTIMPL;
2496}

◆ d3drm_frame1_SetSceneBackground()

static HRESULT WINAPI d3drm_frame1_SetSceneBackground ( IDirect3DRMFrame *  iface,
D3DCOLOR  color 
)
static

Definition at line 2157 of file frame.c.

2158{
2159 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
2160
2161 TRACE("iface %p, color 0x%08x.\n", iface, color);
2162
2164}
static HRESULT WINAPI d3drm_frame3_SetSceneBackground(IDirect3DRMFrame3 *iface, D3DCOLOR color)
Definition: frame.c:2137

◆ d3drm_frame1_SetSceneBackgroundDepth()

static HRESULT WINAPI d3drm_frame1_SetSceneBackgroundDepth ( IDirect3DRMFrame *  iface,
IDirectDrawSurface *  surface 
)
static

Definition at line 2214 of file frame.c.

2216{
2217 FIXME("iface %p, surface %p stub!\n", iface, surface);
2218
2219 return E_NOTIMPL;
2220}

◆ d3drm_frame1_SetSceneBackgroundImage()

static HRESULT WINAPI d3drm_frame1_SetSceneBackgroundImage ( IDirect3DRMFrame *  iface,
IDirect3DRMTexture *  texture 
)
static

Definition at line 2238 of file frame.c.

2240{
2241 FIXME("iface %p, texture %p stub!\n", iface, texture);
2242
2243 return E_NOTIMPL;
2244}

◆ d3drm_frame1_SetSceneBackgroundRGB()

static HRESULT WINAPI d3drm_frame1_SetSceneBackgroundRGB ( IDirect3DRMFrame *  iface,
D3DVALUE  red,
D3DVALUE  green,
D3DVALUE  blue 
)
static

Definition at line 2188 of file frame.c.

2190{
2191 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
2192
2193 TRACE("iface %p, red %.8e, green %.8e, blue %.8e.\n", iface, red, green, blue);
2194
2196}
static HRESULT WINAPI d3drm_frame3_SetSceneBackgroundRGB(IDirect3DRMFrame3 *iface, D3DVALUE red, D3DVALUE green, D3DVALUE blue)
Definition: frame.c:2166

◆ d3drm_frame1_SetSceneFogColor()

static HRESULT WINAPI d3drm_frame1_SetSceneFogColor ( IDirect3DRMFrame *  iface,
D3DCOLOR  color 
)
static

Definition at line 2281 of file frame.c.

2282{
2283 FIXME("iface %p, color 0x%08x stub!\n", iface, color);
2284
2285 return E_NOTIMPL;
2286}

◆ d3drm_frame1_SetSceneFogEnable()

static HRESULT WINAPI d3drm_frame1_SetSceneFogEnable ( IDirect3DRMFrame *  iface,
BOOL  enable 
)
static

Definition at line 2260 of file frame.c.

2261{
2262 FIXME("iface %p, enable %#x stub!\n", iface, enable);
2263
2264 return E_NOTIMPL;
2265}
GLboolean enable
Definition: glext.h:11120

◆ d3drm_frame1_SetSceneFogMode()

static HRESULT WINAPI d3drm_frame1_SetSceneFogMode ( IDirect3DRMFrame *  iface,
D3DRMFOGMODE  mode 
)
static

Definition at line 2302 of file frame.c.

2303{
2304 FIXME("iface %p, mode %#x stub!\n", iface, mode);
2305
2306 return E_NOTIMPL;
2307}

◆ d3drm_frame1_SetSceneFogParams()

static HRESULT WINAPI d3drm_frame1_SetSceneFogParams ( IDirect3DRMFrame *  iface,
D3DVALUE  start,
D3DVALUE  end,
D3DVALUE  density 
)
static

Definition at line 2325 of file frame.c.

2327{
2328 FIXME("iface %p, start %.8e, end %.8e, density %.8e stub!\n", iface, start, end, density);
2329
2330 return E_NOTIMPL;
2331}

◆ d3drm_frame1_SetSortMode()

static HRESULT WINAPI d3drm_frame1_SetSortMode ( IDirect3DRMFrame *  iface,
D3DRMSORTMODE  mode 
)
static

Definition at line 2512 of file frame.c.

2513{
2514 FIXME("iface %p, mode %#x stub!\n", iface, mode);
2515
2516 return E_NOTIMPL;
2517}

◆ d3drm_frame1_SetTexture()

static HRESULT WINAPI d3drm_frame1_SetTexture ( IDirect3DRMFrame *  iface,
IDirect3DRMTexture *  texture 
)
static

Definition at line 2533 of file frame.c.

2534{
2535 FIXME("iface %p, texture %p stub!\n", iface, texture);
2536
2537 return E_NOTIMPL;
2538}

◆ d3drm_frame1_SetTextureTopology()

static HRESULT WINAPI d3drm_frame1_SetTextureTopology ( IDirect3DRMFrame *  iface,
BOOL  wrap_u,
BOOL  wrap_v 
)
static

Definition at line 2547 of file frame.c.

2548{
2549 FIXME("iface %p, wrap_u %#x, wrap_v %#x stub!\n", iface, wrap_u, wrap_v);
2550
2551 return E_NOTIMPL;
2552}

◆ d3drm_frame1_SetVelocity()

static HRESULT WINAPI d3drm_frame1_SetVelocity ( IDirect3DRMFrame *  iface,
IDirect3DRMFrame *  reference,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z,
BOOL  with_rotation 
)
static

Definition at line 2572 of file frame.c.

2574{
2575 FIXME("iface %p, reference %p, x %.8e, y %.8e, z %.8e, with_rotation %#x stub!\n",
2576 iface, reference, x, y, z, with_rotation);
2577
2578 return E_NOTIMPL;
2579}

◆ d3drm_frame1_SetZbufferMode()

static HRESULT WINAPI d3drm_frame1_SetZbufferMode ( IDirect3DRMFrame *  iface,
D3DRMZBUFFERMODE  mode 
)
static

Definition at line 2595 of file frame.c.

2596{
2597 FIXME("iface %p, mode %#x stub!\n", iface, mode);
2598
2599 return E_NOTIMPL;
2600}

◆ d3drm_frame1_Transform()

static HRESULT WINAPI d3drm_frame1_Transform ( IDirect3DRMFrame *  iface,
D3DVECTOR d,
D3DVECTOR s 
)
static

Definition at line 2626 of file frame.c.

2627{
2628 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
2629
2630 TRACE("iface %p, d %p, s %p.\n", iface, d, s);
2631
2633}
static HRESULT WINAPI d3drm_frame3_Transform(IDirect3DRMFrame3 *iface, D3DVECTOR *d, D3DVECTOR *s)
Definition: frame.c:2602

◆ d3drm_frame2_AddChild()

static HRESULT WINAPI d3drm_frame2_AddChild ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrame *  child 
)
static

Definition at line 910 of file frame.c.

911{
912 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
913 IDirect3DRMFrame3 *child3;
914 HRESULT hr;
915
916 TRACE("iface %p, child %p.\n", iface, child);
917
918 if (!child)
919 return D3DRMERR_BADOBJECT;
920 hr = IDirect3DRMFrame_QueryInterface(child, &IID_IDirect3DRMFrame3, (void **)&child3);
921 if (hr != S_OK)
922 return D3DRMERR_BADOBJECT;
924
925 return d3drm_frame3_AddChild(&frame->IDirect3DRMFrame3_iface, child3);
926}
#define IDirect3DRMFrame_Release(p)
Definition: d3drmobj.h:1168
static struct d3drm_frame * impl_from_IDirect3DRMFrame2(IDirect3DRMFrame2 *iface)
Definition: frame.c:63

◆ d3drm_frame2_AddDestroyCallback()

static HRESULT WINAPI d3drm_frame2_AddDestroyCallback ( IDirect3DRMFrame2 *  iface,
D3DRMOBJECTCALLBACK  cb,
void ctx 
)
static

Definition at line 686 of file frame.c.

688{
689 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
690
691 TRACE("iface %p, cb %p, ctx %p.\n", iface, cb, ctx);
692
694}

◆ d3drm_frame2_AddLight()

static HRESULT WINAPI d3drm_frame2_AddLight ( IDirect3DRMFrame2 *  iface,
IDirect3DRMLight *  light 
)
static

Definition at line 966 of file frame.c.

967{
968 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
969
970 TRACE("iface %p, light %p.\n", iface, light);
971
973}

◆ d3drm_frame2_AddMoveCallback()

static HRESULT WINAPI d3drm_frame2_AddMoveCallback ( IDirect3DRMFrame2 *  iface,
D3DRMFRAMEMOVECALLBACK  cb,
void ctx 
)
static

Definition at line 992 of file frame.c.

994{
995 FIXME("iface %p, cb %p, ctx %p stub!\n", iface, cb, ctx);
996
997 return E_NOTIMPL;
998}

◆ d3drm_frame2_AddMoveCallback2()

static HRESULT WINAPI d3drm_frame2_AddMoveCallback2 ( IDirect3DRMFrame2 *  iface,
D3DRMFRAMEMOVECALLBACK  cb,
void ctx,
DWORD  flags 
)
static

Definition at line 2635 of file frame.c.

2637{
2638 FIXME("iface %p, cb %p, ctx %p, flags %#x stub!\n", iface, cb, ctx, flags);
2639
2640 return E_NOTIMPL;
2641}

◆ d3drm_frame2_AddRef()

static ULONG WINAPI d3drm_frame2_AddRef ( IDirect3DRMFrame2 *  iface)
static

Definition at line 583 of file frame.c.

584{
585 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
586
587 TRACE("iface %p.\n", iface);
588
590}

◆ d3drm_frame2_AddRotation()

static HRESULT WINAPI d3drm_frame2_AddRotation ( IDirect3DRMFrame2 *  iface,
D3DRMCOMBINETYPE  type,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z,
D3DVALUE  theta 
)
static

Definition at line 1225 of file frame.c.

1227{
1228 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1229
1230 TRACE("iface %p, type %#x, x %.8e, y %.8e, z %.8e, theta %.8e.\n", iface, type, x, y, z, theta);
1231
1232 return d3drm_frame3_AddRotation(&frame->IDirect3DRMFrame3_iface, type, x, y, z, theta);
1233}

◆ d3drm_frame2_AddScale()

static HRESULT WINAPI d3drm_frame2_AddScale ( IDirect3DRMFrame2 *  iface,
D3DRMCOMBINETYPE  type,
D3DVALUE  sx,
D3DVALUE  sy,
D3DVALUE  sz 
)
static

Definition at line 1168 of file frame.c.

1170{
1171 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1172
1173 TRACE("iface %p, type %#x, sx %.8e, sy %.8e, sz %.8e.\n", iface, type, sx, sy, sz);
1174
1175 return d3drm_frame3_AddScale(&frame->IDirect3DRMFrame3_iface, type, sx, sy, sz);
1176}

◆ d3drm_frame2_AddTransform()

static HRESULT WINAPI d3drm_frame2_AddTransform ( IDirect3DRMFrame2 *  iface,
D3DRMCOMBINETYPE  type,
D3DRMMATRIX4D  matrix 
)
static

Definition at line 1041 of file frame.c.

1043{
1044 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1045
1046 TRACE("iface %p, type %#x, matrix %p.\n", iface, type, matrix);
1047
1049}

◆ d3drm_frame2_AddTranslation()

static HRESULT WINAPI d3drm_frame2_AddTranslation ( IDirect3DRMFrame2 *  iface,
D3DRMCOMBINETYPE  type,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z 
)
static

Definition at line 1097 of file frame.c.

1099{
1100 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1101
1102 TRACE("iface %p, type %#x, x %.8e, y %.8e, z %.8e.\n", iface, type, x, y, z);
1103
1105}

◆ d3drm_frame2_AddVisual()

static HRESULT WINAPI d3drm_frame2_AddVisual ( IDirect3DRMFrame2 *  iface,
IDirect3DRMVisual *  visual 
)
static

Definition at line 1270 of file frame.c.

1271{
1272 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1273
1274 TRACE("iface %p, visual %p.\n", iface, visual);
1275
1276 return d3drm_frame3_AddVisual(&frame->IDirect3DRMFrame3_iface, (IUnknown *)visual);
1277}

◆ d3drm_frame2_Clone()

static HRESULT WINAPI d3drm_frame2_Clone ( IDirect3DRMFrame2 *  iface,
IUnknown outer,
REFIID  iid,
void **  out 
)
static

Definition at line 660 of file frame.c.

662{
663 FIXME("iface %p, outer %p, iid %s, out %p stub!\n", iface, outer, debugstr_guid(iid), out);
664
665 return E_NOTIMPL;
666}

◆ d3drm_frame2_DeleteChild()

static HRESULT WINAPI d3drm_frame2_DeleteChild ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrame *  child 
)
static

Definition at line 1855 of file frame.c.

1856{
1857 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1858 IDirect3DRMFrame3 *child3;
1859 HRESULT hr;
1860
1861 TRACE("iface %p, child %p.\n", iface, child);
1862
1863 if (!child)
1864 return D3DRMERR_BADOBJECT;
1865 if (FAILED(hr = IDirect3DRMFrame_QueryInterface(child, &IID_IDirect3DRMFrame3, (void **)&child3)))
1866 return D3DRMERR_BADOBJECT;
1868
1869 return d3drm_frame3_DeleteChild(&frame->IDirect3DRMFrame3_iface, child3);
1870}
#define FAILED(hr)
Definition: intsafe.h:51

◆ d3drm_frame2_DeleteDestroyCallback()

static HRESULT WINAPI d3drm_frame2_DeleteDestroyCallback ( IDirect3DRMFrame2 *  iface,
D3DRMOBJECTCALLBACK  cb,
void ctx 
)
static

Definition at line 716 of file frame.c.

718{
719 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
720
721 TRACE("iface %p, cb %p, ctx %p.\n", iface, cb, ctx);
722
724}

◆ d3drm_frame2_DeleteLight()

static HRESULT WINAPI d3drm_frame2_DeleteLight ( IDirect3DRMFrame2 *  iface,
IDirect3DRMLight *  light 
)
static

Definition at line 1912 of file frame.c.

1913{
1914 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1915
1916 TRACE("iface %p, light %p.\n", iface, light);
1917
1919}

◆ d3drm_frame2_DeleteMoveCallback()

static HRESULT WINAPI d3drm_frame2_DeleteMoveCallback ( IDirect3DRMFrame2 *  iface,
D3DRMFRAMEMOVECALLBACK  cb,
void ctx 
)
static

Definition at line 1938 of file frame.c.

1940{
1941 FIXME("iface %p, cb %p, ctx %p stub!\n", iface, cb, ctx);
1942
1943 return E_NOTIMPL;
1944}

◆ d3drm_frame2_DeleteVisual()

static HRESULT WINAPI d3drm_frame2_DeleteVisual ( IDirect3DRMFrame2 *  iface,
IDirect3DRMVisual *  visual 
)
static

Definition at line 1981 of file frame.c.

1982{
1983 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1984
1985 TRACE("iface %p, visual %p.\n", iface, visual);
1986
1988}

◆ d3drm_frame2_GetAppData()

static DWORD WINAPI d3drm_frame2_GetAppData ( IDirect3DRMFrame2 *  iface)
static

Definition at line 774 of file frame.c.

775{
776 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
777
778 TRACE("iface %p.\n", iface);
779
781}

◆ d3drm_frame2_GetAxes()

static HRESULT WINAPI d3drm_frame2_GetAxes ( IDirect3DRMFrame2 *  iface,
D3DVECTOR dir,
D3DVECTOR up 
)
static

Definition at line 2678 of file frame.c.

2679{
2680 FIXME("iface %p, dir %p, up %p stub!\n", iface, dir, up);
2681
2682 return E_NOTIMPL;
2683}

◆ d3drm_frame2_GetBox()

static HRESULT WINAPI d3drm_frame2_GetBox ( IDirect3DRMFrame2 *  iface,
D3DRMBOX box 
)
static

Definition at line 2650 of file frame.c.

2651{
2652 FIXME("iface %p, box %p stub!\n", iface, box);
2653
2654 return E_NOTIMPL;
2655}
Definition: palette.c:468

◆ d3drm_frame2_GetBoxEnable()

static BOOL WINAPI d3drm_frame2_GetBoxEnable ( IDirect3DRMFrame2 *  iface)
static

Definition at line 2664 of file frame.c.

2665{
2666 FIXME("iface %p stub!\n", iface);
2667
2668 return FALSE;
2669}

◆ d3drm_frame2_GetChildren()

static HRESULT WINAPI d3drm_frame2_GetChildren ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrameArray **  children 
)
static

Definition at line 1306 of file frame.c.

1307{
1308 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1309
1310 TRACE("iface %p, children %p.\n", iface, children);
1311
1313}

◆ d3drm_frame2_GetClassName()

static HRESULT WINAPI d3drm_frame2_GetClassName ( IDirect3DRMFrame2 *  iface,
DWORD size,
char name 
)
static

Definition at line 855 of file frame.c.

856{
857 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
858
859 TRACE("iface %p, size %p, name %p.\n", iface, size, name);
860
862}

◆ d3drm_frame2_GetColor()

static D3DCOLOR WINAPI d3drm_frame2_GetColor ( IDirect3DRMFrame2 *  iface)
static

Definition at line 1331 of file frame.c.

1332{
1333 FIXME("iface %p stub!\n", iface);
1334
1335 return 0;
1336}

◆ d3drm_frame2_GetHierarchyBox()

static HRESULT WINAPI d3drm_frame2_GetHierarchyBox ( IDirect3DRMFrame2 *  iface,
D3DRMBOX box 
)
static

Definition at line 2720 of file frame.c.

2721{
2722 FIXME("iface %p, box %p stub!\n", iface, box);
2723
2724 return E_NOTIMPL;
2725}

◆ d3drm_frame2_GetInheritAxes()

static BOOL WINAPI d3drm_frame2_GetInheritAxes ( IDirect3DRMFrame2 *  iface)
static

Definition at line 2706 of file frame.c.

2707{
2708 FIXME("iface %p stub!\n", iface);
2709
2710 return FALSE;
2711}

◆ d3drm_frame2_GetLights()

static HRESULT WINAPI d3drm_frame2_GetLights ( IDirect3DRMFrame2 *  iface,
IDirect3DRMLightArray **  lights 
)
static

Definition at line 1363 of file frame.c.

1364{
1365 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1366
1367 TRACE("iface %p, lights %p.\n", iface, lights);
1368
1370}

◆ d3drm_frame2_GetMaterial()

static HRESULT WINAPI d3drm_frame2_GetMaterial ( IDirect3DRMFrame2 *  iface,
IDirect3DRMMaterial **  material 
)
static

Definition at line 2692 of file frame.c.

2693{
2694 FIXME("iface %p, material %p stub!\n", iface, material);
2695
2696 return E_NOTIMPL;
2697}

◆ d3drm_frame2_GetMaterialMode()

static D3DRMMATERIALMODE WINAPI d3drm_frame2_GetMaterialMode ( IDirect3DRMFrame2 *  iface)
static

Definition at line 1388 of file frame.c.

1389{
1390 FIXME("iface %p stub!\n", iface);
1391
1393}

◆ d3drm_frame2_GetName()

static HRESULT WINAPI d3drm_frame2_GetName ( IDirect3DRMFrame2 *  iface,
DWORD size,
char name 
)
static

Definition at line 828 of file frame.c.

829{
830 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
831
832 TRACE("iface %p, size %p, name %p.\n", iface, size, name);
833
835}

◆ d3drm_frame2_GetOrientation()

static HRESULT WINAPI d3drm_frame2_GetOrientation ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrame *  reference,
D3DVECTOR dir,
D3DVECTOR up 
)
static

Definition at line 1669 of file frame.c.

1671{
1672 FIXME("iface %p, reference %p, dir %p, up %p stub!\n", iface, reference, dir, up);
1673
1674 return E_NOTIMPL;
1675}

◆ d3drm_frame2_GetParent()

static HRESULT WINAPI d3drm_frame2_GetParent ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrame **  parent 
)
static

Definition at line 1424 of file frame.c.

1425{
1426 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1427
1428 TRACE("iface %p, parent %p.\n", iface, parent);
1429
1430 if (!parent)
1431 return D3DRMERR_BADVALUE;
1432
1433 if (frame->parent)
1434 {
1435 *parent = &frame->parent->IDirect3DRMFrame_iface;
1437 }
1438 else
1439 {
1440 *parent = NULL;
1441 }
1442
1443 return D3DRM_OK;
1444}
#define IDirect3DRMFrame_AddRef(p)
Definition: d3drmobj.h:1167
struct d3drm_frame * parent
Definition: d3drm_private.h:77

Referenced by d3drm_frame1_GetParent().

◆ d3drm_frame2_GetPosition()

static HRESULT WINAPI d3drm_frame2_GetPosition ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrame *  reference,
D3DVECTOR position 
)
static

Definition at line 1463 of file frame.c.

1465{
1466 FIXME("iface %p, reference %p, position %p stub!\n", iface, reference, position);
1467
1468 return E_NOTIMPL;
1469}

◆ d3drm_frame2_GetRotation()

static HRESULT WINAPI d3drm_frame2_GetRotation ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrame *  reference,
D3DVECTOR axis,
D3DVALUE theta 
)
static

Definition at line 1488 of file frame.c.

1490{
1491 FIXME("iface %p, reference %p, axis %p, theta %p stub!\n", iface, reference, axis, theta);
1492
1493 return E_NOTIMPL;
1494}

◆ d3drm_frame2_GetScene()

static HRESULT WINAPI d3drm_frame2_GetScene ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrame **  scene 
)
static

Definition at line 1522 of file frame.c.

1523{
1524 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1525 IDirect3DRMFrame3 *frame3;
1526 HRESULT hr;
1527
1528 TRACE("iface %p, scene %p.\n", iface, scene);
1529
1530 if (!scene)
1531 return D3DRMERR_BADVALUE;
1532
1534 if (FAILED(hr) || !frame3)
1535 {
1536 *scene = NULL;
1537 return hr;
1538 }
1539
1540 hr = IDirect3DRMFrame3_QueryInterface(frame3, &IID_IDirect3DRMFrame, (void **)scene);
1542
1543 return hr;
1544}
#define IDirect3DRMFrame3_GetScene(p, a)
Definition: d3drmobj.h:1734
#define IDirect3DRMFrame3_QueryInterface(p, a, b)
Definition: d3drmobj.h:1706

Referenced by d3drm_frame1_GetScene().

◆ d3drm_frame2_GetSceneBackground()

static D3DCOLOR WINAPI d3drm_frame2_GetSceneBackground ( IDirect3DRMFrame2 *  iface)
static

Definition at line 2008 of file frame.c.

2009{
2010 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
2011
2012 TRACE("iface %p.\n", iface);
2013
2015}

◆ d3drm_frame2_GetSceneBackgroundDepth()

static HRESULT WINAPI d3drm_frame2_GetSceneBackgroundDepth ( IDirect3DRMFrame2 *  iface,
IDirectDrawSurface **  surface 
)
static

Definition at line 2034 of file frame.c.

2036{
2037 FIXME("iface %p, surface %p stub!\n", iface, surface);
2038
2039 return E_NOTIMPL;
2040}

◆ d3drm_frame2_GetSceneFogColor()

static D3DCOLOR WINAPI d3drm_frame2_GetSceneFogColor ( IDirect3DRMFrame2 *  iface)
static

Definition at line 2057 of file frame.c.

2058{
2059 FIXME("iface %p stub!\n", iface);
2060
2061 return 0;
2062}

◆ d3drm_frame2_GetSceneFogEnable()

static BOOL WINAPI d3drm_frame2_GetSceneFogEnable ( IDirect3DRMFrame2 *  iface)
static

Definition at line 2078 of file frame.c.

2079{
2080 FIXME("iface %p stub!\n", iface);
2081
2082 return FALSE;
2083}

◆ d3drm_frame2_GetSceneFogMode()

static D3DRMFOGMODE WINAPI d3drm_frame2_GetSceneFogMode ( IDirect3DRMFrame2 *  iface)
static

Definition at line 2099 of file frame.c.

2100{
2101 FIXME("iface %p stub!\n", iface);
2102
2103 return D3DRMFOG_LINEAR;
2104}

◆ d3drm_frame2_GetSceneFogParams()

static HRESULT WINAPI d3drm_frame2_GetSceneFogParams ( IDirect3DRMFrame2 *  iface,
D3DVALUE start,
D3DVALUE end,
D3DVALUE density 
)
static

Definition at line 2121 of file frame.c.

2123{
2124 FIXME("iface %p, start %p, end %p, density %p stub!\n", iface, start, end, density);
2125
2126 return E_NOTIMPL;
2127}

◆ d3drm_frame2_GetSortMode()

static D3DRMSORTMODE WINAPI d3drm_frame2_GetSortMode ( IDirect3DRMFrame2 *  iface)
static

Definition at line 1562 of file frame.c.

1563{
1564 FIXME("iface %p stub!\n", iface);
1565
1566 return D3DRMSORT_FROMPARENT;
1567}

◆ d3drm_frame2_GetTexture()

static HRESULT WINAPI d3drm_frame2_GetTexture ( IDirect3DRMFrame2 *  iface,
IDirect3DRMTexture **  texture 
)
static

Definition at line 1583 of file frame.c.

1584{
1585 FIXME("iface %p, texture %p stub!\n", iface, texture);
1586
1587 return E_NOTIMPL;
1588}

◆ d3drm_frame2_GetTextureTopology()

static HRESULT WINAPI d3drm_frame2_GetTextureTopology ( IDirect3DRMFrame2 *  iface,
BOOL wrap_u,
BOOL wrap_v 
)
static

Definition at line 1719 of file frame.c.

1720{
1721 FIXME("iface %p, wrap_u %p, wrap_v %p stub!\n", iface, wrap_u, wrap_v);
1722
1723 return E_NOTIMPL;
1724}

◆ d3drm_frame2_GetTransform()

static HRESULT WINAPI d3drm_frame2_GetTransform ( IDirect3DRMFrame2 *  iface,
D3DRMMATRIX4D  matrix 
)
static

Definition at line 1613 of file frame.c.

1614{
1615 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1616 struct d3drm_matrix *m = d3drm_matrix(matrix);
1617
1618 TRACE("iface %p, matrix %p.\n", iface, matrix);
1619
1620 *m = frame->transform;
1621
1622 return D3DRM_OK;
1623}
const GLfloat * m
Definition: glext.h:10848
struct d3drm_matrix transform
Definition: d3drm_private.h:87

Referenced by d3drm_frame1_GetTransform().

◆ d3drm_frame2_GetVelocity()

static HRESULT WINAPI d3drm_frame2_GetVelocity ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrame *  reference,
D3DVECTOR velocity,
BOOL  with_rotation 
)
static

Definition at line 1643 of file frame.c.

1645{
1646 FIXME("iface %p, reference %p, velocity %p, with_rotation %#x stub!\n",
1647 iface, reference, velocity, with_rotation);
1648
1649 return E_NOTIMPL;
1650}

◆ d3drm_frame2_GetVisuals()

static HRESULT WINAPI d3drm_frame2_GetVisuals ( IDirect3DRMFrame2 *  iface,
IDirect3DRMVisualArray **  visuals 
)
static

Definition at line 1692 of file frame.c.

1693{
1694 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
1695 struct d3drm_visual_array *array;
1696
1697 TRACE("iface %p, visuals %p.\n", iface, visuals);
1698
1699 if (!visuals)
1700 return D3DRMERR_BADVALUE;
1701
1702 if (!(array = d3drm_visual_array_create(frame->nb_visuals, frame->visuals)))
1703 return E_OUTOFMEMORY;
1704
1705 *visuals = &array->IDirect3DRMVisualArray_iface;
1706
1707 return D3DRM_OK;
1708}
static struct d3drm_visual_array * d3drm_visual_array_create(unsigned int visual_count, IDirect3DRMVisual **visuals)
Definition: frame.c:374
SIZE_T nb_visuals
Definition: d3drm_private.h:81
IDirect3DRMVisual ** visuals
Definition: frame.c:47

Referenced by d3drm_frame1_GetVisuals().

◆ d3drm_frame2_GetZbufferMode()

static D3DRMZBUFFERMODE WINAPI d3drm_frame2_GetZbufferMode ( IDirect3DRMFrame2 *  iface)
static

Definition at line 2385 of file frame.c.

2386{
2387 FIXME("iface %p stub!\n", iface);
2388
2390}

◆ d3drm_frame2_InverseTransform()

static HRESULT WINAPI d3drm_frame2_InverseTransform ( IDirect3DRMFrame2 *  iface,
D3DVECTOR d,
D3DVECTOR s 
)
static

Definition at line 1740 of file frame.c.

1741{
1742 FIXME("iface %p, d %p, s %p stub!\n", iface, d, s);
1743
1744 return E_NOTIMPL;
1745}

◆ d3drm_frame2_Load()

static HRESULT WINAPI d3drm_frame2_Load ( IDirect3DRMFrame2 *  iface,
void filename,
void name,
D3DRMLOADOPTIONS  flags,
D3DRMLOADTEXTURECALLBACK  cb,
void ctx 
)
static

Definition at line 1763 of file frame.c.

1765{
1766 FIXME("iface %p, filename %p, name %p, flags %#x, cb %p, ctx %p stub!\n",
1767 iface, filename, name, flags, cb, ctx);
1768
1769 return E_NOTIMPL;
1770}

◆ d3drm_frame2_LookAt()

static HRESULT WINAPI d3drm_frame2_LookAt ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrame *  target,
IDirect3DRMFrame *  reference,
D3DRMFRAMECONSTRAINT  constraint 
)
static

Definition at line 1789 of file frame.c.

1791{
1792 FIXME("iface %p, target %p, reference %p, constraint %#x stub!\n", iface, target, reference, constraint);
1793
1794 return E_NOTIMPL;
1795}

◆ d3drm_frame2_Move()

static HRESULT WINAPI d3drm_frame2_Move ( IDirect3DRMFrame2 *  iface,
D3DVALUE  delta 
)
static

Definition at line 1812 of file frame.c.

1813{
1814 FIXME("iface %p, delta %.8e stub!\n", iface, delta);
1815
1816 return E_NOTIMPL;
1817}

◆ d3drm_frame2_QueryInterface()

static HRESULT WINAPI d3drm_frame2_QueryInterface ( IDirect3DRMFrame2 *  iface,
REFIID  riid,
void **  out 
)
static

Definition at line 555 of file frame.c.

556{
557 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
558
559 TRACE("iface %p, riid %s, out %p.\n", iface, debugstr_guid(riid), out);
560
562}

◆ d3drm_frame2_Release()

static ULONG WINAPI d3drm_frame2_Release ( IDirect3DRMFrame2 *  iface)
static

Definition at line 634 of file frame.c.

635{
636 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
637
638 TRACE("iface %p.\n", iface);
639
641}

◆ d3drm_frame2_SetAppData()

static HRESULT WINAPI d3drm_frame2_SetAppData ( IDirect3DRMFrame2 *  iface,
DWORD  data 
)
static

Definition at line 747 of file frame.c.

748{
749 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
750
751 TRACE("iface %p, data %#x.\n", iface, data);
752
754}

◆ d3drm_frame2_SetColor()

static HRESULT WINAPI d3drm_frame2_SetColor ( IDirect3DRMFrame2 *  iface,
D3DCOLOR  color 
)
static

Definition at line 2340 of file frame.c.

2341{
2342 FIXME("iface %p, color 0x%08x stub!\n", iface, color);
2343
2344 return E_NOTIMPL;
2345}

◆ d3drm_frame2_SetColorRGB()

static HRESULT WINAPI d3drm_frame2_SetColorRGB ( IDirect3DRMFrame2 *  iface,
D3DVALUE  red,
D3DVALUE  green,
D3DVALUE  blue 
)
static

Definition at line 2362 of file frame.c.

2364{
2365 FIXME("iface %p, red %.8e, green %.8e, blue %.8e stub!\n", iface, red, green, blue);
2366
2367 return E_NOTIMPL;
2368}

◆ d3drm_frame2_SetMaterialMode()

static HRESULT WINAPI d3drm_frame2_SetMaterialMode ( IDirect3DRMFrame2 *  iface,
D3DRMMATERIALMODE  mode 
)
static

Definition at line 2406 of file frame.c.

2407{
2408 FIXME("iface %p, mode %#x stub!\n", iface, mode);
2409
2410 return E_NOTIMPL;
2411}

◆ d3drm_frame2_SetName()

static HRESULT WINAPI d3drm_frame2_SetName ( IDirect3DRMFrame2 *  iface,
const char name 
)
static

Definition at line 801 of file frame.c.

802{
803 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
804
805 TRACE("iface %p, name %s.\n", iface, debugstr_a(name));
806
808}

◆ d3drm_frame2_SetOrientation()

static HRESULT WINAPI d3drm_frame2_SetOrientation ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrame *  reference,
D3DVALUE  dx,
D3DVALUE  dy,
D3DVALUE  dz,
D3DVALUE  ux,
D3DVALUE  uy,
D3DVALUE  uz 
)
static

Definition at line 2429 of file frame.c.

2431{
2432 FIXME("iface %p, reference %p, dx %.8e, dy %.8e, dz %.8e, ux %.8e, uy %.8e, uz %.8e stub!\n",
2433 iface, reference, dx, dy, dz, ux, uy, uz);
2434
2435 return E_NOTIMPL;
2436}

◆ d3drm_frame2_SetPosition()

static HRESULT WINAPI d3drm_frame2_SetPosition ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrame *  reference,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z 
)
static

Definition at line 2455 of file frame.c.

2457{
2458 FIXME("iface %p, reference %p, x %.8e, y %.8e, z %.8e stub!\n", iface, reference, x, y, z);
2459
2460 return E_NOTIMPL;
2461}

◆ d3drm_frame2_SetRotation()

static HRESULT WINAPI d3drm_frame2_SetRotation ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrame *  reference,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z,
D3DVALUE  theta 
)
static

Definition at line 2480 of file frame.c.

2482{
2483 FIXME("iface %p, reference %p, x %.8e, y %.8e, z %.8e, theta %.8e stub!\n",
2484 iface, reference, x, y, z, theta);
2485
2486 return E_NOTIMPL;
2487}

◆ d3drm_frame2_SetSceneBackground()

static HRESULT WINAPI d3drm_frame2_SetSceneBackground ( IDirect3DRMFrame2 *  iface,
D3DCOLOR  color 
)
static

Definition at line 2148 of file frame.c.

2149{
2150 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
2151
2152 TRACE("iface %p, color 0x%08x.\n", iface, color);
2153
2155}

◆ d3drm_frame2_SetSceneBackgroundDepth()

static HRESULT WINAPI d3drm_frame2_SetSceneBackgroundDepth ( IDirect3DRMFrame2 *  iface,
IDirectDrawSurface *  surface 
)
static

Definition at line 2206 of file frame.c.

2208{
2209 FIXME("iface %p, surface %p stub!\n", iface, surface);
2210
2211 return E_NOTIMPL;
2212}

◆ d3drm_frame2_SetSceneBackgroundImage()

static HRESULT WINAPI d3drm_frame2_SetSceneBackgroundImage ( IDirect3DRMFrame2 *  iface,
IDirect3DRMTexture *  texture 
)
static

Definition at line 2230 of file frame.c.

2232{
2233 FIXME("iface %p, texture %p stub!\n", iface, texture);
2234
2235 return E_NOTIMPL;
2236}

◆ d3drm_frame2_SetSceneBackgroundRGB()

static HRESULT WINAPI d3drm_frame2_SetSceneBackgroundRGB ( IDirect3DRMFrame2 *  iface,
D3DVALUE  red,
D3DVALUE  green,
D3DVALUE  blue 
)
static

Definition at line 2178 of file frame.c.

2180{
2181 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
2182
2183 TRACE("iface %p, red %.8e, green %.8e, blue %.8e.\n", iface, red, green, blue);
2184
2186}

◆ d3drm_frame2_SetSceneFogColor()

static HRESULT WINAPI d3drm_frame2_SetSceneFogColor ( IDirect3DRMFrame2 *  iface,
D3DCOLOR  color 
)
static

Definition at line 2274 of file frame.c.

2275{
2276 FIXME("iface %p, color 0x%08x stub!\n", iface, color);
2277
2278 return E_NOTIMPL;
2279}

◆ d3drm_frame2_SetSceneFogEnable()

static HRESULT WINAPI d3drm_frame2_SetSceneFogEnable ( IDirect3DRMFrame2 *  iface,
BOOL  enable 
)
static

Definition at line 2253 of file frame.c.

2254{
2255 FIXME("iface %p, enable %#x stub!\n", iface, enable);
2256
2257 return E_NOTIMPL;
2258}

◆ d3drm_frame2_SetSceneFogMode()

static HRESULT WINAPI d3drm_frame2_SetSceneFogMode ( IDirect3DRMFrame2 *  iface,
D3DRMFOGMODE  mode 
)
static

Definition at line 2295 of file frame.c.

2296{
2297 FIXME("iface %p, mode %#x stub!\n", iface, mode);
2298
2299 return E_NOTIMPL;
2300}

◆ d3drm_frame2_SetSceneFogParams()

static HRESULT WINAPI d3drm_frame2_SetSceneFogParams ( IDirect3DRMFrame2 *  iface,
D3DVALUE  start,
D3DVALUE  end,
D3DVALUE  density 
)
static

Definition at line 2317 of file frame.c.

2319{
2320 FIXME("iface %p, start %.8e, end %.8e, density %.8e stub!\n", iface, start, end, density);
2321
2322 return E_NOTIMPL;
2323}

◆ d3drm_frame2_SetSortMode()

static HRESULT WINAPI d3drm_frame2_SetSortMode ( IDirect3DRMFrame2 *  iface,
D3DRMSORTMODE  mode 
)
static

Definition at line 2505 of file frame.c.

2506{
2507 FIXME("iface %p, mode %#x stub!\n", iface, mode);
2508
2509 return E_NOTIMPL;
2510}

◆ d3drm_frame2_SetTexture()

static HRESULT WINAPI d3drm_frame2_SetTexture ( IDirect3DRMFrame2 *  iface,
IDirect3DRMTexture *  texture 
)
static

Definition at line 2526 of file frame.c.

2527{
2528 FIXME("iface %p, texture %p stub!\n", iface, texture);
2529
2530 return E_NOTIMPL;
2531}

◆ d3drm_frame2_SetTextureTopology()

static HRESULT WINAPI d3drm_frame2_SetTextureTopology ( IDirect3DRMFrame2 *  iface,
BOOL  wrap_u,
BOOL  wrap_v 
)
static

Definition at line 2540 of file frame.c.

2541{
2542 FIXME("iface %p, wrap_u %#x, wrap_v %#x stub!\n", iface, wrap_u, wrap_v);
2543
2544 return E_NOTIMPL;
2545}

◆ d3drm_frame2_SetVelocity()

static HRESULT WINAPI d3drm_frame2_SetVelocity ( IDirect3DRMFrame2 *  iface,
IDirect3DRMFrame *  reference,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z,
BOOL  with_rotation 
)
static

Definition at line 2563 of file frame.c.

2565{
2566 FIXME("iface %p, reference %p, x %.8e, y %.8e, z %.8e, with_rotation %#x stub!\n",
2567 iface, reference, x, y, z, with_rotation);
2568
2569 return E_NOTIMPL;
2570}

◆ d3drm_frame2_SetZbufferMode()

static HRESULT WINAPI d3drm_frame2_SetZbufferMode ( IDirect3DRMFrame2 *  iface,
D3DRMZBUFFERMODE  mode 
)
static

Definition at line 2588 of file frame.c.

2589{
2590 FIXME("iface %p, mode %#x stub!\n", iface, mode);
2591
2592 return E_NOTIMPL;
2593}

◆ d3drm_frame2_Transform()

static HRESULT WINAPI d3drm_frame2_Transform ( IDirect3DRMFrame2 *  iface,
D3DVECTOR d,
D3DVECTOR s 
)
static

Definition at line 2617 of file frame.c.

2618{
2619 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame2(iface);
2620
2621 TRACE("iface %p, d %p, s %p.\n", iface, d, s);
2622
2624}

◆ d3drm_frame3_AddChild()

static HRESULT WINAPI d3drm_frame3_AddChild ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  child 
)
static

Definition at line 873 of file frame.c.

874{
875 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
877
878 TRACE("iface %p, child %p.\n", iface, child);
879
880 if (!child_obj)
881 return D3DRMERR_BADOBJECT;
882
883 if (child_obj->parent)
884 {
885 IDirect3DRMFrame3* parent = &child_obj->parent->IDirect3DRMFrame3_iface;
886
887 if (parent == iface)
888 {
889 /* Passed frame is already a child so return success */
890 return D3DRM_OK;
891 }
892 else
893 {
894 /* Remove parent and continue */
896 }
897 }
898
899 if (!d3drm_array_reserve((void **)&frame->children, &frame->children_size,
900 frame->nb_children + 1, sizeof(*frame->children)))
901 return E_OUTOFMEMORY;
902
903 frame->children[frame->nb_children++] = child;
905 child_obj->parent = frame;
906
907 return D3DRM_OK;
908}
#define IDirect3DRMFrame3_DeleteChild(p, a)
Definition: d3drmobj.h:1745
static struct d3drm_frame * impl_from_IDirect3DRMFrame3(IDirect3DRMFrame3 *iface)
Definition: frame.c:68
struct d3drm_frame * unsafe_impl_from_IDirect3DRMFrame3(IDirect3DRMFrame3 *iface)
Definition: frame.c:3111
SIZE_T children_size
Definition: d3drm_private.h:79
SIZE_T nb_children
Definition: d3drm_private.h:78

Referenced by d3drm_frame1_AddChild(), and d3drm_frame2_AddChild().

◆ d3drm_frame3_AddDestroyCallback()

static HRESULT WINAPI d3drm_frame3_AddDestroyCallback ( IDirect3DRMFrame3 *  iface,
D3DRMOBJECTCALLBACK  cb,
void ctx 
)
static

Definition at line 676 of file frame.c.

678{
679 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
680
681 TRACE("iface %p, cb %p, ctx %p.\n", iface, cb, ctx);
682
684}
struct d3drm_object obj
Definition: d3drm_private.h:71

◆ d3drm_frame3_AddLight()

static HRESULT WINAPI d3drm_frame3_AddLight ( IDirect3DRMFrame3 *  iface,
IDirect3DRMLight *  light 
)
static

Definition at line 941 of file frame.c.

942{
943 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
944 ULONG i;
945
946 TRACE("iface %p, light %p.\n", iface, light);
947
948 if (!light)
949 return D3DRMERR_BADOBJECT;
950
951 /* Check if already existing and return gracefully without increasing ref count */
952 for (i = 0; i < frame->nb_lights; i++)
953 if (frame->lights[i] == light)
954 return D3DRM_OK;
955
956 if (!d3drm_array_reserve((void **)&frame->lights, &frame->lights_size,
957 frame->nb_lights + 1, sizeof(*frame->lights)))
958 return E_OUTOFMEMORY;
959
960 frame->lights[frame->nb_lights++] = light;
962
963 return D3DRM_OK;
964}
#define IDirect3DRMLight_AddRef(p)
Definition: d3drmobj.h:3119
SIZE_T lights_size
Definition: d3drm_private.h:85
SIZE_T nb_lights
Definition: d3drm_private.h:84

Referenced by d3drm_frame1_AddLight(), and d3drm_frame2_AddLight().

◆ d3drm_frame3_AddMoveCallback()

static HRESULT WINAPI d3drm_frame3_AddMoveCallback ( IDirect3DRMFrame3 *  iface,
D3DRMFRAME3MOVECALLBACK  cb,
void ctx,
DWORD  flags 
)
static

Definition at line 984 of file frame.c.

986{
987 FIXME("iface %p, cb %p, ctx %p flags %#x stub!\n", iface, cb, ctx, flags);
988
989 return E_NOTIMPL;
990}

◆ d3drm_frame3_AddRef()

static ULONG WINAPI d3drm_frame3_AddRef ( IDirect3DRMFrame3 *  iface)
static

Definition at line 573 of file frame.c.

574{
575 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
576 ULONG refcount = InterlockedIncrement(&frame->ref);
577
578 TRACE("%p increasing refcount to %u.\n", iface, refcount);
579
580 return refcount;
581}

Referenced by d3drm_frame1_AddRef(), and d3drm_frame2_AddRef().

◆ d3drm_frame3_AddRotation()

static HRESULT WINAPI d3drm_frame3_AddRotation ( IDirect3DRMFrame3 *  iface,
D3DRMCOMBINETYPE  type,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z,
D3DVALUE  theta 
)
static

Definition at line 1188 of file frame.c.

1190{
1191 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
1192 struct d3drm_matrix m;
1193 D3DVECTOR axis;
1194
1195 TRACE("iface %p, type %#x, x %.8e, y %.8e, z %.8e, theta %.8e.\n", iface, type, x, y, z, theta);
1196
1197 axis.u1.x = x;
1198 axis.u2.y = y;
1199 axis.u3.z = z;
1200
1201 switch (type)
1202 {
1204 d3drm_matrix_set_rotation(&frame->transform, &axis, theta);
1205 break;
1206
1208 d3drm_matrix_set_rotation(&m, &axis, theta);
1210 break;
1211
1212 case D3DRMCOMBINE_AFTER:
1213 d3drm_matrix_set_rotation(&m, &axis, theta);
1215 break;
1216
1217 default:
1218 FIXME("Unhandled type %#x.\n", type);
1219 return D3DRMERR_BADVALUE;
1220 }
1221
1222 return D3DRM_OK;
1223}
@ D3DRMCOMBINE_BEFORE
Definition: d3drmdef.h:126
@ D3DRMCOMBINE_AFTER
Definition: d3drmdef.h:127
@ D3DRMCOMBINE_REPLACE
Definition: d3drmdef.h:125
static void d3drm_matrix_multiply_affine(struct d3drm_matrix *dst, const struct d3drm_matrix *src1, const struct d3drm_matrix *src2)
Definition: frame.c:98
static void d3drm_matrix_set_rotation(struct d3drm_matrix *matrix, D3DVECTOR *axis, float theta)
Definition: frame.c:126

Referenced by d3drm_frame1_AddRotation(), and d3drm_frame2_AddRotation().

◆ d3drm_frame3_AddScale()

static HRESULT WINAPI d3drm_frame3_AddScale ( IDirect3DRMFrame3 *  iface,
D3DRMCOMBINETYPE  type,
D3DVALUE  sx,
D3DVALUE  sy,
D3DVALUE  sz 
)
static

Definition at line 1117 of file frame.c.

1119{
1120 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
1121
1122 TRACE("iface %p, type %#x, sx %.8e, sy %.8e, sz %.8e.\n", iface, type, sx, sy, sz);
1123
1124 switch (type)
1125 {
1127 frame->transform = identity;
1128 frame->transform._11 = sx;
1129 frame->transform._22 = sy;
1130 frame->transform._33 = sz;
1131 break;
1132
1134 frame->transform._11 *= sx;
1135 frame->transform._12 *= sx;
1136 frame->transform._13 *= sx;
1137 frame->transform._21 *= sy;
1138 frame->transform._22 *= sy;
1139 frame->transform._23 *= sy;
1140 frame->transform._31 *= sz;
1141 frame->transform._32 *= sz;
1142 frame->transform._33 *= sz;
1143 break;
1144
1145 case D3DRMCOMBINE_AFTER:
1146 frame->transform._11 *= sx;
1147 frame->transform._12 *= sy;
1148 frame->transform._13 *= sz;
1149 frame->transform._21 *= sx;
1150 frame->transform._22 *= sy;
1151 frame->transform._23 *= sz;
1152 frame->transform._31 *= sx;
1153 frame->transform._32 *= sy;
1154 frame->transform._33 *= sz;
1155 frame->transform._41 *= sx;
1156 frame->transform._42 *= sy;
1157 frame->transform._43 *= sz;
1158 break;
1159
1160 default:
1161 FIXME("Unhandled type %#x.\n", type);
1162 return D3DRMERR_BADVALUE;
1163 }
1164
1165 return D3DRM_OK;
1166}
static const struct d3drm_matrix identity
Definition: frame.c:26

Referenced by d3drm_frame1_AddScale(), and d3drm_frame2_AddScale().

◆ d3drm_frame3_AddTransform()

static HRESULT WINAPI d3drm_frame3_AddTransform ( IDirect3DRMFrame3 *  iface,
D3DRMCOMBINETYPE  type,
D3DRMMATRIX4D  matrix 
)
static

Definition at line 1008 of file frame.c.

1010{
1011 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
1012 const struct d3drm_matrix *m = d3drm_matrix(matrix);
1013
1014 TRACE("iface %p, type %#x, matrix %p.\n", iface, type, matrix);
1015
1016 if (m->_14 != 0.0f || m->_24 != 0.0f || m->_34 != 0.0f || m->_44 != 1.0f)
1017 return D3DRMERR_BADVALUE;
1018
1019 switch (type)
1020 {
1022 frame->transform = *m;
1023 break;
1024
1027 break;
1028
1029 case D3DRMCOMBINE_AFTER:
1031 break;
1032
1033 default:
1034 FIXME("Unhandled type %#x.\n", type);
1035 return D3DRMERR_BADVALUE;
1036 }
1037
1038 return S_OK;
1039}

Referenced by d3drm_frame1_AddTransform(), and d3drm_frame2_AddTransform().

◆ d3drm_frame3_AddTranslation()

static HRESULT WINAPI d3drm_frame3_AddTranslation ( IDirect3DRMFrame3 *  iface,
D3DRMCOMBINETYPE  type,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z 
)
static

Definition at line 1061 of file frame.c.

1063{
1064 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
1065
1066 TRACE("iface %p, type %#x, x %.8e, y %.8e, z %.8e.\n", iface, type, x, y, z);
1067
1068 switch (type)
1069 {
1071 frame->transform = identity;
1072 frame->transform._41 = x;
1073 frame->transform._42 = y;
1074 frame->transform._43 = z;
1075 break;
1076
1078 frame->transform._41 += x * frame->transform._11 + y * frame->transform._21 + z * frame->transform._31;
1079 frame->transform._42 += x * frame->transform._12 + y * frame->transform._22 + z * frame->transform._32;
1080 frame->transform._43 += x * frame->transform._13 + y * frame->transform._23 + z * frame->transform._33;
1081 break;
1082
1083 case D3DRMCOMBINE_AFTER:
1084 frame->transform._41 += x;
1085 frame->transform._42 += y;
1086 frame->transform._43 += z;
1087 break;
1088
1089 default:
1090 FIXME("Unhandled type %#x.\n", type);
1091 return D3DRMERR_BADVALUE;
1092 }
1093
1094 return D3DRM_OK;
1095}

Referenced by d3drm_frame1_AddTranslation(), and d3drm_frame2_AddTranslation().

◆ d3drm_frame3_AddVisual()

static HRESULT WINAPI d3drm_frame3_AddVisual ( IDirect3DRMFrame3 *  iface,
IUnknown visual 
)
static

Definition at line 1245 of file frame.c.

1246{
1247 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
1248 ULONG i;
1249
1250 TRACE("iface %p, visual %p.\n", iface, visual);
1251
1252 if (!visual)
1253 return D3DRMERR_BADOBJECT;
1254
1255 /* Check if already existing and return gracefully without increasing ref count */
1256 for (i = 0; i < frame->nb_visuals; i++)
1257 if (frame->visuals[i] == (IDirect3DRMVisual *)visual)
1258 return D3DRM_OK;
1259
1260 if (!d3drm_array_reserve((void **)&frame->visuals, &frame->visuals_size,
1261 frame->nb_visuals + 1, sizeof(*frame->visuals)))
1262 return E_OUTOFMEMORY;
1263
1264 frame->visuals[frame->nb_visuals++] = (IDirect3DRMVisual *)visual;
1266
1267 return D3DRM_OK;
1268}
#define IDirect3DRMVisual_AddRef(p)
Definition: d3drmobj.h:329
SIZE_T visuals_size
Definition: d3drm_private.h:82

Referenced by d3drm_frame1_AddVisual(), and d3drm_frame2_AddVisual().

◆ d3drm_frame3_Clone()

static HRESULT WINAPI d3drm_frame3_Clone ( IDirect3DRMFrame3 *  iface,
IUnknown outer,
REFIID  iid,
void **  out 
)
static

Definition at line 652 of file frame.c.

654{
655 FIXME("iface %p, outer %p, iid %s, out %p stub!\n", iface, outer, debugstr_guid(iid), out);
656
657 return E_NOTIMPL;
658}

◆ d3drm_frame3_DeleteChild()

static HRESULT WINAPI d3drm_frame3_DeleteChild ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  child 
)
static

Definition at line 1826 of file frame.c.

1827{
1828 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
1830 ULONG i;
1831
1832 TRACE("iface %p, child %p.\n", iface, child);
1833
1834 if (!child_impl)
1835 return D3DRMERR_BADOBJECT;
1836
1837 /* Check if child exists */
1838 for (i = 0; i < frame->nb_children; ++i)
1839 {
1840 if (frame->children[i] == child)
1841 break;
1842 }
1843
1844 if (i == frame->nb_children)
1845 return D3DRMERR_BADVALUE;
1846
1847 memmove(frame->children + i, frame->children + i + 1, sizeof(*frame->children) * (frame->nb_children - 1 - i));
1849 child_impl->parent = NULL;
1850 --frame->nb_children;
1851
1852 return D3DRM_OK;
1853}

Referenced by d3drm_frame1_DeleteChild(), and d3drm_frame2_DeleteChild().

◆ d3drm_frame3_DeleteDestroyCallback()

static HRESULT WINAPI d3drm_frame3_DeleteDestroyCallback ( IDirect3DRMFrame3 *  iface,
D3DRMOBJECTCALLBACK  cb,
void ctx 
)
static

Definition at line 706 of file frame.c.

708{
709 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
710
711 TRACE("iface %p, cb %p, ctx %p.\n", iface, cb, ctx);
712
714}

◆ d3drm_frame3_DeleteLight()

static HRESULT WINAPI d3drm_frame3_DeleteLight ( IDirect3DRMFrame3 *  iface,
IDirect3DRMLight *  light 
)
static

Definition at line 1885 of file frame.c.

1886{
1887 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
1888 ULONG i;
1889
1890 TRACE("iface %p, light %p.\n", iface, light);
1891
1892 if (!light)
1893 return D3DRMERR_BADOBJECT;
1894
1895 /* Check if visual exists */
1896 for (i = 0; i < frame->nb_lights; ++i)
1897 {
1898 if (frame->lights[i] == light)
1899 break;
1900 }
1901
1902 if (i == frame->nb_lights)
1903 return D3DRMERR_BADVALUE;
1904
1905 memmove(frame->lights + i, frame->lights + i + 1, sizeof(*frame->lights) * (frame->nb_lights - 1 - i));
1907 --frame->nb_lights;
1908
1909 return D3DRM_OK;
1910}
#define IDirect3DRMLight_Release(p)
Definition: d3drmobj.h:3120

Referenced by d3drm_frame1_DeleteLight(), and d3drm_frame2_DeleteLight().

◆ d3drm_frame3_DeleteMoveCallback()

static HRESULT WINAPI d3drm_frame3_DeleteMoveCallback ( IDirect3DRMFrame3 *  iface,
D3DRMFRAME3MOVECALLBACK  cb,
void ctx 
)
static

Definition at line 1930 of file frame.c.

1932{
1933 FIXME("iface %p, cb %p, ctx %p stub!\n", iface, cb, ctx);
1934
1935 return E_NOTIMPL;
1936}

◆ d3drm_frame3_DeleteVisual()

static HRESULT WINAPI d3drm_frame3_DeleteVisual ( IDirect3DRMFrame3 *  iface,
IUnknown visual 
)
static

Definition at line 1954 of file frame.c.

1955{
1956 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
1957 ULONG i;
1958
1959 TRACE("iface %p, visual %p.\n", iface, visual);
1960
1961 if (!visual)
1962 return D3DRMERR_BADOBJECT;
1963
1964 /* Check if visual exists */
1965 for (i = 0; i < frame->nb_visuals; ++i)
1966 {
1967 if (frame->visuals[i] == (IDirect3DRMVisual *)visual)
1968 break;
1969 }
1970
1971 if (i == frame->nb_visuals)
1972 return D3DRMERR_BADVALUE;
1973
1974 memmove(frame->visuals + i, frame->visuals + i + 1, sizeof(*frame->visuals) * (frame->nb_visuals - 1 - i));
1976 --frame->nb_visuals;
1977
1978 return D3DRM_OK;
1979}
#define IDirect3DRMVisual_Release(p)
Definition: d3drmobj.h:330

Referenced by d3drm_frame1_DeleteVisual(), and d3drm_frame2_DeleteVisual().

◆ d3drm_frame3_GetAppData()

static DWORD WINAPI d3drm_frame3_GetAppData ( IDirect3DRMFrame3 *  iface)
static

Definition at line 765 of file frame.c.

766{
767 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
768
769 TRACE("iface %p.\n", iface);
770
771 return frame->obj.appdata;
772}

Referenced by d3drm_frame1_GetAppData(), and d3drm_frame2_GetAppData().

◆ d3drm_frame3_GetAxes()

static HRESULT WINAPI d3drm_frame3_GetAxes ( IDirect3DRMFrame3 *  iface,
D3DVECTOR dir,
D3DVECTOR up 
)
static

Definition at line 2671 of file frame.c.

2672{
2673 FIXME("iface %p, dir %p, up %p stub!\n", iface, dir, up);
2674
2675 return E_NOTIMPL;
2676}

◆ d3drm_frame3_GetBox()

static HRESULT WINAPI d3drm_frame3_GetBox ( IDirect3DRMFrame3 *  iface,
D3DRMBOX box 
)
static

Definition at line 2643 of file frame.c.

2644{
2645 FIXME("iface %p, box %p stub!\n", iface, box);
2646
2647 return E_NOTIMPL;
2648}

◆ d3drm_frame3_GetBoxEnable()

static BOOL WINAPI d3drm_frame3_GetBoxEnable ( IDirect3DRMFrame3 *  iface)
static

Definition at line 2657 of file frame.c.

2658{
2659 FIXME("iface %p stub!\n", iface);
2660
2661 return FALSE;
2662}

◆ d3drm_frame3_GetChildren()

static HRESULT WINAPI d3drm_frame3_GetChildren ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrameArray **  children 
)
static

Definition at line 1288 of file frame.c.

1289{
1290 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
1291 struct d3drm_frame_array *array;
1292
1293 TRACE("iface %p, children %p.\n", iface, children);
1294
1295 if (!children)
1296 return D3DRMERR_BADVALUE;
1297
1298 if (!(array = d3drm_frame_array_create(frame->nb_children, frame->children)))
1299 return E_OUTOFMEMORY;
1300
1301 *children = &array->IDirect3DRMFrameArray_iface;
1302
1303 return D3DRM_OK;
1304}
static struct d3drm_frame_array * d3drm_frame_array_create(unsigned int frame_count, IDirect3DRMFrame3 **frames)
Definition: frame.c:256

Referenced by d3drm_frame1_GetChildren(), and d3drm_frame2_GetChildren().

◆ d3drm_frame3_GetClassName()

static HRESULT WINAPI d3drm_frame3_GetClassName ( IDirect3DRMFrame3 *  iface,
DWORD size,
char name 
)
static

Definition at line 846 of file frame.c.

847{
848 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
849
850 TRACE("iface %p, size %p, name %p.\n", iface, size, name);
851
852 return d3drm_object_get_class_name(&frame->obj, size, name);
853}

Referenced by d3drm_frame1_GetClassName(), and d3drm_frame2_GetClassName().

◆ d3drm_frame3_GetColor()

static D3DCOLOR WINAPI d3drm_frame3_GetColor ( IDirect3DRMFrame3 *  iface)
static

Definition at line 1324 of file frame.c.

1325{
1326 FIXME("iface %p stub!\n", iface);
1327
1328 return 0;
1329}

◆ d3drm_frame3_GetHierarchyBox()

static HRESULT WINAPI d3drm_frame3_GetHierarchyBox ( IDirect3DRMFrame3 *  iface,
D3DRMBOX box 
)
static

Definition at line 2713 of file frame.c.

2714{
2715 FIXME("iface %p, box %p stub!\n", iface, box);
2716
2717 return E_NOTIMPL;
2718}

◆ d3drm_frame3_GetInheritAxes()

static BOOL WINAPI d3drm_frame3_GetInheritAxes ( IDirect3DRMFrame3 *  iface)
static

Definition at line 2699 of file frame.c.

2700{
2701 FIXME("iface %p stub!\n", iface);
2702
2703 return FALSE;
2704}

◆ d3drm_frame3_GetLights()

static HRESULT WINAPI d3drm_frame3_GetLights ( IDirect3DRMFrame3 *  iface,
IDirect3DRMLightArray **  lights 
)
static

Definition at line 1345 of file frame.c.

1346{
1347 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
1348 struct d3drm_light_array *array;
1349
1350 TRACE("iface %p, lights %p.\n", iface, lights);
1351
1352 if (!lights)
1353 return D3DRMERR_BADVALUE;
1354
1355 if (!(array = d3drm_light_array_create(frame->nb_lights, frame->lights)))
1356 return E_OUTOFMEMORY;
1357
1358 *lights = &array->IDirect3DRMLightArray_iface;
1359
1360 return D3DRM_OK;
1361}
static struct d3drm_light_array * d3drm_light_array_create(unsigned int light_count, IDirect3DRMLight **lights)
Definition: frame.c:493
IDirect3DRMLight ** lights
Definition: frame.c:55

Referenced by d3drm_frame1_GetLights(), and d3drm_frame2_GetLights().

◆ d3drm_frame3_GetMaterial()

static HRESULT WINAPI d3drm_frame3_GetMaterial ( IDirect3DRMFrame3 *  iface,
IDirect3DRMMaterial2 **  material 
)
static

Definition at line 2685 of file frame.c.

2686{
2687 FIXME("iface %p, material %p stub!\n", iface, material);
2688
2689 return E_NOTIMPL;
2690}

◆ d3drm_frame3_GetMaterialMode()

static D3DRMMATERIALMODE WINAPI d3drm_frame3_GetMaterialMode ( IDirect3DRMFrame3 *  iface)
static

Definition at line 1381 of file frame.c.

1382{
1383 FIXME("iface %p stub!\n", iface);
1384
1386}

◆ d3drm_frame3_GetMaterialOverride()

static HRESULT WINAPI d3drm_frame3_GetMaterialOverride ( IDirect3DRMFrame3 *  iface,
D3DRMMATERIALOVERRIDE override 
)
static

Definition at line 2857 of file frame.c.

2859{
2860 FIXME("iface %p, override %p stub!\n", iface, override);
2861
2862 return E_NOTIMPL;
2863}

◆ d3drm_frame3_GetName()

static HRESULT WINAPI d3drm_frame3_GetName ( IDirect3DRMFrame3 *  iface,
DWORD size,
char name 
)
static

Definition at line 819 of file frame.c.

820{
821 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
822
823 TRACE("iface %p, size %p, name %p.\n", iface, size, name);
824
825 return d3drm_object_get_name(&frame->obj, size, name);
826}

Referenced by d3drm_frame1_GetName(), and d3drm_frame2_GetName().

◆ d3drm_frame3_GetOrientation()

static HRESULT WINAPI d3drm_frame3_GetOrientation ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  reference,
D3DVECTOR dir,
D3DVECTOR up 
)
static

Definition at line 1661 of file frame.c.

1663{
1664 FIXME("iface %p, reference %p, dir %p, up %p stub!\n", iface, reference, dir, up);
1665
1666 return E_NOTIMPL;
1667}

◆ d3drm_frame3_GetParent()

static HRESULT WINAPI d3drm_frame3_GetParent ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 **  parent 
)
static

Definition at line 1402 of file frame.c.

1403{
1404 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
1405
1406 TRACE("iface %p, parent %p.\n", iface, parent);
1407
1408 if (!parent)
1409 return D3DRMERR_BADVALUE;
1410
1411 if (frame->parent)
1412 {
1413 *parent = &frame->parent->IDirect3DRMFrame3_iface;
1415 }
1416 else
1417 {
1418 *parent = NULL;
1419 }
1420
1421 return D3DRM_OK;
1422}

◆ d3drm_frame3_GetPosition()

static HRESULT WINAPI d3drm_frame3_GetPosition ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  reference,
D3DVECTOR position 
)
static

Definition at line 1455 of file frame.c.

1457{
1458 FIXME("iface %p, reference %p, position %p stub!\n", iface, reference, position);
1459
1460 return E_NOTIMPL;
1461}

◆ d3drm_frame3_GetRotation()

static HRESULT WINAPI d3drm_frame3_GetRotation ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  reference,
D3DVECTOR axis,
D3DVALUE theta 
)
static

Definition at line 1480 of file frame.c.

1482{
1483 FIXME("iface %p, reference %p, axis %p, theta %p stub!\n", iface, reference, axis, theta);
1484
1485 return E_NOTIMPL;
1486}

◆ d3drm_frame3_GetScene()

static HRESULT WINAPI d3drm_frame3_GetScene ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 **  scene 
)
static

Definition at line 1504 of file frame.c.

1505{
1506 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
1507
1508 TRACE("iface %p, scene %p.\n", iface, scene);
1509
1510 if (!scene)
1511 return D3DRMERR_BADVALUE;
1512
1513 while (frame->parent)
1514 frame = frame->parent;
1515
1516 *scene = &frame->IDirect3DRMFrame3_iface;
1518
1519 return D3DRM_OK;
1520}

◆ d3drm_frame3_GetSceneBackground()

static D3DCOLOR WINAPI d3drm_frame3_GetSceneBackground ( IDirect3DRMFrame3 *  iface)
static

Definition at line 1999 of file frame.c.

2000{
2001 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
2002
2003 TRACE("iface %p.\n", iface);
2004
2005 return frame->scenebackground;
2006}
D3DCOLOR scenebackground
Definition: d3drm_private.h:88

Referenced by d3drm_frame1_GetSceneBackground(), and d3drm_frame2_GetSceneBackground().

◆ d3drm_frame3_GetSceneBackgroundDepth()

static HRESULT WINAPI d3drm_frame3_GetSceneBackgroundDepth ( IDirect3DRMFrame3 *  iface,
IDirectDrawSurface **  surface 
)
static

Definition at line 2026 of file frame.c.

2028{
2029 FIXME("iface %p, surface %p stub!\n", iface, surface);
2030
2031 return E_NOTIMPL;
2032}

◆ d3drm_frame3_GetSceneFogColor()

static D3DCOLOR WINAPI d3drm_frame3_GetSceneFogColor ( IDirect3DRMFrame3 *  iface)
static

Definition at line 2050 of file frame.c.

2051{
2052 FIXME("iface %p stub!\n", iface);
2053
2054 return 0;
2055}

◆ d3drm_frame3_GetSceneFogEnable()

static BOOL WINAPI d3drm_frame3_GetSceneFogEnable ( IDirect3DRMFrame3 *  iface)
static

Definition at line 2071 of file frame.c.

2072{
2073 FIXME("iface %p stub!\n", iface);
2074
2075 return FALSE;
2076}

◆ d3drm_frame3_GetSceneFogMethod()

static HRESULT WINAPI d3drm_frame3_GetSceneFogMethod ( IDirect3DRMFrame3 *  iface,
DWORD fog_mode 
)
static

Definition at line 2842 of file frame.c.

2843{
2844 FIXME("iface %p, fog_mode %p stub!\n", iface, fog_mode);
2845
2846 return E_NOTIMPL;
2847}

◆ d3drm_frame3_GetSceneFogMode()

static D3DRMFOGMODE WINAPI d3drm_frame3_GetSceneFogMode ( IDirect3DRMFrame3 *  iface)
static

Definition at line 2092 of file frame.c.

2093{
2094 FIXME("iface %p stub!\n", iface);
2095
2096 return D3DRMFOG_LINEAR;
2097}

◆ d3drm_frame3_GetSceneFogParams()

static HRESULT WINAPI d3drm_frame3_GetSceneFogParams ( IDirect3DRMFrame3 *  iface,
D3DVALUE start,
D3DVALUE end,
D3DVALUE density 
)
static

Definition at line 2113 of file frame.c.

2115{
2116 FIXME("iface %p, start %p, end %p, density %p stub!\n", iface, start, end, density);
2117
2118 return E_NOTIMPL;
2119}

◆ d3drm_frame3_GetSortMode()

static D3DRMSORTMODE WINAPI d3drm_frame3_GetSortMode ( IDirect3DRMFrame3 *  iface)
static

Definition at line 1555 of file frame.c.

1556{
1557 FIXME("iface %p stub!\n", iface);
1558
1559 return D3DRMSORT_FROMPARENT;
1560}

◆ d3drm_frame3_GetTexture()

static HRESULT WINAPI d3drm_frame3_GetTexture ( IDirect3DRMFrame3 *  iface,
IDirect3DRMTexture3 **  texture 
)
static

Definition at line 1576 of file frame.c.

1577{
1578 FIXME("iface %p, texture %p stub!\n", iface, texture);
1579
1580 return E_NOTIMPL;
1581}

◆ d3drm_frame3_GetTransform()

static HRESULT WINAPI d3drm_frame3_GetTransform ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  reference,
D3DRMMATRIX4D  matrix 
)
static

Definition at line 1597 of file frame.c.

1599{
1600 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
1601 struct d3drm_matrix *m = d3drm_matrix(matrix);
1602
1603 TRACE("iface %p, reference %p, matrix %p.\n", iface, reference, matrix);
1604
1605 if (reference)
1606 FIXME("Ignoring reference frame %p.\n", reference);
1607
1608 *m = frame->transform;
1609
1610 return D3DRM_OK;
1611}

◆ d3drm_frame3_GetTraversalOptions()

static HRESULT WINAPI d3drm_frame3_GetTraversalOptions ( IDirect3DRMFrame3 *  iface,
DWORD options 
)
static

Definition at line 2821 of file frame.c.

2822{
2823 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
2824
2825 TRACE("iface %p, options %p.\n", iface, options);
2826
2827 if (!options)
2828 return D3DRMERR_BADVALUE;
2829
2830 *options = frame->traversal_options;
2831
2832 return D3DRM_OK;
2833}
DWORD traversal_options
Definition: d3drm_private.h:89

◆ d3drm_frame3_GetVelocity()

static HRESULT WINAPI d3drm_frame3_GetVelocity ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  reference,
D3DVECTOR velocity,
BOOL  with_rotation 
)
static

Definition at line 1634 of file frame.c.

1636{
1637 FIXME("iface %p, reference %p, velocity %p, with_rotation %#x stub!\n",
1638 iface, reference, velocity, with_rotation);
1639
1640 return E_NOTIMPL;
1641}

◆ d3drm_frame3_GetVisuals()

static HRESULT WINAPI d3drm_frame3_GetVisuals ( IDirect3DRMFrame3 *  iface,
DWORD count,
IUnknown **  visuals 
)
static

Definition at line 1685 of file frame.c.

1686{
1687 FIXME("iface %p, count %p, visuals %p stub!\n", iface, count, visuals);
1688
1689 return E_NOTIMPL;
1690}

◆ d3drm_frame3_GetZbufferMode()

static D3DRMZBUFFERMODE WINAPI d3drm_frame3_GetZbufferMode ( IDirect3DRMFrame3 *  iface)
static

Definition at line 2378 of file frame.c.

2379{
2380 FIXME("iface %p stub!\n", iface);
2381
2383}

◆ d3drm_frame3_InverseTransform()

static HRESULT WINAPI d3drm_frame3_InverseTransform ( IDirect3DRMFrame3 *  iface,
D3DVECTOR d,
D3DVECTOR s 
)
static

Definition at line 1733 of file frame.c.

1734{
1735 FIXME("iface %p, d %p, s %p stub!\n", iface, d, s);
1736
1737 return E_NOTIMPL;
1738}

◆ d3drm_frame3_InverseTransformVectors()

static HRESULT WINAPI d3drm_frame3_InverseTransformVectors ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  reference,
DWORD  num,
D3DVECTOR dst,
D3DVECTOR src 
)
static

Definition at line 2798 of file frame.c.

2800{
2801 FIXME("iface %p, reference %p, num %u, dst %p, src %p stub!\n", iface, reference, num, dst, src);
2802
2803 return E_NOTIMPL;
2804}
GLenum src
Definition: glext.h:6340
GLenum GLenum dst
Definition: glext.h:6340
GLuint GLuint num
Definition: glext.h:9618

◆ d3drm_frame3_Load()

static HRESULT WINAPI d3drm_frame3_Load ( IDirect3DRMFrame3 *  iface,
void filename,
void name,
D3DRMLOADOPTIONS  flags,
D3DRMLOADTEXTURE3CALLBACK  cb,
void ctx 
)
static

Definition at line 1754 of file frame.c.

1756{
1757 FIXME("iface %p, filename %p, name %p, flags %#x, cb %p, ctx %p stub!\n",
1758 iface, filename, name, flags, cb, ctx);
1759
1760 return E_NOTIMPL;
1761}

◆ d3drm_frame3_LookAt()

static HRESULT WINAPI d3drm_frame3_LookAt ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  target,
IDirect3DRMFrame3 *  reference,
D3DRMFRAMECONSTRAINT  constraint 
)
static

Definition at line 1781 of file frame.c.

1783{
1784 FIXME("iface %p, target %p, reference %p, constraint %#x stub!\n", iface, target, reference, constraint);
1785
1786 return E_NOTIMPL;
1787}

◆ d3drm_frame3_Move()

static HRESULT WINAPI d3drm_frame3_Move ( IDirect3DRMFrame3 *  iface,
D3DVALUE  delta 
)
static

Definition at line 1805 of file frame.c.

1806{
1807 FIXME("iface %p, delta %.8e stub!\n", iface, delta);
1808
1809 return E_NOTIMPL;
1810}

◆ d3drm_frame3_QueryInterface()

static HRESULT WINAPI d3drm_frame3_QueryInterface ( IDirect3DRMFrame3 *  iface,
REFIID  riid,
void **  out 
)
static

Definition at line 523 of file frame.c.

524{
525 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
526
527 TRACE("iface %p, riid %s, out %p.\n", iface, debugstr_guid(riid), out);
528
529 if (IsEqualGUID(riid, &IID_IDirect3DRMFrame)
530 || IsEqualGUID(riid, &IID_IDirect3DRMObject)
531 || IsEqualGUID(riid, &IID_IDirect3DRMVisual)
533 {
534 *out = &frame->IDirect3DRMFrame_iface;
535 }
536 else if (IsEqualGUID(riid, &IID_IDirect3DRMFrame2))
537 {
538 *out = &frame->IDirect3DRMFrame2_iface;
539 }
540 else if (IsEqualGUID(riid, &IID_IDirect3DRMFrame3))
541 {
542 *out = &frame->IDirect3DRMFrame3_iface;
543 }
544 else
545 {
546 *out = NULL;
547 WARN("%s not implemented, returning CLASS_E_CLASSNOTAVAILABLE.\n", debugstr_guid(riid));
549 }
550
551 IUnknown_AddRef((IUnknown *)*out);
552 return S_OK;
553}
IDirect3DRMFrame IDirect3DRMFrame_iface
Definition: d3drm_private.h:72

Referenced by d3drm_frame1_QueryInterface(), and d3drm_frame2_QueryInterface().

◆ d3drm_frame3_RayPick()

static HRESULT WINAPI d3drm_frame3_RayPick ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  reference,
D3DRMRAY ray,
DWORD  flags,
IDirect3DRMPicked2Array **  visuals 
)
static

Definition at line 2772 of file frame.c.

2774{
2775 FIXME("iface %p, reference %p, ray %p, flags %#x, visuals %p stub!\n",
2776 iface, reference, ray, flags, visuals);
2777
2778 return E_NOTIMPL;
2779}

◆ d3drm_frame3_Release()

static ULONG WINAPI d3drm_frame3_Release ( IDirect3DRMFrame3 *  iface)
static

Definition at line 601 of file frame.c.

602{
603 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
604 ULONG refcount = InterlockedDecrement(&frame->ref);
605 ULONG i;
606
607 TRACE("%p decreasing refcount to %u.\n", iface, refcount);
608
609 if (!refcount)
610 {
611 d3drm_object_cleanup((IDirect3DRMObject *)&frame->IDirect3DRMFrame_iface, &frame->obj);
612 for (i = 0; i < frame->nb_children; ++i)
613 {
615 }
616 heap_free(frame->children);
617 for (i = 0; i < frame->nb_visuals; ++i)
618 {
620 }
621 heap_free(frame->visuals);
622 for (i = 0; i < frame->nb_lights; ++i)
623 {
625 }
626 heap_free(frame->lights);
628 heap_free(frame);
629 }
630
631 return refcount;
632}
IDirect3DRM * d3drm
Definition: d3drm_private.h:75

Referenced by d3drm_frame1_Release(), and d3drm_frame2_Release().

◆ d3drm_frame3_Save()

static HRESULT WINAPI d3drm_frame3_Save ( IDirect3DRMFrame3 *  iface,
const char filename,
D3DRMXOFFORMAT  format,
D3DRMSAVEOPTIONS  flags 
)
static

Definition at line 2781 of file frame.c.

2783{
2784 FIXME("iface %p, filename %s, format %#x, flags %#x stub!\n",
2785 iface, debugstr_a(filename), format, flags);
2786
2787 return E_NOTIMPL;
2788}
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546

◆ d3drm_frame3_SetAppData()

static HRESULT WINAPI d3drm_frame3_SetAppData ( IDirect3DRMFrame3 *  iface,
DWORD  data 
)
static

Definition at line 736 of file frame.c.

737{
738 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
739
740 TRACE("iface %p, data %#x.\n", iface, data);
741
742 frame->obj.appdata = data;
743
744 return D3DRM_OK;
745}

Referenced by d3drm_frame1_SetAppData(), and d3drm_frame2_SetAppData().

◆ d3drm_frame3_SetAxes()

static HRESULT WINAPI d3drm_frame3_SetAxes ( IDirect3DRMFrame3 *  iface,
D3DVALUE  dx,
D3DVALUE  dy,
D3DVALUE  dz,
D3DVALUE  ux,
D3DVALUE  uy,
D3DVALUE  uz 
)
static

Definition at line 2741 of file frame.c.

2743{
2744 FIXME("iface %p, dx %.8e, dy %.8e, dz %.8e, ux %.8e, uy %.8e, uz %.8e stub!\n",
2745 iface, dx, dy, dz, ux, uy, uz);
2746
2747 return E_NOTIMPL;
2748}

◆ d3drm_frame3_SetBox()

static HRESULT WINAPI d3drm_frame3_SetBox ( IDirect3DRMFrame3 *  iface,
D3DRMBOX box 
)
static

Definition at line 2727 of file frame.c.

2728{
2729 FIXME("iface %p, box %p stub!\n", iface, box);
2730
2731 return E_NOTIMPL;
2732}

◆ d3drm_frame3_SetBoxEnable()

static HRESULT WINAPI d3drm_frame3_SetBoxEnable ( IDirect3DRMFrame3 *  iface,
BOOL  enable 
)
static

Definition at line 2734 of file frame.c.

2735{
2736 FIXME("iface %p, enable %#x stub!\n", iface, enable);
2737
2738 return E_NOTIMPL;
2739}

◆ d3drm_frame3_SetColor()

static HRESULT WINAPI d3drm_frame3_SetColor ( IDirect3DRMFrame3 *  iface,
D3DCOLOR  color 
)
static

Definition at line 2333 of file frame.c.

2334{
2335 FIXME("iface %p, color 0x%08x stub!\n", iface, color);
2336
2337 return E_NOTIMPL;
2338}

◆ d3drm_frame3_SetColorRGB()

static HRESULT WINAPI d3drm_frame3_SetColorRGB ( IDirect3DRMFrame3 *  iface,
D3DVALUE  red,
D3DVALUE  green,
D3DVALUE  blue 
)
static

Definition at line 2354 of file frame.c.

2356{
2357 FIXME("iface %p, red %.8e, green %.8e, blue %.8e stub!\n", iface, red, green, blue);
2358
2359 return E_NOTIMPL;
2360}

◆ d3drm_frame3_SetInheritAxes()

static HRESULT WINAPI d3drm_frame3_SetInheritAxes ( IDirect3DRMFrame3 *  iface,
BOOL  inherit 
)
static

Definition at line 2750 of file frame.c.

2751{
2752 FIXME("iface %p, inherit %#x stub!\n", iface, inherit);
2753
2754 return E_NOTIMPL;
2755}

◆ d3drm_frame3_SetMaterial()

static HRESULT WINAPI d3drm_frame3_SetMaterial ( IDirect3DRMFrame3 *  iface,
IDirect3DRMMaterial2 *  material 
)
static

Definition at line 2757 of file frame.c.

2758{
2759 FIXME("iface %p, material %p stub!\n", iface, material);
2760
2761 return E_NOTIMPL;
2762}

◆ d3drm_frame3_SetMaterialMode()

static HRESULT WINAPI d3drm_frame3_SetMaterialMode ( IDirect3DRMFrame3 *  iface,
D3DRMMATERIALMODE  mode 
)
static

Definition at line 2399 of file frame.c.

2400{
2401 FIXME("iface %p, mode %#x stub!\n", iface, mode);
2402
2403 return E_NOTIMPL;
2404}

◆ d3drm_frame3_SetMaterialOverride()

static HRESULT WINAPI d3drm_frame3_SetMaterialOverride ( IDirect3DRMFrame3 *  iface,
D3DRMMATERIALOVERRIDE override 
)
static

Definition at line 2849 of file frame.c.

2851{
2852 FIXME("iface %p, override %p stub!\n", iface, override);
2853
2854 return E_NOTIMPL;
2855}

◆ d3drm_frame3_SetName()

static HRESULT WINAPI d3drm_frame3_SetName ( IDirect3DRMFrame3 *  iface,
const char name 
)
static

Definition at line 792 of file frame.c.

793{
794 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
795
796 TRACE("iface %p, name %s.\n", iface, debugstr_a(name));
797
798 return d3drm_object_set_name(&frame->obj, name);
799}

Referenced by d3drm_frame1_SetName(), and d3drm_frame2_SetName().

◆ d3drm_frame3_SetOrientation()

static HRESULT WINAPI d3drm_frame3_SetOrientation ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  reference,
D3DVALUE  dx,
D3DVALUE  dy,
D3DVALUE  dz,
D3DVALUE  ux,
D3DVALUE  uy,
D3DVALUE  uz 
)
static

Definition at line 2420 of file frame.c.

2422{
2423 FIXME("iface %p, reference %p, dx %.8e, dy %.8e, dz %.8e, ux %.8e, uy %.8e, uz %.8e stub!\n",
2424 iface, reference, dx, dy, dz, ux, uy, uz);
2425
2426 return E_NOTIMPL;
2427}

◆ d3drm_frame3_SetPosition()

static HRESULT WINAPI d3drm_frame3_SetPosition ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  reference,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z 
)
static

Definition at line 2447 of file frame.c.

2449{
2450 FIXME("iface %p, reference %p, x %.8e, y %.8e, z %.8e stub!\n", iface, reference, x, y, z);
2451
2452 return E_NOTIMPL;
2453}

◆ d3drm_frame3_SetQuaternion()

static HRESULT WINAPI d3drm_frame3_SetQuaternion ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  reference,
D3DRMQUATERNION q 
)
static

Definition at line 2764 of file frame.c.

2766{
2767 FIXME("iface %p, reference %p, q %p stub!\n", iface, reference, q);
2768
2769 return E_NOTIMPL;
2770}

◆ d3drm_frame3_SetRotation()

static HRESULT WINAPI d3drm_frame3_SetRotation ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  reference,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z,
D3DVALUE  theta 
)
static

Definition at line 2471 of file frame.c.

2473{
2474 FIXME("iface %p, reference %p, x %.8e, y %.8e, z %.8e, theta %.8e stub!\n",
2475 iface, reference, x, y, z, theta);
2476
2477 return E_NOTIMPL;
2478}

◆ d3drm_frame3_SetSceneBackground()

static HRESULT WINAPI d3drm_frame3_SetSceneBackground ( IDirect3DRMFrame3 *  iface,
D3DCOLOR  color 
)
static

Definition at line 2137 of file frame.c.

2138{
2139 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
2140
2141 TRACE("iface %p, color 0x%08x.\n", iface, color);
2142
2143 frame->scenebackground = color;
2144
2145 return D3DRM_OK;
2146}

Referenced by d3drm_frame1_SetSceneBackground(), and d3drm_frame2_SetSceneBackground().

◆ d3drm_frame3_SetSceneBackgroundDepth()

static HRESULT WINAPI d3drm_frame3_SetSceneBackgroundDepth ( IDirect3DRMFrame3 *  iface,
IDirectDrawSurface *  surface 
)
static

Definition at line 2198 of file frame.c.

2200{
2201 FIXME("iface %p, surface %p stub!\n", iface, surface);
2202
2203 return E_NOTIMPL;
2204}

◆ d3drm_frame3_SetSceneBackgroundImage()

static HRESULT WINAPI d3drm_frame3_SetSceneBackgroundImage ( IDirect3DRMFrame3 *  iface,
IDirect3DRMTexture3 *  texture 
)
static

Definition at line 2222 of file frame.c.

2224{
2225 FIXME("iface %p, texture %p stub!\n", iface, texture);
2226
2227 return E_NOTIMPL;
2228}

◆ d3drm_frame3_SetSceneBackgroundRGB()

static HRESULT WINAPI d3drm_frame3_SetSceneBackgroundRGB ( IDirect3DRMFrame3 *  iface,
D3DVALUE  red,
D3DVALUE  green,
D3DVALUE  blue 
)
static

Definition at line 2166 of file frame.c.

2168{
2169 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
2170
2171 TRACE("iface %p, red %.8e, green %.8e, blue %.8e.\n", iface, red, green, blue);
2172
2173 d3drm_set_color(&frame->scenebackground, red, green, blue, 1.0f);
2174
2175 return D3DRM_OK;
2176}
static void d3drm_set_color(D3DCOLOR *color, float r, float g, float b, float a)

Referenced by d3drm_frame1_SetSceneBackgroundRGB(), and d3drm_frame2_SetSceneBackgroundRGB().

◆ d3drm_frame3_SetSceneFogColor()

static HRESULT WINAPI d3drm_frame3_SetSceneFogColor ( IDirect3DRMFrame3 *  iface,
D3DCOLOR  color 
)
static

Definition at line 2267 of file frame.c.

2268{
2269 FIXME("iface %p, color 0x%08x stub!\n", iface, color);
2270
2271 return E_NOTIMPL;
2272}

◆ d3drm_frame3_SetSceneFogEnable()

static HRESULT WINAPI d3drm_frame3_SetSceneFogEnable ( IDirect3DRMFrame3 *  iface,
BOOL  enable 
)
static

Definition at line 2246 of file frame.c.

2247{
2248 FIXME("iface %p, enable %#x stub!\n", iface, enable);
2249
2250 return E_NOTIMPL;
2251}

◆ d3drm_frame3_SetSceneFogMethod()

static HRESULT WINAPI d3drm_frame3_SetSceneFogMethod ( IDirect3DRMFrame3 *  iface,
DWORD  flags 
)
static

Definition at line 2835 of file frame.c.

2836{
2837 FIXME("iface %p, flags %#x stub!\n", iface, flags);
2838
2839 return E_NOTIMPL;
2840}

◆ d3drm_frame3_SetSceneFogMode()

static HRESULT WINAPI d3drm_frame3_SetSceneFogMode ( IDirect3DRMFrame3 *  iface,
D3DRMFOGMODE  mode 
)
static

Definition at line 2288 of file frame.c.

2289{
2290 FIXME("iface %p, mode %#x stub!\n", iface, mode);
2291
2292 return E_NOTIMPL;
2293}

◆ d3drm_frame3_SetSceneFogParams()

static HRESULT WINAPI d3drm_frame3_SetSceneFogParams ( IDirect3DRMFrame3 *  iface,
D3DVALUE  start,
D3DVALUE  end,
D3DVALUE  density 
)
static

Definition at line 2309 of file frame.c.

2311{
2312 FIXME("iface %p, start %.8e, end %.8e, density %.8e stub!\n", iface, start, end, density);
2313
2314 return E_NOTIMPL;
2315}

◆ d3drm_frame3_SetSortMode()

static HRESULT WINAPI d3drm_frame3_SetSortMode ( IDirect3DRMFrame3 *  iface,
D3DRMSORTMODE  mode 
)
static

Definition at line 2498 of file frame.c.

2499{
2500 FIXME("iface %p, mode %#x stub!\n", iface, mode);
2501
2502 return E_NOTIMPL;
2503}

◆ d3drm_frame3_SetTexture()

static HRESULT WINAPI d3drm_frame3_SetTexture ( IDirect3DRMFrame3 *  iface,
IDirect3DRMTexture3 *  texture 
)
static

Definition at line 2519 of file frame.c.

2520{
2521 FIXME("iface %p, texture %p stub!\n", iface, texture);
2522
2523 return E_NOTIMPL;
2524}

◆ d3drm_frame3_SetTraversalOptions()

static HRESULT WINAPI d3drm_frame3_SetTraversalOptions ( IDirect3DRMFrame3 *  iface,
DWORD  options 
)
static

Definition at line 2806 of file frame.c.

2807{
2808 static const DWORD supported_options = D3DRMFRAME_RENDERENABLE | D3DRMFRAME_PICKENABLE;
2809 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
2810
2811 TRACE("iface %p, options %#x.\n", iface, options);
2812
2813 if (options & ~supported_options)
2814 return D3DRMERR_BADVALUE;
2815
2816 frame->traversal_options = options;
2817
2818 return D3DRM_OK;
2819}
#define D3DRMFRAME_PICKENABLE
Definition: d3drmdef.h:320
#define D3DRMFRAME_RENDERENABLE
Definition: d3drmdef.h:319

◆ d3drm_frame3_SetVelocity()

static HRESULT WINAPI d3drm_frame3_SetVelocity ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  reference,
D3DVALUE  x,
D3DVALUE  y,
D3DVALUE  z,
BOOL  with_rotation 
)
static

Definition at line 2554 of file frame.c.

2556{
2557 FIXME("iface %p, reference %p, x %.8e, y %.8e, z %.8e, with_rotation %#x.\n",
2558 iface, reference, x, y, z, with_rotation);
2559
2560 return E_NOTIMPL;
2561}

◆ d3drm_frame3_SetZbufferMode()

static HRESULT WINAPI d3drm_frame3_SetZbufferMode ( IDirect3DRMFrame3 *  iface,
D3DRMZBUFFERMODE  mode 
)
static

Definition at line 2581 of file frame.c.

2582{
2583 FIXME("iface %p, mode %#x stub!\n", iface, mode);
2584
2585 return E_NOTIMPL;
2586}

◆ d3drm_frame3_Transform()

static HRESULT WINAPI d3drm_frame3_Transform ( IDirect3DRMFrame3 *  iface,
D3DVECTOR d,
D3DVECTOR s 
)
static

Definition at line 2602 of file frame.c.

2603{
2604 struct d3drm_frame *frame = impl_from_IDirect3DRMFrame3(iface);
2605
2606 TRACE("iface %p, d %p, s %p.\n", iface, d, s);
2607
2609 while ((frame = frame->parent))
2610 {
2612 }
2613
2614 return D3DRM_OK;
2615}
static void d3drm_vector_transform_affine(D3DVECTOR *dst, const D3DVECTOR *v, const struct d3drm_matrix *m)
Definition: frame.c:156

Referenced by d3drm_frame1_Transform(), and d3drm_frame2_Transform().

◆ d3drm_frame3_TransformVectors()

static HRESULT WINAPI d3drm_frame3_TransformVectors ( IDirect3DRMFrame3 *  iface,
IDirect3DRMFrame3 *  reference,
DWORD  num,
D3DVECTOR dst,
D3DVECTOR src 
)
static

Definition at line 2790 of file frame.c.

2792{
2793 FIXME("iface %p, reference %p, num %u, dst %p, src %p stub!\n", iface, reference, num, dst, src);
2794
2795 return E_NOTIMPL;
2796}

◆ d3drm_frame_array_AddRef()

static ULONG WINAPI d3drm_frame_array_AddRef ( IDirect3DRMFrameArray *  iface)
static

Definition at line 185 of file frame.c.

186{
188 ULONG refcount = InterlockedIncrement(&array->ref);
189
190 TRACE("%p increasing refcount to %u.\n", iface, refcount);
191
192 return refcount;
193}
static struct d3drm_frame_array * impl_from_IDirect3DRMFrameArray(IDirect3DRMFrameArray *iface)
Definition: frame.c:73

◆ d3drm_frame_array_create()

static struct d3drm_frame_array * d3drm_frame_array_create ( unsigned int  frame_count,
IDirect3DRMFrame3 **  frames 
)
static

Definition at line 256 of file frame.c.

257{
258 struct d3drm_frame_array *array;
259 unsigned int i;
260
261 if (!(array = heap_alloc_zero(sizeof(*array))))
262 return NULL;
263
264 array->IDirect3DRMFrameArray_iface.lpVtbl = &d3drm_frame_array_vtbl;
265 array->ref = 1;
266 array->size = frame_count;
267
268 if (frame_count)
269 {
270 if (!(array->frames = heap_calloc(frame_count, sizeof(*array->frames))))
271 {
273 return NULL;
274 }
275
276 for (i = 0; i < frame_count; ++i)
277 {
278 IDirect3DRMFrame3_QueryInterface(frames[i], &IID_IDirect3DRMFrame, (void **)&array->frames[i]);
279 }
280 }
281
282 return array;
283}
static const struct IDirect3DRMFrameArrayVtbl d3drm_frame_array_vtbl
Definition: frame.c:247
static void * heap_calloc(SIZE_T count, SIZE_T size)
Definition: heap.h:49
IDirect3DRMFrame ** frames
Definition: frame.c:39

Referenced by d3drm_frame3_GetChildren().

◆ d3drm_frame_array_GetElement()

static HRESULT WINAPI d3drm_frame_array_GetElement ( IDirect3DRMFrameArray *  iface,
DWORD  index,
IDirect3DRMFrame **  frame 
)
static

Definition at line 225 of file frame.c.

227{
229
230 TRACE("iface %p, index %u, frame %p.\n", iface, index, frame);
231
232 if (!frame)
233 return D3DRMERR_BADVALUE;
234
235 if (index >= array->size)
236 {
237 *frame = NULL;
238 return D3DRMERR_BADVALUE;
239 }
240
242 *frame = array->frames[index];
243
244 return D3DRM_OK;
245}

◆ d3drm_frame_array_GetSize()

static DWORD WINAPI d3drm_frame_array_GetSize ( IDirect3DRMFrameArray *  iface)
static

Definition at line 216 of file frame.c.

217{
219
220 TRACE("iface %p.\n", iface);
221
222 return array->size;
223}

◆ d3drm_frame_array_QueryInterface()

static HRESULT WINAPI d3drm_frame_array_QueryInterface ( IDirect3DRMFrameArray *  iface,
REFIID  riid,
void **  out 
)
static

Definition at line 167 of file frame.c.

168{
169 TRACE("iface %p, riid %s, out %p.\n", iface, debugstr_guid(riid), out);
170
171 if (IsEqualGUID(riid, &IID_IDirect3DRMFrameArray)
173 {
175 *out = iface;
176 return S_OK;
177 }
178
179 WARN("%s not implemented, returning E_NOINTERFACE.\n", debugstr_guid(riid));
180
181 *out = NULL;
182 return E_NOINTERFACE;
183}
#define IDirect3DRMFrameArray_AddRef(p)
Definition: d3drmobj.h:4271
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ d3drm_frame_array_Release()

static ULONG WINAPI d3drm_frame_array_Release ( IDirect3DRMFrameArray *  iface)
static

Definition at line 195 of file frame.c.

196{
198 ULONG refcount = InterlockedDecrement(&array->ref);
199 ULONG i;
200
201 TRACE("%p decreasing refcount to %u.\n", iface, refcount);
202
203 if (!refcount)
204 {
205 for (i = 0; i < array->size; ++i)
206 {
208 }
209 heap_free(array->frames);
211 }
212
213 return refcount;
214}

◆ d3drm_frame_create()

HRESULT d3drm_frame_create ( struct d3drm_frame **  frame,
IUnknown parent_frame,
IDirect3DRM *  d3drm 
)

Definition at line 3129 of file frame.c.

3130{
3131 static const char classname[] = "Frame";
3132 struct d3drm_frame *object;
3134
3135 TRACE("frame %p, parent_frame %p, d3drm %p.\n", frame, parent_frame, d3drm);
3136
3137 if (!(object = heap_alloc_zero(sizeof(*object))))
3138 return E_OUTOFMEMORY;
3139
3140 object->IDirect3DRMFrame_iface.lpVtbl = &d3drm_frame1_vtbl;
3141 object->IDirect3DRMFrame2_iface.lpVtbl = &d3drm_frame2_vtbl;
3142 object->IDirect3DRMFrame3_iface.lpVtbl = &d3drm_frame3_vtbl;
3143 object->d3drm = d3drm;
3144 object->ref = 1;
3145 d3drm_set_color(&object->scenebackground, 0.0f, 0.0f, 0.0f, 1.0f);
3146 object->traversal_options = D3DRMFRAME_RENDERENABLE | D3DRMFRAME_PICKENABLE;
3147
3149
3150 object->transform = identity;
3151
3152 if (parent_frame)
3153 {
3154 IDirect3DRMFrame3 *p;
3155
3156 if (FAILED(hr = IDirect3DRMFrame_QueryInterface(parent_frame, &IID_IDirect3DRMFrame3, (void **)&p)))
3157 {
3158 heap_free(object);
3159 return hr;
3160 }
3161 IDirect3DRMFrame_Release(parent_frame);
3162 IDirect3DRMFrame3_AddChild(p, &object->IDirect3DRMFrame3_iface);
3163 }
3164
3165 IDirect3DRM_AddRef(object->d3drm);
3166
3167 *frame = object;
3168
3169 return hr;
3170}
#define IDirect3DRMFrame3_AddChild(p, a)
Definition: d3drmobj.h:1719
static const struct IDirect3DRMFrame2Vtbl d3drm_frame2_vtbl
Definition: frame.c:2958
static const struct IDirect3DRMFrame3Vtbl d3drm_frame3_vtbl
Definition: frame.c:2865
static const struct IDirect3DRMFrameVtbl d3drm_frame1_vtbl
Definition: frame.c:3038
GLfloat GLfloat p
Definition: glext.h:8902

Referenced by d3drm1_CreateFrame(), d3drm2_CreateFrame(), d3drm3_CreateFrame(), and d3drm_create_frame_object().

◆ d3drm_light_array_AddRef()

static ULONG WINAPI d3drm_light_array_AddRef ( IDirect3DRMLightArray *  iface)
static

Definition at line 422 of file frame.c.

423{
425 ULONG refcount = InterlockedIncrement(&array->ref);
426
427 TRACE("%p increasing refcount to %u.\n", iface, refcount);
428
429 return refcount;
430}
static struct d3drm_light_array * impl_from_IDirect3DRMLightArray(IDirect3DRMLightArray *iface)
Definition: frame.c:83

◆ d3drm_light_array_create()

static struct d3drm_light_array * d3drm_light_array_create ( unsigned int  light_count,
IDirect3DRMLight **  lights 
)
static

Definition at line 493 of file frame.c.

494{
495 struct d3drm_light_array *array;
496 unsigned int i;
497
498 if (!(array = heap_alloc_zero(sizeof(*array))))
499 return NULL;
500
501 array->IDirect3DRMLightArray_iface.lpVtbl = &d3drm_light_array_vtbl;
502 array->ref = 1;
503 array->size = light_count;
504
505 if (light_count)
506 {
507 if (!(array->lights = heap_calloc(light_count, sizeof(*array->lights))))
508 {
510 return NULL;
511 }
512
513 for (i = 0; i < light_count; ++i)
514 {
515 array->lights[i] = lights[i];
517 }
518 }
519
520 return array;
521}
static const struct IDirect3DRMLightArrayVtbl d3drm_light_array_vtbl
Definition: frame.c:484

Referenced by d3drm_frame3_GetLights().

◆ d3drm_light_array_GetElement()

static HRESULT WINAPI d3drm_light_array_GetElement ( IDirect3DRMLightArray *  iface,
DWORD  index,
IDirect3DRMLight **  light 
)
static

Definition at line 462 of file frame.c.

464{
466
467 TRACE("iface %p, index %u, light %p.\n", iface, index, light);
468
469 if (!light)
470 return D3DRMERR_BADVALUE;
471
472 if (index >= array->size)
473 {
474 *light = NULL;
475 return D3DRMERR_BADVALUE;
476 }
477
479 *light = array->lights[index];
480
481 return D3DRM_OK;
482}

◆ d3drm_light_array_GetSize()

static DWORD WINAPI d3drm_light_array_GetSize ( IDirect3DRMLightArray *  iface)
static

Definition at line 453 of file frame.c.

454{
456
457 TRACE("iface %p.\n", iface);
458
459 return array->size;
460}

◆ d3drm_light_array_QueryInterface()

static HRESULT WINAPI d3drm_light_array_QueryInterface ( IDirect3DRMLightArray *  iface,
REFIID  riid,
void **  out 
)
static

Definition at line 404 of file frame.c.

405{
406 TRACE("iface %p, riid %s, out %p.\n", iface, debugstr_guid(riid), out);
407
408 if (IsEqualGUID(riid, &IID_IDirect3DRMLightArray)
410 {
412 *out = iface;
413 return S_OK;
414 }
415
416 WARN("%s not implemented, returning E_NOINTERFACE.\n", debugstr_guid(riid));
417
418 *out = NULL;
419 return E_NOINTERFACE;
420}
#define IDirect3DRMLightArray_AddRef(p)
Definition: d3drmobj.h:4457

◆ d3drm_light_array_Release()

static ULONG WINAPI d3drm_light_array_Release ( IDirect3DRMLightArray *  iface)
static

Definition at line 432 of file frame.c.

433{
435 ULONG refcount = InterlockedDecrement(&array->ref);
436 ULONG i;
437
438 TRACE("%p decreasing refcount to %u.\n", iface, refcount);
439
440 if (!refcount)
441 {
442 for (i = 0; i < array->size; ++i)
443 {
445 }
446 heap_free(array->lights);
448 }
449
450 return refcount;
451}

◆ d3drm_matrix_multiply_affine()

static void d3drm_matrix_multiply_affine ( struct d3drm_matrix dst,
const struct d3drm_matrix src1,
const struct d3drm_matrix src2 
)
static

Definition at line 98 of file frame.c.

100{
101 struct d3drm_matrix tmp;
102
103 tmp._11 = src1->_11 * src2->_11 + src1->_12 * src2->_21 + src1->_13 * src2->_31;
104 tmp._12 = src1->_11 * src2->_12 + src1->_12 * src2->_22 + src1->_13 * src2->_32;
105 tmp._13 = src1->_11 * src2->_13 + src1->_12 * src2->_23 + src1->_13 * src2->_33;
106 tmp._14 = 0.0f;
107
108 tmp._21 = src1->_21 * src2->_11 + src1->_22 * src2->_21 + src1->_23 * src2->_31;
109 tmp._22 = src1->_21 * src2->_12 + src1->_22 * src2->_22 + src1->_23 * src2->_32;
110 tmp._23 = src1->_21 * src2->_13 + src1->_22 * src2->_23 + src1->_23 * src2->_33;
111 tmp._24 = 0.0f;
112
113 tmp._31 = src1->_31 * src2->_11 + src1->_32 * src2->_21 + src1->_33 * src2->_31;
114 tmp._32 = src1->_31 * src2->_12 + src1->_32 * src2->_22 + src1->_33 * src2->_32;
115 tmp._33 = src1->_31 * src2->_13 + src1->_32 * src2->_23 + src1->_33 * src2->_33;
116 tmp._34 = 0.0f;
117
118 tmp._41 = src1->_41 * src2->_11 + src1->_42 * src2->_21 + src1->_43 * src2->_31 + src2->_41;
119 tmp._42 = src1->_41 * src2->_12 + src1->_42 * src2->_22 + src1->_43 * src2->_32 + src2->_42;
120 tmp._43 = src1->_41 * src2->_13 + src1->_42 * src2->_23 + src1->_43 * src2->_33 + src2->_43;
121 tmp._44 = 1.0f;
122
123 *dst = tmp;
124}

Referenced by d3drm_frame3_AddRotation(), and d3drm_frame3_AddTransform().

◆ d3drm_matrix_set_rotation()

static void d3drm_matrix_set_rotation ( struct d3drm_matrix matrix,
D3DVECTOR axis,
float  theta 
)
static

Definition at line 126 of file frame.c.

127{
128 float sin_theta, cos_theta, vers_theta;
129
131 sin_theta = sinf(theta);
132 cos_theta = cosf(theta);
133 vers_theta = 1.0f - cos_theta;
134
135 matrix->_11 = vers_theta * axis->u1.x * axis->u1.x + cos_theta;
136 matrix->_21 = vers_theta * axis->u1.x * axis->u2.y - sin_theta * axis->u3.z;
137 matrix->_31 = vers_theta * axis->u1.x * axis->u3.z + sin_theta * axis->u2.y;
138 matrix->_41 = 0.0f;
139
140 matrix->_12 = vers_theta * axis->u2.y * axis->u1.x + sin_theta * axis->u3.z;
141 matrix->_22 = vers_theta * axis->u2.y * axis->u2.y + cos_theta;
142 matrix->_32 = vers_theta * axis->u2.y * axis->u3.z - sin_theta * axis->u1.x;
143 matrix->_42 = 0.0f;
144
145 matrix->_13 = vers_theta * axis->u3.z * axis->u1.x - sin_theta * axis->u2.y;
146 matrix->_23 = vers_theta * axis->u3.z * axis->u2.y + sin_theta * axis->u1.x;
147 matrix->_33 = vers_theta * axis->u3.z * axis->u3.z + cos_theta;
148 matrix->_43 = 0.0f;
149
150 matrix->_14 = 0.0f;
151 matrix->_24 = 0.0f;
152 matrix->_34 = 0.0f;
153 matrix->_44 = 1.0f;
154}
D3DVECTOR *WINAPI D3DRMVectorNormalize(D3DVECTOR *u)
Definition: math.c:196
_Check_return_ float __cdecl cosf(_In_ float x)
Definition: math.h:224
_Check_return_ float __cdecl sinf(_In_ float x)
Definition: math.h:233

Referenced by d3drm_frame3_AddRotation().

◆ d3drm_vector_transform_affine()

static void d3drm_vector_transform_affine ( D3DVECTOR dst,
const D3DVECTOR v,
const struct d3drm_matrix m 
)
static

Definition at line 156 of file frame.c.

157{
158 D3DVECTOR tmp;
159
160 tmp.u1.x = v->u1.x * m->_11 + v->u2.y * m->_21 + v->u3.z * m->_31 + m->_41;
161 tmp.u2.y = v->u1.x * m->_12 + v->u2.y * m->_22 + v->u3.z * m->_32 + m->_42;
162 tmp.u3.z = v->u1.x * m->_13 + v->u2.y * m->_23 + v->u3.z * m->_33 + m->_43;
163
164 *dst = tmp;
165}
const GLdouble * v
Definition: gl.h:2040

Referenced by d3drm_frame3_Transform().

◆ d3drm_visual_array_AddRef()

static ULONG WINAPI d3drm_visual_array_AddRef ( IDirect3DRMVisualArray *  iface)
static

Definition at line 303 of file frame.c.

304{
306 ULONG refcount = InterlockedIncrement(&array->ref);
307
308 TRACE("%p increasing refcount to %u.\n", iface, refcount);
309
310 return refcount;
311}
static struct d3drm_visual_array * impl_from_IDirect3DRMVisualArray(IDirect3DRMVisualArray *iface)
Definition: frame.c:78

◆ d3drm_visual_array_create()

static struct d3drm_visual_array * d3drm_visual_array_create ( unsigned int  visual_count,
IDirect3DRMVisual **  visuals 
)
static

Definition at line 374 of file frame.c.

375{
377 unsigned int i;
378
379 if (!(array = heap_alloc_zero(sizeof(*array))))
380 return NULL;
381
382 array->IDirect3DRMVisualArray_iface.lpVtbl = &d3drm_visual_array_vtbl;
383 array->ref = 1;
384 array->size = visual_count;
385
386 if (visual_count)
387 {
388 if (!(array->visuals = heap_calloc(visual_count, sizeof(*array->visuals))))
389 {
391 return NULL;
392 }
393
394 for (i = 0; i < visual_count; ++i)
395 {
396 array->visuals[i] = visuals[i];
398 }
399 }
400
401 return array;
402}
static const struct IDirect3DRMVisualArrayVtbl d3drm_visual_array_vtbl
Definition: frame.c:365

Referenced by d3drm_frame2_GetVisuals().

◆ d3drm_visual_array_GetElement()

static HRESULT WINAPI d3drm_visual_array_GetElement ( IDirect3DRMVisualArray *  iface,
DWORD  index,
IDirect3DRMVisual **  visual 
)
static

Definition at line 343 of file frame.c.

345{
347
348 TRACE("iface %p, index %u, visual %p.\n", iface, index, visual);
349
350 if (!visual)
351 return D3DRMERR_BADVALUE;
352
353 if (index >= array->size)
354 {
355 *visual = NULL;
356 return D3DRMERR_BADVALUE;
357 }
358
360 *visual = array->visuals[index];
361
362 return D3DRM_OK;
363}

◆ d3drm_visual_array_GetSize()

static DWORD WINAPI d3drm_visual_array_GetSize ( IDirect3DRMVisualArray *  iface)
static

Definition at line 334 of file frame.c.

335{
337
338 TRACE("iface %p.\n", iface);
339
340 return array->size;
341}

◆ d3drm_visual_array_QueryInterface()

static HRESULT WINAPI d3drm_visual_array_QueryInterface ( IDirect3DRMVisualArray *  iface,
REFIID  riid,
void **  out 
)
static

Definition at line 285 of file frame.c.

286{
287 TRACE("iface %p, riid %s, out %p.\n", iface, debugstr_guid(riid), out);
288
289 if (IsEqualGUID(riid, &IID_IDirect3DRMVisualArray)
291 {
293 *out = iface;
294 return S_OK;
295 }
296
297 WARN("%s not implemented, returning E_NOINTERFACE.\n", debugstr_guid(riid));
298
299 *out = NULL;
300 return E_NOINTERFACE;
301}
#define IDirect3DRMVisualArray_AddRef(p)
Definition: d3drmobj.h:4345

◆ d3drm_visual_array_Release()

static ULONG WINAPI d3drm_visual_array_Release ( IDirect3DRMVisualArray *  iface)
static

Definition at line 313 of file frame.c.

314{
316 ULONG refcount = InterlockedDecrement(&array->ref);
317 ULONG i;
318
319 TRACE("%p decreasing refcount to %u.\n", iface, refcount);
320
321 if (!refcount)
322 {
323 for (i = 0; i < array->size; ++i)
324 {
326 }
327 heap_free(array->visuals);
329 }
330
331 return refcount;
332}

◆ impl_from_IDirect3DRMAnimation()

◆ impl_from_IDirect3DRMAnimation2()

◆ impl_from_IDirect3DRMFrame()

◆ impl_from_IDirect3DRMFrame2()

◆ impl_from_IDirect3DRMFrame3()

◆ impl_from_IDirect3DRMFrameArray()

static struct d3drm_frame_array * impl_from_IDirect3DRMFrameArray ( IDirect3DRMFrameArray *  iface)
inlinestatic

Definition at line 73 of file frame.c.

74{
75 return CONTAINING_RECORD(iface, struct d3drm_frame_array, IDirect3DRMFrameArray_iface);
76}

Referenced by d3drm_frame_array_AddRef(), d3drm_frame_array_GetElement(), d3drm_frame_array_GetSize(), and d3drm_frame_array_Release().

◆ impl_from_IDirect3DRMLightArray()

static struct d3drm_light_array * impl_from_IDirect3DRMLightArray ( IDirect3DRMLightArray *  iface)
inlinestatic

Definition at line 83 of file frame.c.

84{
85 return CONTAINING_RECORD(iface, struct d3drm_light_array, IDirect3DRMLightArray_iface);
86}

Referenced by d3drm_light_array_AddRef(), d3drm_light_array_GetElement(), d3drm_light_array_GetSize(), and d3drm_light_array_Release().

◆ impl_from_IDirect3DRMVisualArray()

static struct d3drm_visual_array * impl_from_IDirect3DRMVisualArray ( IDirect3DRMVisualArray *  iface)
inlinestatic

Definition at line 78 of file frame.c.

79{
80 return CONTAINING_RECORD(iface, struct d3drm_visual_array, IDirect3DRMVisualArray_iface);
81}

Referenced by d3drm_visual_array_AddRef(), d3drm_visual_array_GetElement(), d3drm_visual_array_GetSize(), and d3drm_visual_array_Release().

◆ unsafe_impl_from_IDirect3DRMFrame()

struct d3drm_frame * unsafe_impl_from_IDirect3DRMFrame ( IDirect3DRMFrame *  iface)

Definition at line 3120 of file frame.c.

3121{
3122 if (!iface)
3123 return NULL;
3124 assert(iface->lpVtbl == &d3drm_frame1_vtbl);
3125
3126 return impl_from_IDirect3DRMFrame(iface);
3127}
#define assert(x)
Definition: debug.h:53

Referenced by d3drm_frame1_AddChild(), d3drm_frame1_DeleteChild(), d3drm_viewport1_Init(), and d3drm_viewport1_SetCamera().

◆ unsafe_impl_from_IDirect3DRMFrame3()

struct d3drm_frame * unsafe_impl_from_IDirect3DRMFrame3 ( IDirect3DRMFrame3 *  iface)

Definition at line 3111 of file frame.c.

3112{
3113 if (!iface)
3114 return NULL;
3115 assert(iface->lpVtbl == &d3drm_frame3_vtbl);
3116
3117 return impl_from_IDirect3DRMFrame3(iface);
3118}

Referenced by d3drm_frame3_AddChild(), d3drm_frame3_DeleteChild(), d3drm_viewport1_GetCamera(), and d3drm_viewport2_SetCamera().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( d3drm  )

Variable Documentation

◆ d3drm_animation1_vtbl

const struct IDirect3DRMAnimationVtbl d3drm_animation1_vtbl
static
Initial value:
=
{
}
static HRESULT WINAPI d3drm_animation1_Clone(IDirect3DRMAnimation *iface, IUnknown *outer, REFIID iid, void **out)
Definition: frame.c:3258
static HRESULT WINAPI d3drm_animation1_AddPositionKey(IDirect3DRMAnimation *iface, D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z)
Definition: frame.c:3594
static HRESULT WINAPI d3drm_animation1_GetName(IDirect3DRMAnimation *iface, DWORD *size, char *name)
Definition: frame.c:3370
static DWORD WINAPI d3drm_animation1_GetAppData(IDirect3DRMAnimation *iface)
Definition: frame.c:3334
static HRESULT WINAPI d3drm_animation1_AddDestroyCallback(IDirect3DRMAnimation *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
Definition: frame.c:3275
static ULONG WINAPI d3drm_animation1_Release(IDirect3DRMAnimation *iface)
Definition: frame.c:3244
static HRESULT WINAPI d3drm_animation1_SetName(IDirect3DRMAnimation *iface, const char *name)
Definition: frame.c:3352
static HRESULT WINAPI d3drm_animation1_AddScaleKey(IDirect3DRMAnimation *iface, D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z)
Definition: frame.c:3622
static HRESULT WINAPI d3drm_animation1_QueryInterface(IDirect3DRMAnimation *iface, REFIID riid, void **out)
Definition: frame.c:3199
static HRESULT WINAPI d3drm_animation1_SetAppData(IDirect3DRMAnimation *iface, DWORD data)
Definition: frame.c:3316
static HRESULT WINAPI d3drm_animation1_SetTime(IDirect3DRMAnimation *iface, D3DVALUE time)
Definition: frame.c:3688
static HRESULT WINAPI d3drm_animation1_SetFrame(IDirect3DRMAnimation *iface, IDirect3DRMFrame *frame)
Definition: frame.c:3669
static HRESULT WINAPI d3drm_animation1_GetClassName(IDirect3DRMAnimation *iface, DWORD *size, char *name)
Definition: frame.c:3388
static HRESULT WINAPI d3drm_animation1_SetOptions(IDirect3DRMAnimation *iface, D3DRMANIMATIONOPTIONS options)
Definition: frame.c:3422
static ULONG WINAPI d3drm_animation1_AddRef(IDirect3DRMAnimation *iface)
Definition: frame.c:3218
static HRESULT WINAPI d3drm_animation1_DeleteKey(IDirect3DRMAnimation *iface, D3DVALUE time)
Definition: frame.c:3660
static HRESULT WINAPI d3drm_animation1_AddRotateKey(IDirect3DRMAnimation *iface, D3DVALUE time, D3DRMQUATERNION *q)
Definition: frame.c:3567
static D3DRMANIMATIONOPTIONS WINAPI d3drm_animation1_GetOptions(IDirect3DRMAnimation *iface)
Definition: frame.c:3704
static HRESULT WINAPI d3drm_animation1_DeleteDestroyCallback(IDirect3DRMAnimation *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
Definition: frame.c:3295

Definition at line 3830 of file frame.c.

Referenced by d3drm_animation_create().

◆ d3drm_animation2_vtbl

const struct IDirect3DRMAnimation2Vtbl d3drm_animation2_vtbl
static
Initial value:
=
{
}
static HRESULT WINAPI d3drm_animation2_AddDestroyCallback(IDirect3DRMAnimation2 *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
Definition: frame.c:3265
static HRESULT WINAPI d3drm_animation2_ModifyKey(IDirect3DRMAnimation2 *iface, D3DRMANIMATIONKEY *key)
Definition: frame.c:3754
static HRESULT WINAPI d3drm_animation2_GetKeys(IDirect3DRMAnimation2 *iface, D3DVALUE time_min, D3DVALUE time_max, DWORD *key_count, D3DRMANIMATIONKEY *keys)
Definition: frame.c:3761
static HRESULT WINAPI d3drm_animation2_QueryInterface(IDirect3DRMAnimation2 *iface, REFIID riid, void **out)
Definition: frame.c:3172
static HRESULT WINAPI d3drm_animation2_DeleteKeyByID(IDirect3DRMAnimation2 *iface, DWORD id)
Definition: frame.c:3747
static HRESULT WINAPI d3drm_animation2_DeleteDestroyCallback(IDirect3DRMAnimation2 *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
Definition: frame.c:3285
static HRESULT WINAPI d3drm_animation2_SetTime(IDirect3DRMAnimation2 *iface, D3DVALUE time)
Definition: frame.c:3724
static HRESULT WINAPI d3drm_animation2_GetFrame(IDirect3DRMAnimation2 *iface, IDirect3DRMFrame3 **frame)
Definition: frame.c:3731
static HRESULT WINAPI d3drm_animation2_SetFrame(IDirect3DRMAnimation2 *iface, IDirect3DRMFrame3 *frame)
Definition: frame.c:3713
static HRESULT WINAPI d3drm_animation2_Clone(IDirect3DRMAnimation2 *iface, IUnknown *outer, REFIID iid, void **out)
Definition: frame.c:3251
static ULONG WINAPI d3drm_animation2_Release(IDirect3DRMAnimation2 *iface)
Definition: frame.c:3224
static ULONG WINAPI d3drm_animation2_AddRef(IDirect3DRMAnimation2 *iface)
Definition: frame.c:3208

Definition at line 3853 of file frame.c.

Referenced by d3drm_animation_create().

◆ d3drm_frame1_vtbl

const struct IDirect3DRMFrameVtbl d3drm_frame1_vtbl
static

Definition at line 3038 of file frame.c.

Referenced by d3drm_frame_create(), and unsafe_impl_from_IDirect3DRMFrame().

◆ d3drm_frame2_vtbl

const struct IDirect3DRMFrame2Vtbl d3drm_frame2_vtbl
static

Definition at line 2958 of file frame.c.

Referenced by d3drm_frame_create().

◆ d3drm_frame3_vtbl

const struct IDirect3DRMFrame3Vtbl d3drm_frame3_vtbl
static

Definition at line 2865 of file frame.c.

Referenced by d3drm_frame_create(), and unsafe_impl_from_IDirect3DRMFrame3().

◆ d3drm_frame_array_vtbl

const struct IDirect3DRMFrameArrayVtbl d3drm_frame_array_vtbl
static
Initial value:
=
{
}
static DWORD WINAPI d3drm_frame_array_GetSize(IDirect3DRMFrameArray *iface)
Definition: frame.c:216
static HRESULT WINAPI d3drm_frame_array_QueryInterface(IDirect3DRMFrameArray *iface, REFIID riid, void **out)
Definition: frame.c:167
static ULONG WINAPI d3drm_frame_array_AddRef(IDirect3DRMFrameArray *iface)
Definition: frame.c:185
static HRESULT WINAPI d3drm_frame_array_GetElement(IDirect3DRMFrameArray *iface, DWORD index, IDirect3DRMFrame **frame)
Definition: frame.c:225
static ULONG WINAPI d3drm_frame_array_Release(IDirect3DRMFrameArray *iface)
Definition: frame.c:195

Definition at line 247 of file frame.c.

Referenced by d3drm_frame_array_create().

◆ d3drm_light_array_vtbl

const struct IDirect3DRMLightArrayVtbl d3drm_light_array_vtbl
static
Initial value:
=
{
}
static DWORD WINAPI d3drm_light_array_GetSize(IDirect3DRMLightArray *iface)
Definition: frame.c:453
static ULONG WINAPI d3drm_light_array_AddRef(IDirect3DRMLightArray *iface)
Definition: frame.c:422
static ULONG WINAPI d3drm_light_array_Release(IDirect3DRMLightArray *iface)
Definition: frame.c:432
static HRESULT WINAPI d3drm_light_array_GetElement(IDirect3DRMLightArray *iface, DWORD index, IDirect3DRMLight **light)
Definition: frame.c:462
static HRESULT WINAPI d3drm_light_array_QueryInterface(IDirect3DRMLightArray *iface, REFIID riid, void **out)
Definition: frame.c:404

Definition at line 484 of file frame.c.

Referenced by d3drm_light_array_create().

◆ d3drm_visual_array_vtbl

const struct IDirect3DRMVisualArrayVtbl d3drm_visual_array_vtbl
static
Initial value:
=
{
}
static HRESULT WINAPI d3drm_visual_array_QueryInterface(IDirect3DRMVisualArray *iface, REFIID riid, void **out)
Definition: frame.c:285
static ULONG WINAPI d3drm_visual_array_AddRef(IDirect3DRMVisualArray *iface)
Definition: frame.c:303
static HRESULT WINAPI d3drm_visual_array_GetElement(IDirect3DRMVisualArray *iface, DWORD index, IDirect3DRMVisual **visual)
Definition: frame.c:343
static DWORD WINAPI d3drm_visual_array_GetSize(IDirect3DRMVisualArray *iface)
Definition: frame.c:334
static ULONG WINAPI d3drm_visual_array_Release(IDirect3DRMVisualArray *iface)
Definition: frame.c:313

Definition at line 365 of file frame.c.

Referenced by d3drm_visual_array_create().

◆ identity

Initial value:
=
{
1.0f, 0.0f, 0.0f, 0.0f,
0.0f, 1.0f, 0.0f, 0.0f,
0.0f, 0.0f, 1.0f, 0.0f,
0.0f, 0.0f, 0.0f, 1.0f,
}

Definition at line 26 of file frame.c.

Referenced by d3drm_frame3_AddScale(), d3drm_frame3_AddTranslation(), and d3drm_frame_create().