ReactOS  0.4.14-dev-384-g5b37caa
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
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
#define TRACE(s)
Definition: solgame.cpp:4
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32

◆ 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 }
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
__u16 time
Definition: mkdosfs.c:366
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
GLdouble GLdouble z
Definition: glext.h:5874
static HRESULT WINAPI d3drm_animation2_AddPositionKey(IDirect3DRMAnimation2 *iface, D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z)
Definition: frame.c:3576
#define TRACE(s)
Definition: solgame.cpp:4
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

◆ 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 }
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
#define IDirect3DRMAnimation2_AddRef(p)
Definition: d3drmobj.h:3894
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88

◆ 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 }
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
static HRESULT WINAPI d3drm_animation2_AddRotateKey(IDirect3DRMAnimation2 *iface, D3DVALUE time, D3DRMQUATERNION *q)
Definition: frame.c:3552
__u16 time
Definition: mkdosfs.c:366
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
#define TRACE(s)
Definition: solgame.cpp:4
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 }
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
__u16 time
Definition: mkdosfs.c:366
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
GLdouble GLdouble z
Definition: glext.h:5874
#define TRACE(s)
Definition: solgame.cpp:4
static HRESULT WINAPI d3drm_animation2_AddScaleKey(IDirect3DRMAnimation2 *iface, D3DVALUE time, D3DVALUE x, D3DVALUE y, D3DVALUE z)
Definition: frame.c:3604
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

◆ 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:110
#define debugstr_guid
Definition: kernel32.h:35
static FILE * out
Definition: regtests2xml.c:44
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
#define TRACE(s)
Definition: solgame.cpp:4
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32
#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 }
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
__u16 time
Definition: mkdosfs.c:366
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
static HRESULT WINAPI d3drm_animation2_DeleteKey(IDirect3DRMAnimation2 *iface, D3DVALUE time)
Definition: frame.c:3641
#define TRACE(s)
Definition: solgame.cpp:4

◆ 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 }
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
#define TRACE(s)
Definition: solgame.cpp:4
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 }
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
static HRESULT WINAPI d3drm_animation2_GetClassName(IDirect3DRMAnimation2 *iface, DWORD *size, char *name)
Definition: frame.c:3379
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
#define TRACE(s)
Definition: solgame.cpp:4
GLsizeiptr size
Definition: glext.h:5919
Definition: name.c:36

◆ 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 }
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
static HRESULT WINAPI d3drm_animation2_GetName(IDirect3DRMAnimation2 *iface, DWORD *size, char *name)
Definition: frame.c:3361
#define TRACE(s)
Definition: solgame.cpp:4
GLsizeiptr size
Definition: glext.h:5919
Definition: name.c:36

◆ 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 }
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
#define TRACE(s)
Definition: solgame.cpp:4
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 }
REFIID riid
Definition: precomp.h:44
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
static FILE * out
Definition: regtests2xml.c:44
#define IDirect3DRMAnimation2_QueryInterface(p, a, b)
Definition: d3drmobj.h:3893

◆ 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
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88

◆ 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 }
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
#define TRACE(s)
Definition: solgame.cpp:4
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
static HRESULT WINAPI d3drm_animation2_SetAppData(IDirect3DRMAnimation2 *iface, DWORD data)
Definition: frame.c:3305

◆ 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);
3672  HRESULT hr = D3DRM_OK;
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 }
HRESULT hr
Definition: shlfolder.c:183
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
smooth NULL
Definition: ftsmooth.c:416
#define IDirect3DRMFrame3_Release(p)
Definition: d3drmobj.h:1708
#define TRACE(s)
Definition: solgame.cpp:4
LONG HRESULT
Definition: typedefs.h:77
#define D3DRM_OK
Definition: d3drm.h:486
#define IDirect3DRMFrame_QueryInterface(p, a, b)
Definition: d3drmobj.h:1166
IDirect3DRMFrame3 * frame
#define SUCCEEDED(hr)
Definition: intsafe.h:57

◆ 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
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
#define TRACE(s)
Definition: solgame.cpp:4
#define debugstr_a
Definition: kernel32.h:31
Definition: name.c:36

◆ 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 }
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
static struct d3drm_animation * impl_from_IDirect3DRMAnimation(IDirect3DRMAnimation *iface)
Definition: frame.c:88
#define TRACE(s)
Definition: solgame.cpp:4
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 }
__u16 time
Definition: mkdosfs.c:366
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
HRESULT d3drm_object_add_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx)
Definition: d3drm_main.c:55
#define TRACE(s)
Definition: solgame.cpp:4
struct d3drm_object obj
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32

◆ 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 memmove(s1, s2, n)
Definition: mkisofs.h:881
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
struct d3drm_animation_key * keys
GLuint GLuint GLsizei count
Definition: gl.h:1545
struct d3drm_animation_keys rotate
struct d3drm_animation_keys scale
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define D3DRMANIMATION_SCALEKEY
Definition: d3drmdef.h:415
#define E_INVALIDARG
Definition: ddrawi.h:101
GLuint index
Definition: glext.h:6031
struct d3drm_animation_keys position
#define D3DRMANIMATION_ROTATEKEY
Definition: d3drmdef.h:414
#define TRACE(s)
Definition: solgame.cpp:4
#define D3DRM_OK
Definition: d3drm.h:486
#define index(s, c)
Definition: various.h:29
#define D3DRMANIMATION_POSITIONKEY
Definition: d3drmdef.h:416
static SIZE_T d3drm_animation_get_insert_position(const struct d3drm_animation_keys *keys, D3DVALUE time)
Definition: frame.c:3474
ULONG_PTR SIZE_T
Definition: typedefs.h:78
BOOL d3drm_array_reserve(void **elements, SIZE_T *capacity, SIZE_T element_count, SIZE_T element_size) DECLSPEC_HIDDEN
Definition: meshbuilder.c:260
Definition: path.c:42

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 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
__u16 time
Definition: mkdosfs.c:366
GLdouble GLdouble z
Definition: glext.h:5874
#define TRACE(s)
Definition: solgame.cpp:4
#define D3DRMANIMATION_POSITIONKEY
Definition: d3drmdef.h:416
HKEY key
Definition: reg.c:42
static HRESULT WINAPI d3drm_animation2_AddKey(IDirect3DRMAnimation2 *iface, D3DRMANIMATIONKEY *key)
Definition: frame.c:3501
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Definition: path.c:42

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 }
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
#define TRACE(s)
Definition: solgame.cpp:4
#define InterlockedIncrement
Definition: armddk.h:53
unsigned int ULONG
Definition: retypes.h:1

◆ 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 }
__u16 time
Definition: mkdosfs.c:366
#define D3DRMANIMATION_ROTATEKEY
Definition: d3drmdef.h:414
#define TRACE(s)
Definition: solgame.cpp:4
GLdouble GLdouble GLdouble GLdouble q
Definition: gl.h:2063
HKEY key
Definition: reg.c:42
static HRESULT WINAPI d3drm_animation2_AddKey(IDirect3DRMAnimation2 *iface, D3DRMANIMATIONKEY *key)
Definition: frame.c:3501
Definition: path.c:42

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 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
__u16 time
Definition: mkdosfs.c:366
#define D3DRMANIMATION_SCALEKEY
Definition: d3drmdef.h:415
GLdouble GLdouble z
Definition: glext.h:5874
#define TRACE(s)
Definition: solgame.cpp:4
HKEY key
Definition: reg.c:42
static HRESULT WINAPI d3drm_animation2_AddKey(IDirect3DRMAnimation2 *iface, D3DRMANIMATIONKEY *key)
Definition: frame.c:3501
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Definition: path.c:42

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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define debugstr_guid
Definition: kernel32.h:35
static FILE * out
Definition: regtests2xml.c:44
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
#define TRACE(s)
Definition: solgame.cpp:4
struct d3drm_object obj
HRESULT d3drm_object_delete_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx)
Definition: d3drm_main.c:72
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32

◆ 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)))
3649  d3drm_animation_delete_key(&animation->rotate, key);
3650 
3651  if ((key = d3drm_animation_get_range(&animation->position, time, time, NULL)))
3652  d3drm_animation_delete_key(&animation->position, key);
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 struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
struct d3drm_animation_keys rotate
struct d3drm_animation_keys scale
static void d3drm_animation_delete_key(struct d3drm_animation_keys *keys, const struct d3drm_animation_key *key)
Definition: frame.c:3632
__u16 time
Definition: mkdosfs.c:366
smooth NULL
Definition: ftsmooth.c:416
struct d3drm_animation_keys position
#define TRACE(s)
Definition: solgame.cpp:4
#define D3DRM_OK
Definition: d3drm.h:486
HKEY key
Definition: reg.c:42
Definition: path.c:42

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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
#define TRACE(s)
Definition: solgame.cpp:4
struct d3drm_object obj

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 }
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
HRESULT d3drm_object_get_class_name(struct d3drm_object *object, DWORD *size, char *name)
Definition: d3drm_main.c:92
#define TRACE(s)
Definition: solgame.cpp:4
GLsizeiptr size
Definition: glext.h:5919
struct d3drm_object obj
Definition: name.c:36

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 }
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
#define TRACE(s)
Definition: solgame.cpp:4
#define D3DRM_OK
Definition: d3drm.h:486
#define IDirect3DRMFrame3_AddRef(p)
Definition: d3drmobj.h:1707
#define D3DRMERR_BADVALUE
Definition: d3drm.h:496
IDirect3DRMFrame3 * frame

◆ 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 }
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 struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
D3DVECTOR dvPositionKey
Definition: d3drmdef.h:406
D3DVALUE dvTime
Definition: d3drmdef.h:399
GLuint GLuint GLsizei count
Definition: gl.h:1545
struct d3drm_animation_keys rotate
struct d3drm_animation_keys scale
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
#define D3DRMANIMATION_SCALEKEY
Definition: d3drmdef.h:415
struct d3drm_animation_keys position
#define D3DRMANIMATION_ROTATEKEY
Definition: d3drmdef.h:414
D3DRMQUATERNION dqRotateKey
Definition: d3drmdef.h:404
#define TRACE(s)
Definition: solgame.cpp:4
#define D3DRM_OK
Definition: d3drm.h:486
#define D3DRMERR_BADVALUE
Definition: d3drm.h:496
#define D3DRMANIMATION_POSITIONKEY
Definition: d3drmdef.h:416
HKEY key
Definition: reg.c:42
#define D3DRMERR_NOSUCHKEY
Definition: d3drm.h:514
D3DVECTOR dvScaleKey
Definition: d3drmdef.h:405
ULONG_PTR SIZE_T
Definition: typedefs.h:78
Definition: path.c:42

◆ 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 }
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
HRESULT d3drm_object_get_name(struct d3drm_object *object, DWORD *size, char *name)
Definition: d3drm_main.c:111
#define TRACE(s)
Definition: solgame.cpp:4
GLsizeiptr size
Definition: glext.h:5919
struct d3drm_object obj
Definition: name.c:36

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 }
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
D3DRMANIMATIONOPTIONS options
#define TRACE(s)
Definition: solgame.cpp:4

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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
Definition: path.c:42

◆ 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 }
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
REFIID riid
Definition: precomp.h:44
IDirect3DRMAnimation2 IDirect3DRMAnimation2_iface
#define WARN(fmt,...)
Definition: debug.h:111
#define CLASS_E_CLASSNOTAVAILABLE
Definition: winerror.h:2663
smooth NULL
Definition: ftsmooth.c:416
#define debugstr_guid
Definition: kernel32.h:35
IDirect3DRMAnimation IDirect3DRMAnimation_iface
#define TRACE(s)
Definition: solgame.cpp:4
const GUID IID_IUnknown
static FILE * out
Definition: regtests2xml.c:44
#define S_OK
Definition: intsafe.h:59
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4112

◆ 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 }
void d3drm_object_cleanup(IDirect3DRMObject *iface, struct d3drm_object *object)
Definition: d3drm_main.c:153
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
struct d3drm_animation_keys rotate
struct d3drm_animation_keys scale
struct d3drm_animation_keys position
IDirect3DRMAnimation IDirect3DRMAnimation_iface
#define TRACE(s)
Definition: solgame.cpp:4
struct d3drm_object obj
#define InterlockedDecrement
Definition: armddk.h:52
unsigned int ULONG
Definition: retypes.h:1
#define IDirect3DRM_Release(p)
Definition: d3drm.h:111
IDirect3DRM * d3drm
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

◆ 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 }
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
#define TRACE(s)
Definition: solgame.cpp:4
#define D3DRM_OK
Definition: d3drm.h:486
struct d3drm_object obj
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950

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 }
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
#define TRACE(s)
Definition: solgame.cpp:4
#define D3DRM_OK
Definition: d3drm.h:486
IDirect3DRMFrame3 * frame

◆ 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 }
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
#define TRACE(s)
Definition: solgame.cpp:4
#define debugstr_a
Definition: kernel32.h:31
struct d3drm_object obj
Definition: name.c:36
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_POSITION
Definition: d3drmdef.h:328
static struct d3drm_animation * impl_from_IDirect3DRMAnimation2(IDirect3DRMAnimation2 *iface)
Definition: frame.c:93
#define D3DRMANIMATION_LINEARPOSITION
Definition: d3drmdef.h:325
#define D3DRMANIMATION_CLOSED
Definition: d3drmdef.h:324
D3DRMANIMATIONOPTIONS options
#define D3DRMANIMATION_OPEN
Definition: d3drmdef.h:323
int options
Definition: main.c:106
#define TRACE(s)
Definition: solgame.cpp:4
#define D3DRMANIMATION_SPLINEPOSITION
Definition: d3drmdef.h:326
#define D3DRM_OK
Definition: d3drm.h:486
unsigned long DWORD
Definition: ntddk_ex.h:95
#define D3DRMANIMATION_SCALEANDROTATION
Definition: d3drmdef.h:327
#define D3DRMERR_BADVALUE
Definition: d3drm.h:496

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 }
__u16 time
Definition: mkdosfs.c:366
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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;
3885  HRESULT hr = D3DRM_OK;
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 }
HRESULT hr
Definition: shlfolder.c:183
WCHAR classname[128]
Definition: startup.c:15
#define D3DRMANIMATION_LINEARPOSITION
Definition: d3drmdef.h:325
#define D3DRMANIMATION_CLOSED
Definition: d3drmdef.h:324
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define IDirect3DRM_AddRef(p)
Definition: d3drm.h:110
#define TRACE(s)
Definition: solgame.cpp:4
LONG HRESULT
Definition: typedefs.h:77
#define D3DRM_OK
Definition: d3drm.h:486
static const struct IDirect3DRMAnimationVtbl d3drm_animation1_vtbl
Definition: frame.c:3830
Definition: d3drm.c:188
void d3drm_object_init(struct d3drm_object *object, const char *classname)
Definition: d3drm_main.c:39
IDirect3DRM * d3drm
static const struct IDirect3DRMAnimation2Vtbl d3drm_animation2_vtbl
Definition: frame.c:3853
void * object
Definition: jmemsys.h:48

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 }
#define memmove(s1, s2, n)
Definition: mkisofs.h:881
struct d3drm_animation_key * keys
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLuint index
Definition: glext.h:6031
ULONG_PTR SIZE_T
Definition: typedefs.h:78
Definition: path.c:42

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
GLuint GLuint GLsizei count
Definition: gl.h:1545
__u16 time
Definition: mkdosfs.c:366
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
ULONG_PTR SIZE_T
Definition: typedefs.h:78

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 }
static SIZE_T d3drm_animation_lookup_key(const struct d3drm_animation_key *keys, SIZE_T count, D3DVALUE time)
Definition: frame.c:3431
GLuint GLuint GLsizei count
Definition: gl.h:1545
__u16 time
Definition: mkdosfs.c:366
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
ULONG_PTR SIZE_T
Definition: typedefs.h:78

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 }
__u16 time
Definition: mkdosfs.c:366
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 }
struct d3drm_animation_key * keys
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
static SIZE_T d3drm_animation_get_index_max(const struct d3drm_animation_key *keys, SIZE_T count, D3DVALUE time)
Definition: frame.c:3463
ULONG_PTR SIZE_T
Definition: typedefs.h:78
#define min(a, b)
Definition: monoChain.cc:55
static SIZE_T d3drm_animation_get_index_min(const struct d3drm_animation_key *keys, SIZE_T count, D3DVALUE time)
Definition: frame.c:3452

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 }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLuint GLuint end
Definition: gl.h:1545
__u16 time
Definition: mkdosfs.c:366
ULONG_PTR SIZE_T
Definition: typedefs.h:78
GLuint start
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);
931  struct d3drm_frame *child_frame = unsafe_impl_from_IDirect3DRMFrame(child);
932 
933  TRACE("iface %p, child %p.\n", iface, child);
934 
935  if (!child_frame)
936  return D3DRMERR_BADOBJECT;
937 
939 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
static HWND child
Definition: cursoricon.c:298
#define D3DRMERR_BADOBJECT
Definition: d3drm.h:487
#define TRACE(s)
Definition: solgame.cpp:4
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

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define IDirect3DRMFrame3_AddDestroyCallback(p, a, b)
Definition: d3drmobj.h:1711
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
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
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
static HRESULT WINAPI d3drm_frame3_AddLight(IDirect3DRMFrame3 *iface, IDirect3DRMLight *light)
Definition: frame.c:941

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLdouble GLdouble z
Definition: glext.h:5874
#define TRACE(s)
Definition: solgame.cpp:4
static HRESULT WINAPI d3drm_frame3_AddRotation(IDirect3DRMFrame3 *iface, D3DRMCOMBINETYPE type, D3DVALUE x, D3DVALUE y, D3DVALUE z, D3DVALUE theta)
Definition: frame.c:1188
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
static HRESULT WINAPI d3drm_frame3_AddScale(IDirect3DRMFrame3 *iface, D3DRMCOMBINETYPE type, D3DVALUE sx, D3DVALUE sy, D3DVALUE sz)
Definition: frame.c:1117
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
GLuint GLenum matrix
Definition: glext.h:9407
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
static HRESULT WINAPI d3drm_frame3_AddTransform(IDirect3DRMFrame3 *iface, D3DRMCOMBINETYPE type, D3DRMMATRIX4D matrix)
Definition: frame.c:1008

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLdouble GLdouble z
Definition: glext.h:5874
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
static HRESULT WINAPI d3drm_frame3_AddTranslation(IDirect3DRMFrame3 *iface, D3DRMCOMBINETYPE type, D3DVALUE x, D3DVALUE y, D3DVALUE z)
Definition: frame.c:1061
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define debugstr_guid
Definition: kernel32.h:35
static FILE * out
Definition: regtests2xml.c:44
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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);
1875  struct d3drm_frame *child_frame = unsafe_impl_from_IDirect3DRMFrame(child);
1876 
1877  TRACE("iface %p, child %p.\n", iface, child);
1878 
1879  if (!child_frame)
1880  return D3DRMERR_BADOBJECT;
1881 
1883 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
static HWND child
Definition: cursoricon.c:298
#define D3DRMERR_BADOBJECT
Definition: d3drm.h:487
static HRESULT WINAPI d3drm_frame3_DeleteChild(IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *child)
Definition: frame.c:1826
#define TRACE(s)
Definition: solgame.cpp:4
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

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define IDirect3DRMFrame3_DeleteDestroyCallback(p, a, b)
Definition: d3drmobj.h:1712
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
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
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32

◆ 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 
1996  return d3drm_frame3_DeleteVisual(&frame->IDirect3DRMFrame3_iface, (IUnknown *)visual);
1997 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
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
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
IDirect3DRMFrame3 ** children
Definition: d3drm_private.h:80
static HRESULT WINAPI d3drm_frame3_GetChildren(IDirect3DRMFrame3 *iface, IDirect3DRMFrameArray **children)
Definition: frame.c:1288
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define TRACE(s)
Definition: solgame.cpp:4
GLsizeiptr size
Definition: glext.h:5919
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
Definition: name.c:36
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 }
#define FIXME(fmt,...)
Definition: debug.h:110

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
static HRESULT WINAPI d3drm_frame3_GetLights(IDirect3DRMFrame3 *iface, IDirect3DRMLightArray **lights)
Definition: frame.c:1345
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
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 
1399  return D3DRMMATERIAL_FROMPARENT;
1400 }
#define FIXME(fmt,...)
Definition: debug.h:110

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define TRACE(s)
Definition: solgame.cpp:4
GLsizeiptr size
Definition: glext.h:5919
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
static HRESULT WINAPI d3drm_frame3_GetName(IDirect3DRMFrame3 *iface, DWORD *size, char *name)
Definition: frame.c:819
Definition: name.c:36

◆ 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 }
#define up(mutex)
Definition: glue.h:30
#define FIXME(fmt,...)
Definition: debug.h:110
unsigned int dir
Definition: maze.c:112
GLint reference
Definition: glext.h:11729
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
IDirect3DRMFrame2 IDirect3DRMFrame2_iface
Definition: d3drm_private.h:73
#define TRACE(s)
Definition: solgame.cpp:4
r parent
Definition: btrfs.c:2869
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
static HRESULT WINAPI d3drm_frame2_GetParent(IDirect3DRMFrame2 *iface, IDirect3DRMFrame **parent)
Definition: frame.c:1424

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLint reference
Definition: glext.h:11729
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLint reference
Definition: glext.h:11729
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
IDirect3DRMFrame2 IDirect3DRMFrame2_iface
Definition: d3drm_private.h:73
#define TRACE(s)
Definition: solgame.cpp:4
static HRESULT WINAPI d3drm_frame2_GetScene(IDirect3DRMFrame2 *iface, IDirect3DRMFrame **scene)
Definition: frame.c:1522
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110

◆ 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 FIXME(fmt,...)
Definition: debug.h:110

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110

◆ 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 }
GLuint GLuint end
Definition: gl.h:1545
#define FIXME(fmt,...)
Definition: debug.h:110
GLuint start
Definition: gl.h:1545
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLenum GLuint texture
Definition: glext.h:6295
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
GLuint GLenum matrix
Definition: glext.h:9407
IDirect3DRMFrame2 IDirect3DRMFrame2_iface
Definition: d3drm_private.h:73
static HRESULT WINAPI d3drm_frame2_GetTransform(IDirect3DRMFrame2 *iface, D3DRMMATRIX4D matrix)
Definition: frame.c:1613
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLint reference
Definition: glext.h:11729
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
IDirect3DRMVisual ** visuals
Definition: d3drm_private.h:83
static HRESULT WINAPI d3drm_frame2_GetVisuals(IDirect3DRMFrame2 *iface, IDirect3DRMVisualArray **visuals)
Definition: frame.c:1692
IDirect3DRMFrame2 IDirect3DRMFrame2_iface
Definition: d3drm_private.h:73
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58

◆ 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 
2396  return D3DRMZBUFFER_FROMPARENT;
2397 }
#define FIXME(fmt,...)
Definition: debug.h:110

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define d
Definition: ke_i.h:81
GLdouble s
Definition: gl.h:2039
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
const char * filename
Definition: ioapi.h:135
#define FIXME(fmt,...)
Definition: debug.h:110
GLbitfield flags
Definition: glext.h:7161
#define E_NOTIMPL
Definition: ddrawi.h:99
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32
Definition: name.c:36

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLint reference
Definition: glext.h:11729
#define E_NOTIMPL
Definition: ddrawi.h:99
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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
REFIID riid
Definition: precomp.h:44
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
static FILE * out
Definition: regtests2xml.c:44
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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
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
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLclampf GLclampf blue
Definition: gl.h:1740
GLclampf green
Definition: gl.h:1740
#define red
Definition: linetest.c:67
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLenum mode
Definition: glext.h:6217
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define TRACE(s)
Definition: solgame.cpp:4
#define debugstr_a
Definition: kernel32.h:31
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
static HRESULT WINAPI d3drm_frame3_SetName(IDirect3DRMFrame3 *iface, const char *name)
Definition: frame.c:792
Definition: name.c:36

◆ 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
#define FIXME(fmt,...)
Definition: debug.h:110
GLint reference
Definition: glext.h:11729
#define E_NOTIMPL
Definition: ddrawi.h:99
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 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define FIXME(fmt,...)
Definition: debug.h:110
GLdouble GLdouble z
Definition: glext.h:5874
GLint reference
Definition: glext.h:11729
#define E_NOTIMPL
Definition: ddrawi.h:99
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

◆ 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 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define FIXME(fmt,...)
Definition: debug.h:110
GLdouble GLdouble z
Definition: glext.h:5874
GLint reference
Definition: glext.h:11729
#define E_NOTIMPL
Definition: ddrawi.h:99
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
GLuint color
Definition: glext.h:6243
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLenum GLuint texture
Definition: glext.h:6295
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
GLclampf GLclampf blue
Definition: gl.h:1740
#define TRACE(s)
Definition: solgame.cpp:4
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
GLclampf green
Definition: gl.h:1740
#define red
Definition: linetest.c:67

◆ 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 }
GLuint color
Definition: glext.h:6243
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLboolean enable
Definition: glext.h:11120
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLenum mode
Definition: glext.h:6217
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
GLuint GLuint end
Definition: gl.h:1545
#define FIXME(fmt,...)
Definition: debug.h:110
GLuint start
Definition: gl.h:1545
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLenum mode
Definition: glext.h:6217
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLenum GLuint texture
Definition: glext.h:6295
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
#define FIXME(fmt,...)
Definition: debug.h:110
GLdouble GLdouble z
Definition: glext.h:5874
GLint reference
Definition: glext.h:11729
#define E_NOTIMPL
Definition: ddrawi.h:99
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLenum mode
Definition: glext.h:6217
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define TRACE(s)
Definition: solgame.cpp:4
#define d
Definition: ke_i.h:81
static struct d3drm_frame * impl_from_IDirect3DRMFrame(IDirect3DRMFrame *iface)
Definition: frame.c:58
static HRESULT WINAPI d3drm_frame3_Transform(IDirect3DRMFrame3 *iface, D3DVECTOR *d, D3DVECTOR *s)
Definition: frame.c:2602
GLdouble s
Definition: gl.h:2039

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
HRESULT hr
Definition: shlfolder.c:183
static HWND child
Definition: cursoricon.c:298
static struct d3drm_frame * impl_from_IDirect3DRMFrame2(IDirect3DRMFrame2 *iface)
Definition: frame.c:63
#define D3DRMERR_BADOBJECT
Definition: d3drm.h:487
#define TRACE(s)
Definition: solgame.cpp:4
LONG HRESULT
Definition: typedefs.h:77
#define IDirect3DRMFrame_QueryInterface(p, a, b)
Definition: d3drmobj.h:1166
#define S_OK
Definition: intsafe.h:59
#define IDirect3DRMFrame_Release(p)
Definition: d3drmobj.h:1168
static HRESULT WINAPI d3drm_frame3_AddChild(IDirect3DRMFrame3 *iface, IDirect3DRMFrame3 *child)
Definition: frame.c:873

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
#define IDirect3DRMFrame3_AddDestroyCallback(p, a, b)
Definition: d3drmobj.h:1711
static struct d3drm_frame * impl_from_IDirect3DRMFrame2(IDirect3DRMFrame2 *iface)
Definition: frame.c:63
#define TRACE(s)
Definition: solgame.cpp:4
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32

◆ 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 }
IDirect3DRMFrame3 IDirect3DRMFrame3_iface
Definition: d3drm_private.h:74
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
static struct d3drm_frame * impl_from_IDirect3DRMFrame2(IDirect3DRMFrame2 *iface)
Definition: frame.c:63
#define TRACE(s)
Definition: solgame.cpp:4
static HRESULT WINAPI d3drm_frame3_AddLight(IDirect3DRMFrame3 *iface, IDirect3DRMLight *light)
Definition: frame.c:941

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32

◆ 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 }
#define FIXME(fmt,...)
Definition: debug.h:110
GLbitfield flags
Definition: glext.h:7161
#define E_NOTIMPL
Definition: ddrawi.h:99
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32

◆ 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