49 iface->lpVtbl->AddRef(iface);
64 TRACE(
"%p increasing refcount to %lu.\n", animation, refcount);
74 TRACE(
"%p decreasing refcount to %lu.\n", animation, refcount);
88 TRACE(
"iface %p.\n", iface);
97 TRACE(
"iface %p.\n", iface);
106 TRACE(
"iface %p.\n", iface);
115 TRACE(
"iface %p.\n", iface);
123 FIXME(
"iface %p, name %s, matrix %p, scale %p, rotation %p, translation %p stub.\n", iface,
debugstr_a(
name),
130 ID3DXAnimationSet *anim_set)
132 FIXME(
"iface %p, anim_set %p stub.\n", iface, anim_set);
138 ID3DXAnimationSet *anim_set)
140 FIXME(
"iface %p, anim_set %p stub.\n", iface, anim_set);
147 FIXME(
"iface %p stub.\n", iface);
153 UINT index, ID3DXAnimationSet **anim_set)
155 FIXME(
"iface %p, index %u, anim_set %p stub.\n", iface,
index, anim_set);
161 const char *
name, ID3DXAnimationSet **anim_set)
169 ID3DXAnimationCallbackHandler *callback_handler)
171 FIXME(
"iface %p, time_delta %.16e, callback_handler %p stub.\n", iface, time_delta, callback_handler);
178 FIXME(
"iface %p stub.\n", iface);
185 FIXME(
"iface %p stub.\n", iface);
191 UINT track, ID3DXAnimationSet *anim_set)
193 FIXME(
"iface %p, track %u, anim_set %p stub.\n", iface, track, anim_set);
199 UINT track, ID3DXAnimationSet **anim_set)
201 FIXME(
"iface %p, track %u, anim_set %p stub.\n", iface, track, anim_set);
209 FIXME(
"iface %p, track %u, priority %u stub.\n", iface, track,
priority);
215 UINT track,
float speed)
217 FIXME(
"iface %p, track %u, speed %.8e stub.\n", iface, track, speed);
225 FIXME(
"iface %p, track %u, weight %.8e stub.\n", iface, track,
weight);
231 UINT track,
double position)
233 FIXME(
"iface %p, track %u, position %.16e stub.\n", iface, track, position);
241 FIXME(
"iface %p, track %u, enable %#x stub.\n", iface, track,
enable);
249 FIXME(
"iface %p, track %u, desc %p stub.\n", iface, track,
desc);
257 FIXME(
"iface %p, track %u, desc %p stub.\n", iface, track,
desc);
265 FIXME(
"iface %p, blend_weight %.8e stub.\n", iface, blend_weight);
272 FIXME(
"iface %p stub.\n", iface);
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);
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);
296 UINT track,
double new_position,
double start_time)
298 FIXME(
"iface %p, track %u, new_position %.16e, start_time %.16e stub.\n", iface,
299 track, new_position, start_time);
305 UINT track,
BOOL new_enable,
double start_time)
307 FIXME(
"iface %p, track %u, new_enable %#x, start_time %.16e stub.\n", iface,
308 track, new_enable, start_time);
314 float new_blend_weight,
double start_time,
double duration,
D3DXTRANSITION_TYPE transition)
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);
324 FIXME(
"iface %p, event %lu stub.\n", iface,
event);
331 FIXME(
"iface %p, track %u stub.\n", iface, track);
338 FIXME(
"iface %p stub.\n", iface);
346 FIXME(
"iface %p, track %u, event_type %u stub.\n", iface, track, event_type);
353 FIXME(
"iface %p stub.\n", iface);
361 FIXME(
"iface %p, track %u, event %lu stub.\n", iface, track,
event);
369 FIXME(
"iface %p, event %lu stub.\n", iface,
event);
376 FIXME(
"iface %p, event %lu stub.\n", iface,
event);
384 FIXME(
"iface %p, event %lu, desc %p stub.\n", iface,
event,
desc);
392 FIXME(
"iface %p, max_outputs %u, max_sets %u, max_tracks %u, max_events %u, anim_controller %p stub.\n",
445 UINT max_tracks,
UINT max_events, ID3DXAnimationController **controller)
449 TRACE(
"max_outputs %u, max_sets %u, max_tracks %u, max_events %u, controller %p.\n",
455 object =
calloc(1,
sizeof(*
object));
466 *controller = &
object->ID3DXAnimationController_iface;
498 iface->lpVtbl->AddRef(iface);
513 TRACE(
"%p increasing refcount to %lu.\n",
set, refcount);
523 TRACE(
"%p decreasing refcount to %lu.\n",
set, refcount);
554 FIXME(
"set %p, position %.16e stub.\n",
set, position);
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);
599 FIXME(
"set %p, position %.16e, flags %#lx, callback_position %p, callback_data %p stub.\n",
609 return set->playback_type;
617 return set->ticks_per_second;
633 FIXME(
"set %p, animation %u, scale_keys %p stub.\n",
set, animation, scale_keys);
642 FIXME(
"set %p, animation %u, key %u, scale_key %p stub.\n",
set, animation,
key, scale_key);
651 FIXME(
"set %p, animation %u, key %u, scale_key %p stub.\n",
set, animation,
key, scale_key);
659 FIXME(
"set %p, animation %u stub.\n",
set, animation);
668 FIXME(
"set %p, animation %u, rotation_keys %p stub.\n",
set, animation, rotation_keys);
677 FIXME(
"set %p, animation %u, key %u, rotation_key %p stub.\n",
set, animation,
key, rotation_key);
686 FIXME(
"set %p, animation %u, key %u, rotation_key %p stub.\n",
set, animation,
key, rotation_key);
694 FIXME(
"set %p, animation %u stub.\n",
set, animation);
703 FIXME(
"set %p, animation %u, translation_keys %p stub.\n",
set, animation, translation_keys);
712 FIXME(
"set %p, animation %u, key %u, translation_key %p stub.\n",
set, animation,
key, translation_key);
721 FIXME(
"set %p, animation %u, key %u, translation_key %p stub.\n",
set, animation,
key, translation_key);
747 FIXME(
"set %p, key %u, callback_key %p stub.\n",
set,
key, callback_key);
756 FIXME(
"set %p, key %u, callback_key %p stub.\n",
set,
key, callback_key);
765 FIXME(
"set %p, animation %u, key %u stub.\n",
set, animation,
key);
774 FIXME(
"set %p, animation %u, key %u stub.\n",
set, animation,
key);
783 FIXME(
"set %p, animation %u, key %u stub.\n",
set, animation,
key);
788 const char *
name,
UINT scale_keys_count,
UINT rotation_keys_count,
UINT translation_keys_count,
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);
806 FIXME(
"set %p, flags %#lx, lossiness %.8e, hierarchy %p, compressed_data %p stub.\n",
860 const D3DXKEY_CALLBACK *callback_keys, ID3DXKeyframedAnimationSet **animation_set)
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",
872 if (!(
object =
calloc(1,
sizeof(*
object))))
888 *animation_set = &
object->ID3DXKeyframedAnimationSet_iface;
static UINT WINAPI d3dx9_keyframed_animation_GetNumScaleKeys(ID3DXKeyframedAnimationSet *iface, UINT keys)
static float WINAPI d3dx9_animation_controller_GetPriorityBlend(ID3DXAnimationController *iface)
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackPosition(ID3DXAnimationController *iface, UINT track, double new_position, double start_time)
static double WINAPI d3dx9_keyframed_animation_GetPeriodicPosition(ID3DXKeyframedAnimationSet *iface, double position)
static HRESULT WINAPI d3dx9_keyframed_animation_GetCallbackKeys(ID3DXKeyframedAnimationSet *iface, D3DXKEY_CALLBACK *callback_keys)
static HRESULT WINAPI d3dx9_keyframed_animation_SetCallbackKey(ID3DXKeyframedAnimationSet *iface, UINT key, D3DXKEY_CALLBACK *callback_key)
static HRESULT WINAPI d3dx9_keyframed_animation_GetAnimationNameByIndex(ID3DXKeyframedAnimationSet *iface, UINT index, const char **name)
static HRESULT WINAPI d3dx9_keyframed_animation_QueryInterface(ID3DXKeyframedAnimationSet *iface, REFIID riid, void **obj)
static HRESULT WINAPI d3dx9_keyframed_animation_GetScaleKey(ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key, D3DXKEY_VECTOR3 *scale_key)
static HRESULT WINAPI d3dx9_animation_controller_SetTrackAnimationSet(ID3DXAnimationController *iface, UINT track, ID3DXAnimationSet *anim_set)
static UINT WINAPI d3dx9_animation_controller_GetNumAnimationSets(ID3DXAnimationController *iface)
static HRESULT WINAPI d3dx9_keyframed_animation_GetCallbackKey(ID3DXKeyframedAnimationSet *iface, UINT key, D3DXKEY_CALLBACK *callback_key)
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackSpeed(ID3DXAnimationController *iface, UINT track, float new_speed, double start_time, double duration, D3DXTRANSITION_TYPE transition)
static HRESULT WINAPI d3dx9_animation_controller_SetTrackEnable(ID3DXAnimationController *iface, UINT track, BOOL enable)
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)
static UINT WINAPI d3dx9_animation_controller_GetMaxNumEvents(ID3DXAnimationController *iface)
static HRESULT WINAPI d3dx9_keyframed_animation_UnregisterRotationKey(ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key)
static const struct ID3DXAnimationControllerVtbl d3dx9_animation_controller_vtbl
static double WINAPI d3dx9_animation_controller_GetTime(ID3DXAnimationController *iface)
static HRESULT WINAPI d3dx9_keyframed_animation_SetScaleKey(ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key, D3DXKEY_VECTOR3 *scale_key)
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackWeight(ID3DXAnimationController *iface, UINT track, float new_weight, double start_time, double duration, D3DXTRANSITION_TYPE transition)
static double WINAPI d3dx9_keyframed_animation_GetPeriod(ID3DXKeyframedAnimationSet *iface)
static HRESULT WINAPI d3dx9_animation_controller_GetAnimationSet(ID3DXAnimationController *iface, UINT index, ID3DXAnimationSet **anim_set)
static HRESULT WINAPI d3dx9_keyframed_animation_GetScaleKeys(ID3DXKeyframedAnimationSet *iface, UINT animation, D3DXKEY_VECTOR3 *scale_keys)
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_GetUpcomingPriorityBlend(ID3DXAnimationController *iface, D3DXEVENTHANDLE event)
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_GetCurrentTrackEvent(ID3DXAnimationController *iface, UINT track, D3DXEVENT_TYPE event_type)
static HRESULT WINAPI d3dx9_keyframed_animation_UnregisterAnimation(ID3DXKeyframedAnimationSet *iface, UINT index)
HRESULT WINAPI D3DXCreateAnimationController(UINT max_outputs, UINT max_sets, UINT max_tracks, UINT max_events, ID3DXAnimationController **controller)
static HRESULT WINAPI d3dx9_keyframed_animation_GetAnimationIndexByName(ID3DXKeyframedAnimationSet *iface, const char *name, UINT *index)
static const struct ID3DXKeyframedAnimationSetVtbl d3dx9_keyframed_animation_vtbl
static HRESULT WINAPI d3dx9_animation_controller_GetEventDesc(ID3DXAnimationController *iface, D3DXEVENTHANDLE event, D3DXEVENT_DESC *desc)
static UINT WINAPI d3dx9_animation_controller_GetMaxNumAnimationSets(ID3DXAnimationController *iface)
static HRESULT WINAPI d3dx9_animation_controller_GetTrackAnimationSet(ID3DXAnimationController *iface, UINT track, ID3DXAnimationSet **anim_set)
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 ULONG WINAPI d3dx9_keyframed_animation_Release(ID3DXKeyframedAnimationSet *iface)
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_GetUpcomingTrackEvent(ID3DXAnimationController *iface, UINT track, D3DXEVENTHANDLE event)
static HRESULT WINAPI d3dx9_animation_controller_UnkeyEvent(ID3DXAnimationController *iface, D3DXEVENTHANDLE event)
static struct d3dx9_animation_controller * impl_from_ID3DXAnimationController(ID3DXAnimationController *iface)
static HRESULT WINAPI d3dx9_keyframed_animation_Compress(ID3DXKeyframedAnimationSet *iface, DWORD flags, float lossiness, D3DXFRAME *hierarchy, ID3DXBuffer **compressed_data)
static HRESULT WINAPI d3dx9_animation_controller_UnkeyAllTrackEvents(ID3DXAnimationController *iface, UINT track)
static HRESULT WINAPI d3dx9_keyframed_animation_GetTranslationKey(ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key, D3DXKEY_VECTOR3 *translation_key)
static const char *WINAPI d3dx9_keyframed_animation_GetName(ID3DXKeyframedAnimationSet *iface)
static HRESULT WINAPI d3dx9_keyframed_animation_GetRotationKeys(ID3DXKeyframedAnimationSet *iface, UINT animation, D3DXKEY_QUATERNION *rotation_keys)
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 HRESULT WINAPI d3dx9_animation_controller_SetTrackDesc(ID3DXAnimationController *iface, UINT track, D3DXTRACK_DESC *desc)
static ULONG WINAPI d3dx9_animation_controller_Release(ID3DXAnimationController *iface)
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_GetCurrentPriorityBlend(ID3DXAnimationController *iface)
static double WINAPI d3dx9_keyframed_animation_GetSourceTicksPerSecond(ID3DXKeyframedAnimationSet *iface)
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 ULONG WINAPI d3dx9_keyframed_animation_AddRef(ID3DXKeyframedAnimationSet *iface)
static HRESULT WINAPI d3dx9_animation_controller_SetTrackPosition(ID3DXAnimationController *iface, UINT track, double position)
static D3DXPLAYBACK_TYPE WINAPI d3dx9_keyframed_animation_GetPlaybackType(ID3DXKeyframedAnimationSet *iface)
static HRESULT WINAPI d3dx9_animation_controller_SetTrackPriority(ID3DXAnimationController *iface, UINT track, D3DXPRIORITY_TYPE priority)
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_SetTranslationKey(ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key, D3DXKEY_VECTOR3 *translation_key)
static UINT WINAPI d3dx9_keyframed_animation_GetNumAnimations(ID3DXKeyframedAnimationSet *iface)
static struct d3dx9_keyframed_animation_set * impl_from_ID3DXKeyframedAnimationSet(ID3DXKeyframedAnimationSet *iface)
static UINT WINAPI d3dx9_keyframed_animation_GetNumTranslationKeys(ID3DXKeyframedAnimationSet *iface, UINT animation)
static UINT WINAPI d3dx9_keyframed_animation_GetNumCallbackKeys(ID3DXKeyframedAnimationSet *iface)
static UINT WINAPI d3dx9_keyframed_animation_GetNumRotationKeys(ID3DXKeyframedAnimationSet *iface, UINT animation)
static HRESULT WINAPI d3dx9_animation_controller_QueryInterface(ID3DXAnimationController *iface, REFIID riid, void **out)
static HRESULT WINAPI d3dx9_animation_controller_AdvanceTime(ID3DXAnimationController *iface, double time_delta, ID3DXAnimationCallbackHandler *callback_handler)
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_RegisterAnimationOutput(ID3DXAnimationController *iface, const char *name, D3DXMATRIX *matrix, D3DXVECTOR3 *scale, D3DXQUATERNION *rotation, D3DXVECTOR3 *translation)
static D3DXEVENTHANDLE WINAPI d3dx9_animation_controller_KeyTrackEnable(ID3DXAnimationController *iface, UINT track, BOOL new_enable, double start_time)
static HRESULT WINAPI d3dx9_animation_controller_GetAnimationSetByName(ID3DXAnimationController *iface, const char *name, ID3DXAnimationSet **anim_set)
static HRESULT WINAPI d3dx9_animation_controller_UnregisterAnimationSet(ID3DXAnimationController *iface, ID3DXAnimationSet *anim_set)
static HRESULT WINAPI d3dx9_animation_controller_Reset(ID3DXAnimationController *iface)
static HRESULT WINAPI d3dx9_animation_controller_UnkeyAllPriorityBlends(ID3DXAnimationController *iface)
static HRESULT WINAPI d3dx9_animation_controller_SetTrackSpeed(ID3DXAnimationController *iface, UINT track, float speed)
static UINT WINAPI d3dx9_animation_controller_GetMaxNumTracks(ID3DXAnimationController *iface)
static HRESULT WINAPI d3dx9_keyframed_animation_GetCallback(ID3DXKeyframedAnimationSet *iface, double position, DWORD flags, double *callback_position, void **callback_data)
static UINT WINAPI d3dx9_animation_controller_GetMaxNumAnimationOutputs(ID3DXAnimationController *iface)
static HRESULT WINAPI d3dx9_keyframed_animation_GetRotationKey(ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key, D3DXKEY_QUATERNION *rotation_key)
static HRESULT WINAPI d3dx9_animation_controller_ValidateEvent(ID3DXAnimationController *iface, D3DXEVENTHANDLE event)
static HRESULT WINAPI d3dx9_keyframed_animation_SetRotationKey(ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key, D3DXKEY_QUATERNION *rotation_key)
static ULONG WINAPI d3dx9_animation_controller_AddRef(ID3DXAnimationController *iface)
static HRESULT WINAPI d3dx9_animation_controller_SetTrackWeight(ID3DXAnimationController *iface, UINT track, float weight)
static HRESULT WINAPI d3dx9_keyframed_animation_UnregisterTranslationKey(ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key)
static HRESULT WINAPI d3dx9_animation_controller_RegisterAnimationSet(ID3DXAnimationController *iface, ID3DXAnimationSet *anim_set)
static HRESULT WINAPI d3dx9_keyframed_animation_GetTranslationKeys(ID3DXKeyframedAnimationSet *iface, UINT animation, D3DXKEY_VECTOR3 *translation_keys)
static HRESULT WINAPI d3dx9_keyframed_animation_UnregisterScaleKey(ID3DXKeyframedAnimationSet *iface, UINT animation, UINT key)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define D3DERR_INVALIDCALL
struct ID3DXBuffer ID3DXBuffer
static char * strdup(const char *buf)
enum _D3DXEVENT_TYPE D3DXEVENT_TYPE
enum _D3DXTRANSITION_TYPE D3DXTRANSITION_TYPE
enum _D3DXPRIORITY_TYPE D3DXPRIORITY_TYPE
enum _D3DXPLAYBACK_TYPE D3DXPLAYBACK_TYPE
GLenum GLenum GLenum GLenum GLenum scale
D3D11_SHADER_VARIABLE_DESC desc
static const h_entry hierarchy[]
#define IsEqualGUID(rguid1, rguid2)
ID3DXAnimationController ID3DXAnimationController_iface
const D3DXKEY_CALLBACK * callback_keys
D3DXPLAYBACK_TYPE playback_type
unsigned int callback_key_count
ID3DXKeyframedAnimationSet ID3DXKeyframedAnimationSet_iface
unsigned int animation_count
#define CONTAINING_RECORD(address, type, field)
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out