2784 Commits

Author SHA1 Message Date
Adrien Destugues
48cadad912 You can now move windows.
Warning, floyd steinberg dithering disabled for debugging purposes


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@116 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-10 17:19:14 +00:00
Adrien Destugues
d9cc87b669 Set_color did not divide colors by 4 for VGAcompatibility
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@115 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-10 13:18:58 +00:00
Adrien Destugues
2c187ef632 Corrected the palette reduction system. Gif loading now OK
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@113 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-10 13:00:13 +00:00
Adrien Destugues
216ea8c9c2 pi1 and paletized pcx loading works. Saving untested, truecolor pcx still broken (but does not crash and preview seems ok ?!)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@109 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-10 10:25:29 +00:00
Adrien Destugues
bf0127e306 Working load and save for PKM files !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@108 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-09 21:14:33 +00:00
Adrien Destugues
2091a1b071 Added various sample pictures to test the save and load. Also modified the release script to include the dlls to the zipfile.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@107 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-09 20:25:26 +00:00
Adrien Destugues
804ba92a85 A little script to make a .zip release of the windows binary, ready to post on the website
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@98 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-09 17:32:27 +00:00
Adrien Destugues
c2cea23256 Some modifications to the watcom project file... again... this times to make it build under wine :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@97 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-09 17:27:06 +00:00
Adrien Destugues
ce4f050709 Removed some accents in two filenames to avoid problems with some locale settings when doing a checkout
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@96 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-09 15:36:49 +00:00
Adrien Destugues
cdf5a760b2 fixes to build under vista
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@95 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-07 19:59:00 +00:00
Adrien Destugues
bcced2c747 wait vbl, set color, and ability to compile a fullscreen build
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@92 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-06 16:48:34 +00:00
Adrien Destugues
3bf7246855 Saving a picture and loading it back works, but there are struct misalignment problems, asved file will NOT be compatible with other tools
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@91 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-02 15:38:00 +00:00
Adrien Destugues
aaf7bc09fa Some work on file loading
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@90 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-01 13:17:29 +00:00
Adrien Destugues
3896168ca4 Corrected help window and sprite display in menu. Screen was not updated.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@89 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-01 12:27:28 +00:00
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