From 07eb8b8ac876781289ea5dd99c6a425afea51aee371d2262175ad45ef3132864 Mon Sep 17 00:00:00 2001 From: Gabriel Lorenzo Date: Tue, 27 May 2003 22:33:26 +0000 Subject: [PATCH] qgraphics y proyectos para vc6 --- dlls/src/graphics/win32/vc6/graphics.dsp | 122 +++++++++++++++++++ dlls/src/graphics/win32/vc6/graphics.plg | 35 ++++++ dlls/src/input/win32/vc6/input.dsp | 114 ++++++++++++++++++ dlls/src/input/win32/vc6/input.plg | 16 +++ dlls/src/math/win32/vc6/math.dsp | 114 ++++++++++++++++++ dlls/src/math/win32/vc6/math.plg | 25 ++++ dlls/src/qgraphics/qgraphics.c | 8 ++ dlls/src/qgraphics/qgraphics.def | 3 + dlls/src/qgraphics/qgraphics.h | 4 + dlls/src/qgraphics/qgraphics.sln | 21 ++++ dlls/src/qgraphics/qgraphics.vcproj | 146 +++++++++++++++++++++++ dlls/src/qgraphics/win32/gr_init.c | 63 ++++++++++ dlls/src/qgraphics/win32/gr_win32.h | 70 +++++++++++ dlls/src/win32/vc6/dlls.dsw | 65 ++++++++++ dlls/src/win32/vc6/dlls.ncb | 1 + dlls/src/win32/vc6/dlls.opt | 1 + 16 files changed, 808 insertions(+) create mode 100644 dlls/src/graphics/win32/vc6/graphics.dsp create mode 100644 dlls/src/graphics/win32/vc6/graphics.plg create mode 100644 dlls/src/input/win32/vc6/input.dsp create mode 100644 dlls/src/input/win32/vc6/input.plg create mode 100644 dlls/src/math/win32/vc6/math.dsp create mode 100644 dlls/src/math/win32/vc6/math.plg create mode 100644 dlls/src/qgraphics/qgraphics.c create mode 100644 dlls/src/qgraphics/qgraphics.def create mode 100644 dlls/src/qgraphics/qgraphics.h create mode 100644 dlls/src/qgraphics/qgraphics.sln create mode 100644 dlls/src/qgraphics/qgraphics.vcproj create mode 100644 dlls/src/qgraphics/win32/gr_init.c create mode 100644 dlls/src/qgraphics/win32/gr_win32.h create mode 100644 dlls/src/win32/vc6/dlls.dsw create mode 100644 dlls/src/win32/vc6/dlls.ncb create mode 100644 dlls/src/win32/vc6/dlls.opt diff --git a/dlls/src/graphics/win32/vc6/graphics.dsp b/dlls/src/graphics/win32/vc6/graphics.dsp new file mode 100644 index 0000000..768b2f1 --- /dev/null +++ b/dlls/src/graphics/win32/vc6/graphics.dsp @@ -0,0 +1,122 @@ +# Microsoft Developer Studio Project File - Name="graphics" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=graphics - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "graphics.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "graphics.mak" CFG="graphics - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "graphics - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "graphics - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "graphics - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GRAPHICS_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GRAPHICS_EXPORTS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0xc0a /d "NDEBUG" +# ADD RSC /l 0xc0a /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 + +!ELSEIF "$(CFG)" == "graphics - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GRAPHICS_EXPORTS" /YX /FD /GZ /c +# ADD CPP /nologo /MD /W3 /Gm /GX /ZI /Od /I "c:\temp\sdl\include" /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GRAPHICS_EXPORTS" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0xc0a /d "_DEBUG" +# ADD RSC /l 0xc0a /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib sdlmain.lib sdl.lib /nologo /dll /debug /machine:I386 /out:"c:\temp\ediv\ediv\bin\dll\graphics.dll" /pdbtype:sept /libpath:"c:\temp\sdl\lib" + +!ENDIF + +# Begin Target + +# Name "graphics - Win32 Release" +# Name "graphics - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\graphics.c +# End Source File +# Begin Source File + +SOURCE=..\..\graphics.def +# End Source File +# Begin Source File + +SOURCE=..\..\SDL_rotozoom.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\graphics.h +# End Source File +# Begin Source File + +SOURCE=..\..\SDL_rotozoom.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/dlls/src/graphics/win32/vc6/graphics.plg b/dlls/src/graphics/win32/vc6/graphics.plg new file mode 100644 index 0000000..ddce3c2 --- /dev/null +++ b/dlls/src/graphics/win32/vc6/graphics.plg @@ -0,0 +1,35 @@ + + +
+

Build Log

+

+--------------------Configuration: graphics - Win32 Debug-------------------- +

+

Command Lines

+Creating temporary file "C:\WINDOWS\TEMP\RSP61B4.TMP" with contents +[ +/nologo /MD /W3 /Gm /GX /ZI /Od /I "c:\temp\sdl\include" /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GRAPHICS_EXPORTS" /Fp"Debug/graphics.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c +"C:\Temp\ediv\dlls\src\graphics\graphics.c" +] +Creating command line "cl.exe @C:\WINDOWS\TEMP\RSP61B4.TMP" +Creating temporary file "C:\WINDOWS\TEMP\RSP61B5.TMP" with contents +[ +kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib sdlmain.lib sdl.lib /nologo /dll /incremental:yes /pdb:"Debug/graphics.pdb" /debug /machine:I386 /def:"..\..\graphics.def" /out:"c:\temp\ediv\ediv\bin\dll\graphics.dll" /implib:"Debug/graphics.lib" /pdbtype:sept /libpath:"c:\temp\sdl\lib" +.\Debug\graphics.obj +.\Debug\SDL_rotozoom.obj +] +Creating command line "link.exe @C:\WINDOWS\TEMP\RSP61B5.TMP" +

Output Window

+Compiling... +graphics.c +C:\Temp\ediv\dlls\src\graphics\graphics.c(1498) : warning C4101: 'j' : unreferenced local variable +Linking... + Creating library Debug/graphics.lib and object Debug/graphics.exp + + + +

Results

+graphics.dll - 0 error(s), 1 warning(s) +
+ + diff --git a/dlls/src/input/win32/vc6/input.dsp b/dlls/src/input/win32/vc6/input.dsp new file mode 100644 index 0000000..978301c --- /dev/null +++ b/dlls/src/input/win32/vc6/input.dsp @@ -0,0 +1,114 @@ +# Microsoft Developer Studio Project File - Name="input" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=input - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "input.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "input.mak" CFG="input - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "input - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "input - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "input - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "INPUT_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "INPUT_EXPORTS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0xc0a /d "NDEBUG" +# ADD RSC /l 0xc0a /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 + +!ELSEIF "$(CFG)" == "input - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "INPUT_EXPORTS" /YX /FD /GZ /c +# ADD CPP /nologo /MD /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "INPUT_EXPORTS" /FR /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0xc0a /d "_DEBUG" +# ADD RSC /l 0xc0a /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib sdlmain.lib sdl.lib /nologo /dll /debug /machine:I386 /out:"c:\temp\ediv\ediv\bin\dll\input.dll" /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "input - Win32 Release" +# Name "input - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\input.c +# End Source File +# Begin Source File + +SOURCE=..\..\input.def +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\input.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/dlls/src/input/win32/vc6/input.plg b/dlls/src/input/win32/vc6/input.plg new file mode 100644 index 0000000..b7a3be7 --- /dev/null +++ b/dlls/src/input/win32/vc6/input.plg @@ -0,0 +1,16 @@ + + +
+

Build Log

+

+--------------------Configuration: input - Win32 Debug-------------------- +

+

Command Lines

+ + + +

Results

+input.dll - 0 error(s), 0 warning(s) +
+ + diff --git a/dlls/src/math/win32/vc6/math.dsp b/dlls/src/math/win32/vc6/math.dsp new file mode 100644 index 0000000..dd5c835 --- /dev/null +++ b/dlls/src/math/win32/vc6/math.dsp @@ -0,0 +1,114 @@ +# Microsoft Developer Studio Project File - Name="math" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=math - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "math.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "math.mak" CFG="math - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "math - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "math - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "math - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "MATH_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "MATH_EXPORTS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0xc0a /d "NDEBUG" +# ADD RSC /l 0xc0a /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 + +!ELSEIF "$(CFG)" == "math - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "MATH_EXPORTS" /YX /FD /GZ /c +# ADD CPP /nologo /MD /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "MATH_EXPORTS" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0xc0a /d "_DEBUG" +# ADD RSC /l 0xc0a /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"c:\temp\ediv\ediv\bin\dll\math.dll" /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "math - Win32 Release" +# Name "math - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\math.c +# End Source File +# Begin Source File + +SOURCE=..\..\math.def +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\math.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/dlls/src/math/win32/vc6/math.plg b/dlls/src/math/win32/vc6/math.plg new file mode 100644 index 0000000..746e54c --- /dev/null +++ b/dlls/src/math/win32/vc6/math.plg @@ -0,0 +1,25 @@ + + +
+

Build Log

+

+--------------------Configuration: math - Win32 Debug-------------------- +

+

Command Lines

+Creating temporary file "C:\WINDOWS\TEMP\RSP90C5.TMP" with contents +[ +kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /pdb:"Debug/math.pdb" /debug /machine:I386 /def:"..\..\math.def" /out:"c:\temp\ediv\ediv\bin\dll\math.dll" /implib:"Debug/math.lib" /pdbtype:sept +.\Debug\math.obj +] +Creating command line "link.exe @C:\WINDOWS\TEMP\RSP90C5.TMP" +

Output Window

+Linking... + Creating library Debug/math.lib and object Debug/math.exp + + + +

Results

+math.dll - 0 error(s), 0 warning(s) +
+ + diff --git a/dlls/src/qgraphics/qgraphics.c b/dlls/src/qgraphics/qgraphics.c new file mode 100644 index 0000000..502bf54 --- /dev/null +++ b/dlls/src/qgraphics/qgraphics.c @@ -0,0 +1,8 @@ +#include "export.h" + +#include "qgraphics.h" + +int ExportaFuncs(EXPORTAFUNCS_PARAMS) +{ + return TRUE; +} \ No newline at end of file diff --git a/dlls/src/qgraphics/qgraphics.def b/dlls/src/qgraphics/qgraphics.def new file mode 100644 index 0000000..f10acd9 --- /dev/null +++ b/dlls/src/qgraphics/qgraphics.def @@ -0,0 +1,3 @@ +LIBRARY qgraphics +EXPORTS + ExportaFuncs diff --git a/dlls/src/qgraphics/qgraphics.h b/dlls/src/qgraphics/qgraphics.h new file mode 100644 index 0000000..1b6d414 --- /dev/null +++ b/dlls/src/qgraphics/qgraphics.h @@ -0,0 +1,4 @@ +#ifndef __EDIV_QGRAPHICS_H_ +#define __EDIV_QGRAPHICS_H_ + +#endif /* __EDIV_QGRAPHICS_H_ */ \ No newline at end of file diff --git a/dlls/src/qgraphics/qgraphics.sln b/dlls/src/qgraphics/qgraphics.sln new file mode 100644 index 0000000..73609e4 --- /dev/null +++ b/dlls/src/qgraphics/qgraphics.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 7.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qgraphics", "qgraphics.vcproj", "{DD3491ED-7A70-45E4-933C-82F43093ACFD}" +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + ConfigName.0 = Debug + ConfigName.1 = Release + EndGlobalSection + GlobalSection(ProjectDependencies) = postSolution + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {DD3491ED-7A70-45E4-933C-82F43093ACFD}.Debug.ActiveCfg = Debug|Win32 + {DD3491ED-7A70-45E4-933C-82F43093ACFD}.Debug.Build.0 = Debug|Win32 + {DD3491ED-7A70-45E4-933C-82F43093ACFD}.Release.ActiveCfg = Release|Win32 + {DD3491ED-7A70-45E4-933C-82F43093ACFD}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dlls/src/qgraphics/qgraphics.vcproj b/dlls/src/qgraphics/qgraphics.vcproj new file mode 100644 index 0000000..eb4f1ac --- /dev/null +++ b/dlls/src/qgraphics/qgraphics.vcproj @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dlls/src/qgraphics/win32/gr_init.c b/dlls/src/qgraphics/win32/gr_init.c new file mode 100644 index 0000000..a1790bb --- /dev/null +++ b/dlls/src/qgraphics/win32/gr_init.c @@ -0,0 +1,63 @@ +/* + * Este fichero contiene rutinas específicas para una plataforma. + * En caso de hacer un port de la librería, deben implementarse las siguientes + * funciones: + * + * gr_Init + */ + +#include "gr_win32.h" + +/* + * Inicializa cosillas de la libreria + */ +int gr_Init( void *hInstance, void *wndProc ) +{ + sww_state.hInstance = ( HINSTANCE ) hInstance; + sww_state.wndproc = wndProc; + + return TRUE; +} + +/* +** SWimp_InitGraphics +** +** This initializes the software refresh's implementation specific +** graphics subsystem. In the case of Windows it creates DIB or +** DDRAW surfaces. +** +** The necessary width and height parameters are grabbed from +** vid.width and vid.height. +*/ +static bool SWimp_InitGraphics( int vid_width, int vid_height, bool fullscreen ) +{ + // free resources in use + gr_Shutdown (); + + // create a new window + VID_CreateWindow (vid_width, vid_height, WINDOW_STYLE); + + // initialize the appropriate subsystem + if ( !fullscreen ) + { + if ( !DIB_Init( &vid.buffer, &vid.rowbytes ) ) + { + vid.buffer = 0; + vid.rowbytes = 0; + + return false; + } + } + else + { + if ( !DDRAW_Init( &vid.buffer, &vid.rowbytes ) ) + { + vid.buffer = 0; + vid.rowbytes = 0; + + return false; + } + } + + return true; +} diff --git a/dlls/src/qgraphics/win32/gr_win32.h b/dlls/src/qgraphics/win32/gr_win32.h new file mode 100644 index 0000000..c5407b1 --- /dev/null +++ b/dlls/src/qgraphics/win32/gr_win32.h @@ -0,0 +1,70 @@ +#ifndef __EDIV_GR_WIN32_H_ +#define __EDIV_GR_WIN32_H_ + +/*** *** + *** USAR DIRECTX SDK 6.1 *** + *** ***/ + +#include +#include + +#include "export.h" + +#define WINDOW_STYLE (WS_OVERLAPPED|WS_BORDER|WS_CAPTION|WS_VISIBLE) + +extern HINSTANCE global_hInstance; + +extern HWND cl_hwnd; +extern bool ActiveApp, Minimized; + +extern int window_center_x, window_center_y; +extern RECT window_rect; + + +typedef struct +{ + HINSTANCE hInstance; + void *wndproc; + HDC hDC; // DC global que usamos + HWND hWnd; // HWND de la ventana principal + + HDC hdcDIBSection; // DC compatible con sección DIB + HBITMAP hDIBSection; // sección DIB + unsigned char *pDIBBase; // puntero base DIB, ¡NO usado directamente para dibujar! + + HPALETTE hPal; // paleta actual + HPALETTE hpalOld; // paleta original del sistema + COLORREF oldsyscolors[20]; // colores del sistema originales + + HINSTANCE hinstDDRAW; // instancia de DDRAW.DLL + LPDIRECTDRAW lpDirectDraw; // puntero al objeto DirectDraw + + LPDIRECTDRAWSURFACE lpddsFrontBuffer; // frontbuffer en memoria de vídeo + LPDIRECTDRAWSURFACE lpddsBackBuffer; // backbuffer en memoria del sistema + LPDIRECTDRAWSURFACE lpddsOffScreenBuffer; // backbuffer en memoria del sistema + LPDIRECTDRAWPALETTE lpddpPalette; // paleta DirectDraw + + bool palettized; // cierto si el escritorio esta paletizado + bool modex; + + bool initializing; +} swwstate_t; + +extern swwstate_t sww_state; + +/* +** DIB +*/ +bool DIB_Init( unsigned char **ppbuffer, int *ppitch ); +void DIB_Shutdown( void ); +void DIB_SetPalette( const unsigned char *palette ); + +/* +** DirectDraw +*/ +bool DDRAW_Init( unsigned char **ppbuffer, int *ppitch ); +void DDRAW_Shutdown( void ); +void DDRAW_SetPalette( const unsigned char *palette ); + + +#endif /* __EDIV_GR_WIN32_H_ */ diff --git a/dlls/src/win32/vc6/dlls.dsw b/dlls/src/win32/vc6/dlls.dsw new file mode 100644 index 0000000..46c6758 --- /dev/null +++ b/dlls/src/win32/vc6/dlls.dsw @@ -0,0 +1,65 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "edivstd"=..\..\EDIVSTD\WIN32\vc6\edivstd.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "graphics"=..\..\GRAPHICS\WIN32\vc6\graphics.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "input"=..\..\input\win32\vc6\input.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "math"=..\..\MATH\WIN32\vc6\math.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/dlls/src/win32/vc6/dlls.ncb b/dlls/src/win32/vc6/dlls.ncb new file mode 100644 index 0000000..679d060 --- /dev/null +++ b/dlls/src/win32/vc6/dlls.ncb @@ -0,0 +1 @@ +Microsoft C/C++ program database 2.00 diff --git a/dlls/src/win32/vc6/dlls.opt b/dlls/src/win32/vc6/dlls.opt new file mode 100644 index 0000000..f89d1a3 --- /dev/null +++ b/dlls/src/win32/vc6/dlls.opt @@ -0,0 +1 @@ +ÐÏࡱ \ No newline at end of file