122 Commits

Author SHA1 Message Date
Adrien Destugues
1934425972 Added "Brush Factory", allowing you to run a lua script to generate (or alter, untested yet) a brush.
Added a simple (and ugly) sample script.
This needs updates to the makefile for platforms other than linux.
TODO: add a listbox to select the script you want to run. Do we have a simple API to handle filelists yet ?


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1094 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-29 15:22:45 +00:00
Yves Rizoud
19decb6d4c Trunk: Restored working behavior for version and pversion
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1088 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-21 23:00:58 +00:00
Adrien Destugues
93efc7e9e9 Everything compiles. Some kludges left regarding version and pversion. Now to get it to link...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1037 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-19 23:49:52 +00:00
Adrien Destugues
b3f2deedac ... and fixes the build back.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1036 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-19 22:47:10 +00:00
Adrien Destugues
b12423d03b Trying to compile on amiga with vbcc.
Removed some useless unixisms.
Still not working.
Hope I did not break too much things.




git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1035 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-19 22:41:51 +00:00
Adrien Destugues
e877292ca2 The cluster system for color reduction when loading a truecolor image now uses a linked list instead of a table. This fix a potential problem because there was an overlapping memcpy. It also avoids copying the big cluster table around and just moves pointer around. It should be faster but I did not really noticed any change on my computer :(. Maybe it's too fast...
The same can probably be done for the gradient sets.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@927 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-16 12:57:11 +00:00
Yves Rizoud
260347ac21 Updated credits
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@909 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-09 01:08:02 +00:00
Yves Rizoud
72e6452d5b Integrated Makefile changes from MagerValp (Issue 188 comment 4) for MacOSX; adapted Windows build slightly; Updated Help screens for list of bug finders.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@904 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-07 19:26:37 +00:00
Adrien Destugues
15a8c67db7 Patch by MagerValp to allow building on mac with make. Thanks !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@902 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-07 13:58:37 +00:00
Pete Gordon
243b645383 Fixes to make it build on OS4 and the latest SDK
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@898 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-03 11:49:09 +00:00
Yves Rizoud
d4dcba62a6 More work on fonts/skins
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@890 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-28 21:50:01 +00:00
Adrien Destugues
aff6fe50b2 -Renomed skins. "base" becomes "classic", "ilkke" becomes "modern" (as I heard Ilkke is working on yet another skin...).
-Converted them to png (base was a .gif but this is a bad format :))
-Changed dates in the splash screen to say coyright 2007-2009.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@869 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-15 20:09:57 +00:00
Yves Rizoud
fb05f785bd (Dev) Makefile: File names from 'make ziprelease' are now grafx2-2.1wip862-win32.zip if label is '2.1wip', and grafx2-2.1.862-win32.zip if label is '2.1'
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@863 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-14 18:22:29 +00:00
Yves Rizoud
7cb2519e2a (Dev) "trunk" is now labelled "2.1 wip". Makefile: "make ziprelease" now automatically names archives according to the version label from pversion.c
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@862 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-12 21:15:46 +00:00
Adrien Destugues
ad6a2442ec Source archives are now packed in a directory, which is the usual way to go on unix.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@857 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-11 16:57:40 +00:00
Yves Rizoud
106912a5a0 Updated version number and README. Makefile can now change program version label, with 'make version LABEL=2.whatever
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@838 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-06 19:01:48 +00:00
Yves Rizoud
c2da50357a Makefile fixes for make install, by 00.rgb.studios (Issue 173)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@836 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-04 23:43:08 +00:00
Adrien Destugues
23a72b39ee Build fixes for AROS.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@794 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-10 07:26:09 +00:00
Yves Rizoud
7b5481e9c9 Source archives will now contain misc/grafx2.1 (source of man page), misc/grafx2.xpm (icon for all Linux) misc/grafx2.desktop (Gnome desktop entry)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@787 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-07 19:01:44 +00:00
Adrien Destugues
570e1b8865 Compilation sandbox fix.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@785 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-07 08:44:59 +00:00
Adrien Destugues
2fa494f77e Removed postal address of the FSF since it's moving faster thant the website :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@779 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-05 18:19:37 +00:00
Adrien Destugues
f01c210211 Fixed make uninstall for the .xpm and menu file.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@778 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-05 16:54:56 +00:00
Adrien Destugues
8eaf299c08 Added files from debian distro.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@777 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-05 11:41:27 +00:00
Adrien Destugues
e5fc3a9ef3 AmigaOS 68k build fixes by Artur Jarosik. Thanks!
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@770 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-03 17:45:10 +00:00
Yves Rizoud
e5f948076b New: Picture effects screen, resizes / mirrors / rotates image (Issue 73)
New: Distort brush (Issue 34)
New: Pixel scaler "Triple" for 3x3 zoom (Issue 147)
New: Pixel scaler "Quadruple" for 4x4 zoom (Issue 151)
New: Pixel scaler "Wide2" for 4x2 zoom (Issue 148)
New: Pixel scaler "Tall2" for 2x4 zoom (Issue 149)
Fix of very old bug: Resizing the image didn't mark the image 'modified since last save'

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@763 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-02 16:44:06 +00:00
Adrien Destugues
70a3b22afb Fixes issue 144 : $(DESTDIR) aware build system.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@749 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-14 18:37:28 +00:00
Adrien Destugues
6823855cbb small makefile fixes for gp2x.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@745 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-13 10:05:20 +00:00
Yves Rizoud
31756d2ee5 Updated version number to 99.0
Makefile: README.txt and a new COMPILING.txt are now added in win32 and src packages.
Updated NSIS script to 99.0 version.
Cleaned up the list of error codes and error messages.
Removed a debug print.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@724 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-05 23:38:11 +00:00
Yves Rizoud
5655129401 Makefile: Added missing png library to linker options (issue 141)
Fix the minimum screen size not enforced when resizing window (since r705)
Fix the mouse cursor position when changing pixel size (since r705)
In fileselector, the image preview now enforces "safe colors". (issue 116)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@716 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 13:38:45 +00:00
Yves Rizoud
927fafacbe Moved GUI skin files to "skins/" sub-directory.
Update makefile (install and uninstall only copy and delete the basic skin)
Added Ilkke's GUI skin to svn.
Skin can be specified by command-line argument "/skin <file>" (relative to program data).
Grafx2's default FG and BG colors are now white and black (instead of 15 and 0).
Credits: Fixed a typo caused by mass translation ("GRAFX2 CREATED (by)").
Credits: Added TeeEmCe to bugfinders.
Updated helpfiles (Resolution, Save, Freehand-draw)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@707 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-30 23:50:40 +00:00
Yves Rizoud
eb781b9bd6 Renamed sources files to english words, updated makefile, recomputed dependencies.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@703 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-29 00:12:33 +00:00
Adrien Destugues
b6f529c90f Removed some references to gfx2cfg i missed last time...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@686 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-18 17:47:38 +00:00
Adrien Destugues
c6f4130efd Removed Open Watcom support.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@680 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-17 12:19:55 +00:00
Adrien Destugues
cb1cac1b6f removed gfx2cfg, we don't need it anymore.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@678 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-16 20:14:52 +00:00
Yves Rizoud
b347f5e04b Source cleanup to help translation.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@669 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-13 21:42:26 +00:00
Adrien Destugues
b5a1fadbe0 Makefile cleanup suggested by Magnus Bergman. Thanks !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@663 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-28 10:18:26 +00:00
Adrien Destugues
a35619de75 Whoops ! I accidentally broken linux build while testing the amiga one.
The test i did is running the "version" command, which is returning the OS version on amiga (a bit like uname). Unfortunately this displays an error from bash when building under linux...


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@654 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-24 22:29:47 +00:00
Adrien Destugues
21bd270e31 Modifid themakefil for amiga 68k/VBCC. Will need some wok to actually compile, as it's not a posix
compliant platform. I now have to install SDL dev. packages...


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@653 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-24 16:17:34 +00:00
Yves Rizoud
6c2d55ed8f Implemented Double Pixel mode (issue 86)
Tall pixels can now be used in resolution minimum 320x400, and Tall pixels minimum 640x200. (instead of 640x400 for both)
Fixed: There was incorrect error recovery when trying to use a fullscreen mode too small to use wide/tall/double pixel.
Little code cleanup in the different pixel renderers.



git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@631 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-15 23:34:35 +00:00
Yves Rizoud
9d428e1e38 Keyboard shortcuts are customizable from within Grafx2.
2 shortcuts per function. You can use keys, MouseWheel, Middlebutton, joystick buttons,
in combination with Alt, Shift, Control.



git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@609 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-07 23:36:11 +00:00
Yves Rizoud
daf5f99979 Makefile fixes (ziprelease)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@587 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-03 01:34:26 +00:00
Yves Rizoud
599e835e28 Fix the clipping of mouse cursor.
Fix joystick buttons not causing action if no mouse movement.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@585 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-03 00:20:37 +00:00
Yves Rizoud
0b2bbacf37 Small keyboard fix, and re-computed the dependencies.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@578 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-31 15:42:22 +00:00
Adrien Destugues
6dd54a1686 Some fixes to get_input : allows to move windows.
Touche is now resetted to 0 only when a shortcut is processed. So you can let it at the key value for cursor moves, for example. But it does not work, i must have missed something :/


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@577 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-31 11:33:18 +00:00
Yves Rizoud
0575684810 PNG loading. Don't try saving yet, it's pkm-saving code
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@569 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-29 17:01:02 +00:00
Yves Rizoud
e302f2d26a gfx2.dat is now replaced by an editable "skin" file: 'gfx2gui.gif', and a reference INI file: 'gfx2def.ini'.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@557 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-27 00:10:02 +00:00
Adrien Destugues
c018c13352 First "working" version of new get_input... buggy, but i'm working on it
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@556 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-26 11:07:36 +00:00
Adrien Destugues
73cd2e4e5d Remove some old useless files, and add a png format icon for linux (wich does not like ico too much).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@514 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-21 15:03:19 +00:00
Adrien Destugues
0f2d642847 Amiga systems use / and not .. for parent dir. Takes this into account...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@498 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-20 18:33:50 +00:00
Adrien Destugues
3fb7800824 Small fixes to mountlist.c for beos and skyos. Apparently they went lost some time ago...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@483 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-19 18:59:31 +00:00