Commit Graph

105 Commits

Author SHA1 Message Date
Henri Verbeet 13e3219c2f d3drm: Get rid of the Header typedef. 2013-10-04 12:45:26 +02:00
Henri Verbeet 16c48f9d84 d3drm: Avoid LPVOID. 2013-09-09 22:09:58 +02:00
Henri Verbeet a9f3bc43e5 d3drm: Avoid LPSTR. 2013-09-09 22:09:58 +02:00
Henri Verbeet 75deeb4589 d3drm: Avoid LPCSTR. 2013-09-06 12:00:26 +02:00
Henri Verbeet be6b54f52f d3drm: Avoid LPUNKNOWN. 2013-08-20 11:50:41 +02:00
Henri Verbeet d6ac5a4b88 d3drm: Avoid LPDIRECT3DRMFACEARRAY. 2013-06-04 10:14:45 +02:00
Henri Verbeet 735e69f94e d3drm: Avoid LPDIRECT3DRMMATERIAL2. 2013-05-29 12:12:33 +02:00
Henri Verbeet 19a519e90a d3drm: Avoid LPDIRECT3DRMMATERIAL. 2013-05-28 14:55:15 +02:00
Henri Verbeet 397cc3f42d d3drm: Avoid LPDIRECT3DRMTEXTURE3. 2013-05-28 14:55:12 +02:00
Henri Verbeet 769efb1f63 d3drm: Avoid LPDIRECT3DRMTEXTURE. 2013-05-27 19:29:04 +02:00
André Hentschel 60aaed781c d3drm: Implement IDirect3DRMMeshBuilder3_GetNormals. 2013-05-13 11:16:10 +02:00
André Hentschel edacd0772e d3drm: Implement IDirect3DRMMeshBuilder3_GetNormalCount. 2013-05-13 11:16:03 +02:00
André Hentschel 9dcdbfab49 d3drm: Add IDirect3DRMFace2 interface. 2013-05-09 20:37:39 +02:00
André Hentschel 9bce3a920b d3drm: Add IDirect3DRMFace interface. 2013-05-09 20:37:21 +02:00
Henri Verbeet 1013b54915 d3drm: Avoid LPDIRECT3DRMFACE2. 2013-04-25 13:40:00 +02:00
Henri Verbeet 589eea0ca0 d3drm: Avoid LPDIRECT3DRMFACE. 2013-04-25 13:39:58 +02:00
Henri Verbeet 68c4f61dc5 d3drm: Avoid LPDIRECT3DRMMESHBUILDER3. 2013-04-23 15:35:11 +02:00
Henri Verbeet ec1c18b65c d3drm: Avoid LPDIRECT3DRMMESHBUILDER. 2013-04-23 15:35:09 +02:00
Henri Verbeet cbf3ade4b9 d3drm: Avoid LPDIRECT3DRMMESH. 2013-04-22 15:26:19 +02:00
Henri Verbeet 65f9ddc2ca d3drm: Avoid LPDIRECT3DRMFRAME3. 2013-04-22 15:26:15 +02:00
Henri Verbeet c050cdb3d2 d3drm: Avoid LPDIRECT3DRMFRAME. 2013-04-19 10:43:48 +02:00
Henri Verbeet 0c228f5faf d3drm: Just use RGBA_MAKE.
D3DCOLOR_ARGB is a d3d8+ thing, ddraw has RGBA_MAKE.
2013-04-15 15:16:22 +02:00
Michael Stefaniuc 5ef8a8b2f2 d3drm: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-08 10:44:31 +01:00
Henri Verbeet f90bdedd90 d3drm: Avoid LPD3DVECTOR. 2013-01-23 12:48:28 +01:00
Christian Costa 1db9fb9036 d3drm: Avoid LP stuff and rename some variables. 2013-01-08 19:08:55 +01:00
Christian Costa 26640c8e7c d3drm: Avoid LP stuff and rename some variables. 2013-01-07 19:30:28 +01:00
Christian Costa 1adda4cfbc d3drm: Remove unused variable. 2013-01-04 12:14:14 +01:00
Andrew Talbot c39f7e7fdb d3drm: Avoid signed-unsigned integer comparisons. 2013-01-03 11:52:16 +01:00
Frédéric Delanoy 8ec82dfaae d3drm: Fix a leak (coverity). 2012-12-24 13:33:06 +01:00
Christian Costa 871aa9d14d d3drm: Check params in IDirect3DRMMeshBuilder2Impl_GetVertices + tests. 2012-12-17 20:31:23 +01:00
Christian Costa ec51c5f737 d3drm: Face data size is in number of DWORD. 2012-12-14 11:56:53 +01:00
Christian Costa 53e37121a4 d3drm: Handle texture load proc when loading mesh data. 2012-12-14 11:56:48 +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
Christian Costa de690b8dae d3drm: Move mesh builder data cleaning code into a separate function. 2012-10-31 18:13:05 +01:00
Christian Costa 43d3ba36a1 d3drm: Init vertices before creating group. 2012-10-31 18:09:19 +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
Christian Costa 466c244d18 d3drm: Enum all materials even if only the first one is handled. 2012-10-22 12:05:53 +02:00
Christian Costa 5e1d854ee5 d3drm: Fix child leak. 2012-10-22 12:05:48 +02:00
Christian Costa ff0e82502f d3drm: Fix wrong condition. 2012-10-22 12:05:44 +02:00
André Hentschel 00773feafd d3drm: Implement IDirect3DRMMesh_GetClassName. 2012-06-18 11:59:40 +02:00
André Hentschel ac5b932363 d3drm: Implement IDirect3DRMX_CreateMesh. 2012-06-18 11:59:40 +02:00
André Hentschel afe616b588 d3drm: Implement IDirect3DRMMeshBuilderX_GetClassName. 2012-06-15 10:31:53 +02:00
Christian Costa f1cd213931 d3drm: Implement IDirect3DRMMeshImpl_SetGroupColorRGB. 2012-06-11 11:25:18 +02:00
Christian Costa 85f4fda840 d3drm: Free all mesh resources when releasing mesh object. 2012-06-11 11:25:08 +02:00
Christian Costa a77fd778c2 d3drm: Free texture object when releasing mesh builder object. 2012-06-11 11:25:03 +02:00
Christian Costa 0023ddf117 d3drm: Handle texture associated with the material when loading a mesh. 2012-06-11 11:24:58 +02:00
Christian Costa 422d57e7d2 d3drm: Fix vertex index test and print a warning when it is out of range. 2012-06-11 11:24:40 +02:00
Christian Costa 6aa77edfb3 d3drm: Implement IDirect3DRMMeshBuilderX_SetMaterial. 2012-06-06 12:44:29 +02:00
Christian Costa 8080528fc4 d3drm: Pass texture of mesh builder to newly created mesh. 2012-06-06 12:41:26 +02:00