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
|
.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.
|
# 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)
|
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 \
|
$(OBJDIR)/SFont.o: SFont.c SFont.h
|
||||||
aide.h sdlscreen.h texte.h clavier.h windows.h input.h hotkeys.h \
|
$(OBJDIR)/brush.o: brush.c global.h struct.h const.h graph.h misc.h errors.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 \
|
|
||||||
windows.h sdlscreen.h
|
windows.h sdlscreen.h
|
||||||
$(OBJDIR)/clavier.o: clavier.c global.h struct.h const.h
|
$(OBJDIR)/buttons.o: buttons.c const.h struct.h global.h misc.h graph.h engine.h \
|
||||||
$(OBJDIR)/divers.o: divers.c struct.h const.h sdlscreen.h global.h erreurs.h \
|
readline.h filesel.h loadsave.h init.h buttons.h operatio.h pages.h \
|
||||||
boutons.h moteur.h divers.h clavier.h windows.h palette.h input.h
|
errors.h readini.h saveini.h shade.h io.h help.h text.h sdlscreen.h \
|
||||||
$(OBJDIR)/files.o: files.c const.h struct.h global.h divers.h erreurs.h io.h \
|
windows.h brush.h input.h
|
||||||
windows.h loadsave.h mountlist.h moteur.h
|
$(OBJDIR)/engine.o: engine.c const.h struct.h global.h graph.h misc.h special.h \
|
||||||
$(OBJDIR)/graph.o: graph.c global.h struct.h const.h moteur.h boutons.h pages.h \
|
buttons.h operatio.h shade.h errors.h sdlscreen.h windows.h brush.h \
|
||||||
erreurs.h sdlscreen.h graph.h divers.h pxsimple.h pxtall.h pxwide.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
|
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)/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 \
|
$(OBJDIR)/init.o: init.c const.h struct.h global.h graph.h buttons.h palette.h \
|
||||||
aide.h operatio.h divers.h erreurs.h clavier.h io.h hotkeys.h files.h \
|
help.h operatio.h misc.h errors.h keyboard.h io.h hotkeys.h setup.h \
|
||||||
setup.h windows.h sdlscreen.h mountlist.h loadsave.h
|
windows.h sdlscreen.h mountlist.h loadsave.h
|
||||||
$(OBJDIR)/input.o: input.c global.h struct.h const.h clavier.h sdlscreen.h \
|
$(OBJDIR)/input.o: input.c global.h struct.h const.h keyboard.h sdlscreen.h \
|
||||||
windows.h erreurs.h divers.h input.h
|
windows.h errors.h misc.h input.h
|
||||||
$(OBJDIR)/io.o: io.c struct.h const.h io.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 \
|
$(OBJDIR)/keyboard.o: keyboard.c global.h struct.h const.h
|
||||||
boutons.h erreurs.h io.h sdlscreen.h windows.h loadsave.h
|
$(OBJDIR)/loadsave.o: loadsave.c const.h struct.h global.h misc.h pages.h op_c.h \
|
||||||
$(OBJDIR)/main.o: main.c const.h struct.h global.h graph.h divers.h init.h \
|
buttons.h errors.h io.h sdlscreen.h windows.h loadsave.h
|
||||||
boutons.h moteur.h pages.h files.h loadsave.h sdlscreen.h erreurs.h \
|
$(OBJDIR)/main.o: main.c const.h struct.h global.h graph.h misc.h init.h buttons.h \
|
||||||
readini.h saveini.h io.h texte.h setup.h windows.h brush.h palette.h
|
engine.h pages.h loadsave.h sdlscreen.h errors.h readini.h saveini.h \
|
||||||
$(OBJDIR)/moteur.o: moteur.c const.h struct.h global.h graph.h divers.h special.h \
|
io.h text.h setup.h windows.h brush.h palette.h
|
||||||
boutons.h operatio.h shade.h erreurs.h sdlscreen.h windows.h brush.h \
|
$(OBJDIR)/misc.o: misc.c struct.h const.h sdlscreen.h global.h errors.h buttons.h \
|
||||||
input.h moteur.h
|
engine.h misc.h keyboard.h windows.h palette.h input.h
|
||||||
$(OBJDIR)/mountlist.o: mountlist.c mountlist.h
|
$(OBJDIR)/mountlist.o: mountlist.c
|
||||||
$(OBJDIR)/op_c.o: op_c.c op_c.h struct.h const.h erreurs.h
|
$(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 divers.h moteur.h \
|
$(OBJDIR)/operatio.o: operatio.c const.h struct.h global.h misc.h engine.h graph.h \
|
||||||
graph.h operatio.h boutons.h pages.h erreurs.h sdlscreen.h brush.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
|
windows.h
|
||||||
$(OBJDIR)/pages.o: pages.c global.h struct.h const.h pages.h erreurs.h divers.h \
|
$(OBJDIR)/palette.o: palette.c const.h struct.h global.h misc.h engine.h readline.h \
|
||||||
windows.h
|
buttons.h pages.h help.h sdlscreen.h errors.h op_c.h windows.h input.h
|
||||||
$(OBJDIR)/palette.o: palette.c const.h struct.h global.h divers.h moteur.h \
|
$(OBJDIR)/pxdouble.o: pxdouble.c global.h struct.h const.h sdlscreen.h misc.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 \
|
|
||||||
pxwide.h
|
pxwide.h
|
||||||
$(OBJDIR)/pxsimple.o: pxsimple.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 divers.h \
|
$(OBJDIR)/pxtall.o: pxtall.c global.h struct.h const.h sdlscreen.h misc.h \
|
||||||
pxsimple.h
|
pxsimple.h
|
||||||
$(OBJDIR)/pxwide.o: pxwide.c global.h struct.h const.h sdlscreen.h divers.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 divers.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 divers.h erreurs.h \
|
$(OBJDIR)/readline.o: readline.c const.h struct.h global.h misc.h errors.h \
|
||||||
sdlscreen.h readline.h windows.h input.h
|
sdlscreen.h readline.h windows.h input.h
|
||||||
$(OBJDIR)/realpath.o: realpath.c
|
$(OBJDIR)/realpath.o: realpath.c
|
||||||
$(OBJDIR)/saveini.o: saveini.c const.h global.h struct.h readini.h io.h erreurs.h \
|
$(OBJDIR)/saveini.o: saveini.c const.h global.h struct.h readini.h io.h errors.h \
|
||||||
divers.h
|
misc.h
|
||||||
$(OBJDIR)/sdlscreen.o: sdlscreen.c global.h struct.h const.h sdlscreen.h erreurs.h \
|
$(OBJDIR)/sdlscreen.o: sdlscreen.c global.h struct.h const.h sdlscreen.h errors.h \
|
||||||
divers.h
|
misc.h
|
||||||
$(OBJDIR)/setup.o: setup.c struct.h const.h io.h files.h
|
$(OBJDIR)/setup.o: setup.c struct.h const.h io.h
|
||||||
$(OBJDIR)/SFont.o: SFont.c SFont.h
|
$(OBJDIR)/shade.o: shade.c global.h struct.h const.h graph.h engine.h misc.h \
|
||||||
$(OBJDIR)/shade.o: shade.c global.h struct.h const.h graph.h moteur.h divers.h \
|
readline.h help.h sdlscreen.h windows.h input.h
|
||||||
readline.h aide.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)/special.o: special.c const.h struct.h global.h graph.h moteur.h windows.h
|
$(OBJDIR)/text.o: text.c SFont.h struct.h const.h global.h sdlscreen.h io.h
|
||||||
$(OBJDIR)/texte.o: texte.c SFont.h struct.h const.h global.h sdlscreen.h io.h \
|
|
||||||
files.h
|
|
||||||
$(OBJDIR)/version.o: version.c
|
$(OBJDIR)/version.o: version.c
|
||||||
$(OBJDIR)/windows.o: windows.c windows.h struct.h const.h global.h graph.h moteur.h \
|
$(OBJDIR)/windows.o: windows.c windows.h struct.h const.h global.h graph.h engine.h \
|
||||||
divers.h sdlscreen.h erreurs.h
|
misc.h sdlscreen.h errors.h
|
||||||
|
|||||||
4
brush.c
4
brush.c
@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "graph.h"
|
#include "graph.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
|
|
||||||
|
|||||||
@ -30,23 +30,23 @@
|
|||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "struct.h"
|
#include "struct.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "graph.h"
|
#include "graph.h"
|
||||||
#include "moteur.h"
|
#include "engine.h"
|
||||||
#include "readline.h"
|
#include "readline.h"
|
||||||
#include "files.h"
|
#include "filesel.h"
|
||||||
#include "loadsave.h"
|
#include "loadsave.h"
|
||||||
#include "init.h"
|
#include "init.h"
|
||||||
#include "boutons.h"
|
#include "buttons.h"
|
||||||
#include "operatio.h"
|
#include "operatio.h"
|
||||||
#include "pages.h"
|
#include "pages.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "readini.h"
|
#include "readini.h"
|
||||||
#include "saveini.h"
|
#include "saveini.h"
|
||||||
#include "shade.h"
|
#include "shade.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "aide.h"
|
#include "help.h"
|
||||||
#include "texte.h"
|
#include "text.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
#include "brush.h"
|
#include "brush.h"
|
||||||
@ -47,7 +47,7 @@ appel
|
|||||||
insctructions à exécuter. Chacune de ces parties atomiques est
|
insctructions à exécuter. Chacune de ces parties atomiques est
|
||||||
écrite sous la forme d'une fonction contenant tout le code qui
|
é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
|
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
|
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>
|
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,
|
<li>Elle contient des mots 16-bits (type word,
|
||||||
définit dans STRUCT.H)</li>
|
définit dans STRUCT.H)</li>
|
||||||
<li>Pour y poser une valeur :
|
<li>Pour y poser une valeur :
|
||||||
Operation_PUSH(val)</li>
|
Operation_push(val)</li>
|
||||||
<li>Pour en retirer une valeur :
|
<li>Pour en retirer une valeur :
|
||||||
Operation_POP(&var)</li>
|
Operation_pop(&var)</li>
|
||||||
<li>Exemples de valeurs à y mettre :
|
<li>Exemples de valeurs à y mettre :
|
||||||
coordonnées de souris, de pinceau... des
|
coordonnées de souris, de pinceau... des
|
||||||
couleurs... des valeurs bidons pour changer
|
couleurs... des valeurs bidons pour changer
|
||||||
@ -143,7 +143,7 @@ s'achever! ;-)</p>
|
|||||||
<li>A l'intérieur d'une fonction atomique :<ul>
|
<li>A l'intérieur d'une fonction atomique :<ul>
|
||||||
<li>Si la fonction correspond à la première étape
|
<li>Si la fonction correspond à la première étape
|
||||||
d'une opération, appeler
|
d'une opération, appeler
|
||||||
Initialiser_debut_operation()</li>
|
Init_start_operation()</li>
|
||||||
<li>Si la fonction correspond à la première étape
|
<li>Si la fonction correspond à la première étape
|
||||||
d'une opération qui peut modifier l'image,
|
d'une opération qui peut modifier l'image,
|
||||||
appeler Backup() avant modification de l'image ;
|
appeler Backup() avant modification de l'image ;
|
||||||
@ -151,12 +151,12 @@ s'achever! ;-)</p>
|
|||||||
modification avec "undo" s'il le
|
modification avec "undo" s'il le
|
||||||
souhaite.</li>
|
souhaite.</li>
|
||||||
<li>Pour afficher les coordonnées de la souris,
|
<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
|
savoir si la barre d'outils est visible. Si vous
|
||||||
avez besoin d'afficher une coordonnée qui doit
|
avez besoin d'afficher une coordonnée qui doit
|
||||||
s'adapter au mode relatif ou absolu (selon le
|
s'adapter au mode relatif ou absolu (selon le
|
||||||
paramétrage effectué par l'utilisateur),
|
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
|
coordonnées sont configurées pour être
|
||||||
relatives, cette fonction affichera la
|
relatives, cette fonction affichera la
|
||||||
différence entre les coordonnées actuelles du
|
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
|
passées en paramètres. Dans le cas d'infos
|
||||||
spéciales à afficher dans la barre de menu, on
|
spéciales à afficher dans la barre de menu, on
|
||||||
pourra se servir de la fonction
|
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
|
<li>Si vous avez besoin de vous assurer que les
|
||||||
boutons de la souris sont relâchés à un moment
|
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>Etudiez OPERATIO.C pour avoir des exemples.<br>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Pour démarrer une opération (après avoir cliqué sur
|
<li>Pour démarrer une opération (après avoir cliqué sur
|
||||||
un bouton de la barre d'outils par exemple), appeler
|
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
|
curseur soit caché avant l'appel (et son état n'est pas
|
||||||
changé après). (voir exemples dans BOUTONS.C)<br>
|
changé après). (voir exemples dans BOUTONS.C)<br>
|
||||||
</li>
|
</li>
|
||||||
<li>On peut connaître l'ID_OP de l'opération en cours
|
<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>
|
||||||
<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
|
la taille de la pile d'opérations. Elle peut être
|
||||||
consultée et éventuellement modifiée (même s'il est
|
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>
|
dans ce dernier cas).</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@ -205,7 +205,7 @@ s'achever! ;-)</p>
|
|||||||
<td width="100%">Dans GLOBAL.H :<ul>
|
<td width="100%">Dans GLOBAL.H :<ul>
|
||||||
<li>rajouter l'identifiant de la forme de curseur à
|
<li>rajouter l'identifiant de la forme de curseur à
|
||||||
utiliser pour cette opération dans la table
|
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 à
|
l'insérer au bon endroit (place correspondant à
|
||||||
ID_OP).</li>
|
ID_OP).</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -225,15 +225,15 @@ s'achever! ;-)</p>
|
|||||||
// Click Souris: 1<br>
|
// Click Souris: 1<br>
|
||||||
// Taille_Pile : 0<br>
|
// Taille_Pile : 0<br>
|
||||||
// Souris effacée: Oui (précisé grâce à
|
// Souris effacée: Oui (précisé grâce à
|
||||||
Initialiser_operation() dans INIT.C)<br>
|
Init_operation() dans INIT.C)<br>
|
||||||
{<br>
|
{<br>
|
||||||
Initialiser_debut_operation();<br>
|
Init_start_operation();<br>
|
||||||
Backup();<br>
|
Backup();<br>
|
||||||
<br>
|
<br>
|
||||||
// ACTIONS...<br>
|
// ACTIONS...<br>
|
||||||
<br>
|
<br>
|
||||||
Operation_PUSH(une_valeur_nécessaire_pour_les_prochaines_étapes);<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_autre_valeur_nécessaire_plus_tard);<br>
|
||||||
}</p>
|
}</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
@ -256,14 +256,14 @@ s'achever! ;-)</p>
|
|||||||
qu'elle est terminée (cas de la loupe, de la
|
qu'elle est terminée (cas de la loupe, de la
|
||||||
pipette, des prises de brosse, ...), rajouter
|
pipette, des prises de brosse, ...), rajouter
|
||||||
l'ID_OP dans la section correspondante de la
|
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>
|
fichier.</li>
|
||||||
<li>Si l'opération voit un intérêt à accepter que
|
<li>Si l'opération voit un intérêt à accepter que
|
||||||
l'utilisateur change de couleur de pinceau en
|
l'utilisateur change de couleur de pinceau en
|
||||||
cours d'opération (cas du dessin continu,
|
cours d'opération (cas du dessin continu,
|
||||||
discontinu, le spray, et les lignes centrées),
|
discontinu, le spray, et les lignes centrées),
|
||||||
rajouter l'ID_OP dans la section correspondante
|
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>
|
début de fichier.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
@ -276,9 +276,9 @@ s'achever! ;-)</p>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%">Dans INIT.C :<ul>
|
<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
|
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>
|
souris, Taille pile, Callback, Effacer souris);<ul>
|
||||||
<li>ID_OP : identifiant de l'opération
|
<li>ID_OP : identifiant de l'opération
|
||||||
dont dépend la fonction atomique
|
dont dépend la fonction atomique
|
||||||
@ -311,7 +311,7 @@ s'achever! ;-)</p>
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>Initialiser_operation(OPERATION_DUMMY, 1, 0,
|
<p>Init_operation(OPERATION_DUMMY, 1, 0,
|
||||||
Dummy_1_0, 1);</p>
|
Dummy_1_0, 1);</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|||||||
@ -29,17 +29,17 @@
|
|||||||
#include "struct.h"
|
#include "struct.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "graph.h"
|
#include "graph.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "special.h"
|
#include "special.h"
|
||||||
#include "boutons.h"
|
#include "buttons.h"
|
||||||
#include "operatio.h"
|
#include "operatio.h"
|
||||||
#include "shade.h"
|
#include "shade.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
#include "brush.h"
|
#include "brush.h"
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
#include "moteur.h"
|
#include "engine.h"
|
||||||
|
|
||||||
|
|
||||||
// we need this as global
|
// we need this as global
|
||||||
@ -45,17 +45,17 @@
|
|||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "struct.h"
|
#include "struct.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "loadsave.h"
|
#include "loadsave.h"
|
||||||
#include "mountlist.h"
|
#include "mountlist.h"
|
||||||
#include "moteur.h"
|
#include "engine.h"
|
||||||
#include "readline.h"
|
#include "readline.h"
|
||||||
#include "input.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_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é
|
#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 "global.h"
|
||||||
#include "struct.h"
|
#include "struct.h"
|
||||||
#include "moteur.h"
|
#include "engine.h"
|
||||||
#include "boutons.h"
|
#include "buttons.h"
|
||||||
#include "pages.h"
|
#include "pages.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "graph.h"
|
#include "graph.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "pxsimple.h"
|
#include "pxsimple.h"
|
||||||
#include "pxtall.h"
|
#include "pxtall.h"
|
||||||
#include "pxwide.h"
|
#include "pxwide.h"
|
||||||
|
|||||||
@ -36,17 +36,17 @@
|
|||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "struct.h"
|
#include "struct.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "moteur.h"
|
#include "engine.h"
|
||||||
#include "tables_aide.h"
|
#include "helpfile.h"
|
||||||
#include "aide.h"
|
#include "help.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "texte.h"
|
#include "text.h"
|
||||||
#include "clavier.h"
|
#include "keyboard.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
#include "hotkeys.h"
|
#include "hotkeys.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
|
|
||||||
extern char SVN_revision[]; // generated in version.c
|
extern char SVN_revision[]; // generated in version.c
|
||||||
|
|
||||||
10
init.c
10
init.c
@ -51,13 +51,13 @@
|
|||||||
#include "struct.h"
|
#include "struct.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "graph.h"
|
#include "graph.h"
|
||||||
#include "boutons.h"
|
#include "buttons.h"
|
||||||
#include "palette.h"
|
#include "palette.h"
|
||||||
#include "aide.h"
|
#include "help.h"
|
||||||
#include "operatio.h"
|
#include "operatio.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "clavier.h"
|
#include "keyboard.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "hotkeys.h"
|
#include "hotkeys.h"
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
|||||||
6
input.c
6
input.c
@ -22,11 +22,11 @@
|
|||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "clavier.h"
|
#include "keyboard.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
|
|
||||||
void Handle_window_resize(SDL_ResizeEvent event);
|
void Handle_window_resize(SDL_ResizeEvent event);
|
||||||
|
|||||||
@ -35,11 +35,11 @@
|
|||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "struct.h"
|
#include "struct.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "pages.h"
|
#include "pages.h"
|
||||||
#include "op_c.h"
|
#include "op_c.h"
|
||||||
#include "boutons.h"
|
#include "buttons.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
|
|||||||
10
main.c
10
main.c
@ -35,18 +35,18 @@
|
|||||||
#include "struct.h"
|
#include "struct.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "graph.h"
|
#include "graph.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "init.h"
|
#include "init.h"
|
||||||
#include "boutons.h"
|
#include "buttons.h"
|
||||||
#include "moteur.h"
|
#include "engine.h"
|
||||||
#include "pages.h"
|
#include "pages.h"
|
||||||
#include "loadsave.h"
|
#include "loadsave.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "readini.h"
|
#include "readini.h"
|
||||||
#include "saveini.h"
|
#include "saveini.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "texte.h"
|
#include "text.h"
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
#include "brush.h"
|
#include "brush.h"
|
||||||
|
|||||||
@ -27,11 +27,11 @@
|
|||||||
#include "struct.h"
|
#include "struct.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "boutons.h"
|
#include "buttons.h"
|
||||||
#include "moteur.h"
|
#include "engine.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "clavier.h"
|
#include "keyboard.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
#include "palette.h"
|
#include "palette.h"
|
||||||
2
op_c.c
2
op_c.c
@ -27,7 +27,7 @@
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include "op_c.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)
|
void RGB_to_HSL(int r,int g,int b,byte * hr,byte * sr,byte* lr)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -25,13 +25,13 @@
|
|||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "struct.h"
|
#include "struct.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "moteur.h"
|
#include "engine.h"
|
||||||
#include "graph.h"
|
#include "graph.h"
|
||||||
#include "operatio.h"
|
#include "operatio.h"
|
||||||
#include "boutons.h"
|
#include "buttons.h"
|
||||||
#include "pages.h"
|
#include "pages.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "brush.h"
|
#include "brush.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
|
|||||||
4
pages.c
4
pages.c
@ -29,8 +29,8 @@
|
|||||||
|
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "pages.h"
|
#include "pages.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|||||||
10
palette.c
10
palette.c
@ -24,14 +24,14 @@
|
|||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "struct.h"
|
#include "struct.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "moteur.h"
|
#include "engine.h"
|
||||||
#include "readline.h"
|
#include "readline.h"
|
||||||
#include "boutons.h"
|
#include "buttons.h"
|
||||||
#include "pages.h"
|
#include "pages.h"
|
||||||
#include "aide.h"
|
#include "help.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "op_c.h"
|
#include "op_c.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "pxwide.h" // for Display_transparent_line_on_screen_wide()
|
#include "pxwide.h" // for Display_transparent_line_on_screen_wide()
|
||||||
|
|
||||||
#define ZOOMX 2
|
#define ZOOMX 2
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
|
|
||||||
void Pixel_simple (word x,word y,byte color)
|
void Pixel_simple (word x,word y,byte color)
|
||||||
/* Affiche un pixel de la color aux coords x;y à l'écran */
|
/* 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 <SDL.h>
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "pxsimple.h"
|
#include "pxsimple.h"
|
||||||
|
|
||||||
void Pixel_tall (word x,word y,byte color)
|
void Pixel_tall (word x,word y,byte color)
|
||||||
|
|||||||
2
pxwide.c
2
pxwide.c
@ -26,7 +26,7 @@
|
|||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
|
|
||||||
void Pixel_wide (word x,word y,byte color)
|
void Pixel_wide (word x,word y,byte color)
|
||||||
/* Affiche un pixel de la color aux coords x;y à l'écran */
|
/* Affiche un pixel de la color aux coords x;y à l'écran */
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
|
|
||||||
void Load_INI_clear_string(char * str)
|
void Load_INI_clear_string(char * str)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -31,8 +31,8 @@
|
|||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "struct.h"
|
#include "struct.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "const.h"
|
#include "const.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "readline.h"
|
#include "readline.h"
|
||||||
|
|||||||
@ -27,8 +27,8 @@
|
|||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "readini.h"
|
#include "readini.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
|
|
||||||
int Save_INI_reach_group(FILE * old_file,FILE * new_file,char * buffer,char * group)
|
int Save_INI_reach_group(FILE * old_file,FILE * new_file,char * buffer,char * group)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -25,8 +25,8 @@
|
|||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
|
|
||||||
// Mise à jour minimaliste en nombre de pixels
|
// Mise à jour minimaliste en nombre de pixels
|
||||||
#define UPDATE_METHOD_MULTI_RECTANGLE 1
|
#define UPDATE_METHOD_MULTI_RECTANGLE 1
|
||||||
|
|||||||
6
shade.c
6
shade.c
@ -23,10 +23,10 @@
|
|||||||
|
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "graph.h"
|
#include "graph.h"
|
||||||
#include "moteur.h"
|
#include "engine.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "readline.h"
|
#include "readline.h"
|
||||||
#include "aide.h"
|
#include "help.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
#include "struct.h"
|
#include "struct.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "graph.h"
|
#include "graph.h"
|
||||||
#include "moteur.h"
|
#include "engine.h"
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -30,10 +30,10 @@
|
|||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "graph.h"
|
#include "graph.h"
|
||||||
#include "moteur.h"
|
#include "engine.h"
|
||||||
#include "divers.h"
|
#include "misc.h"
|
||||||
#include "sdlscreen.h"
|
#include "sdlscreen.h"
|
||||||
#include "erreurs.h"
|
#include "errors.h"
|
||||||
|
|
||||||
// L'encapsulation tente une percée...ou un dernier combat.
|
// L'encapsulation tente une percée...ou un dernier combat.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user