el antialiasing ya no hace bordes negros por culpa del colorkey

This commit is contained in:
Gabriel Lorenzo 2003-06-03 20:19:51 +00:00
parent 60486510e2
commit 757d0ac203
7 changed files with 316 additions and 34 deletions

View file

@ -0,0 +1,114 @@
# Microsoft Developer Studio Project File - Name="edivstd" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
CFG=edivstd - 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 "edivstd.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 "edivstd.mak" CFG="edivstd - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "edivstd - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "edivstd - 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)" == "edivstd - 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 "EDIVSTD_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "EDIVSTD_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)" == "edivstd - 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 "EDIVSTD_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 "EDIVSTD_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 /nologo /dll /debug /machine:I386 /out:"c:\temp\ediv\ediv\bin\dll\edivstd.dll" /pdbtype:sept
!ENDIF
# Begin Target
# Name "edivstd - Win32 Release"
# Name "edivstd - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=..\..\edivstd.c
# End Source File
# Begin Source File
SOURCE=..\..\edivstd.def
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE=..\..\edivstd.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

View file

@ -20,6 +20,10 @@
*/ */
/*! \file SDL_rotozoom.c
* \brief Funciones para transformar superficies (angle y size)
*/
#ifdef WIN32 #ifdef WIN32
#include <windows.h> #include <windows.h>
#endif #endif

View file

@ -1,3 +1,10 @@
/*! \file SDL_rotozoom.h
* \brief Cabecera para la SDL_rotozoom
* \defgroup SDL_rotozoom SDL_rotozoom
* Rutinas de size y angle
* @{
*/
#ifndef _SDL_rotozoom_h #ifndef _SDL_rotozoom_h
#define _SDL_rotozoom_h #define _SDL_rotozoom_h
@ -13,7 +20,6 @@ extern "C"
#endif #endif
#include <SDL/SDL.h> #include <SDL/SDL.h>
/* ---- Defines */ /* ---- Defines */
#define SMOOTHING_OFF 0 #define SMOOTHING_OFF 0
@ -39,9 +45,7 @@ extern "C"
/* ---- Prototypes */ /* ---- Prototypes */
/* /*!
rotozoomSurface()
Rotates and zoomes a 32bit or 8bit 'src' surface to newly created 'dst' surface. Rotates and zoomes a 32bit or 8bit 'src' surface to newly created 'dst' surface.
'angle' is the rotation in degrees. 'zoom' a scaling factor. If 'smooth' is 1 'angle' is the rotation in degrees. 'zoom' a scaling factor. If 'smooth' is 1
@ -54,9 +58,7 @@ extern "C"
int smooth); int smooth);
/* /*!
zoomSurface()
Zoomes a 32bit or 8bit 'src' surface to newly created 'dst' surface. Zoomes a 32bit or 8bit 'src' surface to newly created 'dst' surface.
'zoomx' and 'zoomy' are scaling factors for width and height. If 'smooth' is 1 'zoomx' and 'zoomy' are scaling factors for width and height. If 'smooth' is 1
@ -75,3 +77,5 @@ extern "C"
#endif #endif
#endif /* _SDL_rotozoom_h */ #endif /* _SDL_rotozoom_h */
/*! @} */

View file

@ -563,6 +563,8 @@ void first_load(FUNCTION_PARAMS)
fp->graphics->buffer=screen->pixels; fp->graphics->buffer=screen->pixels;
fp->graphics->background=fondo->pixels; fp->graphics->background=fondo->pixels;
graphics=fp->graphics;
} }
@ -580,6 +582,9 @@ void first_load(FUNCTION_PARAMS)
* transparencia, etc. * transparencia, etc.
* La función hace "clipping" al gráfico automáticamente según la región que se le * La función hace "clipping" al gráfico automáticamente según la región que se le
* indique. * indique.
* \todo Hacer que no obligue a la DLL que la llama a usar SDL. Puede convertirse
* esta función o usar una alternativa, esta se usaría de forma interna y la otra se
* almacenaría en fp->Dibuja para que la usen las demás DLL's.
* @param src Superficie donde se encuentra el gráfico a dibujar * @param src Superficie donde se encuentra el gráfico a dibujar
* @param x Coordenada X destino * @param x Coordenada X destino
* @param y Coordenada Y destino * @param y Coordenada Y destino
@ -614,10 +619,19 @@ int Dibuja(SDL_Surface *src,int x,int y,int cx,int cy,int region,int z,int flags
zoom=size*0.01f; zoom=size*0.01f;
angulo=(angle%360000)/1000; angle=angle%360000;
if(angle<0) angle+=360000;
angulo=angle/1000;
/*! Ahora siempre se crea una copia de la surface, lo he puesto así porque
* tiene la ventaja de que con el smooth no kedan bordes negros y hace un
* perfecto antialiasing, pero vamos, esto hay ke optimizarlo bastante (habrá
* que guarrear bastante en el SDL_rotozoomer.c)
*/
temp=SDL_CreateRGBSurface(src->flags,src->w,src->h,src->format->BitsPerPixel,0,0,0,0);
SDL_SetColorKey(temp,src->flags,color_transparente);
if(flags&3) { if(flags&3) {
temp=SDL_CreateRGBSurface(src->flags,src->w,src->h,src->format->BitsPerPixel,0,0,0,0);
/* el volteado vertical es más rápido */ /* el volteado vertical es más rápido */
if((flags&3)==2) { if((flags&3)==2) {
for(i=0;i<src->h;i++) for(i=0;i<src->h;i++)
@ -638,36 +652,39 @@ int Dibuja(SDL_Surface *src,int x,int y,int cx,int cy,int region,int z,int flags
(byte*)src->pixels+(u*src->format->BytesPerPixel)+(v*src->pitch),src->format->BytesPerPixel); (byte*)src->pixels+(u*src->format->BytesPerPixel)+(v*src->pitch),src->format->BytesPerPixel);
} }
} }
SDL_SetColorKey(temp,src->flags,color_transparente);
if(flags&1) if(flags&1)
cx=src->w-cx-1; cx=src->w-cx-1;
if(flags&2) if(flags&2)
cy=src->h-cy-1; cy=src->h-cy-1;
} }
blits[last_blit].src = xput(temp,zoom,angulo); else {
memcpy(temp->pixels,src->pixels,temp->h*temp->pitch);
if(temp!=src) }
SDL_FreeSurface(temp);
/*! /*!
* Pequeño hack para arreglar transparency * Pequeño hack para arreglar transparency
* \todo Debería limpiarse y revisarse un poco :P * \todo Debería limpiarse y revisarse un poco :P
*/ */
if(blits[last_blit].src->flags & SDL_SRCALPHA) { if(src->flags & SDL_SRCALPHA) {
for(i=0;i<blits[last_blit].src->h*blits[last_blit].src->w*blits[last_blit].src->format->BytesPerPixel;i+=blits[last_blit].src->format->BytesPerPixel) { for(i=0;i<temp->h*temp->w*temp->format->BytesPerPixel;i+=temp->format->BytesPerPixel) {
if(*((int*)&((byte*)blits[last_blit].src->pixels)[i])!=color_transparente) if(*((int*)&((byte*)src->pixels)[i])!=color_transparente)
((byte*)blits[last_blit].src->pixels)[i+3]=trans; ((byte*)temp->pixels)[i+3]=trans;
} }
} }
else { else {
SDL_SetAlpha(blits[last_blit].src,SDL_SRCALPHA,trans); SDL_SetAlpha(temp,SDL_SRCALPHA,trans);
} }
blits[last_blit].src = xput(temp,zoom,angulo);
// if(temp!=src)
SDL_FreeSurface(temp);
#define redondea(x) (int)(floor(x)+(((x)-(int)(x))<.5?0:1)) #define redondea(x) (int)(floor(x)+(((x)-(int)(x))<.5?0:1))
if(size!=100) { if(size!=100) {
if(angle!=0) if(angle!=0)
i=j=(sqrt(cx*cx+cy*cy)*zoom+1); i=j=sqrt(cx*cx+cy*cy)*zoom+1.0;
else { else {
i=(int)(cx*zoom); i=(int)(cx*zoom);
j=(int)(cy*zoom); j=(int)(cy*zoom);
@ -715,7 +732,7 @@ SDL_Surface *xput(SDL_Surface *src,double size,double angle)
SDL_Surface *tmp; SDL_Surface *tmp;
s=smooth&1; s=smooth&1;
if(size==1 && angle ==0) s=0; if((size==1 && angle==0) || graphics->bpp<16) s=0;
// tmp= zoomSurface (src, size, size,s); // tmp= zoomSurface (src, size, size,s);
dst=rotozoomSurface (src, angle, size,s); dst=rotozoomSurface (src, angle, size,s);
//SDL_FreeSurface (tmp); //SDL_FreeSurface (tmp);

View file

@ -118,6 +118,8 @@ int gamma[3] ;
int smooth; /*!< Indica si se desea suavizar los gráficos @see xput() */ int smooth; /*!< Indica si se desea suavizar los gráficos @see xput() */
struct _graphics* graphics; /*!< Para que todas las funciones puedan acceder a fp->graphics */
/* /*
** Prototipos ** Prototipos
*/ */

View file

@ -6,13 +6,22 @@
--------------------Configuration: graphics - Win32 Debug-------------------- --------------------Configuration: graphics - Win32 Debug--------------------
</h3> </h3>
<h3>Command Lines</h3> <h3>Command Lines</h3>
Creating temporary file "C:\WINDOWS\TEMP\RSP2A3.TMP" with contents Creating temporary file "C:\WINDOWS\TEMP\RSP4292.TMP" with contents
[ [
/nologo /MD /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GRAPHICS_EXPORTS" /FR"Debug/" /Fp"Debug/graphics.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c /nologo /MD /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GRAPHICS_EXPORTS" /FR"Debug/" /Fp"Debug/graphics.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"C:\Temp\ediv\dlls\src\GRAPHICS\advance.c"
"C:\Temp\ediv\dlls\src\GRAPHICS\carga.c"
"C:\Temp\ediv\dlls\src\GRAPHICS\collision.c"
"C:\Temp\ediv\dlls\src\GRAPHICS\draw.c"
"C:\Temp\ediv\dlls\src\GRAPHICS\graphics.c" "C:\Temp\ediv\dlls\src\GRAPHICS\graphics.c"
"C:\Temp\ediv\dlls\src\GRAPHICS\map_ops.c"
"C:\Temp\ediv\dlls\src\GRAPHICS\misc.c"
"C:\Temp\ediv\dlls\src\GRAPHICS\paleta.c"
"C:\Temp\ediv\dlls\src\GRAPHICS\regiones.c"
"C:\Temp\ediv\dlls\src\GRAPHICS\SDL_rotozoom.c"
] ]
Creating command line "cl.exe @C:\WINDOWS\TEMP\RSP2A3.TMP" Creating command line "cl.exe @C:\WINDOWS\TEMP\RSP4292.TMP"
Creating temporary file "C:\WINDOWS\TEMP\RSP02A4.TMP" with contents Creating temporary file "C:\WINDOWS\TEMP\RSP4293.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" 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\advance.obj .\Debug\advance.obj
@ -26,23 +35,37 @@ kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32
.\Debug\regiones.obj .\Debug\regiones.obj
.\Debug\SDL_rotozoom.obj .\Debug\SDL_rotozoom.obj
] ]
Creating command line "link.exe @C:\WINDOWS\TEMP\RSP02A4.TMP" Creating command line "link.exe @C:\WINDOWS\TEMP\RSP4293.TMP"
<h3>Output Window</h3> <h3>Output Window</h3>
Compiling... Compiling...
advance.c
carga.c
collision.c
draw.c
graphics.c graphics.c
C:\Temp\ediv\dlls\src\GRAPHICS\graphics.c(240) : warning C4101: 'srcrect' : unreferenced local variable c:\temp\ediv\dlls\src\graphics\graphics.c(240) : warning C4101: 'srcrect' : unreferenced local variable
C:\Temp\ediv\dlls\src\GRAPHICS\graphics.c(667) : warning C4244: '=' : conversion from 'float ' to 'int ', possible loss of data c:\temp\ediv\dlls\src\graphics\graphics.c(567) : warning C4133: '=' : incompatible types - from 'struct _graphics *' to 'struct _graphics *'
C:\Temp\ediv\dlls\src\GRAPHICS\graphics.c(668) : warning C4244: '=' : conversion from 'float ' to 'int ', possible loss of data c:\temp\ediv\dlls\src\graphics\graphics.c(687) : warning C4244: '=' : conversion from 'double ' to 'int ', possible loss of data
C:\Temp\ediv\dlls\src\GRAPHICS\graphics.c(710) : warning C4101: 'tmp' : unreferenced local variable c:\temp\ediv\dlls\src\graphics\graphics.c(695) : warning C4244: '=' : conversion from 'double ' to 'int ', possible loss of data
Linking... c:\temp\ediv\dlls\src\graphics\graphics.c(735) : error C2037: left of 'bpp' specifies undefined struct/union '_graphics'
Creating command line "bscmake.exe /nologo /o"Debug/graphics.bsc" .\Debug\advance.sbr .\Debug\carga.sbr .\Debug\collision.sbr .\Debug\draw.sbr .\Debug\graphics.sbr .\Debug\map_ops.sbr .\Debug\misc.sbr .\Debug\paleta.sbr .\Debug\regiones.sbr .\Debug\SDL_rotozoom.sbr" map_ops.c
Creating browse info file... misc.c
<h3>Output Window</h3> paleta.c
regiones.c
SDL_rotozoom.c
c:\temp\ediv\dlls\src\graphics\sdl_rotozoom.c(232) : warning C4018: '<' : signed/unsigned mismatch
c:\temp\ediv\dlls\src\graphics\sdl_rotozoom.c(241) : warning C4018: '<' : signed/unsigned mismatch
c:\temp\ediv\dlls\src\graphics\sdl_rotozoom.c(251) : warning C4018: '<' : signed/unsigned mismatch
c:\temp\ediv\dlls\src\graphics\sdl_rotozoom.c(258) : warning C4018: '<' : signed/unsigned mismatch
c:\temp\ediv\dlls\src\graphics\sdl_rotozoom.c(271) : warning C4018: '<' : signed/unsigned mismatch
c:\temp\ediv\dlls\src\graphics\sdl_rotozoom.c(275) : warning C4018: '<' : signed/unsigned mismatch
c:\temp\ediv\dlls\src\graphics\sdl_rotozoom.c(646) : warning C4244: '=' : conversion from 'double ' to 'int ', possible loss of data
Error executing cl.exe.
<h3>Results</h3> <h3>Results</h3>
graphics.dll - 0 error(s), 4 warning(s) graphics.dll - 1 error(s), 11 warning(s)
</pre> </pre>
</body> </body>
</html> </html>

View file

@ -0,0 +1,118 @@
# Microsoft Developer Studio Project File - Name="text" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
CFG=text - 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 "text.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 "text.mak" CFG="text - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "text - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "text - 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)" == "text - 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 "TEXT_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TEXT_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)" == "text - 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 "TEXT_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 "TEXT_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\text.dll" /pdbtype:sept
!ENDIF
# Begin Target
# Name "text - Win32 Release"
# Name "text - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=..\..\text.c
# End Source File
# Begin Source File
SOURCE=..\..\text.def
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE=..\..\edivfont.h
# End Source File
# Begin Source File
SOURCE=..\..\text.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