Commit Graph

158 Commits

Author SHA1 Message Date
Henri Verbeet 24acd7c82a d3drm: Avoid LPDIRECT3DRMVIEWPORT. 2013-04-19 10:43:45 +02:00
Henri Verbeet 4e1bac56b5 d3drm: Avoid LPDIRECT3DRMDEVICE. 2013-04-17 11:36:28 +02:00
Henri Verbeet 9eae7aed1b d3drm: Avoid LPDIRECT3DRMOBJECT. 2013-04-17 11:36:25 +02:00
Henri Verbeet 1ce059d692 d3drm/tests: Avoid LPDIRECT3DRM3. 2013-04-16 12:14:08 +02:00
Henri Verbeet 5e3b4c8751 d3drm: Avoid LPDIRECT3DRM. 2013-04-16 12:14:06 +02:00
Henri Verbeet e84e2e8c9a d3drm: Avoid LPD3DRMQUATERNION. 2013-01-24 14:32:51 +01:00
Henri Verbeet f90bdedd90 d3drm: Avoid LPD3DVECTOR. 2013-01-23 12:48:28 +01:00
Christian Costa 871aa9d14d d3drm: Check params in IDirect3DRMMeshBuilder2Impl_GetVertices + tests. 2012-12-17 20:31:23 +01:00
Christian Costa 7a5b12c8ef d3drm: Handle all materials in material list and create corresponding mesh groups + tests. 2012-12-13 20:18:05 +01:00
Henri Verbeet 0a7e2accc4 d3drm: Avoid LPDIRECTDRAWCLIPPER. 2012-11-20 11:44:16 +01:00
Christian Costa 2978dbea0b d3drm: When creating a mesh, if all faces have the same number of vertex, set vertex_per_face and don't put nb indices in face data. 2012-10-25 16:51:59 +02:00
Christian Costa cb131bf030 d3drm: Fix normals computation and add according tests. 2012-10-22 12:06:21 +02:00
André Hentschel c10d95b64a d3drm: Add SceneBackground handling. 2012-08-13 17:01:43 +02:00
André Hentschel 6f3c571a05 d3drm/tests: Destroy window after use. 2012-06-19 11:10:23 +02:00
André Hentschel 4dc0ee57f6 d3drm: Implement IDirect3DRMViewportX_GetClassName. 2012-06-18 11:59:40 +02:00
André Hentschel d9ec2b6dfd d3drm: Implement IDirect3DRMWinDevice_GetClassName. 2012-06-18 11:59:40 +02:00
André Hentschel 069e93f715 d3drm: Implement IDirect3DRMDeviceX_GetClassName. 2012-06-18 11:59:40 +02:00
André Hentschel e5de199289 d3drm: Implement IDirect3DRMTextureX_GetClassName. 2012-06-18 11:59:40 +02:00
André Hentschel b2de41308e d3drm: Fix initial specular value of the Material2 interface. 2012-06-18 11:59:40 +02:00
André Hentschel 029318107b d3drm: Implement IDirect3DRMMaterial2_GetClassName. 2012-06-18 11:59:40 +02:00
André Hentschel 00773feafd d3drm: Implement IDirect3DRMMesh_GetClassName. 2012-06-18 11:59:40 +02:00
André Hentschel afe616b588 d3drm: Implement IDirect3DRMMeshBuilderX_GetClassName. 2012-06-15 10:31:53 +02:00
André Hentschel 546a3dcffc d3drm: Implement IDirect3DRMLight_GetClassName. 2012-06-15 10:31:49 +02:00
André Hentschel 9014211796 d3drm: Implement IDirect3DRMFrameX_GetClassName. 2012-06-15 10:31:33 +02:00
André Hentschel 0a0fe20988 d3drm/tests: Add GetClassName tests. 2012-06-13 21:35:42 +02:00
Michael Stefaniuc 8e4d76bf2c d3drm/tests: Remove stray backslashes at end of lines. 2012-06-07 10:33:10 +02:00
Christian Costa 23db9d8bed d3drm: Pass mesh builder color to newly created mesh. 2012-06-05 19:58:12 +02:00
Christian Costa ab8619e920 d3drm: Implement IDirect3DRMMesh_GetGroupColor. 2012-06-05 19:58:11 +02:00
Francois Gouget 1f6d078e1b Assorted spelling fixes. 2012-06-04 12:17:54 +02:00
Christian Costa 38ba9bacd0 d3drm: Implement IDirect3DRMMeshImpl_SetGroupMaterial and forward material from mesh builder to created mesh. 2012-06-01 13:24:20 +02:00
Christian Costa 8d9d97be0f d3drm: Generate normals automatically when there are not present in the x file. 2012-05-30 17:17:56 +02:00
Christian Costa 3fbe4914bd d3drm: Implement IDirect3DRMMeshImpl_GetGroupMaterial. 2012-05-30 17:17:55 +02:00
Christian Costa b340501a93 d3drm: Implement IDirect3DRMMesh_GetGroupTexture. 2012-05-30 17:17:55 +02:00
Christian Costa 6e15d91927 d3drm: Implement IDirect3DRMFrameXImpl_GetLights and IDirect3DRMLightArray interface. 2012-05-30 17:17:53 +02:00
André Hentschel d2a52d1e17 d3drm: Implement IDirect3DRMLight_[Get|Set]Color and IDirect3DRMLight_SetColorRGB. 2012-05-29 10:55:34 +02:00
André Hentschel 8fa6a0b4fd d3drm: Implement IDirect3DRMLight_[Get|Set]Type. 2012-05-29 10:55:19 +02:00
Christian Costa 2d09fb800b d3drm: Add some tests for mesh default material and texture. 2012-05-24 20:08:44 +02:00
Christian Costa 8f86a0bbdd d3drm: Material object is taken into account when a mesh references it. 2012-05-23 17:49:59 +02:00
Christian Costa f0d3f207ab d3drm: Implement IDirect3DRMMesh_GetGroup. 2012-05-22 18:06:04 +02:00
Christian Costa 5a979deeb3 d3drm: Implement IDirect3DRMMesh_GetGroupCount. 2012-05-21 20:21:56 +02:00
Christian Costa e07f824241 d3drm: Implement IDirect3DRMMeshBuilderX_Scale method. 2012-05-21 20:21:32 +02:00
Christian Costa 37c427f54a d3drm: Implement IDirect3DRMFrame2Impl_GetVisuals and IDirect3DRMVisualArray interface. 2012-05-16 20:27:25 +02:00
Christian Costa c436887483 d3drm: Retrieve mesh name at loading time. Implement GetName and SetName. 2012-05-15 17:02:04 +02:00
Christian Costa 3e24242618 d3drm/tests: Fix error message. 2012-05-10 08:31:13 +02:00
Christian Costa 43c4c4b1c5 d3drm: Implement IDirect3DRMFrameX_GetTransform. 2012-05-09 11:55:42 +02:00
Christian Costa df36fca97f d3drm: Implement IDirect3DRMFrameX_GetChildren method and IDirect3DRMFrameArray interface. 2012-05-07 17:11:27 +02:00
Christian Costa 722efadc8d d3drm: Implement IDirect3DRMFrameX_GetParent and update tests. 2012-05-07 17:09:35 +02:00
André Hentschel 9c19ba63a8 d3drm/tests: Add tests for handling lights. 2012-05-02 20:21:04 +02:00
André Hentschel 782c543abb d3drm/tests: Add tests for handling Visuals. 2012-05-01 14:45:15 +02:00
Francois Gouget 118ea982f1 d3drm/tests: Make object_load_callback() static. 2012-04-20 12:00:06 +02:00
Christian Costa 4001e60e34 d3drm: Implement IDirect3DRMFrameX_DeleteChild. 2012-04-17 20:09:05 +02:00
Christian Costa 470468c72e d3drm: Implement IDirect3DRMFrameX_AddChild. 2012-04-17 20:08:25 +02:00
Christian Costa 4d53115cb9 d3drm: Add support for frame with fake data in IDirect3DRMX:Load methods + tests. 2012-04-02 18:33:43 +02:00
Christian Costa 756f29641b d3drm: Partial implementation of IDirec3DRM:Load method + tests. 2012-03-29 20:49:34 +02:00
Francois Gouget d2244057a6 d3drm/tests: Fix compilation on systems that don't support nameless unions. 2012-03-26 12:41:26 +02:00
Christian Costa 7a320e5ca4 d3drm: Implement SetTextureCoordinates. 2012-03-16 15:37:29 +01:00
Christian Costa b89c32b2a1 d3drm: If there is no texture coordinates in loaded mesh, generate default texture coordinates for each vertex. 2012-03-16 15:37:19 +01:00
Christian Costa 7294b417e3 d3drm: Complete Load method by adding normals indices and terminating null DWORD to faces data + tests. 2012-03-14 17:53:59 +01:00
André Hentschel 748bb3e2e7 d3drm/tests: Add GetParent NULL pointer test. 2012-03-13 10:54:03 +01:00
André Hentschel f5dfa21115 d3drm/tests: Add tests for IDirect3DRMFrameArray_GetElement. 2012-03-13 10:54:03 +01:00
André Hentschel 8eae13fd4c d3drm/tests: Add more tests. 2012-01-23 16:06:53 +01:00
André Hentschel 33c7a865cb d3drm: Implement GetVertices for IDirect3DRMMeshBuilder3. 2012-01-13 18:17:31 +01:00
André Hentschel 1b3c8aaf06 d3drm/tests: Add refcount testing. 2012-01-13 18:17:30 +01:00
André Hentschel 3931338eca d3drm: Move Load implementation to IDirect3DRMMeshBuilder3. 2012-01-13 18:17:27 +01:00
André Hentschel d16806e3fb d3drm: Add more Frame tests. 2012-01-13 18:17:27 +01:00
André Hentschel 455edb1870 d3drm: Add more MeshBuilder tests. 2012-01-13 18:17:26 +01:00
Francois Gouget 9fbd18cc34 d3drm/tests: Remove an unneeded assert.h include. 2011-09-27 10:59:02 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Christian Costa a4b622d81a d3drm: Beginning of Mesh info retrieval. 2010-02-08 17:14:44 +01:00
Christian Costa edd9e8cc5b d3drm: Improve IDirect3DRMMeshBuilderImpl_Load and corresponding test. 2010-02-04 13:39:28 +01:00
Christian Costa 3d361e6412 d3drm/tests: Use better name for test function and make it static (spotted by Stefan Dosinger). 2010-02-03 11:07:34 +01:00
Christian Costa 4296852b88 d3drm: Implement partially IDirect3DRMMeshBuilderImpl_Load. 2010-02-01 12:49:29 +01:00
Christian Costa aaf2ef418e d3drm: Add some tests. 2010-02-01 12:49:14 +01:00
David Adam 7822494499 d3drm: The input quaternions are not changed when calling D3DRMQuaternionSlerp. 2010-01-11 11:29:59 -06:00
Francois Gouget 1fab15a72f d3drm/tests: Fix compilation on systems that don't support nameless unions. 2009-08-31 12:41:22 +02:00
David Adam 32064cb553 d3drm: D3DRMQuaternionSlerp should be tested against returned Windows values. 2009-02-17 12:46:50 +01:00
David Adam f877cb9a89 d3drm: Allow output pointer to be equal to input pointer. 2009-02-16 15:35:15 +01:00
David Adam 44e74969e3 d3drm: Implement the spherical interpolation part of D3DRMQuaternionSlerp. 2009-02-16 15:35:15 +01:00
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Francois Gouget 29ef0b90ee Assorted spelling, punctuation and case fixes. 2008-03-03 12:04:48 +01:00
Francois Gouget cacf37f0eb d3drm/tests: Fix the Visual C++ double to float conversion warnings. 2007-05-31 14:18:39 +02:00
David Adam 7eaf1fe2f5 d3drm: Implement D3DRMCreateColorRGB. 2007-05-21 15:58:51 +02:00
David Adam 21b7413dee d3drm: Implement D3DRMCreateColorRGBA. 2007-05-21 15:58:35 +02:00
David Adam d3e8c930e3 d3drm: Implement D3DRMColorGetAlpha. 2007-05-21 15:57:09 +02:00
David Adam d400728521 d3drm: Implement D3DRMColorGetBlue. 2007-05-21 15:56:53 +02:00
David Adam fba5b11bea d3drm: Implement D3DRMColorGetGreen. 2007-05-21 15:56:32 +02:00
David Adam e1d3e65381 d3drm: Implement D3DRMColorGetRed. 2007-05-21 15:56:14 +02:00
Paul Vriens 59eb871459 d3drm/tests: d3drm is removed from Windows Vista. 2007-05-11 14:02:27 +02:00
Francois Gouget 0e1a34d2a2 d3drm: Fix compilation on systems that don't support nameless unions. 2007-04-30 12:34:54 +02:00
Francois Gouget 75e5fb933a d3drm/tests: Add missing '\n' to ok() calls. 2007-04-30 12:34:44 +02:00
David Adam d53d7c9ea2 d3drm: Implement D3DRMQuaternionSlerp. 2007-04-23 20:45:47 +02:00
David Adam 909b502360 d3drm: Implement D3DRMQuaternionFromRotation. 2007-04-23 20:42:51 +02:00
David Adam f13c45f4dc d3drm: Implement D3DRMMatrixFromQuaternion. 2007-04-23 20:41:03 +02:00
David Adam 9fa78fd4d7 d3drm: Implement D3DRMVectorRotate. 2007-04-23 20:32:07 +02:00