51 Commits

Author SHA1 Message Date
Yves Rizoud
e219797b16 Implemented a time simulator for Wait_VBL()
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@166 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-25 18:53:16 +00:00
Yves Rizoud
f26c8fe9f1 Save/Load: Much better filename input, can enter French keys and characters.
The text functions now apply a Windows-1252 -> OEM conversion, since the two
main fonts are an OEM code page.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@161 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-19 00:24:00 +00:00
Yves Rizoud
204dee8549 Display is now using RGB range 0-255 instead of 0-250.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@160 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-17 22:43:59 +00:00
Yves Rizoud
f90388d670 implemented Palette_64_to_256()
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@147 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-14 19:23:46 +00:00
Yves Rizoud
beea105ef7 Enabled keyboard repeat (maybe not in the best way).
Fixed FX/Feedback button that couldn't be switched off.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@145 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-14 00:50:18 +00:00
Yves Rizoud
3894c39631 Updated makefile for MingW support, fixed some strict compilation warnings.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@133 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-11 23:40:06 +00:00
Adrien Destugues
2b609d6e03 -BMP Loading
-Fixed PCX loading
-Some work on ILBM loading
-Little adaptation for long filenames (does not crash anymore, but there are display bugs)
-Some other small fixes i can't remember


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@123 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-14 20:21:11 +00:00
Adrien Destugues
867ac703ca Working palette reduction ! You can now load 24b pcx images !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@121 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-13 17:31:32 +00:00
Adrien Destugues
b6986f2b56 All brush effects working !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@119 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-12 17:52:55 +00:00
Adrien Destugues
db93420369 Some more brush effects
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@118 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-12 17:14:09 +00:00
Adrien Destugues
027ffd4bf5 Smoothing, QuickShade.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@117 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-12 16:52:20 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Adrien Destugues
28e0cdbaf1 First drawing functions. We can see the interface !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@25 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-09-20 15:37:39 +00:00
Adrien Destugues
dca8234941 Loading of gfx2.dat is ok
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@18 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-08-14 09:49:25 +00:00
Adrien Destugues
635f8e5154 First compile-able version!
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@16 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-08-14 07:35:32 +00:00
Adrien Destugues
7c4b0858da Even more cleanup
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@15 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-08-13 21:03:51 +00:00
Adrien Destugues
57fa46de8c Big cleanup, proper makefile
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@12 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-08-13 18:41:50 +00:00
Adrien Destugues
47b59aa70d Checkin
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@11 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-08-12 14:39:24 +00:00