2926 Commits

Author SHA1 Message Date
Yves Rizoud
51a4b91b91 Save/Load: (linux) .. now appears, and options "Show hidden files" and "Show hidden dirs" now work.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@164 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-25 18:24:26 +00:00
Yves Rizoud
ca8be4e399 Save/Load: Fixed backspace, limit 255 characters, various fixes for long filenames,
(linux) drive '~' uses $HOME environment variable.
Fixed some more struct packing issues (ex: GIF saving)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@163 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-25 16:37:50 +00:00
Yves Rizoud
2a66650568 Removed a "#pragma once", made Makefile.dep be the same on all platforms.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@162 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-25 13:51:50 +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
2e3a9c387f Save/Load: Typing letters to find matching file is now case-insensitive.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@159 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-17 22:38:53 +00:00
Yves Rizoud
7175fe7b17 "Help" text is now hard-coded in tables_aide.h and compiled into the exe,
instead of being encrypted in the middle of gfx.dat


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@158 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-16 23:22:18 +00:00
Yves Rizoud
9cae113c99 Save/Load allows editing very long file names, still imperfect
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@157 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-16 00:28:22 +00:00
Yves Rizoud
87c3f89763 fix linux build, following r153
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@156 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-15 22:03:06 +00:00
Yves Rizoud
b380fb28df Fixed display of characters >127 (alpha, beta, etc).
Save/Load: Improved display of filenames too long to display entirely.



git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@155 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-15 21:53:37 +00:00
Yves Rizoud
9186bbdf17 Save/Load: Fixed a boolean bug that made some directories invisible: ".." ".*" "?" (Single-letter directories. I have them.)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@154 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-15 21:09:54 +00:00
Yves Rizoud
646ac6235f Save/Load: Added drive icons (also linux, but untested)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@153 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-15 21:00:11 +00:00
Adrien Destugues
ca9115aba6 Moved two loading functions from op_c.c to loadsave.c and converted to fopen/read_bytes.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@151 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-15 07:06:41 +00:00
Yves Rizoud
a3f2b7c2f8 Save/Load: Allows long filenames of mixed case. File extensions lowercase by default. Confirmation of Deleting a file no longer hangs.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@150 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-15 00:32:08 +00:00
Yves Rizoud
e4d2764ee2 fix Saving that was broken in r148
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@149 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-14 20:27:42 +00:00
Yves Rizoud
d930788731 I/O converted to use fopen,fread,fwrite.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@148 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-14 20:21:46 +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
2f5c16a8a0 Support for long file names in file selector, up to 27char.
Cleanup in the Load/Save function for all formats, preparing for big endianness fix.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@146 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-14 18:07:17 +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
77f3c5763e Work on directory handling in save/load,
Mingw support for the config utility, with a larger font I made some time ago (I hoped the e' would work for Be'zier curves, but no)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@144 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-14 00:11:55 +00:00
Yves Rizoud
37ca8d13aa More work on endianness,
fixed the save/load box to display names in 8+3 format,
files can now be loaded in command-line.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@142 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-13 20:05:16 +00:00
Yves Rizoud
0eaba7e952 Fixed endianness of PCX i/o, increased buffer size of file paths everywhere.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@141 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-13 00:24:25 +00:00
Yves Rizoud
b3bcf1d841 Files are now opened in binary mode. Saving/Loading now works on windows (It didn't previously - including in the
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@140 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-12 22:51:52 +00:00
Adrien Destugues
2e78536bf2 More work on the config tool
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@139 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-12 12:37:27 +00:00
Adrien Destugues
796e6f788c Scrolling in the list
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@138 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-12 11:58:03 +00:00
Adrien Destugues
996814641d Still working on the config. Full list of options, but does not scroll
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@137 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-12 11:27:21 +00:00
Adrien Destugues
78cfc787ad Fixed linux build with new makefile
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@136 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-12 07:55:47 +00:00
Yves Rizoud
e81b943732 Dependency file, missing from rev 133
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@135 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-12 00:02:55 +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
cd2af629d4 Builds chade.o and link it.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@132 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-11 12:36:05 +00:00
Adrien Destugues
ccf08d6229 Removed a bad include. Should avoid errors when linking
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@131 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-11 12:11:30 +00:00
Yves Rizoud
38258d1cda git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@130 416bcca6-2ee7-4201-b75f-2eb2f807beb1 2008-09-10 23:22:26 +00:00
Adrien Destugues
eb0138d9ae Fixed various bugs in key list scrolling among other things
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@129 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-10 12:06:36 +00:00
Adrien Destugues
9667f8ab6d till working on the configuration tool
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@128 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-10 10:44:41 +00:00
Adrien Destugues
683364bc10 Some more work on the config tool
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@127 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-09 15:09:30 +00:00
Adrien Destugues
a8d54ab31f Start of the new configuration file engine. Still needs some work. See "cfg" folder for the old pascal version.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@126 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-08 21:13:26 +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
fce305c1eb Floyd Steinberg dithering enabled on 24b picture loading... doesn' t give very impressing results on my test picture, however...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@122 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-08-13 18:05:17 +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
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