ReactOS 0.4.15-dev-8135-g1bc6c90
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:114
#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:115
#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;
<