Renamed sources files to english words, updated makefile, recomputed dependencies.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@703 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
fb24a9ae67
commit
eb781b9bd6
2
Makefile
2
Makefile
@ -235,7 +235,7 @@ endif
|
||||
.PHONY : all debug release clean depend zip version force install uninstall
|
||||
|
||||
# This is the list of the objects we want to build. Dependancies are built by "make depend" automatically.
|
||||
OBJ = $(OBJDIR)/main.o $(OBJDIR)/init.o $(OBJDIR)/graph.o $(OBJDIR)/sdlscreen.o $(OBJDIR)/divers.o $(OBJDIR)/special.o $(OBJDIR)/boutons.o $(OBJDIR)/palette.o $(OBJDIR)/aide.o $(OBJDIR)/operatio.o $(OBJDIR)/pages.o $(OBJDIR)/loadsave.o $(OBJDIR)/readline.o $(OBJDIR)/moteur.o $(OBJDIR)/files.o $(OBJDIR)/op_c.o $(OBJDIR)/readini.o $(OBJDIR)/saveini.o $(OBJDIR)/shade.o $(OBJDIR)/clavier.o $(OBJDIR)/io.o $(OBJDIR)/version.o $(OBJDIR)/texte.o $(OBJDIR)/SFont.o $(OBJDIR)/setup.o $(OBJDIR)/pxsimple.o $(OBJDIR)/pxtall.o $(OBJDIR)/pxwide.o $(OBJDIR)/pxdouble.o $(OBJDIR)/windows.o $(OBJDIR)/brush.o $(OBJDIR)/realpath.o $(OBJDIR)/mountlist.o $(OBJDIR)/input.o $(OBJDIR)/hotkeys.o
|
||||
OBJ = $(OBJDIR)/main.o $(OBJDIR)/init.o $(OBJDIR)/graph.o $(OBJDIR)/sdlscreen.o $(OBJDIR)/misc.o $(OBJDIR)/special.o $(OBJDIR)/buttons.o $(OBJDIR)/palette.o $(OBJDIR)/help.o $(OBJDIR)/operatio.o $(OBJDIR)/pages.o $(OBJDIR)/loadsave.o $(OBJDIR)/readline.o $(OBJDIR)/engine.o $(OBJDIR)/filesel.o $(OBJDIR)/op_c.o $(OBJDIR)/readini.o $(OBJDIR)/saveini.o $(OBJDIR)/shade.o $(OBJDIR)/keyboard.o $(OBJDIR)/io.o $(OBJDIR)/version.o $(OBJDIR)/text.o $(OBJDIR)/SFont.o $(OBJDIR)/setup.o $(OBJDIR)/pxsimple.o $(OBJDIR)/pxtall.o $(OBJDIR)/pxwide.o $(OBJDIR)/pxdouble.o $(OBJDIR)/windows.o $(OBJDIR)/brush.o $(OBJDIR)/realpath.o $(OBJDIR)/mountlist.o $(OBJDIR)/input.o $(OBJDIR)/hotkeys.o
|
||||
|
||||
all : $(BIN)
|
||||
|
||||
|
||||
110
Makefile.dep
110
Makefile.dep
@ -1,66 +1,64 @@
|
||||
$(OBJDIR)/aide.o: aide.c const.h struct.h global.h divers.h moteur.h tables_aide.h \
|
||||
aide.h sdlscreen.h texte.h clavier.h windows.h input.h hotkeys.h \
|
||||
erreurs.h
|
||||
$(OBJDIR)/boutons.o: boutons.c const.h struct.h global.h divers.h graph.h moteur.h \
|
||||
readline.h files.h loadsave.h init.h boutons.h operatio.h pages.h \
|
||||
erreurs.h readini.h saveini.h shade.h io.h aide.h texte.h sdlscreen.h \
|
||||
windows.h brush.h input.h
|
||||
$(OBJDIR)/brush.o: brush.c global.h struct.h const.h graph.h divers.h erreurs.h \
|
||||
$(OBJDIR)/SFont.o: SFont.c SFont.h
|
||||
$(OBJDIR)/brush.o: brush.c global.h struct.h const.h graph.h misc.h errors.h \
|
||||
windows.h sdlscreen.h
|
||||
$(OBJDIR)/clavier.o: clavier.c global.h struct.h const.h
|
||||
$(OBJDIR)/divers.o: divers.c struct.h const.h sdlscreen.h global.h erreurs.h \
|
||||
boutons.h moteur.h divers.h clavier.h windows.h palette.h input.h
|
||||
$(OBJDIR)/files.o: files.c const.h struct.h global.h divers.h erreurs.h io.h \
|
||||
windows.h loadsave.h mountlist.h moteur.h
|
||||
$(OBJDIR)/graph.o: graph.c global.h struct.h const.h moteur.h boutons.h pages.h \
|
||||
erreurs.h sdlscreen.h graph.h divers.h pxsimple.h pxtall.h pxwide.h \
|
||||
$(OBJDIR)/buttons.o: buttons.c const.h struct.h global.h misc.h graph.h engine.h \
|
||||
readline.h filesel.h loadsave.h init.h buttons.h operatio.h pages.h \
|
||||
errors.h readini.h saveini.h shade.h io.h help.h text.h sdlscreen.h \
|
||||
windows.h brush.h input.h
|
||||
$(OBJDIR)/engine.o: engine.c const.h struct.h global.h graph.h misc.h special.h \
|
||||
buttons.h operatio.h shade.h errors.h sdlscreen.h windows.h brush.h \
|
||||
input.h engine.h
|
||||
$(OBJDIR)/filesel.o: filesel.c const.h struct.h global.h misc.h errors.h io.h \
|
||||
windows.h sdlscreen.h loadsave.h mountlist.h engine.h readline.h \
|
||||
input.h help.h
|
||||
$(OBJDIR)/graph.o: graph.c global.h struct.h const.h engine.h buttons.h pages.h \
|
||||
errors.h sdlscreen.h graph.h misc.h pxsimple.h pxtall.h pxwide.h \
|
||||
pxdouble.h windows.h
|
||||
$(OBJDIR)/help.o: help.c const.h struct.h global.h misc.h engine.h helpfile.h \
|
||||
help.h sdlscreen.h text.h keyboard.h windows.h input.h hotkeys.h \
|
||||
errors.h
|
||||
$(OBJDIR)/hotkeys.o: hotkeys.c struct.h const.h global.h hotkeys.h
|
||||
$(OBJDIR)/init.o: init.c const.h struct.h global.h graph.h boutons.h palette.h \
|
||||
aide.h operatio.h divers.h erreurs.h clavier.h io.h hotkeys.h files.h \
|
||||
setup.h windows.h sdlscreen.h mountlist.h loadsave.h
|
||||
$(OBJDIR)/input.o: input.c global.h struct.h const.h clavier.h sdlscreen.h \
|
||||
windows.h erreurs.h divers.h input.h
|
||||
$(OBJDIR)/init.o: init.c const.h struct.h global.h graph.h buttons.h palette.h \
|
||||
help.h operatio.h misc.h errors.h keyboard.h io.h hotkeys.h setup.h \
|
||||
windows.h sdlscreen.h mountlist.h loadsave.h
|
||||
$(OBJDIR)/input.o: input.c global.h struct.h const.h keyboard.h sdlscreen.h \
|
||||
windows.h errors.h misc.h input.h
|
||||
$(OBJDIR)/io.o: io.c struct.h const.h io.h
|
||||
$(OBJDIR)/loadsave.o: loadsave.c const.h struct.h global.h divers.h pages.h op_c.h \
|
||||
boutons.h erreurs.h io.h sdlscreen.h windows.h loadsave.h
|
||||
$(OBJDIR)/main.o: main.c const.h struct.h global.h graph.h divers.h init.h \
|
||||
boutons.h moteur.h pages.h files.h loadsave.h sdlscreen.h erreurs.h \
|
||||
readini.h saveini.h io.h texte.h setup.h windows.h brush.h palette.h
|
||||
$(OBJDIR)/moteur.o: moteur.c const.h struct.h global.h graph.h divers.h special.h \
|
||||
boutons.h operatio.h shade.h erreurs.h sdlscreen.h windows.h brush.h \
|
||||
input.h moteur.h
|
||||
$(OBJDIR)/mountlist.o: mountlist.c mountlist.h
|
||||
$(OBJDIR)/op_c.o: op_c.c op_c.h struct.h const.h erreurs.h
|
||||
$(OBJDIR)/operatio.o: operatio.c const.h struct.h global.h divers.h moteur.h \
|
||||
graph.h operatio.h boutons.h pages.h erreurs.h sdlscreen.h brush.h \
|
||||
$(OBJDIR)/keyboard.o: keyboard.c global.h struct.h const.h
|
||||
$(OBJDIR)/loadsave.o: loadsave.c const.h struct.h global.h misc.h pages.h op_c.h \
|
||||
buttons.h errors.h io.h sdlscreen.h windows.h loadsave.h
|
||||
$(OBJDIR)/main.o: main.c const.h struct.h global.h graph.h misc.h init.h buttons.h \
|
||||
engine.h pages.h loadsave.h sdlscreen.h errors.h readini.h saveini.h \
|
||||
io.h text.h setup.h windows.h brush.h palette.h
|
||||
$(OBJDIR)/misc.o: misc.c struct.h const.h sdlscreen.h global.h errors.h buttons.h \
|
||||
engine.h misc.h keyboard.h windows.h palette.h input.h
|
||||
$(OBJDIR)/mountlist.o: mountlist.c
|
||||
$(OBJDIR)/op_c.o: op_c.c op_c.h struct.h const.h errors.h
|
||||
$(OBJDIR)/operatio.o: operatio.c const.h struct.h global.h misc.h engine.h graph.h \
|
||||
operatio.h buttons.h pages.h errors.h sdlscreen.h brush.h windows.h
|
||||
$(OBJDIR)/pages.o: pages.c global.h struct.h const.h pages.h errors.h misc.h \
|
||||
windows.h
|
||||
$(OBJDIR)/pages.o: pages.c global.h struct.h const.h pages.h erreurs.h divers.h \
|
||||
windows.h
|
||||
$(OBJDIR)/palette.o: palette.c const.h struct.h global.h divers.h moteur.h \
|
||||
readline.h boutons.h pages.h aide.h sdlscreen.h erreurs.h op_c.h \
|
||||
windows.h input.h
|
||||
$(OBJDIR)/pxdouble.o: pxdouble.c global.h struct.h const.h sdlscreen.h divers.h \
|
||||
$(OBJDIR)/palette.o: palette.c const.h struct.h global.h misc.h engine.h readline.h \
|
||||
buttons.h pages.h help.h sdlscreen.h errors.h op_c.h windows.h input.h
|
||||
$(OBJDIR)/pxdouble.o: pxdouble.c global.h struct.h const.h sdlscreen.h misc.h \
|
||||
pxwide.h
|
||||
$(OBJDIR)/pxsimple.o: pxsimple.c global.h struct.h const.h sdlscreen.h divers.h
|
||||
$(OBJDIR)/pxtall.o: pxtall.c global.h struct.h const.h sdlscreen.h divers.h \
|
||||
$(OBJDIR)/pxsimple.o: pxsimple.c global.h struct.h const.h sdlscreen.h misc.h
|
||||
$(OBJDIR)/pxtall.o: pxtall.c global.h struct.h const.h sdlscreen.h misc.h \
|
||||
pxsimple.h
|
||||
$(OBJDIR)/pxwide.o: pxwide.c global.h struct.h const.h sdlscreen.h divers.h
|
||||
$(OBJDIR)/readini.o: readini.c const.h global.h struct.h divers.h
|
||||
$(OBJDIR)/readline.o: readline.c const.h struct.h global.h divers.h erreurs.h \
|
||||
$(OBJDIR)/pxwide.o: pxwide.c global.h struct.h const.h sdlscreen.h misc.h
|
||||
$(OBJDIR)/readini.o: readini.c const.h global.h struct.h misc.h
|
||||
$(OBJDIR)/readline.o: readline.c const.h struct.h global.h misc.h errors.h \
|
||||
sdlscreen.h readline.h windows.h input.h
|
||||
$(OBJDIR)/realpath.o: realpath.c
|
||||
$(OBJDIR)/saveini.o: saveini.c const.h global.h struct.h readini.h io.h erreurs.h \
|
||||
divers.h
|
||||
$(OBJDIR)/sdlscreen.o: sdlscreen.c global.h struct.h const.h sdlscreen.h erreurs.h \
|
||||
divers.h
|
||||
$(OBJDIR)/setup.o: setup.c struct.h const.h io.h files.h
|
||||
$(OBJDIR)/SFont.o: SFont.c SFont.h
|
||||
$(OBJDIR)/shade.o: shade.c global.h struct.h const.h graph.h moteur.h divers.h \
|
||||
readline.h aide.h sdlscreen.h windows.h input.h
|
||||
$(OBJDIR)/special.o: special.c const.h struct.h global.h graph.h moteur.h windows.h
|
||||
$(OBJDIR)/texte.o: texte.c SFont.h struct.h const.h global.h sdlscreen.h io.h \
|
||||
files.h
|
||||
$(OBJDIR)/saveini.o: saveini.c const.h global.h struct.h readini.h io.h errors.h \
|
||||
misc.h
|
||||
$(OBJDIR)/sdlscreen.o: sdlscreen.c global.h struct.h const.h sdlscreen.h errors.h \
|
||||
misc.h
|
||||
$(OBJDIR)/setup.o: setup.c struct.h const.h io.h
|
||||
$(OBJDIR)/shade.o: shade.c global.h struct.h const.h graph.h engine.h misc.h \
|
||||
readline.h help.h sdlscreen.h windows.h input.h
|
||||
$(OBJDIR)/special.o: special.c const.h struct.h global.h graph.h engine.h windows.h
|
||||
$(OBJDIR)/text.o: text.c SFont.h struct.h const.h global.h sdlscreen.h io.h
|
||||
$(OBJDIR)/version.o: version.c
|
||||
$(OBJDIR)/windows.o: windows.c windows.h struct.h const.h global.h graph.h moteur.h \
|
||||
divers.h sdlscreen.h erreurs.h
|
||||
$(OBJDIR)/windows.o: windows.c windows.h struct.h const.h global.h graph.h engine.h \
|
||||
misc.h sdlscreen.h errors.h
|
||||
|
||||
4
brush.c
4
brush.c
@ -30,8 +30,8 @@
|
||||
|
||||
#include "global.h"
|
||||
#include "graph.h"
|
||||
#include "divers.h"
|
||||
#include "erreurs.h"
|
||||
#include "misc.h"
|
||||
#include "errors.h"
|
||||
#include "windows.h"
|
||||
#include "sdlscreen.h"
|
||||
|
||||
|
||||
@ -30,23 +30,23 @@
|
||||
#include "const.h"
|
||||
#include "struct.h"
|
||||
#include "global.h"
|
||||
#include "divers.h"
|
||||
#include "misc.h"
|
||||
#include "graph.h"
|
||||
#include "moteur.h"
|
||||
#include "engine.h"
|
||||
#include "readline.h"
|
||||
#include "files.h"
|
||||
#include "filesel.h"
|
||||
#include "loadsave.h"
|
||||
#include "init.h"
|
||||
#include "boutons.h"
|
||||
#include "buttons.h"
|
||||
#include "operatio.h"
|
||||
#include "pages.h"
|
||||
#include "erreurs.h"
|
||||
#include "errors.h"
|
||||
#include "readini.h"
|
||||
#include "saveini.h"
|
||||
#include "shade.h"
|
||||
#include "io.h"
|
||||
#include "aide.h"
|
||||
#include "texte.h"
|
||||
#include "help.h"
|
||||
#include "text.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "windows.h"
|
||||
#include "brush.h"
|
||||
@ -1,7 +1,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<BASE HREF="http://www-msi.ensil.unilim.fr/~maritaud/sunset/GrafX2-fra-OpEngine.html">
|
||||
<head>
|
||||
<BASE HREF="http://www-msi.ensil.unilim.fr/~maritaud/sunset/GrafX2-fra-OpEngine.html">
|
||||
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=iso-8859-1">
|
||||
@ -47,7 +47,7 @@ appel
|
||||
insctructions à exécuter. Chacune de ces parties atomiques est
|
||||
écrite sous la forme d'une fonction contenant tout le code qui
|
||||
lui est nécessaire. Ces fonctions sont ce que l'on a appelé des
|
||||
"fonction_action" (définition dans STRUCT.H), c'est à
|
||||
"Func_action" (définition dans STRUCT.H), c'est à
|
||||
dire une simple fonction qui ne reçoit pas de paramètres et qui
|
||||
n'en renvoie pas. Un simple void Ma_fonction(void)...</p>
|
||||
|
||||
@ -130,9 +130,9 @@ s'achever! ;-)</p>
|
||||
<li>Elle contient des mots 16-bits (type word,
|
||||
définit dans STRUCT.H)</li>
|
||||
<li>Pour y poser une valeur :
|
||||
Operation_PUSH(val)</li>
|
||||
Operation_push(val)</li>
|
||||
<li>Pour en retirer une valeur :
|
||||
Operation_POP(&var)</li>
|
||||
Operation_pop(&var)</li>
|
||||
<li>Exemples de valeurs à y mettre :
|
||||
coordonnées de souris, de pinceau... des
|
||||
couleurs... des valeurs bidons pour changer
|
||||
@ -143,7 +143,7 @@ s'achever! ;-)</p>
|
||||
<li>A l'intérieur d'une fonction atomique :<ul>
|
||||
<li>Si la fonction correspond à la première étape
|
||||
d'une opération, appeler
|
||||
Initialiser_debut_operation()</li>
|
||||
Init_start_operation()</li>
|
||||
<li>Si la fonction correspond à la première étape
|
||||
d'une opération qui peut modifier l'image,
|
||||
appeler Backup() avant modification de l'image ;
|
||||
@ -151,12 +151,12 @@ s'achever! ;-)</p>
|
||||
modification avec "undo" s'il le
|
||||
souhaite.</li>
|
||||
<li>Pour afficher les coordonnées de la souris,
|
||||
appeler Print_coordonnees() sans vous soucier de
|
||||
appeler Print_coordinates() sans vous soucier de
|
||||
savoir si la barre d'outils est visible. Si vous
|
||||
avez besoin d'afficher une coordonnée qui doit
|
||||
s'adapter au mode relatif ou absolu (selon le
|
||||
paramétrage effectué par l'utilisateur),
|
||||
utilisez Aff_coords_rel_ou_abs(RefX,RefY). Si les
|
||||
utilisez Display_coords_rel_or_abs(RefX,RefY). Si les
|
||||
coordonnées sont configurées pour être
|
||||
relatives, cette fonction affichera la
|
||||
différence entre les coordonnées actuelles du
|
||||
@ -164,27 +164,27 @@ s'achever! ;-)</p>
|
||||
passées en paramètres. Dans le cas d'infos
|
||||
spéciales à afficher dans la barre de menu, on
|
||||
pourra se servir de la fonction
|
||||
Print_dans_menu(texte,position en caractères).</li>
|
||||
Print_in_menu(texte,position en caractères).</li>
|
||||
<li>Si vous avez besoin de vous assurer que les
|
||||
boutons de la souris sont relâchés à un moment
|
||||
de la fonction, utilisez Attendre_fin_de_click()</li>
|
||||
de la fonction, utilisez Wait_end_of_click()</li>
|
||||
<li>Etudiez OPERATIO.C pour avoir des exemples.<br>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Pour démarrer une opération (après avoir cliqué sur
|
||||
un bouton de la barre d'outils par exemple), appeler
|
||||
Demarrer_pile_operation(ID_OP). Note: il faut que le
|
||||
Start_operation_stack(ID_OP). Note: il faut que le
|
||||
curseur soit caché avant l'appel (et son état n'est pas
|
||||
changé après). (voir exemples dans BOUTONS.C)<br>
|
||||
</li>
|
||||
<li>On peut connaître l'ID_OP de l'opération en cours
|
||||
grâce à la variable globale Operation_en_cours<br>
|
||||
grâce à la variable globale Current_operation<br>
|
||||
</li>
|
||||
<li>La variable globale Operation_Taille_pile correspond à
|
||||
<li>La variable globale Operation_stack_size correspond à
|
||||
la taille de la pile d'opérations. Elle peut être
|
||||
consultée et éventuellement modifiée (même s'il est
|
||||
préférable d'utiliser Operation_PUSH et Operation_POP
|
||||
préférable d'utiliser Operation_push et Operation_pop
|
||||
dans ce dernier cas).</li>
|
||||
</ul>
|
||||
|
||||
@ -205,7 +205,7 @@ s'achever! ;-)</p>
|
||||
<td width="100%">Dans GLOBAL.H :<ul>
|
||||
<li>rajouter l'identifiant de la forme de curseur à
|
||||
utiliser pour cette opération dans la table
|
||||
CURSEUR_D_OPERATION[]. Faites bien attention à
|
||||
CURSOR_FOR_OPERATION[]. Faites bien attention à
|
||||
l'insérer au bon endroit (place correspondant à
|
||||
ID_OP).</li>
|
||||
</ul>
|
||||
@ -225,15 +225,15 @@ s'achever! ;-)</p>
|
||||
// Click Souris: 1<br>
|
||||
// Taille_Pile : 0<br>
|
||||
// Souris effacée: Oui (précisé grâce à
|
||||
Initialiser_operation() dans INIT.C)<br>
|
||||
Init_operation() dans INIT.C)<br>
|
||||
{<br>
|
||||
Initialiser_debut_operation();<br>
|
||||
Init_start_operation();<br>
|
||||
Backup();<br>
|
||||
<br>
|
||||
// ACTIONS...<br>
|
||||
<br>
|
||||
Operation_PUSH(une_valeur_nécessaire_pour_les_prochaines_étapes);<br>
|
||||
Operation_PUSH(une_autre_valeur_nécessaire_plus_tard);<br>
|
||||
Operation_push(une_valeur_nécessaire_pour_les_prochaines_étapes);<br>
|
||||
Operation_push(une_autre_valeur_nécessaire_plus_tard);<br>
|
||||
}</p>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
@ -256,14 +256,14 @@ s'achever! ;-)</p>
|
||||
qu'elle est terminée (cas de la loupe, de la
|
||||
pipette, des prises de brosse, ...), rajouter
|
||||
l'ID_OP dans la section correspondante de la
|
||||
fonction Demarrer_pile_operation(), en début de
|
||||
fonction Start_operation_stack(), en début de
|
||||
fichier.</li>
|
||||
<li>Si l'opération voit un intérêt à accepter que
|
||||
l'utilisateur change de couleur de pinceau en
|
||||
cours d'opération (cas du dessin continu,
|
||||
discontinu, le spray, et les lignes centrées),
|
||||
rajouter l'ID_OP dans la section correspondante
|
||||
de la fonction Demarrer_pile_operation(), en
|
||||
de la fonction Start_operation_stack(), en
|
||||
début de fichier.</li>
|
||||
</ul>
|
||||
</td>
|
||||
@ -276,9 +276,9 @@ s'achever! ;-)</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%">Dans INIT.C :<ul>
|
||||
<li>Dans Initialisation_des_operations(), pour chaque
|
||||
<li>Dans Init_operations(), pour chaque
|
||||
fonction atomique de l'opération, écrire un
|
||||
appel à Initialiser_operation(ID_OP, Etat
|
||||
appel à Init_operation(ID_OP, Etat
|
||||
souris, Taille pile, Callback, Effacer souris);<ul>
|
||||
<li>ID_OP : identifiant de l'opération
|
||||
dont dépend la fonction atomique
|
||||
@ -311,7 +311,7 @@ s'achever! ;-)</p>
|
||||
</blockquote>
|
||||
<blockquote>
|
||||
<blockquote>
|
||||
<p>Initialiser_operation(OPERATION_DUMMY, 1, 0,
|
||||
<p>Init_operation(OPERATION_DUMMY, 1, 0,
|
||||
Dummy_1_0, 1);</p>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
@ -320,65 +320,65 @@ s'achever! ;-)</p>
|
||||
</table>
|
||||
</center></div>
|
||||
</body>
|
||||
|
||||
<SCRIPT language="Javascript">
|
||||
<!--
|
||||
|
||||
// FILE ARCHIVED ON 20021206090126 AND RETRIEVED FROM THE
|
||||
// INTERNET ARCHIVE ON 20070414155905.
|
||||
// JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
|
||||
// ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
|
||||
// SECTION 108(a)(3)).
|
||||
|
||||
var sWayBackCGI = "http://web.archive.org/web/20021206090126/";
|
||||
|
||||
function xResolveUrl(url) {
|
||||
var image = new Image();
|
||||
image.src = url;
|
||||
return image.src;
|
||||
}
|
||||
function xLateUrl(aCollection, sProp) {
|
||||
var i = 0;
|
||||
for(i = 0; i < aCollection.length; i++) {
|
||||
if (typeof(aCollection[i][sProp]) == "string") {
|
||||
if (aCollection[i][sProp].indexOf("mailto:") == -1 &&
|
||||
aCollection[i][sProp].indexOf("javascript:") == -1) {
|
||||
if(aCollection[i][sProp].indexOf("http") == 0) {
|
||||
aCollection[i][sProp] = sWayBackCGI + aCollection[i][sProp];
|
||||
} else {
|
||||
aCollection[i][sProp] = sWayBackCGI + xResolveUrl(aCollection[i][sProp]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
xLateUrl(document.getElementsByTagName("IMG"),"src");
|
||||
xLateUrl(document.getElementsByTagName("A"),"href");
|
||||
xLateUrl(document.getElementsByTagName("AREA"),"href");
|
||||
xLateUrl(document.getElementsByTagName("OBJECT"),"codebase");
|
||||
xLateUrl(document.getElementsByTagName("OBJECT"),"data");
|
||||
xLateUrl(document.getElementsByTagName("APPLET"),"codebase");
|
||||
xLateUrl(document.getElementsByTagName("APPLET"),"archive");
|
||||
xLateUrl(document.getElementsByTagName("EMBED"),"src");
|
||||
xLateUrl(document.getElementsByTagName("BODY"),"background");
|
||||
var forms = document.getElementsByTagName("FORM");
|
||||
if (forms) {
|
||||
var j = 0;
|
||||
for (j = 0; j < forms.length; j++) {
|
||||
f = forms[j];
|
||||
if (typeof(f.action) == "string") {
|
||||
if(typeof(f.method) == "string") {
|
||||
if(typeof(f.method) != "post") {
|
||||
f.action = sWayBackCGI + f.action;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//-->
|
||||
</SCRIPT>
|
||||
|
||||
|
||||
<SCRIPT language="Javascript">
|
||||
<!--
|
||||
|
||||
// FILE ARCHIVED ON 20021206090126 AND RETRIEVED FROM THE
|
||||
// INTERNET ARCHIVE ON 20070414155905.
|
||||
// JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
|
||||
// ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
|
||||
// SECTION 108(a)(3)).
|
||||
|
||||
var sWayBackCGI = "http://web.archive.org/web/20021206090126/";
|
||||
|
||||
function xResolveUrl(url) {
|
||||
var image = new Image();
|
||||
image.src = url;
|
||||
return image.src;
|
||||
}
|
||||
function xLateUrl(aCollection, sProp) {
|
||||
var i = 0;
|
||||
for(i = 0; i < aCollection.length; i++) {
|
||||
if (typeof(aCollection[i][sProp]) == "string") {
|
||||
if (aCollection[i][sProp].indexOf("mailto:") == -1 &&
|
||||
aCollection[i][sProp].indexOf("javascript:") == -1) {
|
||||
if(aCollection[i][sProp].indexOf("http") == 0) {
|
||||
aCollection[i][sProp] = sWayBackCGI + aCollection[i][sProp];
|
||||
} else {
|
||||
aCollection[i][sProp] = sWayBackCGI + xResolveUrl(aCollection[i][sProp]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
xLateUrl(document.getElementsByTagName("IMG"),"src");
|
||||
xLateUrl(document.getElementsByTagName("A"),"href");
|
||||
xLateUrl(document.getElementsByTagName("AREA"),"href");
|
||||
xLateUrl(document.getElementsByTagName("OBJECT"),"codebase");
|
||||
xLateUrl(document.getElementsByTagName("OBJECT"),"data");
|
||||
xLateUrl(document.getElementsByTagName("APPLET"),"codebase");
|
||||
xLateUrl(document.getElementsByTagName("APPLET"),"archive");
|
||||
xLateUrl(document.getElementsByTagName("EMBED"),"src");
|
||||
xLateUrl(document.getElementsByTagName("BODY"),"background");
|
||||
var forms = document.getElementsByTagName("FORM");
|
||||
if (forms) {
|
||||
var j = 0;
|
||||
for (j = 0; j < forms.length; j++) {
|
||||
f = forms[j];
|
||||
if (typeof(f.action) == "string") {
|
||||
if(typeof(f.method) == "string") {
|
||||
if(typeof(f.method) != "post") {
|
||||
f.action = sWayBackCGI + f.action;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//-->
|
||||
</SCRIPT>
|
||||
|
||||
</html>
|
||||
|
||||
@ -29,17 +29,17 @@
|
||||
#include "struct.h"
|
||||
#include "global.h"
|
||||
#include "graph.h"
|
||||
#include "divers.h"
|
||||
#include "misc.h"
|
||||
#include "special.h"
|
||||
#include "boutons.h"
|
||||
#include "buttons.h"
|
||||
#include "operatio.h"
|
||||
#include "shade.h"
|
||||
#include "erreurs.h"
|
||||
#include "errors.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "windows.h"
|
||||
#include "brush.h"
|
||||
#include "input.h"
|
||||
#include "moteur.h"
|
||||
#include "engine.h"
|
||||
|
||||
|
||||
// we need this as global
|
||||
@ -45,17 +45,17 @@
|
||||
#include "const.h"
|
||||
#include "struct.h"
|
||||
#include "global.h"
|
||||
#include "divers.h"
|
||||
#include "erreurs.h"
|
||||
#include "misc.h"
|
||||
#include "errors.h"
|
||||
#include "io.h"
|
||||
#include "windows.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "loadsave.h"
|
||||
#include "mountlist.h"
|
||||
#include "moteur.h"
|
||||
#include "engine.h"
|
||||
#include "readline.h"
|
||||
#include "input.h"
|
||||
#include "aide.h"
|
||||
#include "help.h"
|
||||
|
||||
#define NORMAL_FILE_COLOR MC_Light // color du texte pour une ligne de fichier non sélectionné
|
||||
#define NORMAL_DIRECTORY_COLOR MC_Dark // color du texte pour une ligne de répertoire non sélectionné
|
||||
8
graph.c
8
graph.c
@ -31,13 +31,13 @@
|
||||
|
||||
#include "global.h"
|
||||
#include "struct.h"
|
||||
#include "moteur.h"
|
||||
#include "boutons.h"
|
||||
#include "engine.h"
|
||||
#include "buttons.h"
|
||||
#include "pages.h"
|
||||
#include "erreurs.h"
|
||||
#include "errors.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "graph.h"
|
||||
#include "divers.h"
|
||||
#include "misc.h"
|
||||
#include "pxsimple.h"
|
||||
#include "pxtall.h"
|
||||
#include "pxwide.h"
|
||||
|
||||
@ -36,17 +36,17 @@
|
||||
#include "const.h"
|
||||
#include "struct.h"
|
||||
#include "global.h"
|
||||
#include "divers.h"
|
||||
#include "moteur.h"
|
||||
#include "tables_aide.h"
|
||||
#include "aide.h"
|
||||
#include "misc.h"
|
||||
#include "engine.h"
|
||||
#include "helpfile.h"
|
||||
#include "help.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "texte.h"
|
||||
#include "clavier.h"
|
||||
#include "text.h"
|
||||
#include "keyboard.h"
|
||||
#include "windows.h"
|
||||
#include "input.h"
|
||||
#include "hotkeys.h"
|
||||
#include "erreurs.h"
|
||||
#include "errors.h"
|
||||
|
||||
extern char SVN_revision[]; // generated in version.c
|
||||
|
||||
10
init.c
10
init.c
@ -51,13 +51,13 @@
|
||||
#include "struct.h"
|
||||
#include "global.h"
|
||||
#include "graph.h"
|
||||
#include "boutons.h"
|
||||
#include "buttons.h"
|
||||
#include "palette.h"
|
||||
#include "aide.h"
|
||||
#include "help.h"
|
||||
#include "operatio.h"
|
||||
#include "divers.h"
|
||||
#include "erreurs.h"
|
||||
#include "clavier.h"
|
||||
#include "misc.h"
|
||||
#include "errors.h"
|
||||
#include "keyboard.h"
|
||||
#include "io.h"
|
||||
#include "hotkeys.h"
|
||||
#include "setup.h"
|
||||
|
||||
6
input.c
6
input.c
@ -22,11 +22,11 @@
|
||||
#include <SDL.h>
|
||||
|
||||
#include "global.h"
|
||||
#include "clavier.h"
|
||||
#include "keyboard.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "windows.h"
|
||||
#include "erreurs.h"
|
||||
#include "divers.h"
|
||||
#include "errors.h"
|
||||
#include "misc.h"
|
||||
#include "input.h"
|
||||
|
||||
void Handle_window_resize(SDL_ResizeEvent event);
|
||||
|
||||
@ -35,11 +35,11 @@
|
||||
#include "const.h"
|
||||
#include "struct.h"
|
||||
#include "global.h"
|
||||
#include "divers.h"
|
||||
#include "misc.h"
|
||||
#include "pages.h"
|
||||
#include "op_c.h"
|
||||
#include "boutons.h"
|
||||
#include "erreurs.h"
|
||||
#include "buttons.h"
|
||||
#include "errors.h"
|
||||
#include "io.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "windows.h"
|
||||
|
||||
10
main.c
10
main.c
@ -35,18 +35,18 @@
|
||||
#include "struct.h"
|
||||
#include "global.h"
|
||||
#include "graph.h"
|
||||
#include "divers.h"
|
||||
#include "misc.h"
|
||||
#include "init.h"
|
||||
#include "boutons.h"
|
||||
#include "moteur.h"
|
||||
#include "buttons.h"
|
||||
#include "engine.h"
|
||||
#include "pages.h"
|
||||
#include "loadsave.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "erreurs.h"
|
||||
#include "errors.h"
|
||||
#include "readini.h"
|
||||
#include "saveini.h"
|
||||
#include "io.h"
|
||||
#include "texte.h"
|
||||
#include "text.h"
|
||||
#include "setup.h"
|
||||
#include "windows.h"
|
||||
#include "brush.h"
|
||||
|
||||
@ -27,11 +27,11 @@
|
||||
#include "struct.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "global.h"
|
||||
#include "erreurs.h"
|
||||
#include "boutons.h"
|
||||
#include "moteur.h"
|
||||
#include "divers.h"
|
||||
#include "clavier.h"
|
||||
#include "errors.h"
|
||||
#include "buttons.h"
|
||||
#include "engine.h"
|
||||
#include "misc.h"
|
||||
#include "keyboard.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "windows.h"
|
||||
#include "palette.h"
|
||||
2
op_c.c
2
op_c.c
@ -27,7 +27,7 @@
|
||||
#include <math.h>
|
||||
|
||||
#include "op_c.h"
|
||||
#include "erreurs.h"
|
||||
#include "errors.h"
|
||||
|
||||
void RGB_to_HSL(int r,int g,int b,byte * hr,byte * sr,byte* lr)
|
||||
{
|
||||
|
||||
@ -25,13 +25,13 @@
|
||||
#include "const.h"
|
||||
#include "struct.h"
|
||||
#include "global.h"
|
||||
#include "divers.h"
|
||||
#include "moteur.h"
|
||||
#include "misc.h"
|
||||
#include "engine.h"
|
||||
#include "graph.h"
|
||||
#include "operatio.h"
|
||||
#include "boutons.h"
|
||||
#include "buttons.h"
|
||||
#include "pages.h"
|
||||
#include "erreurs.h"
|
||||
#include "errors.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "brush.h"
|
||||
#include "windows.h"
|
||||
|
||||
4
pages.c
4
pages.c
@ -29,8 +29,8 @@
|
||||
|
||||
#include "global.h"
|
||||
#include "pages.h"
|
||||
#include "erreurs.h"
|
||||
#include "divers.h"
|
||||
#include "errors.h"
|
||||
#include "misc.h"
|
||||
#include "windows.h"
|
||||
|
||||
///
|
||||
|
||||
10
palette.c
10
palette.c
@ -24,14 +24,14 @@
|
||||
#include "const.h"
|
||||
#include "struct.h"
|
||||
#include "global.h"
|
||||
#include "divers.h"
|
||||
#include "moteur.h"
|
||||
#include "misc.h"
|
||||
#include "engine.h"
|
||||
#include "readline.h"
|
||||
#include "boutons.h"
|
||||
#include "buttons.h"
|
||||
#include "pages.h"
|
||||
#include "aide.h"
|
||||
#include "help.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "erreurs.h"
|
||||
#include "errors.h"
|
||||
#include "op_c.h"
|
||||
#include "windows.h"
|
||||
#include "input.h"
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include <SDL.h>
|
||||
#include "global.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "divers.h"
|
||||
#include "misc.h"
|
||||
#include "pxwide.h" // for Display_transparent_line_on_screen_wide()
|
||||
|
||||
#define ZOOMX 2
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include <SDL.h>
|
||||
#include "global.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "divers.h"
|
||||
#include "misc.h"
|
||||
|
||||
void Pixel_simple (word x,word y,byte color)
|
||||
/* Affiche un pixel de la color aux coords x;y à l'écran */
|
||||
|
||||
2
pxtall.c
2
pxtall.c
@ -26,7 +26,7 @@
|
||||
#include <SDL.h>
|
||||
#include "global.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "divers.h"
|
||||
#include "misc.h"
|
||||
#include "pxsimple.h"
|
||||
|
||||
void Pixel_tall (word x,word y,byte color)
|
||||
|
||||
2
pxwide.c
2
pxwide.c
@ -26,7 +26,7 @@
|
||||
#include <SDL.h>
|
||||
#include "global.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "divers.h"
|
||||
#include "misc.h"
|
||||
|
||||
void Pixel_wide (word x,word y,byte color)
|
||||
/* Affiche un pixel de la color aux coords x;y à l'écran */
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include <ctype.h>
|
||||
#include "const.h"
|
||||
#include "global.h"
|
||||
#include "divers.h"
|
||||
#include "misc.h"
|
||||
|
||||
void Load_INI_clear_string(char * str)
|
||||
{
|
||||
|
||||
@ -31,8 +31,8 @@
|
||||
#include "const.h"
|
||||
#include "struct.h"
|
||||
#include "global.h"
|
||||
#include "divers.h"
|
||||
#include "erreurs.h"
|
||||
#include "misc.h"
|
||||
#include "errors.h"
|
||||
#include "const.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "readline.h"
|
||||
|
||||
@ -27,8 +27,8 @@
|
||||
#include "global.h"
|
||||
#include "readini.h"
|
||||
#include "io.h"
|
||||
#include "erreurs.h"
|
||||
#include "divers.h"
|
||||
#include "errors.h"
|
||||
#include "misc.h"
|
||||
|
||||
int Save_INI_reach_group(FILE * old_file,FILE * new_file,char * buffer,char * group)
|
||||
{
|
||||
|
||||
@ -25,8 +25,8 @@
|
||||
#include <SDL.h>
|
||||
#include "global.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "erreurs.h"
|
||||
#include "divers.h"
|
||||
#include "errors.h"
|
||||
#include "misc.h"
|
||||
|
||||
// Mise à jour minimaliste en nombre de pixels
|
||||
#define UPDATE_METHOD_MULTI_RECTANGLE 1
|
||||
|
||||
6
shade.c
6
shade.c
@ -23,10 +23,10 @@
|
||||
|
||||
#include "global.h"
|
||||
#include "graph.h"
|
||||
#include "moteur.h"
|
||||
#include "divers.h"
|
||||
#include "engine.h"
|
||||
#include "misc.h"
|
||||
#include "readline.h"
|
||||
#include "aide.h"
|
||||
#include "help.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "windows.h"
|
||||
#include "input.h"
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#include "struct.h"
|
||||
#include "global.h"
|
||||
#include "graph.h"
|
||||
#include "moteur.h"
|
||||
#include "engine.h"
|
||||
#include "windows.h"
|
||||
|
||||
|
||||
|
||||
@ -30,10 +30,10 @@
|
||||
#include "windows.h"
|
||||
#include "global.h"
|
||||
#include "graph.h"
|
||||
#include "moteur.h"
|
||||
#include "divers.h"
|
||||
#include "engine.h"
|
||||
#include "misc.h"
|
||||
#include "sdlscreen.h"
|
||||
#include "erreurs.h"
|
||||
#include "errors.h"
|
||||
|
||||
// L'encapsulation tente une percée...ou un dernier combat.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user