11 Commits

Author SHA1 Message Date
Yves Rizoud
acfe5836ce Grafx2 can now read and convert gfx2.cfg from the original DOS (96.5%) format.
Older .cfg files in svn were saved incorrectly: the wrong size of chunk #5
(0x0101 instead of 0xE1) made it impossible to re-read the file in gfxcfg.

gfxcfg can read and save gfx2.cfg. Upward compatibility is provided:
- If new chunk types are added to the format, it only needs a re-compile. Older
files can be read and saved.
- If new keyboard shortcuts are added (134 currently), the older files can be
read and the default shortcut will be used for missing keys.

Fixed many endianness cases, hopefully
Fixed LBM loading : bug in ASM->C conversion of Couleur_ILBM_line()
Broke PCX loading : argh!


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@176 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-29 23:15:08 +00:00
Yves Rizoud
554b765ce3 Added constants for shift/ctrl/alt modifiers
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@172 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-27 17:11:46 +00:00
Yves Rizoud
8ec86f1899 gfxcfg now uses SDL keysyms for input, you can test it to check how SDL understands keys on your platform. The utility still doesn't load gfx2.cfg, and still saves is badly.
Fixed more hardcoded scancodes (shade menu).


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@171 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-27 16:53:26 +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
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
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