ReactOS 0.4.17-dev-966-gf06eace
animation.c File Reference
#include "d3dx9_private.h"
Include dependency graph for animation.c:

Go to the source code of this file.

Classes

struct  d3dx9_animation_controller
 
struct  d3dx9_keyframed_animation_set
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (d3dx)
 
static struct d3dx9_animation_controller * impl_from_ID3DXAnimationController (ID3DXAnimationController *iface)
 
static HRESULT WINAPI d3dx9_animation_controller_QueryInterface (ID3DXAnimationController *iface, REFIID riid, void **out)
 
static ULONG WINAPI d3dx9_animation_controller_AddRef (ID3DXAnimationController *iface)
 
static ULONG WINAPI d3dx9_animation_controller_Release (ID3DXAnimationController *iface)
 
static UINT WINAPI d3dx9_animation_controller_GetMaxNumAnimationOutputs (ID3DXAnimationController *iface)
 
static UINT WINAPI d3dx9_animation_controller_GetMaxNumAnimationSets (ID3DXAnimationController *iface)
 
static UINT WINAPI d3dx9_animation_controller_GetMaxNumTracks (ID3DXAnimationController *iface)
 
static UINT WINAPI d3dx9_animation_controller_GetMaxNumEvents (ID3DXAnimationController *iface)
 
static HRESULT WINAPI d3dx9_animation_controller_RegisterAnimationOutput (ID3DXAnimationController *iface, const char *name, D3DXMATRIX *matrix, D3DXVECTOR3 *scale, D3DXQUATERNION *rotation, D3DXVECTOR3 *translation)
 
static HRESULT WINAPI d3dx9_animation_controller_RegisterAnimationSet (ID3DXAnimationController *iface, ID3DXAnimationSet *anim_set)
 
static HRESULT WINAPI d3dx9_animation_controller_UnregisterAnimationSet (ID3DXAnimationController *iface, ID3DXAnimationSet *anim_set)
 
static UINT WINAPI d3dx9_animation_controller_GetNumAnimationSets (ID3DXAnimationController *iface)
 
static HRESULT WINAPI d3dx9_animation_controller_GetAnimationSet (ID3DXAnimationController *iface, UINT index, ID3DXAnimationSet **anim_set)
 
static HRESULT WINAPI d3dx9_animation_controller_GetAnimationSetByName (ID3DXAnimationController *iface, const char *name, ID3DXAnimationSet **anim_set)
 
static HRESULT WINAPI d3dx9_animation_controller_AdvanceTime (ID3DXAnimationController *iface, double time_delta, ID3DXAnimationCallbackHandler *callback_handler)
 
static HRESULT WINAPI d3dx9_animation_controller_Reset (ID3DXAnimationController *iface)
 
static double WINAPI d3dx9_animation_controller_GetTime (ID3DXAnimationController *iface)
 
static HRESULT WINAPI d3dx9_animation_controller_SetTrackAnimationSet (ID3DXAnimationController *iface, UINT track, ID3DXAnimationSet *anim_set)
 
static HRESULT WINAPI d3dx9_animation_controller_GetTrackAnimationSet (ID3DXAnimationController *iface, UINT track, ID3DXAnimationSet **anim_set)
 
static HRESULT WINAPI d3dx9_animation_controller_SetTrackPriority (ID3DXAnimationController *iface, UINT track, D3DXPRIORITY_TYPE priority)
 
static HRESULT WINAPI d3dx9_animation_controller_SetTrackSpeed (ID3DXAnimationController *iface, UINT track, float speed)
 
static HRESULT WINAPI d3dx9_animation_controller_SetTrackWeight (ID3DXAnimationController *iface, UINT track, float weight)
 
static HRESULT WINAPI d3dx9_animation_controller_SetTrackPosition (ID3DXAnimationController *iface, UINT track, double position)
 
static HRESULT WINAPI d3dx9_animation_controller_SetTrackEnable (ID3DXAnimationController *iface, UINT track, BOOL enable)
 
static HRESULT WINAPI d3dx9_animation_controller_SetTrackDesc (ID3DXAnimationController *iface, UINT track, D3DXTRACK_DESC *desc)
 
static HRESULT WINAPI d3dx9_animation_controller_GetTrackDesc (ID3DXAnimationController *iface, UINT track, D3DXTRACK_DESC *desc)
 
static HRESULT WINAPI d3dx9_animation_controller_SetPriorityBlend (ID3DXAnimationController *iface, float blend_weight)
 
static float WINAPI d3dx9_animation_controller_GetPriorityBlend (ID3DXAnimationController *iface)
 
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackSpeed (ID3DXAnimationController *iface, UINT track, float new_speed, double start_time, double duration, D3DXTRANSITION_TYPE transition)
 
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackWeight (ID3DXAnimationController *iface, UINT track, float new_weight, double start_time, double duration, D3DXTRANSITION_TYPE transition)
 
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackPosition (ID3DXAnimationController *iface, UINT track, double new_position, double start_time)
 
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackEnable (ID3DXAnimationController *iface, UINT track, BOOL new_enable, double start_time)
 
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackBlend (ID3DXAnimationController *iface, float new_blend_weight, double start_time, double duration, D3DXTRANSITION_TYPE transition)
 
static HRESULT WINAPI d3dx9_animation_controller_UnkeyEvent (ID3DXAnimationController *iface, D3DXEVENTHANDLE event)
 
static HRESULT WINAPI d3dx9_animation_controller_UnkeyAllTrackEvents (ID3DXAnimationController *iface, UINT track)
 
static HRESULT WINAPI d3dx9_animation_controller_UnkeyAllPriorityBlends (ID3DXAnimationController *iface)
 
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_GetCurrentTrackEvent (ID3DXAnimationController *iface, UINT track, D3DXEVENT_TYPE event_type)
 
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_GetCurrentPriorityBlend (ID3DXAnimationController *iface)
 
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_GetUpcomingTrackEvent (ID3DXAnimationController *iface, UINT track, D3DXEVENTHANDLE event)
 
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_GetUpcomingPriorityBlend (ID3DXAnimationController *iface, D3DXEVENTHANDLE event)
 
static HRESULT WINAPI d3dx9_animation_controller_ValidateEvent (ID3DXAnimationController *iface, D3DXEVENTHANDLE event)
 
static HRESULT WINAPI d3dx9_animation_controller_GetEventDesc (ID3DXAnimationController *iface, D3DXEVENTHANDLE event, D3DXEVENT_DESC *desc)
 
static HRESULT WINAPI d3dx9_animation_controller_CloneAnimationController (ID3DXAnimationController *iface, UINT max_outputs, UINT max_sets, UINT max_tracks, UINT max_events, ID3DXAnimationController **anim_controller)
 
HRESULT WINAPI D3DXCreateAnimationController (UINT max_outputs, UINT max_sets, UINT max_tracks, UINT max_events, ID3DXAnimationController **controller)
 
static struct d3dx9_keyframed_animation_set * impl_from_ID3DXKeyframedAnimationSet (ID3DXKeyframedAnimationSet *iface)
 
static HRESULT WINAPI d3dx9_keyframed_animation_QueryInterface (ID3DXKeyframedAnimationSet *iface, REFIID riid, void **obj)
 
static ULONG WINAPI d3dx9_keyframed_animation_AddRef (ID3DXKeyframedAnimationSet *iface)
 
static ULONG WINAPI d3dx9_keyframed_animation_Release (ID3DXKeyframedAnimationSet *iface)
 
static const char *WINAPI d3dx9_keyframed_animation_GetName (ID3DXKeyframedAnimationSet *iface)
 
static double WINAPI d3dx9_keyframed_animation_GetPeriod (ID3DXKeyframedAnimationSet *iface)
 
static double WINAPI d3dx9_keyframed_animation_GetPeriodicPosition (ID3DXKeyframedAnimationSet *iface, double position)
 
static UINT WINAPI d3dx9_keyframed_animation_GetNumAnimations (ID3DXKeyframedAnimationSet *iface)
 
static HRESULT WINAPI d3dx9_keyframed_animation_GetAnimationNameByIndex (ID3DXKeyframedAnimationSet *iface, UINT index, const char **name)
 
static HRESULT WINAPI d3dx9_keyframed_animation_GetAnimationIndexByName (ID3DXKeyframedAnimationSet *iface, const char *name, UINT *index)
 
static HRESULT WINAPI d3dx9_keyframed_animation_GetSRT (ID3DXKeyframedAnimationSet *iface, double periodic_position, UINT animation, D3DXVECTOR3 *scale, D3DXQUATERNION *rotation, D3DXVECTOR3 *translation)
 
static HRESULT WINAPI d3dx9_keyframed_animation_GetCallback (ID3DXKeyframedAnimationSet *iface, double position, DWORD flags, double *callback_position, void **callback_data)
 
static D3DXPLAYBACK_TYPE WINAPI d3dx9_keyframed_animation_GetPlaybackType (ID3DXKeyframedAnimationSet *iface)
 
static double WINAPI d3dx9_keyframed_animation_GetSourceTicksPerSecond (ID3DXKeyframedAnimationSet *iface)
 
static UINT WINAPI d3dx9_keyframed_animation_GetNumScaleKeys (ID3DXKeyframedAnimationSet *iface, UINT keys)
 
static HRESULT WINAPI d3dx9_keyframed_animation_GetScaleKeys (ID3DXKeyframedAnimationSet *iface, UINT animation, D3DXKEY_VECTOR3 *scale_keys)
 
static HRESULT WINAPI d3dx9_keyframed_animation_GetScaleKey (ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key, D3DXKEY_VECTOR3 *scale_key)
 
static HRESULT WINAPI d3dx9_keyframed_animation_SetScaleKey (ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key, D3DXKEY_VECTOR3 *scale_key)
 
static UINT WINAPI d3dx9_keyframed_animation_GetNumRotationKeys (ID3DXKeyframedAnimationSet *iface, UINT animation)
 
static HRESULT WINAPI d3dx9_keyframed_animation_GetRotationKeys (ID3DXKeyframedAnimationSet *iface, UINT animation, D3DXKEY_QUATERNION *rotation_keys)
 
static HRESULT WINAPI d3dx9_keyframed_animation_GetRotationKey (ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key, D3DXKEY_QUATERNION *rotation_key)
 
static HRESULT WINAPI d3dx9_keyframed_animation_SetRotationKey (ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key, D3DXKEY_QUATERNION *rotation_key)
 
static UINT WINAPI d3dx9_keyframed_animation_GetNumTranslationKeys (ID3DXKeyframedAnimationSet *iface, UINT animation)
 
static HRESULT WINAPI d3dx9_keyframed_animation_GetTranslationKeys (ID3DXKeyframedAnimationSet *iface, UINT animation, D3DXKEY_VECTOR3 *translation_keys)
 
static HRESULT WINAPI d3dx9_keyframed_animation_GetTranslationKey (ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key, D3DXKEY_VECTOR3 *translation_key)
 
static HRESULT WINAPI d3dx9_keyframed_animation_SetTranslationKey (ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key, D3DXKEY_VECTOR3 *translation_key)
 
static UINT WINAPI d3dx9_keyframed_animation_GetNumCallbackKeys (ID3DXKeyframedAnimationSet *iface)
 
static HRESULT WINAPI d3dx9_keyframed_animation_GetCallbackKeys (ID3DXKeyframedAnimationSet *iface, D3DXKEY_CALLBACK *callback_keys)
 
static HRESULT WINAPI d3dx9_keyframed_animation_GetCallbackKey (ID3DXKeyframedAnimationSet *iface, UINT key, D3DXKEY_CALLBACK *callback_key)
 
static HRESULT WINAPI d3dx9_keyframed_animation_SetCallbackKey (ID3DXKeyframedAnimationSet *iface, UINT key, D3DXKEY_CALLBACK *callback_key)
 
static HRESULT WINAPI d3dx9_keyframed_animation_UnregisterScaleKey (ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key)
 
static HRESULT WINAPI d3dx9_keyframed_animation_UnregisterRotationKey (ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key)
 
static HRESULT WINAPI d3dx9_keyframed_animation_UnregisterTranslationKey (ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key)
 
static HRESULT WINAPI d3dx9_keyframed_animation_RegisterAnimationSRTKeys (ID3DXKeyframedAnimationSet *iface, const char *name, UINT scale_keys_count, UINT rotation_keys_count, UINT translation_keys_count, const D3DXKEY_VECTOR3 *scale_keys, const D3DXKEY_QUATERNION *rotation_keys, const D3DXKEY_VECTOR3 *translation_keys, DWORD *animation_index)
 
static HRESULT WINAPI d3dx9_keyframed_animation_Compress (ID3DXKeyframedAnimationSet *iface, DWORD flags, float lossiness, D3DXFRAME *hierarchy, ID3DXBuffer **compressed_data)
 
static HRESULT WINAPI d3dx9_keyframed_animation_UnregisterAnimation (ID3DXKeyframedAnimationSet *iface, UINT index)
 
HRESULT WINAPI D3DXCreateKeyframedAnimationSet (const char *name, double ticks_per_second, D3DXPLAYBACK_TYPE playback_type, UINT animation_count, UINT callback_key_count, const D3DXKEY_CALLBACK *callback_keys, ID3DXKeyframedAnimationSet **animation_set)
 

Variables

static const struct ID3DXAnimationControllerVtbl d3dx9_animation_controller_vtbl
 
static const struct ID3DXKeyframedAnimationSetVtbl d3dx9_keyframed_animation_vtbl
 

Function Documentation

◆ d3dx9_animation_controller_AddRef()

static ULONG WINAPI d3dx9_animation_controller_AddRef ( ID3DXAnimationController *  iface)
static

Definition at line 59 of file animation.c.

60{
62 ULONG refcount = InterlockedIncrement(&animation->ref);
63
64 TRACE("%p increasing refcount to %lu.\n", animation, refcount);
65
66 return refcount;
67}
static struct d3dx9_animation_controller * impl_from_ID3DXAnimationController(ID3DXAnimationController *iface)
Definition: animation.c:37
#define InterlockedIncrement
Definition: armddk.h:53
#define TRACE(s)
Definition: solgame.cpp:4
uint32_t ULONG
Definition: typedefs.h:59

◆ d3dx9_animation_controller_AdvanceTime()

static HRESULT WINAPI d3dx9_animation_controller_AdvanceTime ( ID3DXAnimationController *  iface,
double  time_delta,
ID3DXAnimationCallbackHandler *  callback_handler 
)
static

Definition at line 168 of file animation.c.

170{
171 FIXME("iface %p, time_delta %.16e, callback_handler %p stub.\n", iface, time_delta, callback_handler);
172
173 return E_NOTIMPL;
174}
#define FIXME(fmt,...)
Definition: precomp.h:53
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ d3dx9_animation_controller_CloneAnimationController()

static HRESULT WINAPI d3dx9_animation_controller_CloneAnimationController ( ID3DXAnimationController *  iface,
UINT  max_outputs,
UINT  max_sets,
UINT  max_tracks,
UINT  max_events,
ID3DXAnimationController **  anim_controller 
)
static

Definition at line 389 of file animation.c.

391{
392 FIXME("iface %p, max_outputs %u, max_sets %u, max_tracks %u, max_events %u, anim_controller %p stub.\n",
393 iface, max_outputs, max_sets, max_tracks, max_events, anim_controller);
394
395 return E_NOTIMPL;
396}

◆ d3dx9_animation_controller_GetAnimationSet()

static HRESULT WINAPI d3dx9_animation_controller_GetAnimationSet ( ID3DXAnimationController *  iface,
UINT  index,
ID3DXAnimationSet **  anim_set 
)
static

Definition at line 152 of file animation.c.

154{
155 FIXME("iface %p, index %u, anim_set %p stub.\n", iface, index, anim_set);
156
157 return E_NOTIMPL;
158}
GLuint index
Definition: glext.h:6031

◆ d3dx9_animation_controller_GetAnimationSetByName()

static HRESULT WINAPI d3dx9_animation_controller_GetAnimationSetByName ( ID3DXAnimationController *  iface,
const char *  name,
ID3DXAnimationSet **  anim_set 
)
static

Definition at line 160 of file animation.c.

162{
163 FIXME("iface %p, name %s, anim_set %p stub.\n", iface, debugstr_a(name), anim_set);
164
165 return E_NOTIMPL;
166}
#define debugstr_a
Definition: kernel32.h:31
Definition: name.c:39

◆ d3dx9_animation_controller_GetCurrentPriorityBlend()

static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_GetCurrentPriorityBlend ( ID3DXAnimationController *  iface)
static

Definition at line 351 of file animation.c.

352{
353 FIXME("iface %p stub.\n", iface);
354
355 return 0;
356}

◆ d3dx9_animation_controller_GetCurrentTrackEvent()

static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_GetCurrentTrackEvent ( ID3DXAnimationController *  iface,
UINT  track,
D3DXEVENT_TYPE  event_type 
)
static

Definition at line 343 of file animation.c.

345{
346 FIXME("iface %p, track %u, event_type %u stub.\n", iface, track, event_type);
347
348 return 0;
349}

◆ d3dx9_animation_controller_GetEventDesc()

static HRESULT WINAPI d3dx9_animation_controller_GetEventDesc ( ID3DXAnimationController *  iface,
D3DXEVENTHANDLE  event,
D3DXEVENT_DESC *  desc 
)
static

Definition at line 381 of file animation.c.

383{
384 FIXME("iface %p, event %lu, desc %p stub.\n", iface, event, desc);
385
386 return E_NOTIMPL;
387}
D3D11_SHADER_VARIABLE_DESC desc
Definition: reflection.c:1683
Definition: filter.c:185

◆ d3dx9_animation_controller_GetMaxNumAnimationOutputs()

static UINT WINAPI d3dx9_animation_controller_GetMaxNumAnimationOutputs ( ID3DXAnimationController *  iface)
static

Definition at line 84 of file animation.c.

85{
87
88 TRACE("iface %p.\n", iface);
89
90 return animation->max_outputs;
91}

◆ d3dx9_animation_controller_GetMaxNumAnimationSets()

static UINT WINAPI d3dx9_animation_controller_GetMaxNumAnimationSets ( ID3DXAnimationController *  iface)
static

Definition at line 93 of file animation.c.

94{
96
97 TRACE("iface %p.\n", iface);
98
99 return animation->max_sets;
100}

◆ d3dx9_animation_controller_GetMaxNumEvents()

static UINT WINAPI d3dx9_animation_controller_GetMaxNumEvents ( ID3DXAnimationController *  iface)
static

Definition at line 111 of file animation.c.

112{
114
115 TRACE("iface %p.\n", iface);
116
117 return animation->max_events;
118}

◆ d3dx9_animation_controller_GetMaxNumTracks()

static UINT WINAPI d3dx9_animation_controller_GetMaxNumTracks ( ID3DXAnimationController *  iface)
static

Definition at line 102 of file animation.c.

103{
105
106 TRACE("iface %p.\n", iface);
107
108 return animation->max_tracks;
109}

◆ d3dx9_animation_controller_GetNumAnimationSets()

static UINT WINAPI d3dx9_animation_controller_GetNumAnimationSets ( ID3DXAnimationController *  iface)
static

Definition at line 145 of file animation.c.

146{
147 FIXME("iface %p stub.\n", iface);
148
149 return 0;
150}

◆ d3dx9_animation_controller_GetPriorityBlend()

static float WINAPI d3dx9_animation_controller_GetPriorityBlend ( ID3DXAnimationController *  iface)
static

Definition at line 270 of file animation.c.

271{
272 FIXME("iface %p stub.\n", iface);
273
274 return 0.0f;
275}

◆ d3dx9_animation_controller_GetTime()

static double WINAPI d3dx9_animation_controller_GetTime ( ID3DXAnimationController *  iface)
static

Definition at line 183 of file animation.c.

184{
185 FIXME("iface %p stub.\n", iface);
186
187 return 0.0;
188}

◆ d3dx9_animation_controller_GetTrackAnimationSet()

static HRESULT WINAPI d3dx9_animation_controller_GetTrackAnimationSet ( ID3DXAnimationController *  iface,
UINT  track,
ID3DXAnimationSet **  anim_set 
)
static

Definition at line 198 of file animation.c.

200{
201 FIXME("iface %p, track %u, anim_set %p stub.\n", iface, track, anim_set);
202
203 return E_NOTIMPL;
204}

◆ d3dx9_animation_controller_GetTrackDesc()

static HRESULT WINAPI d3dx9_animation_controller_GetTrackDesc ( ID3DXAnimationController *  iface,
UINT  track,
D3DXTRACK_DESC *  desc 
)
static

Definition at line 254 of file animation.c.

256{
257 FIXME("iface %p, track %u, desc %p stub.\n", iface, track, desc);
258
259 return E_NOTIMPL;
260}

◆ d3dx9_animation_controller_GetUpcomingPriorityBlend()

static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_GetUpcomingPriorityBlend ( ID3DXAnimationController *  iface,
D3DXEVENTHANDLE  event 
)
static

Definition at line 366 of file animation.c.

368{
369 FIXME("iface %p, event %lu stub.\n", iface, event);
370
371 return 0;
372}

◆ d3dx9_animation_controller_GetUpcomingTrackEvent()

static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_GetUpcomingTrackEvent ( ID3DXAnimationController *  iface,
UINT  track,
D3DXEVENTHANDLE  event 
)
static

Definition at line 358 of file animation.c.

360{
361 FIXME("iface %p, track %u, event %lu stub.\n", iface, track, event);
362
363 return 0;
364}

◆ d3dx9_animation_controller_KeyTrackBlend()

static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackBlend ( ID3DXAnimationController *  iface,
float  new_blend_weight,
double  start_time,
double  duration,
D3DXTRANSITION_TYPE  transition 
)
static

Definition at line 313 of file animation.c.

315{
316 FIXME("iface %p, new_blend_weight %.8e, start_time %.16e, duration %.16e, transition %u stub.\n", iface,
317 new_blend_weight, start_time, duration, transition);
318
319 return 0;
320}

◆ d3dx9_animation_controller_KeyTrackEnable()

static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackEnable ( ID3DXAnimationController *  iface,
UINT  track,
BOOL  new_enable,
double  start_time 
)
static

Definition at line 304 of file animation.c.

306{
307 FIXME("iface %p, track %u, new_enable %#x, start_time %.16e stub.\n", iface,
308 track, new_enable, start_time);
309
310 return 0;
311}

◆ d3dx9_animation_controller_KeyTrackPosition()

static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackPosition ( ID3DXAnimationController *  iface,
UINT  track,
double  new_position,
double  start_time 
)
static

Definition at line 295 of file animation.c.

297{
298 FIXME("iface %p, track %u, new_position %.16e, start_time %.16e stub.\n", iface,
299 track, new_position, start_time);
300
301 return 0;
302}

◆ d3dx9_animation_controller_KeyTrackSpeed()

static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackSpeed ( ID3DXAnimationController *  iface,
UINT  track,
float  new_speed,
double  start_time,
double  duration,
D3DXTRANSITION_TYPE  transition 
)
static

Definition at line 277 of file animation.c.

279{
280 FIXME("iface %p, track %u, new_speed %.8e, start_time %.16e, duration %.16e, transition %u stub.\n", iface,
281 track, new_speed, start_time, duration, transition);
282
283 return 0;
284}

◆ d3dx9_animation_controller_KeyTrackWeight()

static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackWeight ( ID3DXAnimationController *  iface,
UINT  track,
float  new_weight,
double  start_time,
double  duration,
D3DXTRANSITION_TYPE  transition 
)
static

Definition at line 286 of file animation.c.

288{
289 FIXME("iface %p, track %u, new_weight %.8e, start_time %.16e, duration %.16e, transition %u stub.\n", iface,
290 track, new_weight, start_time, duration, transition);
291
292 return 0;
293}

◆ d3dx9_animation_controller_QueryInterface()

static HRESULT WINAPI d3dx9_animation_controller_QueryInterface ( ID3DXAnimationController *  iface,
REFIID  riid,
void **  out 
)
static

Definition at line 42 of file animation.c.

43{
44 TRACE("iface %p, riid %s, out %p.\n", iface, debugstr_guid(riid), out);
45
47 IsEqualGUID(riid, &IID_ID3DXAnimationController))
48 {
49 iface->lpVtbl->AddRef(iface);
50 *out = iface;
51 return D3D_OK;
52 }
53
54 WARN("%s not implemented, returning E_NOINTERFACE.\n", debugstr_guid(riid));
55 *out = NULL;
56 return E_NOINTERFACE;
57}
#define WARN(fmt,...)
Definition: precomp.h:61
const GUID IID_IUnknown
#define D3D_OK
Definition: d3d.h:106
#define NULL
Definition: types.h:112
REFIID riid
Definition: atlbase.h:39
#define debugstr_guid
Definition: kernel32.h:35
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out
Definition: wcsftime.cpp:383
#define E_NOINTERFACE
Definition: winerror.h:3479

◆ d3dx9_animation_controller_RegisterAnimationOutput()

static HRESULT WINAPI d3dx9_animation_controller_RegisterAnimationOutput ( ID3DXAnimationController *  iface,
const char *  name,
D3DXMATRIX *  matrix,
D3DXVECTOR3 *  scale,
D3DXQUATERNION *  rotation,
D3DXVECTOR3 *  translation 
)
static

Definition at line 120 of file animation.c.

122{
123 FIXME("iface %p, name %s, matrix %p, scale %p, rotation %p, translation %p stub.\n", iface, debugstr_a(name),
124 matrix, scale, rotation, translation);
125
126 return E_NOTIMPL;
127}
GLenum GLenum GLenum GLenum GLenum scale
Definition: glext.h:9032
GLuint GLenum matrix
Definition: glext.h:9407

◆ d3dx9_animation_controller_RegisterAnimationSet()

static HRESULT WINAPI d3dx9_animation_controller_RegisterAnimationSet ( ID3DXAnimationController *  iface,
ID3DXAnimationSet *  anim_set 
)
static

Definition at line 129 of file animation.c.

131{
132 FIXME("iface %p, anim_set %p stub.\n", iface, anim_set);
133
134 return E_NOTIMPL;
135}

◆ d3dx9_animation_controller_Release()

static ULONG WINAPI d3dx9_animation_controller_Release ( ID3DXAnimationController *  iface)
static

Definition at line 69 of file animation.c.

70{
72 ULONG refcount = InterlockedDecrement(&animation->ref);
73
74 TRACE("%p decreasing refcount to %lu.\n", animation, refcount);
75
76 if (!refcount)
77 {
78 free(animation);
79 }
80
81 return refcount;
82}
#define InterlockedDecrement
Definition: armddk.h:52
#define free
Definition: debug_ros.c:5

◆ d3dx9_animation_controller_Reset()

static HRESULT WINAPI d3dx9_animation_controller_Reset ( ID3DXAnimationController *  iface)
static

Definition at line 176 of file animation.c.

177{
178 FIXME("iface %p stub.\n", iface);
179
180 return E_NOTIMPL;
181}

◆ d3dx9_animation_controller_SetPriorityBlend()

static HRESULT WINAPI d3dx9_animation_controller_SetPriorityBlend ( ID3DXAnimationController *  iface,
float  blend_weight 
)
static

Definition at line 262 of file animation.c.

264{
265 FIXME("iface %p, blend_weight %.8e stub.\n", iface, blend_weight);
266
267 return E_NOTIMPL;
268}

◆ d3dx9_animation_controller_SetTrackAnimationSet()

static HRESULT WINAPI d3dx9_animation_controller_SetTrackAnimationSet ( ID3DXAnimationController *  iface,
UINT  track,
ID3DXAnimationSet *  anim_set 
)
static

Definition at line 190 of file animation.c.

192{
193 FIXME("iface %p, track %u, anim_set %p stub.\n", iface, track, anim_set);
194
195 return E_NOTIMPL;
196}

◆ d3dx9_animation_controller_SetTrackDesc()

static HRESULT WINAPI d3dx9_animation_controller_SetTrackDesc ( ID3DXAnimationController *  iface,
UINT  track,
D3DXTRACK_DESC *  desc 
)
static

Definition at line 246 of file animation.c.

248{
249 FIXME("iface %p, track %u, desc %p stub.\n", iface, track, desc);
250
251 return E_NOTIMPL;
252}

◆ d3dx9_animation_controller_SetTrackEnable()

static HRESULT WINAPI d3dx9_animation_controller_SetTrackEnable ( ID3DXAnimationController *  iface,
UINT  track,
BOOL  enable 
)
static

Definition at line 238 of file animation.c.

240{
241 FIXME("iface %p, track %u, enable %#x stub.\n", iface, track, enable);
242
243 return E_NOTIMPL;
244}
GLboolean enable
Definition: glext.h:11120

◆ d3dx9_animation_controller_SetTrackPosition()

static HRESULT WINAPI d3dx9_animation_controller_SetTrackPosition ( ID3DXAnimationController *  iface,
UINT  track,
double  position 
)
static

Definition at line 230 of file animation.c.

232{
233 FIXME("iface %p, track %u, position %.16e stub.\n", iface, track, position);
234
235 return E_NOTIMPL;
236}

◆ d3dx9_animation_controller_SetTrackPriority()

static HRESULT WINAPI d3dx9_animation_controller_SetTrackPriority ( ID3DXAnimationController *  iface,
UINT  track,
D3DXPRIORITY_TYPE  priority 
)
static

Definition at line 206 of file animation.c.

208{
209 FIXME("iface %p, track %u, priority %u stub.\n", iface, track, priority);
210
211 return E_NOTIMPL;
212}
static int priority
Definition: timer.c:163

◆ d3dx9_animation_controller_SetTrackSpeed()

static HRESULT WINAPI d3dx9_animation_controller_SetTrackSpeed ( ID3DXAnimationController *  iface,
UINT  track,
float  speed 
)
static

Definition at line 214 of file animation.c.

216{
217 FIXME("iface %p, track %u, speed %.8e stub.\n", iface, track, speed);
218
219 return E_NOTIMPL;
220}

◆ d3dx9_animation_controller_SetTrackWeight()

static HRESULT WINAPI d3dx9_animation_controller_SetTrackWeight ( ID3DXAnimationController *  iface,
UINT  track,
float  weight 
)
static

Definition at line 222 of file animation.c.

224{
225 FIXME("iface %p, track %u, weight %.8e stub.\n", iface, track, weight);
226
227 return E_NOTIMPL;
228}
weight
Definition: sortkey.c:157

◆ d3dx9_animation_controller_UnkeyAllPriorityBlends()

static HRESULT WINAPI d3dx9_animation_controller_UnkeyAllPriorityBlends ( ID3DXAnimationController *  iface)
static

Definition at line 336 of file animation.c.

337{
338 FIXME("iface %p stub.\n", iface);
339
340 return E_NOTIMPL;
341}

◆ d3dx9_animation_controller_UnkeyAllTrackEvents()

static HRESULT WINAPI d3dx9_animation_controller_UnkeyAllTrackEvents ( ID3DXAnimationController *  iface,
UINT  track 
)
static

Definition at line 329 of file animation.c.

330{
331 FIXME("iface %p, track %u stub.\n", iface, track);
332
333 return E_NOTIMPL;
334}

◆ d3dx9_animation_controller_UnkeyEvent()

static HRESULT WINAPI d3dx9_animation_controller_UnkeyEvent ( ID3DXAnimationController *  iface,
D3DXEVENTHANDLE  event 
)
static

Definition at line 322 of file animation.c.

323{
324 FIXME("iface %p, event %lu stub.\n", iface, event);
325
326 return E_NOTIMPL;
327}

◆ d3dx9_animation_controller_UnregisterAnimationSet()

static HRESULT WINAPI d3dx9_animation_controller_UnregisterAnimationSet ( ID3DXAnimationController *  iface,
ID3DXAnimationSet *  anim_set 
)
static

Definition at line 137 of file animation.c.

139{
140 FIXME("iface %p, anim_set %p stub.\n", iface, anim_set);
141
142 return E_NOTIMPL;
143}

◆ d3dx9_animation_controller_ValidateEvent()

static HRESULT WINAPI d3dx9_animation_controller_ValidateEvent ( ID3DXAnimationController *  iface,
D3DXEVENTHANDLE  event 
)
static

Definition at line 374 of file animation.c.

375{
376 FIXME("iface %p, event %lu stub.\n", iface, event);
377
378 return E_NOTIMPL;
379}

◆ d3dx9_keyframed_animation_AddRef()

static ULONG WINAPI d3dx9_keyframed_animation_AddRef ( ID3DXKeyframedAnimationSet *  iface)
static

Definition at line 508 of file animation.c.

509{
511 ULONG refcount = InterlockedIncrement(&set->ref);
512
513 TRACE("%p increasing refcount to %lu.\n", set, refcount);
514
515 return refcount;
516}
static struct d3dx9_keyframed_animation_set * impl_from_ID3DXKeyframedAnimationSet(ID3DXKeyframedAnimationSet *iface)
Definition: animation.c:484
Definition: _set.h:50

◆ d3dx9_keyframed_animation_Compress()

static HRESULT WINAPI d3dx9_keyframed_animation_Compress ( ID3DXKeyframedAnimationSet *  iface,
DWORD  flags,
float  lossiness,
D3DXFRAME *  hierarchy,
ID3DXBuffer **  compressed_data 
)
static

Definition at line 801 of file animation.c.

803{
805
806 FIXME("set %p, flags %#lx, lossiness %.8e, hierarchy %p, compressed_data %p stub.\n",
807 set, flags, lossiness, hierarchy, compressed_data);
808 return E_NOTIMPL;
809}
GLbitfield flags
Definition: glext.h:7161
static const h_entry hierarchy[]
Definition: dialog.c:66

◆ d3dx9_keyframed_animation_GetAnimationIndexByName()

static HRESULT WINAPI d3dx9_keyframed_animation_GetAnimationIndexByName ( ID3DXKeyframedAnimationSet *  iface,
const char *  name,
UINT *  index 
)
static

Definition at line 575 of file animation.c.

577{
579
580 FIXME("set %p, name %s, index %p stub.\n", set, debugstr_a(name), index);
581 return E_NOTIMPL;
582}

◆ d3dx9_keyframed_animation_GetAnimationNameByIndex()

static HRESULT WINAPI d3dx9_keyframed_animation_GetAnimationNameByIndex ( ID3DXKeyframedAnimationSet *  iface,
UINT  index,
const char **  name 
)
static

Definition at line 566 of file animation.c.

568{
570
571 FIXME("set %p, index %u, name %p stub.\n", set, index, name);
572 return E_NOTIMPL;
573}

◆ d3dx9_keyframed_animation_GetCallback()

static HRESULT WINAPI d3dx9_keyframed_animation_GetCallback ( ID3DXKeyframedAnimationSet *  iface,
double  position,
DWORD  flags,
double *  callback_position,
void **  callback_data 
)
static

Definition at line 594 of file animation.c.

596{
598
599 FIXME("set %p, position %.16e, flags %#lx, callback_position %p, callback_data %p stub.\n",
600 set, position, flags, callback_position, callback_data);
601 return E_NOTIMPL;
602}

◆ d3dx9_keyframed_animation_GetCallbackKey()

static HRESULT WINAPI d3dx9_keyframed_animation_GetCallbackKey ( ID3DXKeyframedAnimationSet *  iface,
UINT  key,
D3DXKEY_CALLBACK *  callback_key 
)
static

Definition at line 742 of file animation.c.

744{
746
747 FIXME("set %p, key %u, callback_key %p stub.\n", set, key, callback_key);
748 return E_NOTIMPL;
749}
Definition: copy.c:22

◆ d3dx9_keyframed_animation_GetCallbackKeys()

static HRESULT WINAPI d3dx9_keyframed_animation_GetCallbackKeys ( ID3DXKeyframedAnimationSet *  iface,
D3DXKEY_CALLBACK *  callback_keys 
)
static

Definition at line 733 of file animation.c.

735{
737
738 FIXME("set %p, callback_keys %p stub.\n", set, callback_keys);
739 return E_NOTIMPL;
740}
const D3DXKEY_CALLBACK * callback_keys
Definition: animation.c:481

◆ d3dx9_keyframed_animation_GetName()

static const char *WINAPI d3dx9_keyframed_animation_GetName ( ID3DXKeyframedAnimationSet *  iface)
static

Definition at line 534 of file animation.c.

535{
537
538 TRACE("set %p.\n", set);
539 return set->name;
540}

◆ d3dx9_keyframed_animation_GetNumAnimations()

static UINT WINAPI d3dx9_keyframed_animation_GetNumAnimations ( ID3DXKeyframedAnimationSet *  iface)
static

Definition at line 558 of file animation.c.

559{
561
562 FIXME("set %p stub.\n", set);
563 return 0;
564}

◆ d3dx9_keyframed_animation_GetNumCallbackKeys()

static UINT WINAPI d3dx9_keyframed_animation_GetNumCallbackKeys ( ID3DXKeyframedAnimationSet *  iface)
static

Definition at line 725 of file animation.c.

726{
728
729 FIXME("set %p stub.\n", set);
730 return E_NOTIMPL;
731}

◆ d3dx9_keyframed_animation_GetNumRotationKeys()

static UINT WINAPI d3dx9_keyframed_animation_GetNumRotationKeys ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation 
)
static

Definition at line 655 of file animation.c.

656{
658
659 FIXME("set %p, animation %u stub.\n", set, animation);
660 return E_NOTIMPL;
661}

◆ d3dx9_keyframed_animation_GetNumScaleKeys()

static UINT WINAPI d3dx9_keyframed_animation_GetNumScaleKeys ( ID3DXKeyframedAnimationSet *  iface,
UINT  keys 
)
static

Definition at line 620 of file animation.c.

621{
623
624 FIXME("set %p, keys %u stub.\n", set, keys);
625 return 0;
626}
const UINT * keys
Definition: locale.c:418

◆ d3dx9_keyframed_animation_GetNumTranslationKeys()

static UINT WINAPI d3dx9_keyframed_animation_GetNumTranslationKeys ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation 
)
static

Definition at line 690 of file animation.c.

691{
693
694 FIXME("set %p, animation %u stub.\n", set, animation);
695 return E_NOTIMPL;
696}

◆ d3dx9_keyframed_animation_GetPeriod()

static double WINAPI d3dx9_keyframed_animation_GetPeriod ( ID3DXKeyframedAnimationSet *  iface)
static

Definition at line 542 of file animation.c.

543{
545
546 FIXME("set %p stub.\n", set);
547 return 0.0;
548}

◆ d3dx9_keyframed_animation_GetPeriodicPosition()

static double WINAPI d3dx9_keyframed_animation_GetPeriodicPosition ( ID3DXKeyframedAnimationSet *  iface,
double  position 
)
static

Definition at line 550 of file animation.c.

551{
553
554 FIXME("set %p, position %.16e stub.\n", set, position);
555 return 0.0;
556}

◆ d3dx9_keyframed_animation_GetPlaybackType()

static D3DXPLAYBACK_TYPE WINAPI d3dx9_keyframed_animation_GetPlaybackType ( ID3DXKeyframedAnimationSet *  iface)
static

Definition at line 604 of file animation.c.

605{
607
608 TRACE("set %p.\n", set);
609 return set->playback_type;
610}

◆ d3dx9_keyframed_animation_GetRotationKey()

static HRESULT WINAPI d3dx9_keyframed_animation_GetRotationKey ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation,
UINT  key,
D3DXKEY_QUATERNION *  rotation_key 
)
static

Definition at line 672 of file animation.c.

674{
676
677 FIXME("set %p, animation %u, key %u, rotation_key %p stub.\n", set, animation, key, rotation_key);
678 return E_NOTIMPL;
679}

◆ d3dx9_keyframed_animation_GetRotationKeys()

static HRESULT WINAPI d3dx9_keyframed_animation_GetRotationKeys ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation,
D3DXKEY_QUATERNION *  rotation_keys 
)
static

Definition at line 663 of file animation.c.

665{
667
668 FIXME("set %p, animation %u, rotation_keys %p stub.\n", set, animation, rotation_keys);
669 return E_NOTIMPL;
670}

◆ d3dx9_keyframed_animation_GetScaleKey()

static HRESULT WINAPI d3dx9_keyframed_animation_GetScaleKey ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation,
UINT  key,
D3DXKEY_VECTOR3 *  scale_key 
)
static

Definition at line 637 of file animation.c.

639{
641
642 FIXME("set %p, animation %u, key %u, scale_key %p stub.\n", set, animation, key, scale_key);
643 return E_NOTIMPL;
644}

◆ d3dx9_keyframed_animation_GetScaleKeys()

static HRESULT WINAPI d3dx9_keyframed_animation_GetScaleKeys ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation,
D3DXKEY_VECTOR3 *  scale_keys 
)
static

Definition at line 628 of file animation.c.

630{
632
633 FIXME("set %p, animation %u, scale_keys %p stub.\n", set, animation, scale_keys);
634 return E_NOTIMPL;
635}

◆ d3dx9_keyframed_animation_GetSourceTicksPerSecond()

static double WINAPI d3dx9_keyframed_animation_GetSourceTicksPerSecond ( ID3DXKeyframedAnimationSet *  iface)
static

Definition at line 612 of file animation.c.

613{
615
616 TRACE("set %p.\n", set);
617 return set->ticks_per_second;
618}

◆ d3dx9_keyframed_animation_GetSRT()

static HRESULT WINAPI d3dx9_keyframed_animation_GetSRT ( ID3DXKeyframedAnimationSet *  iface,
double  periodic_position,
UINT  animation,
D3DXVECTOR3 *  scale,
D3DXQUATERNION *  rotation,
D3DXVECTOR3 *  translation 
)
static

Definition at line 584 of file animation.c.

586{
588
589 FIXME("set %p, periodic_position %.16e, animation %u, scale %p, rotation %p, translation %p stub.\n",
590 set, periodic_position, animation, scale, rotation, translation);
591 return E_NOTIMPL;
592}

◆ d3dx9_keyframed_animation_GetTranslationKey()

static HRESULT WINAPI d3dx9_keyframed_animation_GetTranslationKey ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation,
UINT  key,
D3DXKEY_VECTOR3 *  translation_key 
)
static

Definition at line 707 of file animation.c.

709{
711
712 FIXME("set %p, animation %u, key %u, translation_key %p stub.\n", set, animation, key, translation_key);
713 return E_NOTIMPL;
714}

◆ d3dx9_keyframed_animation_GetTranslationKeys()

static HRESULT WINAPI d3dx9_keyframed_animation_GetTranslationKeys ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation,
D3DXKEY_VECTOR3 *  translation_keys 
)
static

Definition at line 698 of file animation.c.

700{
702
703 FIXME("set %p, animation %u, translation_keys %p stub.\n", set, animation, translation_keys);
704 return E_NOTIMPL;
705}

◆ d3dx9_keyframed_animation_QueryInterface()

static HRESULT WINAPI d3dx9_keyframed_animation_QueryInterface ( ID3DXKeyframedAnimationSet *  iface,
REFIID  riid,
void **  obj 
)
static

Definition at line 489 of file animation.c.

491{
492 TRACE("iface %p, riid %s, out %p.\n", iface, debugstr_guid(riid), obj);
493
495 || IsEqualGUID(riid, &IID_ID3DXAnimationSet)
496 || IsEqualGUID(riid, &IID_ID3DXKeyframedAnimationSet))
497 {
498 iface->lpVtbl->AddRef(iface);
499 *obj = iface;
500 return D3D_OK;
501 }
502
503 WARN("%s not implemented, returning E_NOINTERFACE.\n", debugstr_guid(riid));
504 *obj = NULL;
505 return E_NOINTERFACE;
506}

◆ d3dx9_keyframed_animation_RegisterAnimationSRTKeys()

static HRESULT WINAPI d3dx9_keyframed_animation_RegisterAnimationSRTKeys ( ID3DXKeyframedAnimationSet *  iface,
const char *  name,
UINT  scale_keys_count,
UINT  rotation_keys_count,
UINT  translation_keys_count,
const D3DXKEY_VECTOR3 *  scale_keys,
const D3DXKEY_QUATERNION *  rotation_keys,
const D3DXKEY_VECTOR3 *  translation_keys,
DWORD *  animation_index 
)
static

Definition at line 787 of file animation.c.

791{
793
794 FIXME("set %p, name %s, scale_keys_count %u, rotation_keys_count %u, translation_keys_count %u, "
795 "scale_keys %p, rotation_keys %p, translation_keys %p, animation_index %p stub.\n",
796 set, debugstr_a(name), scale_keys_count, rotation_keys_count, translation_keys_count,
797 scale_keys, rotation_keys, translation_keys, animation_index);
798 return E_NOTIMPL;
799}

◆ d3dx9_keyframed_animation_Release()

static ULONG WINAPI d3dx9_keyframed_animation_Release ( ID3DXKeyframedAnimationSet *  iface)
static

Definition at line 518 of file animation.c.

519{
521 ULONG refcount = InterlockedDecrement(&set->ref);
522
523 TRACE("%p decreasing refcount to %lu.\n", set, refcount);
524
525 if (!refcount)
526 {
527 free((char *)set->name);
528 free(set);
529 }
530
531 return refcount;
532}

◆ d3dx9_keyframed_animation_SetCallbackKey()

static HRESULT WINAPI d3dx9_keyframed_animation_SetCallbackKey ( ID3DXKeyframedAnimationSet *  iface,
UINT  key,
D3DXKEY_CALLBACK *  callback_key 
)
static

Definition at line 751 of file animation.c.

753{
755
756 FIXME("set %p, key %u, callback_key %p stub.\n", set, key, callback_key);
757 return E_NOTIMPL;
758}

◆ d3dx9_keyframed_animation_SetRotationKey()

static HRESULT WINAPI d3dx9_keyframed_animation_SetRotationKey ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation,
UINT  key,
D3DXKEY_QUATERNION *  rotation_key 
)
static

Definition at line 681 of file animation.c.

683{
685
686 FIXME("set %p, animation %u, key %u, rotation_key %p stub.\n", set, animation, key, rotation_key);
687 return E_NOTIMPL;
688}

◆ d3dx9_keyframed_animation_SetScaleKey()

static HRESULT WINAPI d3dx9_keyframed_animation_SetScaleKey ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation,
UINT  key,
D3DXKEY_VECTOR3 *  scale_key 
)
static

Definition at line 646 of file animation.c.

648{
650
651 FIXME("set %p, animation %u, key %u, scale_key %p stub.\n", set, animation, key, scale_key);
652 return E_NOTIMPL;
653}

◆ d3dx9_keyframed_animation_SetTranslationKey()

static HRESULT WINAPI d3dx9_keyframed_animation_SetTranslationKey ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation,
UINT  key,
D3DXKEY_VECTOR3 *  translation_key 
)
static

Definition at line 716 of file animation.c.

718{
720
721 FIXME("set %p, animation %u, key %u, translation_key %p stub.\n", set, animation, key, translation_key);
722 return E_NOTIMPL;
723}

◆ d3dx9_keyframed_animation_UnregisterAnimation()

static HRESULT WINAPI d3dx9_keyframed_animation_UnregisterAnimation ( ID3DXKeyframedAnimationSet *  iface,
UINT  index 
)
static

Definition at line 811 of file animation.c.

812{
814
815 FIXME("set %p, index %u stub.\n", set, index);
816 return E_NOTIMPL;
817}

◆ d3dx9_keyframed_animation_UnregisterRotationKey()

static HRESULT WINAPI d3dx9_keyframed_animation_UnregisterRotationKey ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation,
UINT  key 
)
static

Definition at line 769 of file animation.c.

771{
773
774 FIXME("set %p, animation %u, key %u stub.\n", set, animation, key);
775 return E_NOTIMPL;
776}

◆ d3dx9_keyframed_animation_UnregisterScaleKey()

static HRESULT WINAPI d3dx9_keyframed_animation_UnregisterScaleKey ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation,
UINT  key 
)
static

Definition at line 760 of file animation.c.

762{
764
765 FIXME("set %p, animation %u, key %u stub.\n", set, animation, key);
766 return E_NOTIMPL;
767}

◆ d3dx9_keyframed_animation_UnregisterTranslationKey()

static HRESULT WINAPI d3dx9_keyframed_animation_UnregisterTranslationKey ( ID3DXKeyframedAnimationSet *  iface,
UINT  animation,
UINT  key 
)
static

Definition at line 778 of file animation.c.

780{
782
783 FIXME("set %p, animation %u, key %u stub.\n", set, animation, key);
784 return E_NOTIMPL;
785}

◆ D3DXCreateAnimationController()

HRESULT WINAPI D3DXCreateAnimationController ( UINT  max_outputs,
UINT  max_sets,
UINT  max_tracks,
UINT  max_events,
ID3DXAnimationController **  controller 
)

Definition at line 444 of file animation.c.

446{
448
449 TRACE("max_outputs %u, max_sets %u, max_tracks %u, max_events %u, controller %p.\n",
451
452 if (!max_outputs || !max_sets || !max_tracks || !max_events || !controller)
453 return D3D_OK;
454
455 object = calloc(1, sizeof(*object));
456 if (!object)
457 return E_OUTOFMEMORY;
458
459 object->ID3DXAnimationController_iface.lpVtbl = &d3dx9_animation_controller_vtbl;
460 object->ref = 1;
461 object->max_outputs = max_outputs;
462 object->max_sets = max_sets;
463 object->max_tracks = max_tracks;
464 object->max_events = max_events;
465
466 *controller = &object->ID3DXAnimationController_iface;
467
468 return D3D_OK;
469}
static const struct ID3DXAnimationControllerVtbl d3dx9_animation_controller_vtbl
Definition: animation.c:398
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define calloc
Definition: rosglue.h:14

Referenced by D3DXCreateAnimationControllerTest().

◆ D3DXCreateKeyframedAnimationSet()

HRESULT WINAPI D3DXCreateKeyframedAnimationSet ( const char *  name,
double  ticks_per_second,
D3DXPLAYBACK_TYPE  playback_type,
UINT  animation_count,
UINT  callback_key_count,
const D3DXKEY_CALLBACK *  callback_keys,
ID3DXKeyframedAnimationSet **  animation_set 
)

Definition at line 858 of file animation.c.

861{
863
864 TRACE("name %s, ticks_per_second %.16e, playback_type %u, animation_count %u, "
865 "callback_key_count %u, callback_keys %p, animation_set %p.\n",
867 callback_key_count, callback_keys, animation_set);
868
869 if (!animation_count)
870 return D3DERR_INVALIDCALL;
871
872 if (!(object = calloc(1, sizeof(*object))))
873 return E_OUTOFMEMORY;
874
875 object->ID3DXKeyframedAnimationSet_iface.lpVtbl = &d3dx9_keyframed_animation_vtbl;
876 object->ref = 1;
877 if (!(object->name = strdup(name)))
878 {
879 free(object);
880 return E_OUTOFMEMORY;
881 }
882 object->ticks_per_second = ticks_per_second;
883 object->playback_type = playback_type;
884 object->animation_count = animation_count;
885 object->callback_key_count = callback_key_count;
886 object->callback_keys = callback_keys;
887
888 *animation_set = &object->ID3DXKeyframedAnimationSet_iface;
889
890 return D3D_OK;
891}
static const struct ID3DXKeyframedAnimationSetVtbl d3dx9_keyframed_animation_vtbl
Definition: animation.c:819
#define D3DERR_INVALIDCALL
Definition: d3d10_private.h:42
static char * strdup(const char *buf)
Definition: string.h:83
D3DXPLAYBACK_TYPE playback_type
Definition: animation.c:478
unsigned int callback_key_count
Definition: animation.c:480

Referenced by D3DXCreateKeyframedAnimationSetTest().

◆ impl_from_ID3DXAnimationController()

static struct d3dx9_animation_controller * impl_from_ID3DXAnimationController ( ID3DXAnimationController *  iface)
inlinestatic

◆ impl_from_ID3DXKeyframedAnimationSet()

static struct d3dx9_keyframed_animation_set * impl_from_ID3DXKeyframedAnimationSet ( ID3DXKeyframedAnimationSet *  iface)
inlinestatic

Definition at line 484 of file animation.c.

485{
486 return CONTAINING_RECORD(iface, struct d3dx9_keyframed_animation_set, ID3DXKeyframedAnimationSet_iface);
487}

Referenced by d3dx9_keyframed_animation_AddRef(), d3dx9_keyframed_animation_Compress(), d3dx9_keyframed_animation_GetAnimationIndexByName(), d3dx9_keyframed_animation_GetAnimationNameByIndex(), d3dx9_keyframed_animation_GetCallback(), d3dx9_keyframed_animation_GetCallbackKey(), d3dx9_keyframed_animation_GetCallbackKeys(), d3dx9_keyframed_animation_GetName(), d3dx9_keyframed_animation_GetNumAnimations(), d3dx9_keyframed_animation_GetNumCallbackKeys(), d3dx9_keyframed_animation_GetNumRotationKeys(), d3dx9_keyframed_animation_GetNumScaleKeys(), d3dx9_keyframed_animation_GetNumTranslationKeys(), d3dx9_keyframed_animation_GetPeriod(), d3dx9_keyframed_animation_GetPeriodicPosition(), d3dx9_keyframed_animation_GetPlaybackType(), d3dx9_keyframed_animation_GetRotationKey(), d3dx9_keyframed_animation_GetRotationKeys(), d3dx9_keyframed_animation_GetScaleKey(), d3dx9_keyframed_animation_GetScaleKeys(), d3dx9_keyframed_animation_GetSourceTicksPerSecond(), d3dx9_keyframed_animation_GetSRT(), d3dx9_keyframed_animation_GetTranslationKey(), d3dx9_keyframed_animation_GetTranslationKeys(), d3dx9_keyframed_animation_RegisterAnimationSRTKeys(), d3dx9_keyframed_animation_Release(), d3dx9_keyframed_animation_SetCallbackKey(), d3dx9_keyframed_animation_SetRotationKey(), d3dx9_keyframed_animation_SetScaleKey(), d3dx9_keyframed_animation_SetTranslationKey(), d3dx9_keyframed_animation_UnregisterAnimation(), d3dx9_keyframed_animation_UnregisterRotationKey(), d3dx9_keyframed_animation_UnregisterScaleKey(), and d3dx9_keyframed_animation_UnregisterTranslationKey().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( d3dx  )

Variable Documentation

◆ d3dx9_animation_controller_vtbl

const struct ID3DXAnimationControllerVtbl d3dx9_animation_controller_vtbl
static

Definition at line 398 of file animation.c.

Referenced by D3DXCreateAnimationController().

◆ d3dx9_keyframed_animation_vtbl

const struct ID3DXKeyframedAnimationSetVtbl d3dx9_keyframed_animation_vtbl
static

Definition at line 819 of file animation.c.

Referenced by D3DXCreateKeyframedAnimationSet().