Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e577a2a3
Commit
e577a2a3
authored
Oct 03, 2005
by
Robert Reif
Committed by
Alexandre Julliard
Oct 03, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes so d3d9.h and dsound.h can be included at the same time.
parent
025a1a54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
d3d9types.h
include/d3d9types.h
+15
-0
dsound.h
include/dsound.h
+6
-1
No files found.
include/d3d9types.h
View file @
e577a2a3
...
@@ -1225,7 +1225,10 @@ typedef enum _D3DSAMPLERSTATETYPE {
...
@@ -1225,7 +1225,10 @@ typedef enum _D3DSAMPLERSTATETYPE {
/*****************************************************************************
/*****************************************************************************
* Direct 3D v9 typedefs
* Direct 3D v9 typedefs
*/
*/
#ifndef D3DCOLOR_DEFINED
typedef
DWORD
D3DCOLOR
;
typedef
DWORD
D3DCOLOR
;
#define D3DCOLOR_DEFINED
#endif
/*****************************************************************************
/*****************************************************************************
* Direct 3D v9 structures
* Direct 3D v9 structures
...
@@ -1260,12 +1263,15 @@ typedef struct _D3DCLIPSTATUS9 {
...
@@ -1260,12 +1263,15 @@ typedef struct _D3DCLIPSTATUS9 {
DWORD
ClipIntersection
;
DWORD
ClipIntersection
;
}
D3DCLIPSTATUS9
;
}
D3DCLIPSTATUS9
;
#ifndef D3DCOLORVALUE_DEFINED
typedef
struct
_D3DCOLORVALUE
{
typedef
struct
_D3DCOLORVALUE
{
float
r
;
float
r
;
float
g
;
float
g
;
float
b
;
float
b
;
float
a
;
float
a
;
}
D3DCOLORVALUE
;
}
D3DCOLORVALUE
;
#define D3DCOLORVALUE_DEFINED
#endif
typedef
struct
_D3DDEVICE_CREATION_PARAMETERS
{
typedef
struct
_D3DDEVICE_CREATION_PARAMETERS
{
UINT
AdapterOrdinal
;
UINT
AdapterOrdinal
;
...
@@ -1364,11 +1370,14 @@ typedef struct _D3DINDEXBUFFER_DESC {
...
@@ -1364,11 +1370,14 @@ typedef struct _D3DINDEXBUFFER_DESC {
UINT
Size
;
UINT
Size
;
}
D3DINDEXBUFFER_DESC
;
}
D3DINDEXBUFFER_DESC
;
#ifndef D3DVECTOR_DEFINED
typedef
struct
_D3DVECTOR
{
typedef
struct
_D3DVECTOR
{
float
x
;
float
x
;
float
y
;
float
y
;
float
z
;
float
z
;
}
D3DVECTOR
;
}
D3DVECTOR
;
#define D3DVECTOR_DEFINED
#endif
typedef
struct
_D3DLIGHT9
{
typedef
struct
_D3DLIGHT9
{
D3DLIGHTTYPE
Type
;
D3DLIGHTTYPE
Type
;
...
@@ -1410,6 +1419,7 @@ typedef struct _D3DMATERIAL9 {
...
@@ -1410,6 +1419,7 @@ typedef struct _D3DMATERIAL9 {
float
Power
;
float
Power
;
}
D3DMATERIAL9
;
}
D3DMATERIAL9
;
#ifndef D3DMATRIX_DEFINED
typedef
struct
_D3DMATRIX
{
typedef
struct
_D3DMATRIX
{
union
{
union
{
struct
{
struct
{
...
@@ -1421,6 +1431,8 @@ typedef struct _D3DMATRIX {
...
@@ -1421,6 +1431,8 @@ typedef struct _D3DMATRIX {
float
m
[
4
][
4
];
float
m
[
4
][
4
];
}
DUMMYUNIONNAME
;
}
DUMMYUNIONNAME
;
}
D3DMATRIX
;
}
D3DMATRIX
;
#define D3DMATRIX_DEFINED
#endif
typedef
struct
_D3DPRESENT_PARAMETERS_
{
typedef
struct
_D3DPRESENT_PARAMETERS_
{
UINT
BackBufferWidth
;
UINT
BackBufferWidth
;
...
@@ -1453,12 +1465,15 @@ typedef struct _D3DRASTER_STATUS {
...
@@ -1453,12 +1465,15 @@ typedef struct _D3DRASTER_STATUS {
UINT
ScanLine
;
UINT
ScanLine
;
}
D3DRASTER_STATUS
;
}
D3DRASTER_STATUS
;
#ifndef D3DRECT_DEFINED
typedef
struct
_D3DRECT
{
typedef
struct
_D3DRECT
{
LONG
x1
;
LONG
x1
;
LONG
y1
;
LONG
y1
;
LONG
x2
;
LONG
x2
;
LONG
y2
;
LONG
y2
;
}
D3DRECT
;
}
D3DRECT
;
#define D3DRECT_DEFINED
#endif
typedef
struct
_D3DRECTPATCH_INFO
{
typedef
struct
_D3DRECTPATCH_INFO
{
UINT
StartVertexOffsetWidth
;
UINT
StartVertexOffsetWidth
;
...
...
include/dsound.h
View file @
e577a2a3
...
@@ -45,10 +45,15 @@ typedef struct _D3DVECTOR {
...
@@ -45,10 +45,15 @@ typedef struct _D3DVECTOR {
float
x
;
float
x
;
float
y
;
float
y
;
float
z
;
float
z
;
}
D3DVECTOR
,
*
LPD3DVECTOR
;
}
D3DVECTOR
;
#define D3DVECTOR_DEFINED
#define D3DVECTOR_DEFINED
#endif
#endif
#ifndef LPD3DVECTOR_DEFINED
typedef
D3DVECTOR
*
LPD3DVECTOR
;
#define LPD3DVECTOR_DEFINED
#endif
#define DX_SHARED_DEFINES
#define DX_SHARED_DEFINES
#endif
/* DX_SHARED_DEFINES */
#endif
/* DX_SHARED_DEFINES */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment