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
3ac5064b
Commit
3ac5064b
authored
Jan 01, 2010
by
Christian Costa
Committed by
Alexandre Julliard
Jan 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Add some definitions.
parent
e4a936a2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
2 deletions
+69
-2
d3drm.h
include/d3drm.h
+0
-0
d3drmdef.h
include/d3drmdef.h
+51
-2
d3drmobj.h
include/d3drmobj.h
+18
-0
No files found.
include/d3drm.h
View file @
3ac5064b
This diff is collapsed.
Click to expand it.
include/d3drmdef.h
View file @
3ac5064b
...
...
@@ -28,12 +28,61 @@ extern "C" {
#endif
typedef
D3DVALUE
D3DRMMATRIX4D
[
4
][
4
];
typedef
struct
_D3DRMQUATERNION
{
typedef
struct
_D3DRMQUATERNION
{
D3DVALUE
s
;
D3DVECTOR
v
;
}
D3DRMQUATERNION
,
*
LPD3DRMQUATERNION
;
typedef
enum
_D3DRMLIGHTTYPE
{
D3DRMLIGHT_AMBIENT
,
D3DRMLIGHT_POINT
,
D3DRMLIGHT_SPOT
,
D3DRMLIGHT_DIRECTIONAL
,
D3DRMLIGHT_PARALLELPOINT
}
D3DRMLIGHTTYPE
,
*
LPD3DRMLIGHTTYPE
;
typedef
struct
_D3DRMPALETTEENTRY
{
unsigned
char
red
;
unsigned
char
green
;
unsigned
char
blue
;
unsigned
char
flags
;
}
D3DRMPALETTEENTRY
,
*
LPD3DRMPALETTEENTRY
;
typedef
struct
_D3DRMIMAGE
{
int
width
;
int
height
;
int
aspectx
;
int
aspecty
;
int
depth
;
int
rgb
;
int
bytes_per_line
;
void
*
buffer1
;
void
*
buffer2
;
unsigned
long
red_mask
;
unsigned
long
green_mask
;
unsigned
long
blue_mask
;
unsigned
long
alpha_mask
;
int
palette_size
;
D3DRMPALETTEENTRY
*
palette
;
}
D3DRMIMAGE
,
*
LPD3DRMIMAGE
;
typedef
enum
_D3DRMWRAPTYPE
{
D3DRMWRAP_FLAT
,
D3DRMWRAP_CYLINDER
,
D3DRMWRAP_SPHERE
,
D3DRMWRAP_CHROME
,
D3DRMWRAP_SHEET
,
D3DRMWRAP_BOX
}
D3DRMWRAPTYPE
,
*
LPD3DRMWRAPTYPE
;
typedef
DWORD
D3DRMLOADOPTIONS
;
typedef
enum
_D3DRMUSERVISUALREASON
{
D3DRMUSERVISUAL_CANSEE
,
D3DRMUSERVISUAL_RENDER
}
D3DRMUSERVISUALREASON
,
*
LPD3DRMUSERVISUALREASON
;
void
WINAPI
D3DRMMatrixFromQuaternion
(
D3DRMMATRIX4D
,
LPD3DRMQUATERNION
);
LPD3DRMQUATERNION
WINAPI
D3DRMQuaternionFromRotation
(
LPD3DRMQUATERNION
,
LPD3DVECTOR
,
D3DVALUE
);
...
...
include/d3drmobj.h
View file @
3ac5064b
...
...
@@ -36,13 +36,31 @@ DEFINE_GUID(IID_IDirect3DRMObject, 0xeb16cb00, 0xd271, 0x11ce, 0xac, 0x
DEFINE_GUID
(
IID_IDirect3DRMVisual
,
0xeb16cb04
,
0xd271
,
0x11ce
,
0xac
,
0x48
,
0x00
,
0x00
,
0xc0
,
0x38
,
0x25
,
0xa1
);
typedef
struct
IDirect3DRMObject
*
LPDIRECT3DRMOBJECT
,
**
LPLPDIRECT3DRMOBJECT
;
typedef
struct
IDirect3DRMDevice
*
LPDIRECT3DRMDEVICE
,
**
LPLPDIRECT3DRMDEVICE
;
typedef
struct
IDirect3DRMViewport
*
LPDIRECT3DRMVIEWPORT
,
**
LPLPDIRECT3DRMVIEWPORT
;
typedef
struct
IDirect3DRMFrame
*
LPDIRECT3DRMFRAME
,
**
LPLPDIRECT3DRMFRAME
;
typedef
struct
IDirect3DRMVisual
*
LPDIRECT3DRMVISUAL
,
**
LPLPDIRECT3DRMVISUAL
;
typedef
struct
IDirect3DRMMesh
*
LPDIRECT3DRMMESH
,
**
LPLPDIRECT3DRMMESH
;
typedef
struct
IDirect3DRMMeshBuilder
*
LPDIRECT3DRMMESHBUILDER
,
**
LPLPDIRECT3DRMMESHBUILDER
;
typedef
struct
IDirect3DRMFace
*
LPDIRECT3DRMFACE
,
**
LPLPDIRECT3DRMFACE
;
typedef
struct
IDirect3DRMLight
*
LPDIRECT3DRMLIGHT
,
**
LPLPDIRECT3DRMLIGHT
;
typedef
struct
IDirect3DRMTexture
*
LPDIRECT3DRMTEXTURE
,
**
LPLPDIRECT3DRMTEXTURE
;
typedef
struct
IDirect3DRMWrap
*
LPDIRECT3DRMWRAP
,
**
LPLPDIRECT3DRMWRAP
;
typedef
struct
IDirect3DRMMaterial
*
LPDIRECT3DRMMATERIAL
,
**
LPLPDIRECT3DRMMATERIAL
;
typedef
struct
IDirect3DRMAnimation
*
LPDIRECT3DRMANIMATION
,
**
LPLPDIRECT3DRMANIMATION
;
typedef
struct
IDirect3DRMAnimationSet
*
LPDIRECT3DRMANIMATIONSET
,
**
LPLPDIRECT3DRMANIMATIONSET
;
typedef
struct
IDirect3DRMUserVisual
*
LPDIRECT3DRMUSERVISUAL
,
**
LPLPDIRECT3DRMUSERVISUAL
;
typedef
struct
IDirect3DRMDeviceArray
*
LPDIRECT3DRMDEVICEARRAY
,
**
LPLPDIRECT3DRMDEVICEARRAY
;
/* ********************************************************************
Types and structures
******************************************************************** */
typedef
void
(
__cdecl
*
D3DRMOBJECTCALLBACK
)(
LPDIRECT3DRMOBJECT
obj
,
LPVOID
arg
);
typedef
int
(
__cdecl
*
D3DRMUSERVISUALCALLBACK
)(
LPDIRECT3DRMUSERVISUAL
obj
,
LPVOID
arg
,
D3DRMUSERVISUALREASON
reason
,
LPDIRECT3DRMDEVICE
dev
,
LPDIRECT3DRMVIEWPORT
view
);
typedef
HRESULT
(
__cdecl
*
D3DRMLOADTEXTURECALLBACK
)(
char
*
tex_name
,
void
*
arg
,
LPDIRECT3DRMTEXTURE
*
);
typedef
void
(
__cdecl
*
D3DRMLOADCALLBACK
)(
LPDIRECT3DRMOBJECT
object
,
REFIID
objectguid
,
LPVOID
arg
);
typedef
struct
_D3DRMPICKDESC
{
...
...
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