[PATCH] Implement the different d3dx9_xx folders

David.Adam David.Adam at math.cnrs.fr
Sun Oct 7 03:30:46 CDT 2007


---
 Makefile.in                   |   10 ++++++++++
 configure                     |   20 ++++++++++++++++++++
 configure.ac                  |   10 ++++++++++
 dlls/d3dx9_24/Makefile.in     |   14 ++++++++++++++
 dlls/d3dx9_24/d3dx9_24.spec   |   10 ++++++++++
 dlls/d3dx9_24/d3dx9_24_main.c |   37 +++++++++++++++++++++++++++++++++++++
 dlls/d3dx9_25/Makefile.in     |   14 ++++++++++++++
 dlls/d3dx9_25/d3dx9_25.spec   |   10 ++++++++++
 dlls/d3dx9_25/d3dx9_25_main.c |   37 +++++++++++++++++++++++++++++++++++++
 dlls/d3dx9_26/Makefile.in     |   14 ++++++++++++++
 dlls/d3dx9_26/d3dx9_26.spec   |   10 ++++++++++
 dlls/d3dx9_26/d3dx9_26_main.c |   37 +++++++++++++++++++++++++++++++++++++
 dlls/d3dx9_27/Makefile.in     |   14 ++++++++++++++
 dlls/d3dx9_27/d3dx9_27.spec   |   10 ++++++++++
 dlls/d3dx9_27/d3dx9_27_main.c |   37 +++++++++++++++++++++++++++++++++++++
 dlls/d3dx9_28/Makefile.in     |   14 ++++++++++++++
 dlls/d3dx9_28/d3dx9_28.spec   |   10 ++++++++++
 dlls/d3dx9_28/d3dx9_28_main.c |   37 +++++++++++++++++++++++++++++++++++++
 dlls/d3dx9_29/Makefile.in     |   14 ++++++++++++++
 dlls/d3dx9_29/d3dx9_29.spec   |   10 ++++++++++
 dlls/d3dx9_29/d3dx9_29_main.c |   37 +++++++++++++++++++++++++++++++++++++
 dlls/d3dx9_30/Makefile.in     |   14 ++++++++++++++
 dlls/d3dx9_30/d3dx9_30.spec   |   10 ++++++++++
 dlls/d3dx9_30/d3dx9_30_main.c |   37 +++++++++++++++++++++++++++++++++++++
 dlls/d3dx9_31/Makefile.in     |   14 ++++++++++++++
 dlls/d3dx9_31/d3dx9_31.spec   |   10 ++++++++++
 dlls/d3dx9_31/d3dx9_31_main.c |   37 +++++++++++++++++++++++++++++++++++++
 dlls/d3dx9_32/Makefile.in     |   14 ++++++++++++++
 dlls/d3dx9_32/d3dx9_32.spec   |   10 ++++++++++
 dlls/d3dx9_32/d3dx9_32_main.c |   37 +++++++++++++++++++++++++++++++++++++
 dlls/d3dx9_33/Makefile.in     |   14 ++++++++++++++
 dlls/d3dx9_33/d3dx9_33.spec   |   10 ++++++++++
 dlls/d3dx9_33/d3dx9_33_main.c |   37 +++++++++++++++++++++++++++++++++++++
 33 files changed, 650 insertions(+), 0 deletions(-)
 create mode 100644 dlls/d3dx9_24/Makefile.in
 create mode 100644 dlls/d3dx9_24/d3dx9_24.spec
 create mode 100644 dlls/d3dx9_24/d3dx9_24_main.c
 create mode 100644 dlls/d3dx9_25/Makefile.in
 create mode 100644 dlls/d3dx9_25/d3dx9_25.spec
 create mode 100644 dlls/d3dx9_25/d3dx9_25_main.c
 create mode 100644 dlls/d3dx9_26/Makefile.in
 create mode 100644 dlls/d3dx9_26/d3dx9_26.spec
 create mode 100644 dlls/d3dx9_26/d3dx9_26_main.c
 create mode 100644 dlls/d3dx9_27/Makefile.in
 create mode 100644 dlls/d3dx9_27/d3dx9_27.spec
 create mode 100644 dlls/d3dx9_27/d3dx9_27_main.c
 create mode 100644 dlls/d3dx9_28/Makefile.in
 create mode 100644 dlls/d3dx9_28/d3dx9_28.spec
 create mode 100644 dlls/d3dx9_28/d3dx9_28_main.c
 create mode 100644 dlls/d3dx9_29/Makefile.in
 create mode 100644 dlls/d3dx9_29/d3dx9_29.spec
 create mode 100644 dlls/d3dx9_29/d3dx9_29_main.c
 create mode 100644 dlls/d3dx9_30/Makefile.in
 create mode 100644 dlls/d3dx9_30/d3dx9_30.spec
 create mode 100644 dlls/d3dx9_30/d3dx9_30_main.c
 create mode 100644 dlls/d3dx9_31/Makefile.in
 create mode 100644 dlls/d3dx9_31/d3dx9_31.spec
 create mode 100644 dlls/d3dx9_31/d3dx9_31_main.c
 create mode 100644 dlls/d3dx9_32/Makefile.in
 create mode 100644 dlls/d3dx9_32/d3dx9_32.spec
 create mode 100644 dlls/d3dx9_32/d3dx9_32_main.c
 create mode 100644 dlls/d3dx9_33/Makefile.in
 create mode 100644 dlls/d3dx9_33/d3dx9_33.spec
 create mode 100644 dlls/d3dx9_33/d3dx9_33_main.c

diff --git a/Makefile.in b/Makefile.in
index fa20db6..05d5b64 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -199,6 +199,16 @@ ALL_MAKEFILES =3D \
 =09dlls/d3drm/tests/Makefile \
 =09dlls/d3dx8/Makefile \
 =09dlls/d3dx8/tests/Makefile \
+=09dlls/d3dx9_24/Makefile \
+=09dlls/d3dx9_25/Makefile \
+=09dlls/d3dx9_26/Makefile \
+=09dlls/d3dx9_27/Makefile \
+=09dlls/d3dx9_28/Makefile \
+=09dlls/d3dx9_29/Makefile \
+=09dlls/d3dx9_30/Makefile \
+=09dlls/d3dx9_31/Makefile \
+=09dlls/d3dx9_32/Makefile \
+=09dlls/d3dx9_33/Makefile \
 =09dlls/d3dxof/Makefile \
 =09dlls/dbghelp/Makefile \
 =09dlls/dciman32/Makefile \
diff --git a/configure b/configure
index fb8e789..c6d5fd0 100755
--- a/configure
+++ b/configure
@@ -20354,6 +20354,26 @@ ac_config_files=3D"$ac_config_files dlls/d3dx8/Make=
file"
=20
 ac_config_files=3D"$ac_config_files dlls/d3dx8/tests/Makefile"
=20
+ac_config_files=3D"$ac_config_files dlls/d3dx9_24/Makefile"
+
+ac_config_files=3D"$ac_config_files dlls/d3dx9_25/Makefile"
+
+ac_config_files=3D"$ac_config_files dlls/d3dx9_26/Makefile"
+
+ac_config_files=3D"$ac_config_files dlls/d3dx9_27/Makefile"
+
+ac_config_files=3D"$ac_config_files dlls/d3dx9_28/Makefile"
+
+ac_config_files=3D"$ac_config_files dlls/d3dx9_29/Makefile"
+
+ac_config_files=3D"$ac_config_files dlls/d3dx9_30/Makefile"
+
+ac_config_files=3D"$ac_config_files dlls/d3dx9_31/Makefile"
+
+ac_config_files=3D"$ac_config_files dlls/d3dx9_32/Makefile"
+
+ac_config_files=3D"$ac_config_files dlls/d3dx9_33/Makefile"
+
 ac_config_files=3D"$ac_config_files dlls/d3dxof/Makefile"
=20
 ac_config_files=3D"$ac_config_files dlls/dbghelp/Makefile"
diff --git a/configure.ac b/configure.ac
index b728e05..666cd20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1597,6 +1597,16 @@ AC_CONFIG_FILES([dlls/d3drm/Makefile])
 AC_CONFIG_FILES([dlls/d3drm/tests/Makefile])
 AC_CONFIG_FILES([dlls/d3dx8/Makefile])
 AC_CONFIG_FILES([dlls/d3dx8/tests/Makefile])
+AC_CONFIG_FILES([dlls/d3dx9_24/Makefile])
+AC_CONFIG_FILES([dlls/d3dx9_25/Makefile])
+AC_CONFIG_FILES([dlls/d3dx9_26/Makefile])
+AC_CONFIG_FILES([dlls/d3dx9_27/Makefile])
+AC_CONFIG_FILES([dlls/d3dx9_28/Makefile])
+AC_CONFIG_FILES([dlls/d3dx9_29/Makefile])
+AC_CONFIG_FILES([dlls/d3dx9_30/Makefile])
+AC_CONFIG_FILES([dlls/d3dx9_31/Makefile])
+AC_CONFIG_FILES([dlls/d3dx9_32/Makefile])
+AC_CONFIG_FILES([dlls/d3dx9_33/Makefile])
 AC_CONFIG_FILES([dlls/d3dxof/Makefile])
 AC_CONFIG_FILES([dlls/dbghelp/Makefile])
 AC_CONFIG_FILES([dlls/dciman32/Makefile])
diff --git a/dlls/d3dx9_24/Makefile.in b/dlls/d3dx9_24/Makefile.in
new file mode 100644
index 0000000..cdda445
--- /dev/null
+++ b/dlls/d3dx9_24/Makefile.in
@@ -0,0 +1,14 @@
+TOPSRCDIR =3D @top_srcdir@
+TOPOBJDIR =3D ../..
+SRCDIR    =3D @srcdir@
+VPATH     =3D @srcdir@
+MODULE    =3D d3dx9_24.dll
+IMPORTLIB =3D libd3dx9.$(IMPLIBEXT)
+IMPORTS   =3D kernel32
+EXTRALIBS =3D -ldxguid -luuid
+
+C_SRCS =3D d3dx9_24_main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
\ No newline at end of file
diff --git a/dlls/d3dx9_24/d3dx9_24.spec b/dlls/d3dx9_24/d3dx9_24.spec
new file mode 100644
index 0000000..3fcd766
--- /dev/null
+++ b/dlls/d3dx9_24/d3dx9_24.spec
@@ -0,0 +1,10 @@
+@ stdcall D3DXVec2Add(ptr ptr ptr) d3dx8.D3DXVec2Add
+@ stdcall D3DXVec2CCW(ptr ptr) d3dx8.D3DXVec2CWW
+@ stdcall D3DXVec2Dot(ptr ptr) d3dx8.D3DXVec2Dot
+@ stdcall D3DXVec2Length(ptr) d3dx8.D3DXVec2Length
+@ stdcall D3DXVec2LengthSq(ptr) d3dx8.D3DXVec2LengthSq
+@ stdcall D3DXVec2Lerp(ptr ptr ptr long) d3dx8.D3DXVec2Lerp
+@ stdcall D3DXVec2Maximize(ptr ptr ptr) d3dx8.D3DXVec2Maximize
+@ stdcall D3DXVec2Minimize(ptr ptr ptr) d3dx8.D3DXVec2Minimize
+@ stdcall D3DXVec2Scale(ptr ptr long) d3dx8.D3DXVec2Scale
+@ stdcall D3DXVec2Subtract(ptr ptr ptr) d3dx8.D3DXVec2Subtract
diff --git a/dlls/d3dx9_24/d3dx9_24_main.c b/dlls/d3dx9_24/d3dx9_24_main.c
new file mode 100644
index 0000000..c246641
--- /dev/null
+++ b/dlls/d3dx9_24/d3dx9_24_main.c
@@ -0,0 +1,37 @@
+/*
+ * Copyright 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, US=
A
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ *=09=09DllMain  (D3DRM.@)
+ */
+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;
+}
diff --git a/dlls/d3dx9_25/Makefile.in b/dlls/d3dx9_25/Makefile.in
new file mode 100644
index 0000000..c48d918
--- /dev/null
+++ b/dlls/d3dx9_25/Makefile.in
@@ -0,0 +1,14 @@
+TOPSRCDIR =3D @top_srcdir@
+TOPOBJDIR =3D ../..
+SRCDIR    =3D @srcdir@
+VPATH     =3D @srcdir@
+MODULE    =3D d3dx9_25.dll
+IMPORTLIB =3D libd3dx9.$(IMPLIBEXT)
+IMPORTS   =3D kernel32
+EXTRALIBS =3D -ldxguid -luuid
+
+C_SRCS =3D d3dx9_25_main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
\ No newline at end of file
diff --git a/dlls/d3dx9_25/d3dx9_25.spec b/dlls/d3dx9_25/d3dx9_25.spec
new file mode 100644
index 0000000..3fcd766
--- /dev/null
+++ b/dlls/d3dx9_25/d3dx9_25.spec
@@ -0,0 +1,10 @@
+@ stdcall D3DXVec2Add(ptr ptr ptr) d3dx8.D3DXVec2Add
+@ stdcall D3DXVec2CCW(ptr ptr) d3dx8.D3DXVec2CWW
+@ stdcall D3DXVec2Dot(ptr ptr) d3dx8.D3DXVec2Dot
+@ stdcall D3DXVec2Length(ptr) d3dx8.D3DXVec2Length
+@ stdcall D3DXVec2LengthSq(ptr) d3dx8.D3DXVec2LengthSq
+@ stdcall D3DXVec2Lerp(ptr ptr ptr long) d3dx8.D3DXVec2Lerp
+@ stdcall D3DXVec2Maximize(ptr ptr ptr) d3dx8.D3DXVec2Maximize
+@ stdcall D3DXVec2Minimize(ptr ptr ptr) d3dx8.D3DXVec2Minimize
+@ stdcall D3DXVec2Scale(ptr ptr long) d3dx8.D3DXVec2Scale
+@ stdcall D3DXVec2Subtract(ptr ptr ptr) d3dx8.D3DXVec2Subtract
diff --git a/dlls/d3dx9_25/d3dx9_25_main.c b/dlls/d3dx9_25/d3dx9_25_main.c
new file mode 100644
index 0000000..c246641
--- /dev/null
+++ b/dlls/d3dx9_25/d3dx9_25_main.c
@@ -0,0 +1,37 @@
+/*
+ * Copyright 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, US=
A
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ *=09=09DllMain  (D3DRM.@)
+ */
+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;
+}
diff --git a/dlls/d3dx9_26/Makefile.in b/dlls/d3dx9_26/Makefile.in
new file mode 100644
index 0000000..dad327f
--- /dev/null
+++ b/dlls/d3dx9_26/Makefile.in
@@ -0,0 +1,14 @@
+TOPSRCDIR =3D @top_srcdir@
+TOPOBJDIR =3D ../..
+SRCDIR    =3D @srcdir@
+VPATH     =3D @srcdir@
+MODULE    =3D d3dx9_26.dll
+IMPORTLIB =3D libd3dx9.$(IMPLIBEXT)
+IMPORTS   =3D kernel32
+EXTRALIBS =3D -ldxguid -luuid
+
+C_SRCS =3D d3dx9_26_main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
\ No newline at end of file
diff --git a/dlls/d3dx9_26/d3dx9_26.spec b/dlls/d3dx9_26/d3dx9_26.spec
new file mode 100644
index 0000000..3fcd766
--- /dev/null
+++ b/dlls/d3dx9_26/d3dx9_26.spec
@@ -0,0 +1,10 @@
+@ stdcall D3DXVec2Add(ptr ptr ptr) d3dx8.D3DXVec2Add
+@ stdcall D3DXVec2CCW(ptr ptr) d3dx8.D3DXVec2CWW
+@ stdcall D3DXVec2Dot(ptr ptr) d3dx8.D3DXVec2Dot
+@ stdcall D3DXVec2Length(ptr) d3dx8.D3DXVec2Length
+@ stdcall D3DXVec2LengthSq(ptr) d3dx8.D3DXVec2LengthSq
+@ stdcall D3DXVec2Lerp(ptr ptr ptr long) d3dx8.D3DXVec2Lerp
+@ stdcall D3DXVec2Maximize(ptr ptr ptr) d3dx8.D3DXVec2Maximize
+@ stdcall D3DXVec2Minimize(ptr ptr ptr) d3dx8.D3DXVec2Minimize
+@ stdcall D3DXVec2Scale(ptr ptr long) d3dx8.D3DXVec2Scale
+@ stdcall D3DXVec2Subtract(ptr ptr ptr) d3dx8.D3DXVec2Subtract
diff --git a/dlls/d3dx9_26/d3dx9_26_main.c b/dlls/d3dx9_26/d3dx9_26_main.c
new file mode 100644
index 0000000..c246641
--- /dev/null
+++ b/dlls/d3dx9_26/d3dx9_26_main.c
@@ -0,0 +1,37 @@
+/*
+ * Copyright 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, US=
A
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ *=09=09DllMain  (D3DRM.@)
+ */
+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;
+}
diff --git a/dlls/d3dx9_27/Makefile.in b/dlls/d3dx9_27/Makefile.in
new file mode 100644
index 0000000..bc039cf
--- /dev/null
+++ b/dlls/d3dx9_27/Makefile.in
@@ -0,0 +1,14 @@
+TOPSRCDIR =3D @top_srcdir@
+TOPOBJDIR =3D ../..
+SRCDIR    =3D @srcdir@
+VPATH     =3D @srcdir@
+MODULE    =3D d3dx9_27.dll
+IMPORTLIB =3D libd3dx9.$(IMPLIBEXT)
+IMPORTS   =3D kernel32
+EXTRALIBS =3D -ldxguid -luuid
+
+C_SRCS =3D d3dx9_27_main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
\ No newline at end of file
diff --git a/dlls/d3dx9_27/d3dx9_27.spec b/dlls/d3dx9_27/d3dx9_27.spec
new file mode 100644
index 0000000..3fcd766
--- /dev/null
+++ b/dlls/d3dx9_27/d3dx9_27.spec
@@ -0,0 +1,10 @@
+@ stdcall D3DXVec2Add(ptr ptr ptr) d3dx8.D3DXVec2Add
+@ stdcall D3DXVec2CCW(ptr ptr) d3dx8.D3DXVec2CWW
+@ stdcall D3DXVec2Dot(ptr ptr) d3dx8.D3DXVec2Dot
+@ stdcall D3DXVec2Length(ptr) d3dx8.D3DXVec2Length
+@ stdcall D3DXVec2LengthSq(ptr) d3dx8.D3DXVec2LengthSq
+@ stdcall D3DXVec2Lerp(ptr ptr ptr long) d3dx8.D3DXVec2Lerp
+@ stdcall D3DXVec2Maximize(ptr ptr ptr) d3dx8.D3DXVec2Maximize
+@ stdcall D3DXVec2Minimize(ptr ptr ptr) d3dx8.D3DXVec2Minimize
+@ stdcall D3DXVec2Scale(ptr ptr long) d3dx8.D3DXVec2Scale
+@ stdcall D3DXVec2Subtract(ptr ptr ptr) d3dx8.D3DXVec2Subtract
diff --git a/dlls/d3dx9_27/d3dx9_27_main.c b/dlls/d3dx9_27/d3dx9_27_main.c
new file mode 100644
index 0000000..c246641
--- /dev/null
+++ b/dlls/d3dx9_27/d3dx9_27_main.c
@@ -0,0 +1,37 @@
+/*
+ * Copyright 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, US=
A
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ *=09=09DllMain  (D3DRM.@)
+ */
+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;
+}
diff --git a/dlls/d3dx9_28/Makefile.in b/dlls/d3dx9_28/Makefile.in
new file mode 100644
index 0000000..dac4da8
--- /dev/null
+++ b/dlls/d3dx9_28/Makefile.in
@@ -0,0 +1,14 @@
+TOPSRCDIR =3D @top_srcdir@
+TOPOBJDIR =3D ../..
+SRCDIR    =3D @srcdir@
+VPATH     =3D @srcdir@
+MODULE    =3D d3dx9_28.dll
+IMPORTLIB =3D libd3dx9.$(IMPLIBEXT)
+IMPORTS   =3D kernel32
+EXTRALIBS =3D -ldxguid -luuid
+
+C_SRCS =3D d3dx9_28_main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
\ No newline at end of file
diff --git a/dlls/d3dx9_28/d3dx9_28.spec b/dlls/d3dx9_28/d3dx9_28.spec
new file mode 100644
index 0000000..3fcd766
--- /dev/null
+++ b/dlls/d3dx9_28/d3dx9_28.spec
@@ -0,0 +1,10 @@
+@ stdcall D3DXVec2Add(ptr ptr ptr) d3dx8.D3DXVec2Add
+@ stdcall D3DXVec2CCW(ptr ptr) d3dx8.D3DXVec2CWW
+@ stdcall D3DXVec2Dot(ptr ptr) d3dx8.D3DXVec2Dot
+@ stdcall D3DXVec2Length(ptr) d3dx8.D3DXVec2Length
+@ stdcall D3DXVec2LengthSq(ptr) d3dx8.D3DXVec2LengthSq
+@ stdcall D3DXVec2Lerp(ptr ptr ptr long) d3dx8.D3DXVec2Lerp
+@ stdcall D3DXVec2Maximize(ptr ptr ptr) d3dx8.D3DXVec2Maximize
+@ stdcall D3DXVec2Minimize(ptr ptr ptr) d3dx8.D3DXVec2Minimize
+@ stdcall D3DXVec2Scale(ptr ptr long) d3dx8.D3DXVec2Scale
+@ stdcall D3DXVec2Subtract(ptr ptr ptr) d3dx8.D3DXVec2Subtract
diff --git a/dlls/d3dx9_28/d3dx9_28_main.c b/dlls/d3dx9_28/d3dx9_28_main.c
new file mode 100644
index 0000000..c246641
--- /dev/null
+++ b/dlls/d3dx9_28/d3dx9_28_main.c
@@ -0,0 +1,37 @@
+/*
+ * Copyright 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, US=
A
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ *=09=09DllMain  (D3DRM.@)
+ */
+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;
+}
diff --git a/dlls/d3dx9_29/Makefile.in b/dlls/d3dx9_29/Makefile.in
new file mode 100644
index 0000000..1552e2b
--- /dev/null
+++ b/dlls/d3dx9_29/Makefile.in
@@ -0,0 +1,14 @@
+TOPSRCDIR =3D @top_srcdir@
+TOPOBJDIR =3D ../..
+SRCDIR    =3D @srcdir@
+VPATH     =3D @srcdir@
+MODULE    =3D d3dx9_29.dll
+IMPORTLIB =3D libd3dx9.$(IMPLIBEXT)
+IMPORTS   =3D kernel32
+EXTRALIBS =3D -ldxguid -luuid
+
+C_SRCS =3D d3dx9_29_main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
\ No newline at end of file
diff --git a/dlls/d3dx9_29/d3dx9_29.spec b/dlls/d3dx9_29/d3dx9_29.spec
new file mode 100644
index 0000000..3fcd766
--- /dev/null
+++ b/dlls/d3dx9_29/d3dx9_29.spec
@@ -0,0 +1,10 @@
+@ stdcall D3DXVec2Add(ptr ptr ptr) d3dx8.D3DXVec2Add
+@ stdcall D3DXVec2CCW(ptr ptr) d3dx8.D3DXVec2CWW
+@ stdcall D3DXVec2Dot(ptr ptr) d3dx8.D3DXVec2Dot
+@ stdcall D3DXVec2Length(ptr) d3dx8.D3DXVec2Length
+@ stdcall D3DXVec2LengthSq(ptr) d3dx8.D3DXVec2LengthSq
+@ stdcall D3DXVec2Lerp(ptr ptr ptr long) d3dx8.D3DXVec2Lerp
+@ stdcall D3DXVec2Maximize(ptr ptr ptr) d3dx8.D3DXVec2Maximize
+@ stdcall D3DXVec2Minimize(ptr ptr ptr) d3dx8.D3DXVec2Minimize
+@ stdcall D3DXVec2Scale(ptr ptr long) d3dx8.D3DXVec2Scale
+@ stdcall D3DXVec2Subtract(ptr ptr ptr) d3dx8.D3DXVec2Subtract
diff --git a/dlls/d3dx9_29/d3dx9_29_main.c b/dlls/d3dx9_29/d3dx9_29_main.c
new file mode 100644
index 0000000..c246641
--- /dev/null
+++ b/dlls/d3dx9_29/d3dx9_29_main.c
@@ -0,0 +1,37 @@
+/*
+ * Copyright 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, US=
A
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ *=09=09DllMain  (D3DRM.@)
+ */
+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;
+}
diff --git a/dlls/d3dx9_30/Makefile.in b/dlls/d3dx9_30/Makefile.in
new file mode 100644
index 0000000..6cedbe1
--- /dev/null
+++ b/dlls/d3dx9_30/Makefile.in
@@ -0,0 +1,14 @@
+TOPSRCDIR =3D @top_srcdir@
+TOPOBJDIR =3D ../..
+SRCDIR    =3D @srcdir@
+VPATH     =3D @srcdir@
+MODULE    =3D d3dx9_30.dll
+IMPORTLIB =3D libd3dx9.$(IMPLIBEXT)
+IMPORTS   =3D kernel32
+EXTRALIBS =3D -ldxguid -luuid
+
+C_SRCS =3D d3dx9_30_main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
\ No newline at end of file
diff --git a/dlls/d3dx9_30/d3dx9_30.spec b/dlls/d3dx9_30/d3dx9_30.spec
new file mode 100644
index 0000000..3fcd766
--- /dev/null
+++ b/dlls/d3dx9_30/d3dx9_30.spec
@@ -0,0 +1,10 @@
+@ stdcall D3DXVec2Add(ptr ptr ptr) d3dx8.D3DXVec2Add
+@ stdcall D3DXVec2CCW(ptr ptr) d3dx8.D3DXVec2CWW
+@ stdcall D3DXVec2Dot(ptr ptr) d3dx8.D3DXVec2Dot
+@ stdcall D3DXVec2Length(ptr) d3dx8.D3DXVec2Length
+@ stdcall D3DXVec2LengthSq(ptr) d3dx8.D3DXVec2LengthSq
+@ stdcall D3DXVec2Lerp(ptr ptr ptr long) d3dx8.D3DXVec2Lerp
+@ stdcall D3DXVec2Maximize(ptr ptr ptr) d3dx8.D3DXVec2Maximize
+@ stdcall D3DXVec2Minimize(ptr ptr ptr) d3dx8.D3DXVec2Minimize
+@ stdcall D3DXVec2Scale(ptr ptr long) d3dx8.D3DXVec2Scale
+@ stdcall D3DXVec2Subtract(ptr ptr ptr) d3dx8.D3DXVec2Subtract
diff --git a/dlls/d3dx9_30/d3dx9_30_main.c b/dlls/d3dx9_30/d3dx9_30_main.c
new file mode 100644
index 0000000..c246641
--- /dev/null
+++ b/dlls/d3dx9_30/d3dx9_30_main.c
@@ -0,0 +1,37 @@
+/*
+ * Copyright 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, US=
A
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ *=09=09DllMain  (D3DRM.@)
+ */
+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;
+}
diff --git a/dlls/d3dx9_31/Makefile.in b/dlls/d3dx9_31/Makefile.in
new file mode 100644
index 0000000..974d9cf
--- /dev/null
+++ b/dlls/d3dx9_31/Makefile.in
@@ -0,0 +1,14 @@
+TOPSRCDIR =3D @top_srcdir@
+TOPOBJDIR =3D ../..
+SRCDIR    =3D @srcdir@
+VPATH     =3D @srcdir@
+MODULE    =3D d3dx9_31.dll
+IMPORTLIB =3D libd3dx9.$(IMPLIBEXT)
+IMPORTS   =3D kernel32
+EXTRALIBS =3D -ldxguid -luuid
+
+C_SRCS =3D d3dx9_31_main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
\ No newline at end of file
diff --git a/dlls/d3dx9_31/d3dx9_31.spec b/dlls/d3dx9_31/d3dx9_31.spec
new file mode 100644
index 0000000..3fcd766
--- /dev/null
+++ b/dlls/d3dx9_31/d3dx9_31.spec
@@ -0,0 +1,10 @@
+@ stdcall D3DXVec2Add(ptr ptr ptr) d3dx8.D3DXVec2Add
+@ stdcall D3DXVec2CCW(ptr ptr) d3dx8.D3DXVec2CWW
+@ stdcall D3DXVec2Dot(ptr ptr) d3dx8.D3DXVec2Dot
+@ stdcall D3DXVec2Length(ptr) d3dx8.D3DXVec2Length
+@ stdcall D3DXVec2LengthSq(ptr) d3dx8.D3DXVec2LengthSq
+@ stdcall D3DXVec2Lerp(ptr ptr ptr long) d3dx8.D3DXVec2Lerp
+@ stdcall D3DXVec2Maximize(ptr ptr ptr) d3dx8.D3DXVec2Maximize
+@ stdcall D3DXVec2Minimize(ptr ptr ptr) d3dx8.D3DXVec2Minimize
+@ stdcall D3DXVec2Scale(ptr ptr long) d3dx8.D3DXVec2Scale
+@ stdcall D3DXVec2Subtract(ptr ptr ptr) d3dx8.D3DXVec2Subtract
diff --git a/dlls/d3dx9_31/d3dx9_31_main.c b/dlls/d3dx9_31/d3dx9_31_main.c
new file mode 100644
index 0000000..c246641
--- /dev/null
+++ b/dlls/d3dx9_31/d3dx9_31_main.c
@@ -0,0 +1,37 @@
+/*
+ * Copyright 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, US=
A
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ *=09=09DllMain  (D3DRM.@)
+ */
+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;
+}
diff --git a/dlls/d3dx9_32/Makefile.in b/dlls/d3dx9_32/Makefile.in
new file mode 100644
index 0000000..35d21de
--- /dev/null
+++ b/dlls/d3dx9_32/Makefile.in
@@ -0,0 +1,14 @@
+TOPSRCDIR =3D @top_srcdir@
+TOPOBJDIR =3D ../..
+SRCDIR    =3D @srcdir@
+VPATH     =3D @srcdir@
+MODULE    =3D d3dx9_32.dll
+IMPORTLIB =3D libd3dx9.$(IMPLIBEXT)
+IMPORTS   =3D kernel32
+EXTRALIBS =3D -ldxguid -luuid
+
+C_SRCS =3D d3dx9_32_main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
\ No newline at end of file
diff --git a/dlls/d3dx9_32/d3dx9_32.spec b/dlls/d3dx9_32/d3dx9_32.spec
new file mode 100644
index 0000000..3fcd766
--- /dev/null
+++ b/dlls/d3dx9_32/d3dx9_32.spec
@@ -0,0 +1,10 @@
+@ stdcall D3DXVec2Add(ptr ptr ptr) d3dx8.D3DXVec2Add
+@ stdcall D3DXVec2CCW(ptr ptr) d3dx8.D3DXVec2CWW
+@ stdcall D3DXVec2Dot(ptr ptr) d3dx8.D3DXVec2Dot
+@ stdcall D3DXVec2Length(ptr) d3dx8.D3DXVec2Length
+@ stdcall D3DXVec2LengthSq(ptr) d3dx8.D3DXVec2LengthSq
+@ stdcall D3DXVec2Lerp(ptr ptr ptr long) d3dx8.D3DXVec2Lerp
+@ stdcall D3DXVec2Maximize(ptr ptr ptr) d3dx8.D3DXVec2Maximize
+@ stdcall D3DXVec2Minimize(ptr ptr ptr) d3dx8.D3DXVec2Minimize
+@ stdcall D3DXVec2Scale(ptr ptr long) d3dx8.D3DXVec2Scale
+@ stdcall D3DXVec2Subtract(ptr ptr ptr) d3dx8.D3DXVec2Subtract
diff --git a/dlls/d3dx9_32/d3dx9_32_main.c b/dlls/d3dx9_32/d3dx9_32_main.c
new file mode 100644
index 0000000..c246641
--- /dev/null
+++ b/dlls/d3dx9_32/d3dx9_32_main.c
@@ -0,0 +1,37 @@
+/*
+ * Copyright 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, US=
A
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ *=09=09DllMain  (D3DRM.@)
+ */
+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;
+}
diff --git a/dlls/d3dx9_33/Makefile.in b/dlls/d3dx9_33/Makefile.in
new file mode 100644
index 0000000..f726375
--- /dev/null
+++ b/dlls/d3dx9_33/Makefile.in
@@ -0,0 +1,14 @@
+TOPSRCDIR =3D @top_srcdir@
+TOPOBJDIR =3D ../..
+SRCDIR    =3D @srcdir@
+VPATH     =3D @srcdir@
+MODULE    =3D d3dx9_33.dll
+IMPORTLIB =3D libd3dx9.$(IMPLIBEXT)
+IMPORTS   =3D kernel32
+EXTRALIBS =3D -ldxguid -luuid
+
+C_SRCS =3D d3dx9_33_main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
\ No newline at end of file
diff --git a/dlls/d3dx9_33/d3dx9_33.spec b/dlls/d3dx9_33/d3dx9_33.spec
new file mode 100644
index 0000000..3fcd766
--- /dev/null
+++ b/dlls/d3dx9_33/d3dx9_33.spec
@@ -0,0 +1,10 @@
+@ stdcall D3DXVec2Add(ptr ptr ptr) d3dx8.D3DXVec2Add
+@ stdcall D3DXVec2CCW(ptr ptr) d3dx8.D3DXVec2CWW
+@ stdcall D3DXVec2Dot(ptr ptr) d3dx8.D3DXVec2Dot
+@ stdcall D3DXVec2Length(ptr) d3dx8.D3DXVec2Length
+@ stdcall D3DXVec2LengthSq(ptr) d3dx8.D3DXVec2LengthSq
+@ stdcall D3DXVec2Lerp(ptr ptr ptr long) d3dx8.D3DXVec2Lerp
+@ stdcall D3DXVec2Maximize(ptr ptr ptr) d3dx8.D3DXVec2Maximize
+@ stdcall D3DXVec2Minimize(ptr ptr ptr) d3dx8.D3DXVec2Minimize
+@ stdcall D3DXVec2Scale(ptr ptr long) d3dx8.D3DXVec2Scale
+@ stdcall D3DXVec2Subtract(ptr ptr ptr) d3dx8.D3DXVec2Subtract
diff --git a/dlls/d3dx9_33/d3dx9_33_main.c b/dlls/d3dx9_33/d3dx9_33_main.c
new file mode 100644
index 0000000..c246641
--- /dev/null
+++ b/dlls/d3dx9_33/d3dx9_33_main.c
@@ -0,0 +1,37 @@
+/*
+ * Copyright 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, US=
A
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ *=09=09DllMain  (D3DRM.@)
+ */
+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;
+}
--=20
1.5.2.4


--=_659l8yynt808--



More information about the wine-patches mailing list