From eb781b9bd6199e2ac875c9d8c74dd76036d3d9bc Mon Sep 17 00:00:00 2001
From: Yves Rizoud 
Date: Sun, 29 Mar 2009 00:12:33 +0000
Subject: [PATCH] Renamed sources files to english words, updated makefile,
 recomputed dependencies.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@703 416bcca6-2ee7-4201-b75f-2eb2f807beb1
---
 Makefile                          |   2 +-
 Makefile.dep                      | 110 ++++++++++---------
 brush.c                           |   4 +-
 boutons.c => buttons.c            |  14 +--
 boutons.h => buttons.h            |   0
 doc/Le moteur des operations.html | 170 +++++++++++++++---------------
 moteur.c => engine.c              |   8 +-
 moteur.h => engine.h              |   0
 erreurs.h => errors.h             |   0
 files.c => filesel.c              |   8 +-
 files.h => filesel.h              |   0
 graph.c                           |   8 +-
 aide.c => help.c                  |  14 +--
 aide.h => help.h                  |   0
 tables_aide.h => helpfile.h       |   0
 init.c                            |  10 +-
 input.c                           |   6 +-
 clavier.c => keyboard.c           |   0
 clavier.h => keyboard.h           |   0
 loadsave.c                        |   6 +-
 main.c                            |  10 +-
 divers.c => misc.c                |  10 +-
 divers.h => misc.h                |   0
 op_c.c                            |   2 +-
 operatio.c                        |   8 +-
 pages.c                           |   4 +-
 palette.c                         |  10 +-
 pxdouble.c                        |   2 +-
 pxsimple.c                        |   2 +-
 pxtall.c                          |   2 +-
 pxwide.c                          |   2 +-
 readini.c                         |   2 +-
 readline.c                        |   4 +-
 saveini.c                         |   4 +-
 sdlscreen.c                       |   4 +-
 shade.c                           |   6 +-
 special.c                         |   2 +-
 texte.c => text.c                 |   0
 texte.h => text.h                 |   0
 windows.c                         |   6 +-
 40 files changed, 219 insertions(+), 221 deletions(-)
 rename boutons.c => buttons.c (99%)
 rename boutons.h => buttons.h (100%)
 rename moteur.c => engine.c (99%)
 rename moteur.h => engine.h (100%)
 rename erreurs.h => errors.h (100%)
 rename files.c => filesel.c (99%)
 rename files.h => filesel.h (100%)
 rename aide.c => help.c (99%)
 rename aide.h => help.h (100%)
 rename tables_aide.h => helpfile.h (100%)
 rename clavier.c => keyboard.c (100%)
 rename clavier.h => keyboard.h (100%)
 rename divers.c => misc.c (99%)
 rename divers.h => misc.h (100%)
 rename texte.c => text.c (100%)
 rename texte.h => text.h (100%)
diff --git a/Makefile b/Makefile
index 8c4ef394..1743fb1c 100644
--- a/Makefile
+++ b/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)
 
diff --git a/Makefile.dep b/Makefile.dep
index 7b4dcdb5..c787662e 100644
--- a/Makefile.dep
+++ b/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
diff --git a/brush.c b/brush.c
index 9efb7a6b..b36c4f92 100644
--- a/brush.c
+++ b/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"
 
diff --git a/boutons.c b/buttons.c
similarity index 99%
rename from boutons.c
rename to buttons.c
index 3521e6d7..7a3422d3 100644
--- a/boutons.c
+++ b/buttons.c
@@ -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"
diff --git a/boutons.h b/buttons.h
similarity index 100%
rename from boutons.h
rename to buttons.h
diff --git a/doc/Le moteur des operations.html b/doc/Le moteur des operations.html
index 95b43913..42c5bdd4 100644
--- a/doc/Le moteur des operations.html	
+++ b/doc/Le moteur des operations.html	
@@ -1,7 +1,7 @@
 
 
-
-
+
+
 
 
@@ -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)...
 
@@ -130,9 +130,9 @@ s'achever! ;-)
             Elle contient des mots 16-bits (type word,
                 définit dans STRUCT.H)
             Pour y poser une valeur :
-                Operation_PUSH(val)
+                Operation_push(val)
             Pour en retirer une valeur :
-                Operation_POP(&var)
+                Operation_pop(&var)
             Exemples de valeurs à y mettre :
                 coordonnées de souris, de pinceau... des
                 couleurs... des valeurs bidons pour changer
@@ -143,7 +143,7 @@ s'achever! ;-)
     A l'intérieur d'une fonction atomique :
             - Si la fonction correspond à la première étape
                 d'une opération, appeler
-                Initialiser_debut_operation()
 
+                Init_start_operation()
             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! ;-)
                 modification avec "undo" s'il le
                 souhaite.
             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! ;-)
                 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).
+                Print_in_menu(texte,position en caractères).
             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()
+                de la fonction, utilisez Wait_end_of_click()
             Etudiez OPERATIO.C pour avoir des exemples.
                 
         
     
     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)
         
     On peut connaître l'ID_OP de l'opération en cours
-        grâce à la variable globale Operation_en_cours
+        grâce à la variable globale Current_operation
         
-    La variable globale Operation_Taille_pile correspond à
+    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).
 
 
@@ -205,7 +205,7 @@ s'achever! ;-)
         Dans GLOBAL.H :
             - 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).
 
          
@@ -225,15 +225,15 @@ s'achever! ;-)
                 // Click Souris: 1 
                 // Taille_Pile : 0 
                 // Souris effacée: Oui (précisé grâce à
-                Initialiser_operation() dans INIT.C) 
+                Init_operation() dans INIT.C) 
                 { 
-                     Initialiser_debut_operation(); 
+                     Init_start_operation(); 
                      Backup(); 
                  
                      // ACTIONS... 
                  
-                     Operation_PUSH(une_valeur_nécessaire_pour_les_prochaines_étapes); 
-                     Operation_PUSH(une_autre_valeur_nécessaire_plus_tard); 
+                     Operation_push(une_valeur_nécessaire_pour_les_prochaines_étapes); 
+                     Operation_push(une_autre_valeur_nécessaire_plus_tard); 
                 }
             
         
@@ -256,14 +256,14 @@ s'achever! ;-)
                 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.
             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.
         
          | 
@@ -276,9 +276,9 @@ s'achever! ;-)
     
     
         Dans INIT.C :
-            - Dans Initialisation_des_operations(), pour chaque
+            
 - 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);
                     - ID_OP : identifiant de l'opération
                         dont dépend la fonction atomique
@@ -311,7 +311,7 @@ s'achever! ;-)
         
         
             
-                Initialiser_operation(OPERATION_DUMMY, 1, 0,
+                 Init_operation(OPERATION_DUMMY, 1, 0,
                 Dummy_1_0, 1); 
              
          
@@ -320,65 +320,65 @@ s'achever! ;-)
 
 
 
-
-
-
+
+
+
 
diff --git a/moteur.c b/engine.c
similarity index 99%
rename from moteur.c
rename to engine.c
index 9bd9e03f..241fb5b5 100644
--- a/moteur.c
+++ b/engine.c
@@ -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
diff --git a/moteur.h b/engine.h
similarity index 100%
rename from moteur.h
rename to engine.h
diff --git a/erreurs.h b/errors.h
similarity index 100%
rename from erreurs.h
rename to errors.h
diff --git a/files.c b/filesel.c
similarity index 99%
rename from files.c
rename to filesel.c
index 1252e1ad..d13a1899 100644
--- a/files.c
+++ b/filesel.c
@@ -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é
diff --git a/files.h b/filesel.h
similarity index 100%
rename from files.h
rename to filesel.h
diff --git a/graph.c b/graph.c
index 140a254b..98a7b012 100644
--- a/graph.c
+++ b/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"
diff --git a/aide.c b/help.c
similarity index 99%
rename from aide.c
rename to help.c
index 61553c68..3ab9c393 100644
--- a/aide.c
+++ b/help.c
@@ -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
 
diff --git a/aide.h b/help.h
similarity index 100%
rename from aide.h
rename to help.h
diff --git a/tables_aide.h b/helpfile.h
similarity index 100%
rename from tables_aide.h
rename to helpfile.h
diff --git a/init.c b/init.c
index 050da262..8fc377ac 100644
--- a/init.c
+++ b/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"
diff --git a/input.c b/input.c
index f602c3ef..1e511bab 100644
--- a/input.c
+++ b/input.c
@@ -22,11 +22,11 @@
 #include 
 
 #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);
diff --git a/clavier.c b/keyboard.c
similarity index 100%
rename from clavier.c
rename to keyboard.c
diff --git a/clavier.h b/keyboard.h
similarity index 100%
rename from clavier.h
rename to keyboard.h
diff --git a/loadsave.c b/loadsave.c
index ff4aa1a3..d5fd7bbe 100644
--- a/loadsave.c
+++ b/loadsave.c
@@ -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"
diff --git a/main.c b/main.c
index 52e87b5f..d6a4c6e1 100644
--- a/main.c
+++ b/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"
diff --git a/divers.c b/misc.c
similarity index 99%
rename from divers.c
rename to misc.c
index fb756767..31103d3a 100644
--- a/divers.c
+++ b/misc.c
@@ -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"
diff --git a/divers.h b/misc.h
similarity index 100%
rename from divers.h
rename to misc.h
diff --git a/op_c.c b/op_c.c
index 8c45ba8e..35027326 100644
--- a/op_c.c
+++ b/op_c.c
@@ -27,7 +27,7 @@
 #include 
 
 #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)
 {
diff --git a/operatio.c b/operatio.c
index da4a20fb..ee0d2bfc 100644
--- a/operatio.c
+++ b/operatio.c
@@ -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"
diff --git a/pages.c b/pages.c
index 27f57028..9a0edb15 100644
--- a/pages.c
+++ b/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"
 
   ///
diff --git a/palette.c b/palette.c
index 60688326..4f5a821b 100644
--- a/palette.c
+++ b/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"
diff --git a/pxdouble.c b/pxdouble.c
index 64cedb3c..05ba46f0 100644
--- a/pxdouble.c
+++ b/pxdouble.c
@@ -26,7 +26,7 @@
 #include 
 #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
diff --git a/pxsimple.c b/pxsimple.c
index 779e05ab..a9c8e475 100644
--- a/pxsimple.c
+++ b/pxsimple.c
@@ -26,7 +26,7 @@
 #include 
 #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 */
diff --git a/pxtall.c b/pxtall.c
index 9485d993..54a93d71 100644
--- a/pxtall.c
+++ b/pxtall.c
@@ -26,7 +26,7 @@
 #include 
 #include "global.h"
 #include "sdlscreen.h"
-#include "divers.h"
+#include "misc.h"
 #include "pxsimple.h"
 
 void Pixel_tall (word x,word y,byte color)
diff --git a/pxwide.c b/pxwide.c
index d7381ff0..992cbfe7 100644
--- a/pxwide.c
+++ b/pxwide.c
@@ -26,7 +26,7 @@
 #include 
 #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 */
diff --git a/readini.c b/readini.c
index 88175da0..90292c2d 100644
--- a/readini.c
+++ b/readini.c
@@ -26,7 +26,7 @@
 #include 
 #include "const.h"
 #include "global.h"
-#include "divers.h"
+#include "misc.h"
 
 void Load_INI_clear_string(char * str)
 {
diff --git a/readline.c b/readline.c
index 71577ba4..5cf1dabc 100644
--- a/readline.c
+++ b/readline.c
@@ -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"
diff --git a/saveini.c b/saveini.c
index 7d9a4d29..7b186f56 100644
--- a/saveini.c
+++ b/saveini.c
@@ -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)
 {
diff --git a/sdlscreen.c b/sdlscreen.c
index 2742e4aa..c65d600b 100644
--- a/sdlscreen.c
+++ b/sdlscreen.c
@@ -25,8 +25,8 @@
 #include 
 #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
diff --git a/shade.c b/shade.c
index fd792897..1d404138 100644
--- a/shade.c
+++ b/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"
diff --git a/special.c b/special.c
index aee941c4..7ed279cc 100644
--- a/special.c
+++ b/special.c
@@ -24,7 +24,7 @@
 #include "struct.h"
 #include "global.h"
 #include "graph.h"
-#include "moteur.h"
+#include "engine.h"
 #include "windows.h"
 
 
diff --git a/texte.c b/text.c
similarity index 100%
rename from texte.c
rename to text.c
diff --git a/texte.h b/text.h
similarity index 100%
rename from texte.h
rename to text.h
diff --git a/windows.c b/windows.c
index d55b7502..54a9690a 100644
--- a/windows.c
+++ b/windows.c
@@ -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.
 
     |