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
81de7e15
Commit
81de7e15
authored
Sep 27, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Avoid using CONST in the d3dx9 headers.
parent
e22d33e6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
+10
-9
d3dx9anim.h
include/d3dx9anim.h
+4
-3
d3dx9core.h
include/d3dx9core.h
+6
-6
d3dx9effect.h
include/d3dx9effect.h
+0
-0
d3dx9mesh.h
include/d3dx9mesh.h
+0
-0
No files found.
include/d3dx9anim.h
View file @
81de7e15
...
...
@@ -386,11 +386,12 @@ HRESULT WINAPI D3DXSaveMeshHierarchyToFileW(const WCHAR *filename, DWORD format,
ID3DXSaveUserData
*
user_data_saver
);
#define D3DXSaveMeshHierarchyToFile WINELIB_NAME_AW(D3DXSaveMeshHierarchyToFile)
HRESULT
WINAPI
D3DXFrameDestroy
(
D3DXFRAME
*
frame_root
,
ID3DXAllocateHierarchy
*
alloc
);
HRESULT
WINAPI
D3DXFrameAppendChild
(
LPD3DXFRAME
,
CONST
D3DXFRAME
*
);
HRESULT
WINAPI
D3DXFrameAppendChild
(
D3DXFRAME
*
parent
,
const
D3DXFRAME
*
child
);
D3DXFRAME
*
WINAPI
D3DXFrameFind
(
const
D3DXFRAME
*
root
,
const
char
*
name
);
HRESULT
WINAPI
D3DXFrameRegisterNamedMatrices
(
D3DXFRAME
*
frame_root
,
ID3DXAnimationController
*
animation_controller
);
UINT
WINAPI
D3DXFrameNumNamedMatrices
(
CONST
D3DXFRAME
*
frame_root
);
HRESULT
WINAPI
D3DXFrameCalculateBoundingSphere
(
CONST
D3DXFRAME
*
,
LPD3DXVECTOR3
,
FLOAT
*
);
UINT
WINAPI
D3DXFrameNumNamedMatrices
(
const
D3DXFRAME
*
frame_root
);
HRESULT
WINAPI
D3DXFrameCalculateBoundingSphere
(
const
D3DXFRAME
*
frame_root
,
D3DXVECTOR3
*
center
,
FLOAT
*
radius
);
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
);
...
...
include/d3dx9core.h
View file @
81de7e15
...
...
@@ -217,9 +217,9 @@ DECLARE_INTERFACE_(ID3DXLine, IUnknown)
STDMETHOD
(
GetDevice
)(
THIS_
struct
IDirect3DDevice9
**
device
)
PURE
;
STDMETHOD
(
Begin
)(
THIS
)
PURE
;
STDMETHOD
(
Draw
)(
THIS_
CONST
D3DXVECTOR2
*
vertexlist
,
DWORD
vertexlistcount
,
D3DCOLOR
color
)
PURE
;
STDMETHOD
(
DrawTransform
)(
THIS_
CONST
D3DXVECTOR3
*
vertexlist
,
DWORD
vertexlistcount
,
CONST
D3DXMATRIX
*
transform
,
D3DCOLOR
color
)
PURE
;
STDMETHOD
(
Draw
)(
THIS_
const
D3DXVECTOR2
*
vertexlist
,
DWORD
vertexlistcount
,
D3DCOLOR
color
)
PURE
;
STDMETHOD
(
DrawTransform
)(
THIS_
const
D3DXVECTOR3
*
vertexlist
,
DWORD
vertexlistcount
,
const
D3DXMATRIX
*
transform
,
D3DCOLOR
color
)
PURE
;
STDMETHOD
(
SetPattern
)(
THIS_
DWORD
pattern
)
PURE
;
STDMETHOD_
(
DWORD
,
GetPattern
)(
THIS
)
PURE
;
STDMETHOD
(
SetPatternScale
)(
THIS_
FLOAT
scale
)
PURE
;
...
...
@@ -418,9 +418,9 @@ DECLARE_INTERFACE_(ID3DXSprite, IUnknown)
STDMETHOD
(
GetDevice
)(
THIS_
struct
IDirect3DDevice9
**
device
)
PURE
;
STDMETHOD
(
GetTransform
)(
THIS_
D3DXMATRIX
*
transform
)
PURE
;
STDMETHOD
(
SetTransform
)(
THIS_
CONST
D3DXMATRIX
*
transform
)
PURE
;
STDMETHOD
(
SetWorldViewRH
)(
THIS_
CONST
D3DXMATRIX
*
world
,
CONST
D3DXMATRIX
*
view
)
PURE
;
STDMETHOD
(
SetWorldViewLH
)(
THIS_
CONST
D3DXMATRIX
*
world
,
CONST
D3DXMATRIX
*
view
)
PURE
;
STDMETHOD
(
SetTransform
)(
THIS_
const
D3DXMATRIX
*
transform
)
PURE
;
STDMETHOD
(
SetWorldViewRH
)(
THIS_
const
D3DXMATRIX
*
world
,
const
D3DXMATRIX
*
view
)
PURE
;
STDMETHOD
(
SetWorldViewLH
)(
THIS_
const
D3DXMATRIX
*
world
,
const
D3DXMATRIX
*
view
)
PURE
;
STDMETHOD
(
Begin
)(
THIS_
DWORD
flags
)
PURE
;
STDMETHOD
(
Draw
)(
THIS_
struct
IDirect3DTexture9
*
texture
,
const
RECT
*
rect
,
...
...
include/d3dx9effect.h
View file @
81de7e15
This diff is collapsed.
Click to expand it.
include/d3dx9mesh.h
View file @
81de7e15
This diff is collapsed.
Click to expand it.
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