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
4021f5cc
Commit
4021f5cc
authored
Nov 22, 1998
by
Robert Riggs
Committed by
Alexandre Julliard
Nov 22, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include ddraw.h, questionable fix for questionable struct/union
construct in MS's D3DVECTOR definition.
parent
88bd9809
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
d3d.h
include/d3d.h
+10
-0
No files found.
include/d3d.h
View file @
4021f5cc
#ifndef _WINE_D3D_H
#define _WINE_D3D_H
#include "ddraw.h"
typedef
LPVOID
LPDIRECT3DMATERIAL
,
LPDIRECT3DVIEWPORT
;
typedef
LPVOID
LPDIRECT3DMATERIAL2
,
LPDIRECT3DVIEWPORT2
;
typedef
LPVOID
LPDIRECT3DDEVICE2
;
...
...
@@ -277,6 +279,8 @@ typedef float D3DVALUE,*LPD3DVALUE;
#define D3DDivide(a, b) (float)((double) (a) / (double) (b))
#define D3DMultiply(a, b) ((a) * (b))
#if 0
// This causes lots o' problems
typedef struct {
union {
D3DVALUE x;
...
...
@@ -292,7 +296,13 @@ typedef struct {
} z;
/* the c++ variant has operator overloads etc. too */
} D3DVECTOR,*LPD3DVECTOR;
#endif
typedef
struct
_D3DVECTOR
{
D3DVALUE
x
;
D3DVALUE
y
;
D3DVALUE
z
;
}
D3DVECTOR
,
*
LPD3DVECTOR
;
typedef
enum
{
D3DLIGHT_POINT
=
1
,
...
...
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