Fixed issue 122: Qshade only working in one direction with some tools.

Re-computed the dependencies, graph.o was missing, which could cause lots of problem if you don't 'make clean' when upgrading.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@640 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud 2009-02-17 19:13:18 +00:00
parent 13130acc67
commit 2d8beccbbd
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,4 @@
$(OBJDIR)/SFont.o: SFont.c SFont.h
$(OBJDIR)/aide.o: aide.c const.h struct.h global.h divers.h graph.h moteur.h \
tables_aide.h aide.h sdlscreen.h texte.h clavier.h windows.h input.h \
hotkeys.h erreurs.h
@ -15,6 +16,9 @@ $(OBJDIR)/files.o: files.c const.h struct.h global.h graph.h divers.h erreurs.h
io.h windows.h loadsave.h
$(OBJDIR)/gfxcfg.o: gfxcfg.c SFont.h struct.h const.h clavier.h io.h hotkeys.h \
setup.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 \
pxdouble.h windows.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 \
@ -40,6 +44,7 @@ $(OBJDIR)/pages.o: pages.c global.h struct.h const.h pages.h graph.h erreurs.h \
$(OBJDIR)/palette.o: palette.c const.h struct.h global.h divers.h graph.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)/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 \
pxsimple.h
@ -53,7 +58,6 @@ $(OBJDIR)/saveini.o: saveini.c const.h global.h struct.h readini.h io.h erreurs.
$(OBJDIR)/sdlscreen.o: sdlscreen.c global.h struct.h const.h sdlscreen.h erreurs.h \
graph.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

View File

@ -2396,7 +2396,7 @@ byte Effet_Quick_shade(word X,word Y,byte Couleur)
{
Largeur=1+Fin-Debut;
if ( ((Mouse_K==A_GAUCHE) && Sens) || ((Mouse_K==A_DROITE) && (!Sens)) )
if ( ((Shade_Table==Shade_Table_gauche) && Sens) || ((Shade_Table==Shade_Table_droite) && (!Sens)) )
C-=Quick_shade_Step%Largeur;
else
C+=Quick_shade_Step%Largeur;