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
6697de15
Commit
6697de15
authored
Dec 07, 2017
by
Matteo Bruni
Committed by
Alexandre Julliard
Dec 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Merge "main" source files.
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fad999e3
Show whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
51 additions
and
1203 deletions
+51
-1203
Makefile.in
dlls/d3dx9_24/Makefile.in
+2
-1
d3dx9_24_main.c
dlls/d3dx9_24/d3dx9_24_main.c
+0
-60
Makefile.in
dlls/d3dx9_25/Makefile.in
+2
-2
d3dx9_25_main.c
dlls/d3dx9_25/d3dx9_25_main.c
+0
-60
Makefile.in
dlls/d3dx9_26/Makefile.in
+2
-1
d3dx9_26_main.c
dlls/d3dx9_26/d3dx9_26_main.c
+0
-60
Makefile.in
dlls/d3dx9_27/Makefile.in
+2
-1
d3dx9_27_main.c
dlls/d3dx9_27/d3dx9_27_main.c
+0
-60
Makefile.in
dlls/d3dx9_28/Makefile.in
+2
-2
d3dx9_28_main.c
dlls/d3dx9_28/d3dx9_28_main.c
+0
-60
Makefile.in
dlls/d3dx9_29/Makefile.in
+2
-2
d3dx9_29_main.c
dlls/d3dx9_29/d3dx9_29_main.c
+0
-60
Makefile.in
dlls/d3dx9_30/Makefile.in
+2
-1
d3dx9_30_main.c
dlls/d3dx9_30/d3dx9_30_main.c
+0
-77
Makefile.in
dlls/d3dx9_31/Makefile.in
+2
-1
d3dx9_31_main.c
dlls/d3dx9_31/d3dx9_31_main.c
+0
-60
Makefile.in
dlls/d3dx9_32/Makefile.in
+2
-1
d3dx9_32_main.c
dlls/d3dx9_32/d3dx9_32_main.c
+0
-61
Makefile.in
dlls/d3dx9_33/Makefile.in
+2
-1
d3dx9_33_main.c
dlls/d3dx9_33/d3dx9_33_main.c
+0
-62
Makefile.in
dlls/d3dx9_34/Makefile.in
+2
-1
d3dx9_34_main.c
dlls/d3dx9_34/d3dx9_34_main.c
+0
-60
Makefile.in
dlls/d3dx9_35/Makefile.in
+2
-1
d3dx9_35_main.c
dlls/d3dx9_35/d3dx9_35_main.c
+0
-60
Makefile.in
dlls/d3dx9_36/Makefile.in
+2
-1
main.c
dlls/d3dx9_36/main.c
+10
-12
Makefile.in
dlls/d3dx9_37/Makefile.in
+2
-1
d3dx9_37_main.c
dlls/d3dx9_37/d3dx9_37_main.c
+0
-60
Makefile.in
dlls/d3dx9_38/Makefile.in
+2
-1
d3dx9_38_main.c
dlls/d3dx9_38/d3dx9_38_main.c
+0
-60
Makefile.in
dlls/d3dx9_39/Makefile.in
+2
-1
d3dx9_39_main.c
dlls/d3dx9_39/d3dx9_39_main.c
+0
-60
Makefile.in
dlls/d3dx9_40/Makefile.in
+2
-1
d3dx9_40_main.c
dlls/d3dx9_40/d3dx9_40_main.c
+0
-61
Makefile.in
dlls/d3dx9_41/Makefile.in
+2
-1
d3dx9_41_main.c
dlls/d3dx9_41/d3dx9_41_main.c
+0
-61
Makefile.in
dlls/d3dx9_42/Makefile.in
+2
-1
d3dx9_42_main.c
dlls/d3dx9_42/d3dx9_42_main.c
+0
-62
Makefile.in
dlls/d3dx9_43/Makefile.in
+2
-1
d3dx9_43_main.c
dlls/d3dx9_43/d3dx9_43_main.c
+0
-61
d3dx9core.h
include/d3dx9core.h
+1
-3
No files found.
dlls/d3dx9_24/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
24
MODULE
=
d3dx9_24.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_24_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_24/d3dx9_24_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
24
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_25/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
25
MODULE
=
d3dx9_25.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_25_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
@@ -22,5 +23,4 @@ C_SRCS = \
volume.c
\
xfile.c
RC_SRCS
=
version.rc
dlls/d3dx9_25/d3dx9_25_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
25
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_26/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
26
MODULE
=
d3dx9_26.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_26_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_26/d3dx9_26_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
26
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_27/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
27
MODULE
=
d3dx9_27.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_27_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_27/d3dx9_27_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
27
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_28/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
28
MODULE
=
d3dx9_28.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_28_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
@@ -22,5 +23,4 @@ C_SRCS = \
volume.c
\
xfile.c
RC_SRCS
=
version.rc
dlls/d3dx9_28/d3dx9_28_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
28
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_29/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
29
MODULE
=
d3dx9_29.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_29_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
@@ -22,5 +23,4 @@ C_SRCS = \
volume.c
\
xfile.c
RC_SRCS
=
version.rc
dlls/d3dx9_29/d3dx9_29_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
29
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_30/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
30
MODULE
=
d3dx9_30.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_30_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_30/d3dx9_30_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3dx
);
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
30
)
return
TRUE
;
else
return
FALSE
;
}
typedef
enum
_D3DX_CPU_OPTIMIZATION
{
D3DX_NOT_OPTIMIZED
=
0
,
D3DX_3DNOW_OPTIMIZED
=
1
,
D3DX_SSE2_OPTIMIZED
=
2
,
D3DX_SSE_OPTIMIZED
=
3
}
D3DX_CPU_OPTIMIZATION
;
D3DX_CPU_OPTIMIZATION
WINAPI
D3DXCpuOptimizations
(
BOOL
enable
)
{
FIXME
(
"%i - stub
\n
"
,
enable
);
return
D3DX_NOT_OPTIMIZED
;
}
dlls/d3dx9_31/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
31
MODULE
=
d3dx9_31.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_31_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_31/d3dx9_31_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
31
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_32/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
32
MODULE
=
d3dx9_32.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_32_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_32/d3dx9_32_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
32
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_33/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
33
MODULE
=
d3dx9_33.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_33_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_33/d3dx9_33_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
33
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_34/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
34
MODULE
=
d3dx9_34.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_34_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_34/d3dx9_34_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
34
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_35/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
35
MODULE
=
d3dx9_35.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_35_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_35/d3dx9_35_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
35
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_36/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
36
MODULE
=
d3dx9_36.dll
IMPORTLIB
=
d3dx9
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
...
...
@@ -5,10 +6,10 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_36_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_36/
d3dx9_36_
main.c
→
dlls/d3dx9_36/main.c
View file @
6697de15
...
...
@@ -26,9 +26,8 @@
#include "initguid.h"
#include "d3dx9_private.h"
/***********************************************************************
* DllMain.
*/
WINE_DEFAULT_DEBUG_CHANNEL
(
d3dx
);
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
void
*
reserved
)
{
switch
(
reason
)
...
...
@@ -42,14 +41,13 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3d_sdk_ver
,
UINT
d3dx_sdk_ver
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
36
)
return
TRUE
;
else
return
FALSE
;
return
d3d_sdk_ver
==
D3D_SDK_VERSION
&&
d3dx_sdk_ver
==
D3DX_SDK_VERSION
;
}
DWORD
WINAPI
D3DXCpuOptimizations
(
BOOL
enable
)
{
FIXME
(
"%#x - stub
\n
"
,
enable
);
return
0
;
}
dlls/d3dx9_37/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
37
MODULE
=
d3dx9_37.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_37_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_37/d3dx9_37_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
37
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_38/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
38
MODULE
=
d3dx9_38.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_38_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_38/d3dx9_38_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
38
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_39/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
39
MODULE
=
d3dx9_39.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_39_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_39/d3dx9_39_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
39
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_40/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
40
MODULE
=
d3dx9_40.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_40_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_40/d3dx9_40_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
* Copyright (C) 2009 Rico Schüller
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
40
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_41/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
41
MODULE
=
d3dx9_41.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_41_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_41/d3dx9_41_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
* Copyright (C) 2009 Rico Schüller
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
41
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_42/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
42
MODULE
=
d3dx9_42.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_42_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_42/d3dx9_42_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
* Copyright (C) 2009 Rico Schüller
* Copyright (C) 2009 Ričardas Barkauskas
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
42
)
return
TRUE
;
else
return
FALSE
;
}
dlls/d3dx9_43/Makefile.in
View file @
6697de15
EXTRADEFS
=
-DD3DX_SDK_VERSION
=
43
MODULE
=
d3dx9_43.dll
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
...
...
@@ -5,10 +6,10 @@ PARENTSRC = ../d3dx9_36
C_SRCS
=
\
animation.c
\
core.c
\
d3dx9_43_main.c
\
effect.c
\
font.c
\
line.c
\
main.c
\
math.c
\
mesh.c
\
preshader.c
\
...
...
dlls/d3dx9_43/d3dx9_43_main.c
deleted
100644 → 0
View file @
fad999e3
/*
* Direct3D X 9 main file
*
* Copyright (C) 2007 David Adam
* Copyright (C) 2009 Rico Schüller
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3dx9.h"
/***********************************************************************
* DllMain.
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* D3DXCheckVersion
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL
WINAPI
D3DXCheckVersion
(
UINT
d3dsdkvers
,
UINT
d3dxsdkvers
)
{
if
(
d3dsdkvers
==
D3D_SDK_VERSION
&&
d3dxsdkvers
==
43
)
return
TRUE
;
else
return
FALSE
;
}
include/d3dx9core.h
View file @
6697de15
...
...
@@ -24,11 +24,9 @@
/**********************************************
***************** Definitions ****************
**********************************************/
/* D3DX_VERSION will be completely ignored since we are
implementing all dlls from d3dx9_24 to d3dx9_36 */
#define D3DX_VERSION 0x0902
#ifndef D3DX_SDK_VERSION
#define D3DX_SDK_VERSION
36
#define D3DX_SDK_VERSION
43
#endif
#define D3DXSPRITE_DONOTSAVESTATE 0x00000001
#define D3DXSPRITE_DONOTMODIFY_RENDERSTATE 0x00000002
...
...
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