756 Commits

Author SHA1 Message Date
Thomas Bernard
c7444011ca Load_IFF() add parsing of CLUT chunks 2018-02-18 21:11:40 +01:00
Thomas Bernard
9bb459224e Load_IFF() Fixed support of HAM pictures.
Loading HAM6 and HAM8 ast true color pictures
2018-02-18 21:11:40 +01:00
Thomas Bernard
7a9a862e26 Load_IFF() : support 24bits files 2018-02-18 21:11:40 +01:00
Thomas Bernard
38c9e3e2cf Load_IFF() : parse SHAM (Sliced-HAM) chunks 2018-02-18 21:11:40 +01:00
Thomas Bernard
c5ea5d3a46 remove IFF_file global variable 2018-02-18 21:11:39 +01:00
Thomas Bernard
5934e0d7fd remove global variable IFF_buffer 2018-02-18 21:11:39 +01:00
Thomas Bernard
71135230f5 Load_IFF() set aspect ratio of loaded image 2018-02-18 21:11:39 +01:00
Thomas Bernard
ec8f698c5b load 1st image of Deluxe Paint for Atari ST Animations 2018-02-18 21:11:39 +01:00
Thomas Bernard
c3a8559256 Load_IFF() move PBM code to PBM_decode(). Handle TINY and DPPV chunks 2018-02-18 21:11:39 +01:00
Thomas Bernard
241943196b Load_IFF() Add parsing of CAMG chunks 2018-02-18 21:11:39 +01:00
Thomas Bernard
14cce41ba9 Reorganize Load_IFF() 2018-02-18 21:11:39 +01:00
Thomas Bernard
b70d49349a add CROSS_CC CROSS_PKGCONFIG CROSS_SDLCONFIG for Mingw32 Cross compilation 2018-02-17 19:00:06 +01:00
Thomas Bernard
6a6f9372ba Makefile: Fix PLATFORMFILES for WIN32CROSS 2018-02-17 19:00:06 +01:00
Thomas Bernard
3bab6f36d6 Add git branch name to tgz and zip name if not master 2018-02-17 19:00:06 +01:00
Thomas Bernard
6f60a066e9 Load_ICO() fix when libpng is disabled 2018-02-17 19:00:06 +01:00
Thomas Bernard
f89b679224 Makefile: automatically rebuild when the CFLAGS, version or label changes 2018-02-16 09:29:23 +01:00
Thomas BERNARD
8969230999 build under OS X > 10.5 2018-02-15 16:20:00 +01:00
Thomas BERNARD
5e3bbca49f Enable UTF8 filename conversion for OS X
HFS drives are using combining characters, so use
UTF-8-MAC encoding for iconv
2018-02-15 16:20:00 +01:00
Thomas Bernard
ffbf51a363 Makefile: OS X tar doesn't support --transform 2018-02-14 09:58:46 +01:00
Thomas Bernard
f8c0456b3b make ziprelease: simplify tar option to make OS X tar happy 2018-02-14 09:58:46 +01:00
Thomas Bernard
11ff1bb20f sed I flag in s command is apparently not supported by OS X sed 2018-02-14 09:58:46 +01:00
Thomas BERNARD
db2b1334cd does not define __linux__ under OS X any more. 2018-02-14 09:58:46 +01:00
Adrian Castravete
4d017d6e7f Use vasprintf for formatted messages 2018-02-13 23:51:48 +02:00
Adrian Castravete
7059271965 Add indication of offending cell in C64 formats 2018-02-13 13:31:15 +02:00
Thomas Bernard
48a8a79746 Fix some memory leaks 2018-02-10 18:49:35 +01:00
Thomas Bernard
61a1c6e39e Load_PNG() fix memory leak 2018-02-10 18:49:35 +01:00
Thomas Bernard
48f0f37793 Restore Background color when loading a brush with transparent color
see http://pulkomandy.tk/projects/GrafX2/ticket/70
2018-02-05 12:23:09 +01:00
Thomas Bernard
bd581c7a90 Save transparent background of Brushes
see http://pulkomandy.tk/projects/GrafX2/ticket/70
2018-01-30 21:32:33 +01:00
Thomas Bernard
84242cef78 Save_GIF() set "Color resolution" to 8bit / 256 colors 2018-01-30 21:09:02 +01:00
Thomas Bernard
8c6f89af46 Save_GIF() translated and clarified comments.
No change in algorithm, same output.
2018-01-29 16:14:19 +01:00
Thomas Bernard
9f3af34968 More efficiently store Animated GIFs
Do not store the whole canvas for additional images
2018-01-29 16:07:17 +01:00
Thomas Bernard
5c932dd2d9 Save_GIF(): fix for 1 pixel GIFs 2018-01-29 15:52:43 +01:00
Thomas Bernard
ea81cbb46b Save_GIF()/GIF_next_pixel() support saving sub-area of the canvas 2018-01-29 15:52:43 +01:00
Thomas Bernard
8fa036c0c4 add forgotten sample lua scripts in ziprelease 2018-01-29 13:40:23 +01:00
Thomas Bernard
55b38da597 remove redondant -c CFLAG 2018-01-29 13:31:38 +01:00
Thomas Bernard
00caf6b668 use $(shell) script to test GNU tar only when building under UNIX (linux, *BSD, etc.) 2018-01-29 13:21:01 +01:00
Thomas Bernard
a0c65b37ec fix PLATFORMFILE gfx2.png path 2018-01-29 13:14:43 +01:00
Thomas Bernard
7c003112d9 compatibility with both BSD tar and GNU tar 2018-01-29 13:14:43 +01:00
Thomas Bernard
80f8728a6c simplified the settings of FONT_FILES 2018-01-29 13:14:43 +01:00
Thomas Bernard
59633fcd0f simplified setting of SCRIPT_FILES and SKIN_FILES in Makefile 2018-01-29 13:14:43 +01:00
Thomas Bernard
9948142156 update Makefile.dep 2018-01-29 13:14:43 +01:00
Thomas Bernard
83faf708d3 simplified OBJ variable setting in Makefile 2018-01-29 13:14:43 +01:00
Thomas Bernard
8cc0dfa0a6 Prefer lua 5.3 over 5.2 (over 5.1) when looking for the package with pkg-config 2018-01-29 13:14:43 +01:00
Thomas Bernard
d79f25c0be rename Remap_UI_window_backgrounds() to Remap_UI_in_window_backgrounds() 2018-01-26 16:13:03 +01:00
Thomas Bernard
d44968f063 improve comments 2018-01-25 22:55:27 +01:00
Thomas Bernard
4ffa389a90 Update File selector to load/save palettes
Also "constify" the format array
2018-01-25 22:55:27 +01:00
Thomas Bernard
48ae5bf0d8 Correctly remap backgrounds buffers of windows 2018-01-25 22:55:27 +01:00
Thomas Bernard
207e487d99 Show palette in preview (instead of image) when loading palette ! 2018-01-25 22:55:27 +01:00
Thomas Bernard
abe7a8cb59 simplification of in Load_picture() 2018-01-25 22:55:27 +01:00
Thomas Bernard
76f3860712 fix after rebase 2018-01-25 22:55:27 +01:00