diff --git a/ediv/propuestas.txt b/ediv/propuestas.txt index dfd8796..70d8d8b 100644 --- a/ediv/propuestas.txt +++ b/ediv/propuestas.txt @@ -300,3 +300,5 @@ poder cargar fuentes de letra directamente a partir de .map map_clone, copia un grafico, incluyendo puntos de control :) joysticks... controladores.. force feedback.. (kien tiene uno de estos trastos? xD) + +drag&drop \ No newline at end of file diff --git a/ediv/src/dlls/dlls.suo b/ediv/src/dlls/dlls.suo index e67a1cd..fefd1a7 100644 Binary files a/ediv/src/dlls/dlls.suo and b/ediv/src/dlls/dlls.suo differ diff --git a/ediv/src/dlls/export.h b/ediv/src/dlls/export.h index bdbaf0a..bc773df 100644 --- a/ediv/src/dlls/export.h +++ b/ediv/src/dlls/export.h @@ -90,7 +90,7 @@ typedef int (TYPEOF_EDIV_Export_Priority)(int priority); typedef int (TYPEOF_Call_Entrypoint)(int ep, ...); /* Dibuja */ -typedef int (TYPEOF_Dibuja)(SDL_Surface *, SDL_Rect, SDL_Rect, int, int); +typedef int (TYPEOF_Dibuja)(SDL_Surface *, SDL_Rect, SDL_Rect, int, int, int, int); /* Errores */ typedef void (TYPEOF_Runtime_Error)(int, ...); diff --git a/ediv/src/dlls/graphics/main.c b/ediv/src/dlls/graphics/main.c index 37f9e70..3cddee9 100644 --- a/ediv/src/dlls/graphics/main.c +++ b/ediv/src/dlls/graphics/main.c @@ -327,11 +327,11 @@ int eDIV_LOAD_BMP(FUNCTION_PARAMS) /*****************************************************************/ /* */ -/* eDIV_SET_TRANSPARENT_COLO(a); */ +/* eDIV_SET_TRANSPARENT_COLOR(a); */ /* */ -/* Coloca qual es el color transparente donde 'a' es el color. */ +/* Coloca cual es el color transparente donde 'a' es el color. */ /* */ -/* Retorna: El antigui color transparente. */ +/* Retorna: El antiguo color transparente. */ /* */ /*****************************************************************/ @@ -364,11 +364,11 @@ int eDIV_GET_TRASPARENT_COLOR(FUNCTION_PARAMS) /*****************************************************************/ /* */ -/* eDIV_RGB(b,g,r); */ +/* eDIV_RGB(r,g,b); */ /* */ /* Crea un color a partir de los 3 colores basicos. . */ /* */ -/* b= Blue (Azul) g=Verde (Green) r=Rojo (Red) */ +/* r=Rojo (Red) g=Verde (Green) b=Blue (Azul) */ /* */ /* Retorna: El color generado. */ /* */ @@ -1397,7 +1397,7 @@ int Dibuja(SDL_Surface *src , SDL_Rect srcrect , SDL_Rect dstrect , int z , int last_blit++ ; - if(size==1244324)size=0; //Peta si el ZOOM es igual a 1244324 xDDDDD (Que valor maximo puede tener size?? 1000??? + //if(size==1244324)size=0; //Peta si el ZOOM es igual a 1244324 xDDDDD (Que valor maximo puede tener size?? 1000??? if(size==0)size=100; //==== > Para la campatiblidad entre DLL's. zoom=size*0.01; diff --git a/ediv/src/dlls/input/input.c b/ediv/src/dlls/input/input.c index d77d910..7d93a82 100644 --- a/ediv/src/dlls/input/input.c +++ b/ediv/src/dlls/input/input.c @@ -570,7 +570,7 @@ void frame(FUNCTION_PARAMS) dstrect.h=mapamouse->h; // TODO: añadir chequeo de error si no existe file o mapa - fp->Dibuja(mapamouse,srcrect,dstrect,/*fp->mem[_mouse+4]*/0,255); + fp->Dibuja(mapamouse,srcrect,dstrect,/*fp->mem[_mouse+4]*/0,255,0,0); } /* FIN DE MOUSE */ diff --git a/ediv/src/dlls/text/text.c b/ediv/src/dlls/text/text.c index 0ba1ee7..10eac0e 100644 --- a/ediv/src/dlls/text/text.c +++ b/ediv/src/dlls/text/text.c @@ -368,7 +368,7 @@ void frame(FUNCTION_PARAMS) dstrect.w = srcrect.w ; dstrect.h = srcrect.h ; - fp->Dibuja( textos[i].imagen , srcrect, dstrect , 0 , 255 ) ; + fp->Dibuja( textos[i].imagen , srcrect, dstrect , 0 , 255 , 0 , 0 ) ; } diff --git a/ediv/src/ediv/dll_load.c b/ediv/src/ediv/dll_load.c index d20ece9..cbcdf5d 100644 --- a/ediv/src/ediv/dll_load.c +++ b/ediv/src/ediv/dll_load.c @@ -21,6 +21,7 @@ #include #include +#include "main.h" #include "dll_load.h" byte g_bIsWinNT; diff --git a/ediv/src/ediv/ediv.c b/ediv/src/ediv/ediv.c index 922a854..88ffa64 100644 --- a/ediv/src/ediv/ediv.c +++ b/ediv/src/ediv/ediv.c @@ -354,7 +354,7 @@ void* e_malloc(size_t size) return ret; } -void *e_free(void *puntero) +void e_free(void *puntero) { if (puntero) { free(puntero); diff --git a/ediv/src/ediv/encrypt.c b/ediv/src/ediv/encrypt.c index 823f25c..84cd240 100644 --- a/ediv/src/ediv/encrypt.c +++ b/ediv/src/ediv/encrypt.c @@ -27,6 +27,7 @@ #include #include #include +#include "main.h" #include "encrypt.h" #include "shared.h" /* Contiene la clave de cifrado */ diff --git a/ediv/src/ediv/language.c b/ediv/src/ediv/language.c index a4e90a9..68cd86a 100644 --- a/ediv/src/ediv/language.c +++ b/ediv/src/ediv/language.c @@ -175,11 +175,11 @@ char* translate_error(int num) /* 0 */ "", /* 1 */ "Si aspettava '*/'", - /* 2 */ "Ecceduta la capacità del vettore nomi", + /* 2 */ "Capacità vettore nomi oltrepassata", /* 3 */ "Si aspettava '\"'", /* 4 */ "Simbolo non riconosciuto", /* 5 */ "Carattere non riconosciuto", - /* 6 */ "Ecceduta la capacità della tabella oggetti", + /* 6 */ "Capacità tabella oggetti oltrepassata", /* 7 */ "Aspettando '='", /* 8 */ "Aspettando un'opzione di compilazione", /* 9 */ "Aspettando ';'", @@ -187,19 +187,19 @@ char* translate_error(int num) /* 11 */ "Espressione incorretta", /* 12 */ "Assegnazione a catena incorretta", /* 13 */ "Assegnazione incorretta", - /* 14 */ "Non si può calcolare l'offset del dato", - /* 15 */ "Non si può calcolare l'offset", - /* 16 */ "Non si può realizzare l'incremento", - /* 17 */ "Non si può accedere a local", + /* 14 */ "Impossibile calcolare l'offset del dato", + /* 15 */ "Impossibile calcolare l'offset", + /* 16 */ "Non è possibile realizzare l'incremento", + /* 17 */ "Impossibile accedere a local", /* 18 */ "Aspettando ')'", /* 19 */ "Aspettando ']'", /* 20 */ "Non è un tipo di proceso", /* 21 */ "Aspettando il nome di un processo", /* 22 */ "Aspettando '('", /* 23 */ "Aspettando un nome", - /* 24 */ "Non si può calcolare la grandezza", + /* 24 */ "Impossibile calcolare la grandezza", /* 25 */ "Espressione incorretta", - /* 26 */ "Non si può ricevere una struttura come parametro", + /* 26 */ "Non è possibile ricevere una struttura come parametro", /* 27 */ "Aspettando il nome della struttura", /* 28 */ "Dichiarazione incorretta di puntatore a struttura", /* 29 */ "Aspettando il nome della catena", @@ -210,12 +210,12 @@ char* translate_error(int num) /* 34 */ "Nome sconosciuto: %s", /* 35 */ "Si aspettava una virgola", /* 36 */ "Si aspettava un altro parametro", - /* 37 */ "Non si può accedere a dati PRIVATE esterni", + /* 37 */ "Non è possibile accedere a dati PRIVATE esterni", /* 38 */ "Numero di parametri incorretto", /* 39 */ "Aspettando un elemento della struttura", /* 40 */ "Tabella di lunghezza negativa", /* 41 */ "La lunghezza non coincide con la dichiarazione precedente", - /* 42 */ "Non si può inizializzare un parametro", + /* 42 */ "Impossibile inizializzare un parametro", /* 43 */ "Struttura di lunghezza negativa", /* 44 */ "Aspettando PROGRAM", /* 45 */ "Aspettando il nome del programma", @@ -626,7 +626,7 @@ char* translate_dll_error(int num) /* 1 - ITALIANO */ - /* 1 */ "Sorpassato buffer dei nomi oggetto", + /* 1 */ "Limite buffer nomi oggetto oltrepassato", /* 2 */ "Oggetto '%s': Il nome non è nuovo", /* 3 */ "Troppi oggetti dichiarati", /* 4 */ "Funzione '%s': Il nome non è nuovo", diff --git a/ediv/src/ediv/main.h b/ediv/src/ediv/main.h index d32f245..e559e25 100644 --- a/ediv/src/ediv/main.h +++ b/ediv/src/ediv/main.h @@ -60,7 +60,7 @@ word error_25; // Para emitir "se esperaba una sentencia" // Prototipos void *e_malloc(size_t size); // un malloc con mensaje de error -void *e_free(void *puntero); +void e_free(void *puntero); void errormem(); // mensaje "memoria insuficiente" void save_error(word tipo); // guarda una posición de error void error(word tipo,word num, ...);// error de compilación diff --git a/ediv/src/stub/language.c b/ediv/src/stub/language.c index 9cefea0..7254a66 100644 --- a/ediv/src/stub/language.c +++ b/ediv/src/stub/language.c @@ -95,13 +95,13 @@ char* translate(int id_cadena) /* 3 */ "Error en %s: ", /* 4 */ "eDIV: Error en librería dinámica", - /* 1 - ITALIANO (FIXMI: traducir) */ + /* 1 - ITALIANO */ - /* 0 */ "ERROR %d: ", - /* 1 */ "eDIV: Error en ejecución", - /* 2 */ "eDIV: Error crítico", - /* 3 */ "Error en %s: ", - /* 4 */ "eDIV: Error en librería dinámica", + /* 0 */ "ERRORE %d: ", + /* 1 */ "eDIV: Errore in esecuzione", + /* 2 */ "eDIV: Errore critico", + /* 3 */ "Errore in %s: ", + /* 4 */ "eDIV: Errore in libreria dinamica", /* 2 - PORTUGUÉS (FIXMI: traducir) */ @@ -806,9 +806,9 @@ char* translate_critical_error(int num) /* 4 */ "Non si è potuto riservare memoria per la pila", /* 5 */ "Libreria non trovata: %s", /* 6 */ "%s non è una libreria valida di eDIV", - /* 7 */ "No se pudo inicializar SDL", // TODO - /* 8 */ "Demasiados procesos en ejecución", // TODO - /* 9 */ "Se requiere SDL versión %d.%d.%d\nVersión detectada en el sistema: %d.%d.%d", // TODO + /* 7 */ "Non è stato possibile inizializzare SDL", + /* 8 */ "Troppi processi in esecuzione", + /* 9 */ "E' richiesta SDL %d.%d.%d\nVersione rilevata nel sistema: %d.%d.%d", /* 2 - PORTUGUÉS (FIXMI: traducir) */ diff --git a/ediv/src/visual c/ediv_ws.suo b/ediv/src/visual c/ediv_ws.suo index 4c39eb5..4313a56 100644 Binary files a/ediv/src/visual c/ediv_ws.suo and b/ediv/src/visual c/ediv_ws.suo differ