Dibuja ha cambiado otra vez :p

This commit is contained in:
Gabriel Lorenzo 2003-06-02 17:59:28 +00:00
parent 7801f043bf
commit bd3a0f5b87
8 changed files with 38 additions and 82 deletions

View file

@ -3,7 +3,7 @@ private
fuente;
begin
set_mode(320,200,24,_fullscreen);
set_mode(320,200,24);
graph=load_bmp("hola.bmp");
smooth=1;
x=160;
@ -11,9 +11,17 @@ begin
size=200;
fuente=load_fnt("system.fnt");
write(fuente,160,40,4,"HOLA");
define_region(1,10,10,300,180);
region=1;
loop
frame;
angle+=1000;
if(key(_left)) x-=5; end
if(key(_right)) x+=5; end
if(key(_up)) y-=5; end
if(key(_down)) y+=5; end
if(key(_a)) size+=10; end
if(key(_z)) size-=10; end
end
end

View file

@ -53,6 +53,10 @@ void conecta(char *servidor, char *archivo);
#include "language.h"
#include "edivcfg/iniparser.h"
#ifdef main
#undef main
#endif
int main(int argc, char *argv[])
{
FILE *fp; /* stream del PRG */

View file

@ -21,7 +21,7 @@
#ifndef __EXTERN_H
#define __EXTERN_H
#include <SDL/SDL.h>
//#include <SDL/SDL.h>
#include "main.h"
#include "varindex.h"
@ -81,7 +81,8 @@ typedef struct {
} eDIV_Rect;
/* Dibuja */
typedef int (TYPEOF_Dibuja)(byte *, eDIV_Rect , eDIV_Rect , int , int ) ;
//typedef int (TYPEOF_Dibuja)(byte *, eDIV_Rect , eDIV_Rect , int , int ) ;
typedef int (TYPEOF_Dibuja)(byte*,int x,int y,int cx,int cy,int region,int z,int trans,int size,int angle);
/* Errores */
typedef void (TYPEOF_Runtime_Error)(int, ...);

View file

@ -26,6 +26,7 @@
#include <sys/stat.h>
#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "modulos.h"

View file

@ -26,7 +26,7 @@
#include <string.h>
#include <stdlib.h>
#include <SDL/SDL.h>
//#include <SDL/SDL.h>
#include <zlib.h>
#include "extern.h"
@ -47,9 +47,9 @@
* mem, imem_max, etc)
*/
/*#ifdef main
#ifdef main
#undef main
#endif*/
#endif
int main(int argc, char* argv[])
{

View file

@ -6,53 +6,11 @@
--------------------Configuration: ediv - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\WINDOWS\TEMP\RSPD050.TMP" with contents
[
/nologo /MD /W3 /Gm /GX /ZI /Od /I "..\..\..\inc" /I "..\..\shared" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"Debug/" /Fp"Debug/ediv.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"C:\Temp\ediv\ediv\src\ediv\compiler.c"
"C:\Temp\ediv\ediv\src\ediv\ediv.c"
"C:\Temp\ediv\ediv\src\ediv\ediv_export.c"
"C:\Temp\ediv\ediv\src\ediv\modulos.c"
"C:\Temp\ediv\ediv\src\ediv\parser.c"
]
Creating command line "cl.exe @C:\WINDOWS\TEMP\RSPD050.TMP"
Creating temporary file "C:\WINDOWS\TEMP\RSPD051.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 sdlmain.lib sdl.lib ws2_32.lib zlib.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/ediv.pdb" /debug /machine:I386 /out:"..\..\..\bin\ediv.exe" /pdbtype:sept /libpath:"..\..\..\lib"
".\Debug\dictionary.obj"
".\Debug\e_error.obj"
".\Debug\edivcfg.obj"
".\Debug\mainparse.obj"
".\Debug\strlib.obj"
".\Debug\compiler.obj"
".\Debug\dll_load.obj"
".\Debug\ediv.obj"
".\Debug\ediv_export.obj"
".\Debug\encrypt.obj"
".\Debug\expresion.obj"
".\Debug\language.obj"
".\Debug\listados.obj"
".\Debug\lower.obj"
".\Debug\ltlex.obj"
".\Debug\modulos.obj"
".\Debug\parser.obj"
".\Debug\varindex.obj"
]
Creating command line "link.exe @C:\WINDOWS\TEMP\RSPD051.TMP"
<h3>Output Window</h3>
Compiling...
compiler.c
ediv.c
c:\temp\ediv\ediv\src\ediv\ediv.c(206) : warning C4018: '<=' : signed/unsigned mismatch
ediv_export.c
modulos.c
parser.c
Linking...
<h3>Results</h3>
ediv.exe - 0 error(s), 1 warning(s)
ediv.exe - 0 error(s), 0 warning(s)
</pre>
</body>
</html>

View file

@ -6,27 +6,28 @@
--------------------Configuration: encrypt - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\WINDOWS\TEMP\RSP91B3.TMP" with contents
Creating temporary file "C:\WINDOWS\TEMP\RSP9223.TMP" with contents
[
/nologo /MD /W3 /Gm /GX /ZI /Od /I "..\..\..\inc" /I "..\..\shared" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"Debug/encrypt.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"C:\Temp\ediv\ediv\src\encrypt\encrypt.c"
]
Creating command line "cl.exe @C:\WINDOWS\TEMP\RSP91B3.TMP"
Creating temporary file "C:\WINDOWS\TEMP\RSP91B4.TMP" with contents
Creating command line "cl.exe @C:\WINDOWS\TEMP\RSP9223.TMP"
Creating temporary file "C:\WINDOWS\TEMP\RSP9224.TMP" with contents
[
zlib.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib sdlmain.lib sdl.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/encrypt.pdb" /debug /machine:I386 /out:"..\..\..\bin\encrypt.exe" /pdbtype:sept /libpath:"..\..\..\lib"
".\Debug\encrypt.obj"
]
Creating command line "link.exe @C:\WINDOWS\TEMP\RSP91B4.TMP"
Creating command line "link.exe @C:\WINDOWS\TEMP\RSP9224.TMP"
<h3>Output Window</h3>
Compiling...
encrypt.c
Linking...
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
<h3>Results</h3>
encrypt.exe - 0 error(s), 0 warning(s)
encrypt.exe - 0 error(s), 1 warning(s)
</pre>
</body>
</html>

View file

@ -6,65 +6,48 @@
--------------------Configuration: stub - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\WINDOWS\TEMP\RSPE175.TMP" with contents
Creating temporary file "C:\WINDOWS\TEMP\RSP4095.TMP" with contents
[
/nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\inc" /I "..\..\shared" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /FR"Debug/" /Fp"Debug/stub.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"C:\Temp\ediv\ediv\src\stub\dll.c"
"C:\Temp\ediv\ediv\src\stub\ediv_export.c"
"C:\Temp\ediv\ediv\src\stub\error.c"
"C:\Temp\ediv\ediv\src\stub\inte.c"
"C:\Temp\ediv\ediv\src\stub\stub.c"
"C:\Temp\ediv\ediv\src\stub\fatal.c"
"C:\Temp\ediv\ediv\src\stub\lower.c"
"C:\Temp\ediv\ediv\src\stub\modulos.c"
"C:\Temp\ediv\ediv\src\stub\varindex.c"
]
Creating command line "cl.exe @C:\WINDOWS\TEMP\RSPE175.TMP"
Creating temporary file "C:\WINDOWS\TEMP\RSPE176.TMP" with contents
Creating command line "cl.exe @C:\WINDOWS\TEMP\RSP4095.TMP"
Creating temporary file "C:\WINDOWS\TEMP\RSP4096.TMP" with contents
[
sdlmain.lib sdl.lib zlib.lib 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 /subsystem:console /incremental:yes /pdb:"Debug/stub.pdb" /debug /machine:I386 /out:"..\..\..\bin\stub.exe" /pdbtype:sept /libpath:"..\..\..\lib"
".\Debug\dll.obj"
".\Debug\dll_load.obj"
".\Debug\ediv_export.obj"
".\Debug\error.obj"
".\Debug\fatal.obj"
".\Debug\inte.obj"
".\Debug\language.obj"
".\Debug\stub.obj"
".\Debug\fatal.obj"
".\Debug\lower.obj"
".\Debug\modulos.obj"
".\Debug\stub.obj"
".\Debug\varindex.obj"
]
Creating command line "link.exe @C:\WINDOWS\TEMP\RSPE176.TMP"
Creating command line "link.exe @C:\WINDOWS\TEMP\RSP4096.TMP"
<h3>Output Window</h3>
Compiling...
dll.c
ediv_export.c
error.c
inte.c
c:\temp\ediv\ediv\src\stub\inte.c(46) : warning C4101: 'i' : unreferenced local variable
stub.c
fatal.c
lower.c
modulos.c
varindex.c
Linking...
LINK : LNK6004: ..\..\..\bin\stub.exe not found or not built by the last incremental link; performing full link
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:library
Creating temporary file "C:\WINDOWS\TEMP\RSPE233.BAT" with contents
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
Creating temporary file "C:\WINDOWS\TEMP\RSP40C0.BAT" with contents
[
@echo off
cd ..\..\..\bin
makelib win32.rel
]
Creating command line "C:\WINDOWS\TEMP\RSPE233.BAT"
Creating command line "C:\WINDOWS\TEMP\RSP40C0.BAT"
STUB_SIZE: 208965
STUB_SIZE: 196677
<h3>Results</h3>
stub.exe - 0 error(s), 2 warning(s)
stub.exe - 0 error(s), 1 warning(s)
</pre>
</body>
</html>