3170 Commits

Author SHA1 Message Date
Adrien Destugues
0c178cb013 color brush display in zoomed mode
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@88 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-01 12:12:54 +00:00
Adrien Destugues
21dacf51f1 Some work on brush operations. Resize, rotate, flip,... Still some work needed for correct brush preview in zoomed mode.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@87 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-01 11:18:56 +00:00
Adrien Destugues
acef837b12 Picture limits are displayd correctly
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@86 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-31 21:23:30 +00:00
Adrien Destugues
14191db899 Scroll_picture
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@84 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-30 22:03:03 +00:00
Adrien Destugues
7e48434e19 Right click is working. You can stop drawing polylines and do various other things
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@83 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-30 20:08:02 +00:00
Adrien Destugues
ec2a3083b7 Watcom fix
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@81 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-30 18:58:00 +00:00
Adrien Destugues
9093f3c09c Debugged keyboard input. You can now change the picture size.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@80 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-30 18:43:43 +00:00
Adrien Destugues
6f9b6c977d Lines and curves are working.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@79 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-30 17:52:59 +00:00
Adrien Destugues
d40d948c78 Proper screen update on zoomed fill
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@78 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-30 13:34:21 +00:00
Adrien Destugues
1f15bfbc3f Filling works ! *NEVER* put a ; after a for() !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@77 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-30 13:06:44 +00:00
Adrien Destugues
0bd265706a Gradient circles.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@76 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-29 17:22:11 +00:00
Adrien Destugues
2536cb6e88 Some corrections for windows drawing (preview Degradés, sprites special effects)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@75 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-29 16:58:49 +00:00
Adrien Destugues
4da86a845d woops ! forgotten to undo that when it did not work ...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@70 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-29 10:25:10 +00:00
Adrien Destugues
dcb398c791 CFG file is also loaded with fread and saved with fwrite. Program runs :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@69 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-29 10:19:22 +00:00
Adrien Destugues
c0125860d3 Use fopen/fread instead of open/read for config file. That's the way things should be done.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@68 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-29 09:26:31 +00:00
Adrien Destugues
e2a92f8b69 Made some corrections to the makefile to make it build under linux again :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@67 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-28 12:02:39 +00:00
Adrien Destugues
b2f9193e85 Made it compile under windows with Open Watcom
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@66 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-27 21:04:12 +00:00
Adrien Destugues
ae9a534ad8 Working on the filling routine (still broken)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@65 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-26 12:30:42 +00:00
Adrien Destugues
0843c8f742 Some work on filling (not working yet, sorry)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@64 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-25 09:22:55 +00:00
Adrien Destugues
734b305afb Avoid crash when drawing offscreen (circles for example)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@63 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-25 08:02:43 +00:00
Adrien Destugues
0797a72c70 circle drawing
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@62 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-24 19:02:41 +00:00
Adrien Destugues
bf4c695deb proper updating on a zoomed screen
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@61 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-24 16:42:44 +00:00
Adrien Destugues
a90c04af77 Debugged mouse cursor erasing !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@60 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-24 13:16:03 +00:00
Adrien Destugues
6233c24a9d More work on screen updates : handling of cursor display (but not erasing :(), and update of the menu buttons. Also, big speedup on text drawing.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@59 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-24 10:13:46 +00:00
Adrien Destugues
69a0795f50 Some work to improve zoom window.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@58 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-22 15:29:36 +00:00
Adrien Destugues
b458b4787e Improved display of Statistics window. Corrected color counting function
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@57 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-22 10:18:18 +00:00
Adrien Destugues
b184c1ca0f No longer updates the whole screen when painting. The program now runs
MUCH faster and begins to be useable :)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@56 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-22 09:21:38 +00:00
Adrien Destugues
4ba7550bfc Corrected Memoire_libre to take account of mem_unit in the sysinfo
struct


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@55 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-22 08:25:39 +00:00
Adrien Destugues
272506e850 Fixed all warnings, some little bugs, and improved compatibility with >1GB RAM
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@54 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-21 12:47:32 +00:00
Adrien Destugues
750e68ed35 Drawing works !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@53 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-04-05 15:53:46 +00:00
Adrien Destugues
7240396ae6 Mouse input is now fully working (we can even release a mouse button :) quite useful :))
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@52 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-04-05 11:54:10 +00:00
Adrien Destugues
50d60aa753 Correction de nombreux bugs dans la gestionde la souris et du clavier
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@51 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-04-05 09:48:19 +00:00
Adrien Destugues
5c2811df34 Basic keyboard handling, default resolution set to 800x600 instead of 320x200
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@50 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-04-04 07:00:00 +00:00
Adrien Destugues
0c258716e4 Missed some parentheses
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@49 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-03-31 13:06:33 +00:00
Adrien Destugues
86edb4d1fb Correction de quelaues bugs: attente fin clic, sauvegarde sous nux, désactivation de distcc ds le makefile, début de gestion clavier (pas encore ascii mais bas niveau)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@48 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-03-31 12:00:21 +00:00
Adrien Destugues
22eac2bb82 oups
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@44 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-12-08 15:00:44 +00:00
Adrien Destugues
0ddc462158 Ligne horiz XOR
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@43 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-12-08 15:00:21 +00:00
Adrien Destugues
5a1965f8fa pouet
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@42 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-12-08 14:24:22 +00:00
Adrien Destugues
689e6a21ed Restore screen resolution on quit. Clean SDL freeing.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@41 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-11-11 18:59:25 +00:00
Adrien Destugues
58fa034b40 Updated encoding
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@40 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-11-03 19:16:11 +00:00
Adrien Destugues
a6ea5950f6 Lots of speedup-cleanup-debug. Menu is usable, we need to implement drawing functions now...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@39 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-11-03 19:12:03 +00:00
Adrien Destugues
d3b41bb251 config file SAVINg is also endian-aware now.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@38 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-10-31 22:18:48 +00:00
Adrien Destugues
3b9e12b53c We want filenames to be in lower case
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@36 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-10-31 20:56:06 +00:00
Adrien Destugues
945e59992a Woops! forgotten to close a comment :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@35 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-10-31 20:51:48 +00:00
Adrien Destugues
bb2af8f0a4 Some work on Get_input. Mouse is working now :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@34 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-10-31 20:46:12 +00:00
Adrien Destugues
a98c9b0a48 On a pas besoin de ca ici
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@33 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-10-31 18:14:47 +00:00
Adrien Destugues
ea8203bb10 Sauvegarde dans l'archive pour reference
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@32 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-10-31 18:14:12 +00:00
Adrien Destugues
ac387ca2ff Encore du nettoyage
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@31 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-10-31 18:13:12 +00:00
Adrien Destugues
139cdcdb1c Nettoyage, conversion encodage
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@30 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-10-31 17:57:45 +00:00
Adrien Destugues
7488c622e6 Nettoyage, commentaires, fct Copier Image Dans Brosse a tester
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@29 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-10-31 17:57:03 +00:00