Commit Graph

274 Commits

Author SHA1 Message Date
Henri Verbeet
0656177911 d3drm: Get rid of Direct3DRM_create(). 2013-04-15 15:16:26 +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
Michael Stefaniuc
9affa153fd d3drm: Let C look like C. 2013-02-07 12:03:58 +01:00
Henri Verbeet
740c44f5ff d3drm: Avoid LPD3DRMMATERIALOVERRIDE. 2013-01-28 14:05:26 +01:00
Henri Verbeet
33f0e190f2 d3drm: Avoid LPD3DRMIMAGE. 2013-01-28 14:05:23 +01:00
Henri Verbeet
1557d2e4ff d3drm: Avoid LPD3DRMBOX. 2013-01-25 11:18:02 +01:00
Henri Verbeet
5114cbd23c d3drm: Avoid LPD3DRMRAY. 2013-01-24 14:32:55 +01: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
Henri Verbeet
e650f49f0e d3drm: Avoid LPD3DVALUE. 2013-01-23 12:48:20 +01:00
Henri Verbeet
bb163ef0b9 d3drm: Avoid LPDDPIXELFORMAT. 2013-01-22 12:13:35 +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
f0dd310018 d3drm: Fix return error code. 2012-12-17 20:31:24 +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
6595cdd41f d3drm: Load object only if it is top level and requested or if it is part of another object. 2012-12-12 20:18:13 +01:00
Henri Verbeet
4904156946 d3drm: Avoid LPDIRECT3DDEVICE. 2012-11-21 13:25:50 +01:00
Henri Verbeet
55ee76431c d3drm: Avoid LPDIRECT3DDEVICE2. 2012-11-21 13:25:45 +01:00
Henri Verbeet
0ac2b823b5 d3drm: Avoid LPDIRECT3DVIEWPORT. 2012-11-21 13:25:38 +01:00
Henri Verbeet
0a7e2accc4 d3drm: Avoid LPDIRECTDRAWCLIPPER. 2012-11-20 11:44:16 +01:00
Henri Verbeet
34dd6ff2e4 d3drm: Avoid LPDIRECTDRAWSURFACE. 2012-11-20 11:44:11 +01:00
Christian Costa
1b2aacc97b d3drm: Implement texture SetAppData and GetAppData. 2012-11-13 18:10:21 +01:00
Frédéric Delanoy
1ae9acb0df d3drm: Fix a leak (coverity). 2012-11-08 15:37:53 +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
2a42410e7c d3drm: Fix memcpy arguments for matrix transformations (coverity). 2012-10-19 11:16:16 +02:00
André Hentschel
c10d95b64a d3drm: Add SceneBackground handling. 2012-08-13 17:01:43 +02:00
Michael Stefaniuc
9e183990f2 d3drm: Make IDirect3DRMx_CreateFrame() more forgiving about the parent frame. 2012-07-02 10:54:49 +02:00
Michael Stefaniuc
4754a3d605 d3drm: Get rid of unsafe_impl_from_IDirect3DRMFrame2(). 2012-06-27 11:36:41 +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
d71bf7fdb7 d3drm: Implement IDirect3DRMX_CreateTexture. 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