ReactOS 0.4.15-dev-7906-g1b85a5f
d3dx9anim.h
Go to the documentation of this file.
1/*
2 * Copyright 2011 Dylan Smith
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19#ifndef __WINE_D3DX9ANIM_H
20#define __WINE_D3DX9ANIM_H
21
22DEFINE_GUID(IID_ID3DXAnimationSet, 0x698cfb3f, 0x9289, 0x4d95, 0x9a, 0x57, 0x33, 0xa9, 0x4b, 0x5a, 0x65, 0xf9);
23DEFINE_GUID(IID_ID3DXKeyframedAnimationSet, 0xfa4e8e3a, 0x9786, 0x407d, 0x8b, 0x4c, 0x59, 0x95, 0x89, 0x37, 0x64, 0xaf);
24DEFINE_GUID(IID_ID3DXCompressedAnimationSet, 0x6cc2480d, 0x3808, 0x4739, 0x9f, 0x88, 0xde, 0x49, 0xfa, 0xcd, 0x8d, 0x4c);
25DEFINE_GUID(IID_ID3DXAnimationController, 0xac8948ec, 0xf86d, 0x43e2, 0x96, 0xde, 0x31, 0xfc, 0x35, 0xf9, 0x6d, 0x9e);
26
28{
34
36{
41
43{
49
51{
55
57{
62
63typedef enum _D3DXEVENT_TYPE
64{
72
74{
79
80
81typedef struct _D3DXMESHDATA
82{
84
85 union
86 {
87 ID3DXMesh *pMesh;
88 ID3DXPMesh *pPMesh;
89 ID3DXPatchMesh *pPatchMesh;
92
93typedef struct _D3DXMESHCONTAINER
94{
95 char *Name;
101 ID3DXSkinInfo *pSkinInfo;
104
105typedef struct _D3DXFRAME
106{
107 char *Name;
113
114typedef struct _D3DXKEY_VECTOR3
115{
119
121{
125
126typedef struct _D3DXKEY_CALLBACK
127{
128 float Time;
131
132typedef struct _D3DXTRACK_DESC
133{
140
141typedef struct _D3DXEVENT_DESC
142{
148 union
149 {
156
158
159typedef interface ID3DXAllocateHierarchy *LPD3DXALLOCATEHIERARCHY;
160typedef interface ID3DXLoadUserData *LPD3DXLOADUSERDATA;
161typedef interface ID3DXSaveUserData *LPD3DXSAVEUSERDATA;
162typedef interface ID3DXAnimationSet *LPD3DXANIMATIONSET;
163typedef interface ID3DXKeyframedAnimationSet *LPD3DXKEYFRAMEDANIMATIONSET;
164typedef interface ID3DXCompressedAnimationSet *LPD3DXCOMPRESSEDANIMATIONSET;
165typedef interface ID3DXAnimationCallbackHandler *LPD3DXANIMATIONCALLBACKHANDLER;
166typedef interface ID3DXAnimationController *LPD3DXANIMATIONCONTROLLER;
167
168#undef INTERFACE
169
170#define INTERFACE ID3DXAllocateHierarchy
171DECLARE_INTERFACE(ID3DXAllocateHierarchy)
172{
173 STDMETHOD(CreateFrame)(THIS_ const char *name, D3DXFRAME **new_frame) PURE;
174 STDMETHOD(CreateMeshContainer)(THIS_ const char *name, const D3DXMESHDATA *mesh_data,
175 const D3DXMATERIAL *materials, const D3DXEFFECTINSTANCE *effect_instances,
176 DWORD num_materials, const DWORD *adjacency, ID3DXSkinInfo *skin_info,
177 D3DXMESHCONTAINER **new_mesh_container) PURE;
178 STDMETHOD(DestroyFrame)(THIS_ LPD3DXFRAME frame) PURE;
180};
181#undef INTERFACE
182
183#define INTERFACE ID3DXLoadUserData
184DECLARE_INTERFACE(ID3DXLoadUserData)
185{
186 STDMETHOD(LoadTopLevelData)(ID3DXFileData *child_data) PURE;
187 STDMETHOD(LoadFrameChildData)(D3DXFRAME *frame, ID3DXFileData *child_data) PURE;
188 STDMETHOD(LoadMeshChildData)(D3DXMESHCONTAINER *mesh_container, ID3DXFileData *child_data) PURE;
189};
190#undef INTERFACE
191
192#define INTERFACE ID3DXSaveUserData
193DECLARE_INTERFACE(ID3DXSaveUserData)
194{
195 STDMETHOD(AddFrameChildData)(const D3DXFRAME *frame,
196 ID3DXFileSaveObject *save_obj, ID3DXFileSaveData *frame_data) PURE;
197 STDMETHOD(AddMeshChildData)(const D3DXMESHCONTAINER *mesh_container,
198 ID3DXFileSaveObject *save_obj, ID3DXFileSaveData *mesh_data) PURE;
199 STDMETHOD(AddTopLevelDataObjectsPre)(ID3DXFileSaveObject *save_obj) PURE;
200 STDMETHOD(AddTopLevelDataObjectsPost)(ID3DXFileSaveObject *save_obj) PURE;
201 STDMETHOD(RegisterTemplates)(ID3DXFile *file) PURE;
202 STDMETHOD(SaveTemplates)(ID3DXFileSaveObject *save_obj) PURE;
203};
204#undef INTERFACE
205
206#define INTERFACE ID3DXAnimationSet
207DECLARE_INTERFACE_(ID3DXAnimationSet, IUnknown)
208{
209 /*** IUnknown methods ***/
213 /*** ID3DXAnimationSet methods ***/
214 STDMETHOD_(const char *, GetName)(THIS) PURE;
215 STDMETHOD_(DOUBLE, GetPeriod)(THIS) PURE;
216 STDMETHOD_(DOUBLE, GetPeriodicPosition)(THIS_ DOUBLE position) PURE;
217 STDMETHOD_(UINT, GetNumAnimations)(THIS) PURE;
218 STDMETHOD(GetAnimationNameByIndex)(THIS_ UINT index, const char **name) PURE;
219 STDMETHOD(GetAnimationIndexByName)(THIS_ const char *name, UINT *index) PURE;
220 STDMETHOD(GetSRT)(THIS_ DOUBLE periodic_position, UINT animation, D3DXVECTOR3 *scale,
221 D3DXQUATERNION *rotation, D3DXVECTOR3 *translation) PURE;
222 STDMETHOD(GetCallback)(THIS_ double position, DWORD flags, double *callback_position,
223 void **callback_data) PURE;
224};
225#undef INTERFACE
226
227#define INTERFACE ID3DXKeyframedAnimationSet
228DECLARE_INTERFACE_(ID3DXKeyframedAnimationSet, ID3DXAnimationSet)
229{
230 /*** IUnknown methods ***/
234 /*** ID3DXAnimationSet methods ***/
235 STDMETHOD_(const char *, GetName)(THIS) PURE;
236 STDMETHOD_(DOUBLE, GetPeriod)(THIS) PURE;
237 STDMETHOD_(DOUBLE, GetPeriodicPosition)(THIS_ DOUBLE position) PURE;
238 STDMETHOD_(UINT, GetNumAnimations)(THIS) PURE;
239 STDMETHOD(GetAnimationNameByIndex)(THIS_ UINT index, const char **name) PURE;
240 STDMETHOD(GetAnimationIndexByName)(THIS_ const char *name, UINT *index) PURE;
241 STDMETHOD(GetSRT)(THIS_ DOUBLE periodic_position, UINT animation, D3DXVECTOR3 *scale,
242 D3DXQUATERNION *rotation, D3DXVECTOR3 *translation) PURE;
243 STDMETHOD(GetCallback)(THIS_ double position, DWORD flags, double *callback_position,
244 void **callback_data) PURE;
245 /*** ID3DXKeyframedAnimationSet methods ***/
246 STDMETHOD_(D3DXPLAYBACK_TYPE, GetPlaybackType)(THIS) PURE;
247 STDMETHOD_(DOUBLE, GetSourceTicksPerSecond)(THIS) PURE;
248 STDMETHOD_(UINT, GetNumScaleKeys)(THIS_ UINT animation) PURE;
249 STDMETHOD(GetScaleKeys)(THIS_ UINT animation, LPD3DXKEY_VECTOR3 scale_keys) PURE;
250 STDMETHOD(GetScaleKey)(THIS_ UINT animation, UINT key, LPD3DXKEY_VECTOR3 scale_key) PURE;
251 STDMETHOD(SetScaleKey)(THIS_ UINT animation, UINT key, LPD3DXKEY_VECTOR3 scale_key) PURE;
252 STDMETHOD_(UINT, GetNumRotationKeys)(THIS_ UINT animation) PURE;
253 STDMETHOD(GetRotationKeys)(THIS_ UINT animation, LPD3DXKEY_QUATERNION rotation_keys) PURE;
254 STDMETHOD(GetRotationKey)(THIS_ UINT animation, UINT key, LPD3DXKEY_QUATERNION rotation_key) PURE;
255 STDMETHOD(SetRotationKey)(THIS_ UINT animation, UINT key, LPD3DXKEY_QUATERNION rotation_key) PURE;
256 STDMETHOD_(UINT, GetNumTranslationKeys)(THIS_ UINT animation) PURE;
257 STDMETHOD(GetTranslationKeys)(THIS_ UINT animation, LPD3DXKEY_VECTOR3 translation_keys) PURE;
258 STDMETHOD(GetTranslationKey)(THIS_ UINT animation, UINT key, LPD3DXKEY_VECTOR3 translation_key) PURE;
259 STDMETHOD(SetTranslationKey)(THIS_ UINT animation, UINT key, LPD3DXKEY_VECTOR3 translation_key) PURE;
260 STDMETHOD_(UINT, GetNumCallbackKeys)(THIS) PURE;
261 STDMETHOD(GetCallbackKeys)(THIS_ LPD3DXKEY_CALLBACK callback_keys) PURE;
262 STDMETHOD(GetCallbackKey)(THIS_ UINT key, LPD3DXKEY_CALLBACK callback_key) PURE;
263 STDMETHOD(SetCallbackKey)(THIS_ UINT key, LPD3DXKEY_CALLBACK callback_key) PURE;
264 STDMETHOD(UnregisterScaleKey)(THIS_ UINT animation, UINT key) PURE;
265 STDMETHOD(UnregisterRotationKey)(THIS_ UINT animation, UINT key) PURE;
266 STDMETHOD(UnregisterTranslationKey)(THIS_ UINT animation, UINT key) PURE;
267 STDMETHOD(RegisterAnimationSRTKeys)(THIS_ const char *name, UINT num_scale_keys,
268 UINT num_rotation_keys, UINT num_translation_keys, const D3DXKEY_VECTOR3 *scale_keys,
269 const D3DXKEY_QUATERNION *rotation_keys, const D3DXKEY_VECTOR3 *translation_keys,
270 DWORD *animation_index) PURE;
272 ID3DXBuffer **compressed_data) PURE;
273 STDMETHOD(UnregisterAnimation)(THIS_ UINT index) PURE;
274};
275#undef INTERFACE
276
277#define INTERFACE ID3DXCompressedAnimationSet
278DECLARE_INTERFACE_(ID3DXCompressedAnimationSet, ID3DXAnimationSet)
279{
280 /*** IUnknown methods ***/
284 /*** ID3DXAnimationSet methods ***/
285 STDMETHOD_(const char *, GetName)(THIS) PURE;
286 STDMETHOD_(DOUBLE, GetPeriod)(THIS) PURE;
287 STDMETHOD_(DOUBLE, GetPeriodicPosition)(THIS_ DOUBLE position) PURE;
288 STDMETHOD_(UINT, GetNumAnimations)(THIS) PURE;
289 STDMETHOD(GetAnimationNameByIndex)(THIS_ UINT index, const char **name) PURE;
290 STDMETHOD(GetAnimationIndexByName)(THIS_ const char *name, UINT *index) PURE;
291 STDMETHOD(GetSRT)(THIS_ DOUBLE periodic_position, UINT animation, D3DXVECTOR3 *scale,
292 D3DXQUATERNION *rotation, D3DXVECTOR3 *translation) PURE;
293 STDMETHOD(GetCallback)(THIS_ double position, DWORD flags, double *callback_position,
294 void **callback_data) PURE;
295 /*** ID3DXCompressedAnimationSet methods ***/
296 STDMETHOD_(D3DXPLAYBACK_TYPE, GetPlaybackType)(THIS) PURE;
297 STDMETHOD_(DOUBLE, GetSourceTicksPerSecond)(THIS) PURE;
298 STDMETHOD(GetCompressedData)(THIS_ ID3DXBuffer **compressed_data) PURE;
299 STDMETHOD_(UINT, GetNumCallbackKeys)(THIS) PURE;
300 STDMETHOD(GetCallbackKeys)(THIS_ LPD3DXKEY_CALLBACK callback_keys) PURE;
301};
302#undef INTERFACE
303
304#define INTERFACE ID3DXAnimationCallbackHandler
305DECLARE_INTERFACE(ID3DXAnimationCallbackHandler)
306{
307 STDMETHOD(HandleCallback)(THIS_ UINT track, void *callback_data) PURE;
308};
309#undef INTERFACE
310
311#define INTERFACE ID3DXAnimationController
312DECLARE_INTERFACE_(ID3DXAnimationController, IUnknown)
313{
314 /*** IUnknown methods ***/
318 /*** ID3DXAnimationController methods ***/
319 STDMETHOD_(UINT, GetMaxNumAnimationOutputs)(THIS) PURE;
320 STDMETHOD_(UINT, GetMaxNumAnimationSets)(THIS) PURE;
321 STDMETHOD_(UINT, GetMaxNumTracks)(THIS) PURE;
322 STDMETHOD_(UINT, GetMaxNumEvents)(THIS) PURE;
323 STDMETHOD(RegisterAnimationOutput)(THIS_ const char *name, D3DXMATRIX *matrix,
324 D3DXVECTOR3 *scale, D3DXQUATERNION *rotation, D3DXVECTOR3 *translation) PURE;
325 STDMETHOD(RegisterAnimationSet)(THIS_ ID3DXAnimationSet *anim_set) PURE;
326 STDMETHOD(UnregisterAnimationSet)(THIS_ ID3DXAnimationSet *anim_set) PURE;
327 STDMETHOD_(UINT, GetNumAnimationSets)(THIS) PURE;
328 STDMETHOD(GetAnimationSet)(THIS_ UINT index, ID3DXAnimationSet **anim_set) PURE;
329 STDMETHOD(GetAnimationSetByName)(THIS_ const char *name, ID3DXAnimationSet **anim_set) PURE;
330 STDMETHOD(AdvanceTime)(THIS_ double time_delta, ID3DXAnimationCallbackHandler *callback_handler) PURE;
331 STDMETHOD(ResetTime)(THIS) PURE;
332 STDMETHOD_(double, GetTime)(THIS) PURE;
333 STDMETHOD(SetTrackAnimationSet)(THIS_ UINT track, ID3DXAnimationSet *anim_set) PURE;
334 STDMETHOD(GetTrackAnimationSet)(THIS_ UINT track, ID3DXAnimationSet **anim_set) PURE;
335 STDMETHOD(SetTrackPriority)(THIS_ UINT track, D3DXPRIORITY_TYPE priority) PURE;
336 STDMETHOD(SetTrackSpeed)(THIS_ UINT track, float speed) PURE;
337 STDMETHOD(SetTrackWeight)(THIS_ UINT track, float weight) PURE;
338 STDMETHOD(SetTrackPosition)(THIS_ UINT track, double position) PURE;
339 STDMETHOD(SetTrackEnable)(THIS_ UINT track, BOOL enable) PURE;
340 STDMETHOD(SetTrackDesc)(THIS_ UINT track, D3DXTRACK_DESC *desc) PURE;
341 STDMETHOD(GetTrackDesc)(THIS_ UINT track, D3DXTRACK_DESC *desc) PURE;
342 STDMETHOD(SetPriorityBlend)(THIS_ float blend_weight) PURE;
343 STDMETHOD_(float, GetPriorityBlend)(THIS) PURE;
344 STDMETHOD_(D3DXEVENTHANDLE, KeyTrackSpeed)(THIS_ UINT track, float new_speed,
345 double start_time, double duration, D3DXTRANSITION_TYPE transition) PURE;
346 STDMETHOD_(D3DXEVENTHANDLE, KeyTrackWeight)(THIS_ UINT track, float new_weight,
347 double start_time, double duration, D3DXTRANSITION_TYPE transition) PURE;
348 STDMETHOD_(D3DXEVENTHANDLE, KeyTrackPosition)(THIS_ UINT track, double new_position, double start_time) PURE;
349 STDMETHOD_(D3DXEVENTHANDLE, KeyTrackEnable)(THIS_ UINT track, BOOL new_enable, double start_time) PURE;
350 STDMETHOD_(D3DXEVENTHANDLE, KeyPriorityBlend)(THIS_ float new_blend_weight,
351 double start_time, double duration, D3DXTRANSITION_TYPE transition) PURE;
353 STDMETHOD(UnkeyAllTrackEvents)(THIS_ UINT track) PURE;
354 STDMETHOD(UnkeyAllPriorityBlends)(THIS) PURE;
355 STDMETHOD_(D3DXEVENTHANDLE, GetCurrentTrackEvent)(THIS_ UINT track, D3DXEVENT_TYPE event_type) PURE;
356 STDMETHOD_(D3DXEVENTHANDLE, GetCurrentPriorityBlend)(THIS) PURE;
357 STDMETHOD_(D3DXEVENTHANDLE, GetUpcomingTrackEvent)(THIS_ UINT track, D3DXEVENTHANDLE event) PURE;
358 STDMETHOD_(D3DXEVENTHANDLE, GetUpcomingPriorityBlend)(THIS_ D3DXEVENTHANDLE event) PURE;
359 STDMETHOD(ValidateEvent)(THIS_ D3DXEVENTHANDLE event) PURE;
361 STDMETHOD(CloneAnimationController)(THIS_ UINT max_num_anim_outputs, UINT max_num_anim_sets,
362 UINT max_num_tracks, UINT max_num_events, ID3DXAnimationController **anim_controller) PURE;
363};
364#undef INTERFACE
365
366#ifdef __cplusplus
367extern "C" {
368#endif
369
370HRESULT WINAPI D3DXLoadMeshHierarchyFromXA(const char *filename, DWORD flags, struct IDirect3DDevice9 *device,
371 struct ID3DXAllocateHierarchy *alloc, struct ID3DXLoadUserData *user_data_loader,
372 D3DXFRAME **frame_hierarchy, struct ID3DXAnimationController **animation_controller);
373HRESULT WINAPI D3DXLoadMeshHierarchyFromXW(const WCHAR *filename, DWORD flags, struct IDirect3DDevice9 *device,
374 struct ID3DXAllocateHierarchy *alloc, struct ID3DXLoadUserData *user_data_loader,
375 D3DXFRAME **frame_hierarchy, struct ID3DXAnimationController **animation_controller);
376#define D3DXLoadMeshHierarchyFromX WINELIB_NAME_AW(D3DXLoadMeshHierarchyFromX)
378 struct IDirect3DDevice9 *device, struct ID3DXAllocateHierarchy *alloc,
379 struct ID3DXLoadUserData *user_data_loader, D3DXFRAME **frame_hierarchy,
380 struct ID3DXAnimationController **animation_controller);
382 const D3DXFRAME *frame_root, ID3DXAnimationController *animation_controller,
383 ID3DXSaveUserData *user_data_saver);
385 const D3DXFRAME *frame_root, ID3DXAnimationController *animation_controller,
386 ID3DXSaveUserData *user_data_saver);
387#define D3DXSaveMeshHierarchyToFile WINELIB_NAME_AW(D3DXSaveMeshHierarchyToFile)
388HRESULT WINAPI D3DXFrameDestroy(D3DXFRAME *frame_root, ID3DXAllocateHierarchy *alloc);
390D3DXFRAME * WINAPI D3DXFrameFind(const D3DXFRAME *root, const char *name);
391HRESULT WINAPI D3DXFrameRegisterNamedMatrices(D3DXFRAME *frame_root, ID3DXAnimationController *animation_controller);
394 FLOAT *radius);
395HRESULT WINAPI D3DXCreateKeyframedAnimationSet(const char *name, double ticks_per_second,
396 D3DXPLAYBACK_TYPE playback_type, UINT animation_count, UINT callback_key_count,
397 const D3DXKEY_CALLBACK *callback_keys, ID3DXKeyframedAnimationSet **animation_set);
398HRESULT WINAPI D3DXCreateCompressedAnimationSet(const char *name, double ticks_per_second,
399 D3DXPLAYBACK_TYPE playback_type, ID3DXBuffer *compressed_data, UINT callback_key_count,
400 const D3DXKEY_CALLBACK *callback_keys, ID3DXCompressedAnimationSet **animation_set);
401HRESULT WINAPI D3DXCreateAnimationController(UINT max_animation_output_count, UINT max_animation_set_count,
402 UINT max_track_count, UINT max_event_count, ID3DXAnimationController **animation_controller);
403
404#ifdef __cplusplus
405}
406#endif
407
408#endif /* __WINE_D3DX9ANIM_H */
#define index(s, c)
Definition: various.h:29
#define DECLARE_INTERFACE_(i, b)
Definition: basetyps.h:78
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
#define DECLARE_INTERFACE(i)
Definition: basetyps.h:73
_In_ BOOLEAN Release
Definition: cdrom.h:920
struct ID3DXBuffer ID3DXBuffer
Definition: d3dx8core.h:51
interface ID3DXAnimationSet * LPD3DXANIMATIONSET
Definition: d3dx9anim.h:162
interface ID3DXAnimationController * LPD3DXANIMATIONCONTROLLER
Definition: d3dx9anim.h:166
enum _D3DXMESHDATATYPE D3DXMESHDATATYPE
interface ID3DXKeyframedAnimationSet * LPD3DXKEYFRAMEDANIMATIONSET
Definition: d3dx9anim.h:163
_D3DXEVENT_TYPE
Definition: d3dx9anim.h:64
@ D3DXEVENT_TRACKPOSITION
Definition: d3dx9anim.h:67
@ D3DXEVENT_TRACKENABLE
Definition: d3dx9anim.h:68
@ D3DXEVENT_PRIORITYBLEND
Definition: d3dx9anim.h:69
@ D3DXEVENT_TRACKSPEED
Definition: d3dx9anim.h:65
@ D3DXEVENT_FORCE_DWORD
Definition: d3dx9anim.h:70
@ D3DXEVENT_TRACKWEIGHT
Definition: d3dx9anim.h:66
struct _D3DXMESHDATA * LPD3DXMESHDATA
DWORD D3DXEVENTHANDLE
Definition: d3dx9anim.h:157
HRESULT WINAPI D3DXSaveMeshHierarchyToFileW(const WCHAR *filename, DWORD format, const D3DXFRAME *frame_root, ID3DXAnimationController *animation_controller, ID3DXSaveUserData *user_data_saver)
struct _D3DXEVENT_DESC * LPD3DXEVENT_DESC
HRESULT WINAPI D3DXFrameDestroy(D3DXFRAME *frame_root, ID3DXAllocateHierarchy *alloc)
Definition: mesh.c:4010
struct _D3DXTRACK_DESC D3DXTRACK_DESC
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: animation.c:862
HRESULT WINAPI D3DXLoadMeshHierarchyFromXA(const char *filename, DWORD flags, struct IDirect3DDevice9 *device, struct ID3DXAllocateHierarchy *alloc, struct ID3DXLoadUserData *user_data_loader, D3DXFRAME **frame_hierarchy, struct ID3DXAnimationController **animation_controller)
Definition: mesh.c:3689
_D3DXCOMPRESSION_FLAGS
Definition: d3dx9anim.h:51
@ D3DXCOMPRESSION_FORCE_DWORD
Definition: d3dx9anim.h:53
@ D3DXCOMPRESSION_DEFAULT
Definition: d3dx9anim.h:52
interface ID3DXAllocateHierarchy * LPD3DXALLOCATEHIERARCHY
Definition: d3dx9anim.h:159
_D3DXCALLBACK_SEARCH_FLAGS
Definition: d3dx9anim.h:36
@ D3DXCALLBACK_SEARCH_EXCLUDING_INITIAL_POSITION
Definition: d3dx9anim.h:37
@ D3DXCALLBACK_SEARCH_FORCE_DWORD
Definition: d3dx9anim.h:39
@ D3DXCALLBACK_SEARCH_BEHIND_INITIAL_POSITION
Definition: d3dx9anim.h:38
struct _D3DXKEY_CALLBACK D3DXKEY_CALLBACK
interface ID3DXLoadUserData * LPD3DXLOADUSERDATA
Definition: d3dx9anim.h:160
UINT WINAPI D3DXFrameNumNamedMatrices(const D3DXFRAME *frame_root)
HRESULT WINAPI D3DXCreateCompressedAnimationSet(const char *name, double ticks_per_second, D3DXPLAYBACK_TYPE playback_type, ID3DXBuffer *compressed_data, UINT callback_key_count, const D3DXKEY_CALLBACK *callback_keys, ID3DXCompressedAnimationSet **animation_set)
enum _D3DXCALLBACK_SEARCH_FLAGS D3DXCALLBACK_SEARCH_FLAGS
enum _D3DXEVENT_TYPE D3DXEVENT_TYPE
HRESULT WINAPI D3DXCreateAnimationController(UINT max_animation_output_count, UINT max_animation_set_count, UINT max_track_count, UINT max_event_count, ID3DXAnimationController **animation_controller)
Definition: animation.c:448
HRESULT WINAPI D3DXSaveMeshHierarchyToFileA(const char *filename, DWORD format, const D3DXFRAME *frame_root, ID3DXAnimationController *animation_controller, ID3DXSaveUserData *user_data_saver)
struct _D3DXKEY_QUATERNION * LPD3DXKEY_QUATERNION
enum _D3DXTRANSITION_TYPE D3DXTRANSITION_TYPE
DWORD * LPD3DXEVENTHANDLE
Definition: d3dx9anim.h:157
struct _D3DXMESHDATA D3DXMESHDATA
struct _D3DXFRAME * LPD3DXFRAME
struct _D3DXMESHCONTAINER D3DXMESHCONTAINER
enum _D3DXPRIORITY_TYPE D3DXPRIORITY_TYPE
struct _D3DXMESHCONTAINER * LPD3DXMESHCONTAINER
HRESULT WINAPI D3DXFrameAppendChild(D3DXFRAME *parent, const D3DXFRAME *child)
struct _D3DXTRACK_DESC * LPD3DXTRACK_DESC
struct _D3DXKEY_VECTOR3 D3DXKEY_VECTOR3
_D3DXMESHDATATYPE
Definition: d3dx9anim.h:28
@ D3DXMESHTYPE_FORCE_DWORD
Definition: d3dx9anim.h:32
@ D3DXMESHTYPE_PATCHMESH
Definition: d3dx9anim.h:31
@ D3DXMESHTYPE_PMESH
Definition: d3dx9anim.h:30
@ D3DXMESHTYPE_MESH
Definition: d3dx9anim.h:29
enum _D3DXPLAYBACK_TYPE D3DXPLAYBACK_TYPE
interface ID3DXCompressedAnimationSet * LPD3DXCOMPRESSEDANIMATIONSET
Definition: d3dx9anim.h:164
D3DXFRAME *WINAPI D3DXFrameFind(const D3DXFRAME *root, const char *name)
Definition: mesh.c:7642
_D3DXPLAYBACK_TYPE
Definition: d3dx9anim.h:43
@ D3DXPLAY_ONCE
Definition: d3dx9anim.h:45
@ D3DXPLAY_LOOP
Definition: d3dx9anim.h:44
@ D3DXPLAY_FORCE_DWORD
Definition: d3dx9anim.h:47
@ D3DXPLAY_PINGPONG
Definition: d3dx9anim.h:46
HRESULT WINAPI D3DXFrameRegisterNamedMatrices(D3DXFRAME *frame_root, ID3DXAnimationController *animation_controller)
struct _D3DXKEY_CALLBACK * LPD3DXKEY_CALLBACK
HRESULT WINAPI D3DXLoadMeshHierarchyFromXW(const WCHAR *filename, DWORD flags, struct IDirect3DDevice9 *device, struct ID3DXAllocateHierarchy *alloc, struct ID3DXLoadUserData *user_data_loader, D3DXFRAME **frame_hierarchy, struct ID3DXAnimationController **animation_controller)
Definition: mesh.c:3717
struct _D3DXEVENT_DESC D3DXEVENT_DESC
interface ID3DXSaveUserData * LPD3DXSAVEUSERDATA
Definition: d3dx9anim.h:161
_D3DXTRANSITION_TYPE
Definition: d3dx9anim.h:74
@ D3DXTRANSITION_LINEAR
Definition: d3dx9anim.h:75
@ D3DXTRANSITION_FORCE_DWORD
Definition: d3dx9anim.h:77
@ D3DXTRANSITION_EASEINEASEOUT
Definition: d3dx9anim.h:76
HRESULT WINAPI D3DXFrameCalculateBoundingSphere(const D3DXFRAME *frame_root, D3DXVECTOR3 *center, FLOAT *radius)
enum _D3DXCOMPRESSION_FLAGS D3DXCOMPRESSION_FLAGS
HRESULT WINAPI D3DXLoadMeshHierarchyFromXInMemory(const void *data, DWORD data_size, DWORD flags, struct IDirect3DDevice9 *device, struct ID3DXAllocateHierarchy *alloc, struct ID3DXLoadUserData *user_data_loader, D3DXFRAME **frame_hierarchy, struct ID3DXAnimationController **animation_controller)
Definition: mesh.c:3896
struct _D3DXFRAME D3DXFRAME
struct _D3DXKEY_VECTOR3 * LPD3DXKEY_VECTOR3
struct _D3DXKEY_QUATERNION D3DXKEY_QUATERNION
_D3DXPRIORITY_TYPE
Definition: d3dx9anim.h:57
@ D3DXPRIORITY_FORCE_DWORD
Definition: d3dx9anim.h:60
@ D3DXPRIORITY_HIGH
Definition: d3dx9anim.h:59
@ D3DXPRIORITY_LOW
Definition: d3dx9anim.h:58
interface ID3DXAnimationCallbackHandler * LPD3DXANIMATIONCALLBACKHANDLER
Definition: d3dx9anim.h:165
static HRESULT GetName(LPSHELLFOLDER lpsf, LPITEMIDLIST pidl, DWORD dwFlags, LPWSTR lpstrFileName)
Definition: filedlg.c:4527
r parent
Definition: btrfs.c:3010
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
struct _cl_event * event
Definition: glext.h:7739
GLenum GLenum GLenum GLenum GLenum scale
Definition: glext.h:9032
GLuint GLenum matrix
Definition: glext.h:9407
GLbitfield flags
Definition: glext.h:7161
GLboolean enable
Definition: glext.h:11120
REFIID riid
Definition: atlbase.h:39
const char * filename
Definition: ioapi.h:137
#define GetTime(fmt)
Definition: lcformat.c:111
static const WCHAR desc[]
Definition: protectdata.c:36
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
static HWND child
Definition: cursoricon.c:298
static const h_entry hierarchy[]
Definition: dialog.c:66
static int priority
Definition: timer.c:163
static LRESULT Compress(CodecInfo *pi, ICCOMPRESS *lpic, DWORD dwSize)
Definition: msrle32.c:1418
unsigned int UINT
Definition: ndis.h:50
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:68
#define REFIID
Definition: guiddef.h:118
static FILE * out
Definition: regtests2xml.c:44
#define alloc
Definition: rosglue.h:13
weight
Definition: sortkey.c:157
D3DXTRANSITION_TYPE Transition
Definition: d3dx9anim.h:147
D3DXEVENT_TYPE Type
Definition: d3dx9anim.h:143
DOUBLE Position
Definition: d3dx9anim.h:152
union _D3DXEVENT_DESC::@2277 DUMMYUNIONNAME
DOUBLE StartTime
Definition: d3dx9anim.h:145
DOUBLE Duration
Definition: d3dx9anim.h:146
struct _D3DXFRAME * pFrameFirstChild
Definition: d3dx9anim.h:111
char * Name
Definition: d3dx9anim.h:107
D3DXMATRIX TransformationMatrix
Definition: d3dx9anim.h:108
LPD3DXMESHCONTAINER pMeshContainer
Definition: d3dx9anim.h:109
struct _D3DXFRAME * pFrameSibling
Definition: d3dx9anim.h:110
void * pCallbackData
Definition: d3dx9anim.h:129
D3DXQUATERNION Value
Definition: d3dx9anim.h:123
D3DXVECTOR3 Value
Definition: d3dx9anim.h:117
LPD3DXEFFECTINSTANCE pEffects
Definition: d3dx9anim.h:98
D3DXMESHDATA MeshData
Definition: d3dx9anim.h:96
LPD3DXMATERIAL pMaterials
Definition: d3dx9anim.h:97
struct _D3DXMESHCONTAINER * pNextMeshContainer
Definition: d3dx9anim.h:102
DWORD * pAdjacency
Definition: d3dx9anim.h:100
ID3DXSkinInfo * pSkinInfo
Definition: d3dx9anim.h:101
ID3DXPMesh * pPMesh
Definition: d3dx9anim.h:88
ID3DXMesh * pMesh
Definition: d3dx9anim.h:87
D3DXMESHDATATYPE Type
Definition: d3dx9anim.h:83
union _D3DXMESHDATA::@2276 DUMMYUNIONNAME
ID3DXPatchMesh * pPatchMesh
Definition: d3dx9anim.h:89
D3DXPRIORITY_TYPE Priority
Definition: d3dx9anim.h:134
DOUBLE Position
Definition: d3dx9anim.h:137
Definition: devices.h:37
Definition: fci.c:127
Definition: copy.c:22
Definition: name.c:39
float FLOAT
Definition: typedefs.h:69
uint32_t ULONG
Definition: typedefs.h:59
double DOUBLE
Definition: typedefs.h:70
#define WINAPI
Definition: msvc.h:6
__wchar_t WCHAR
Definition: xmlstorage.h:180