1851 Commits

Author SHA1 Message Date
Thomas Bernard
602811f3ad travis-ci: disable -j3 for OS X build 2018-02-14 09:58:46 +01:00
Thomas Bernard
44585eb707 add .travis.yml 2018-02-14 09:58:46 +01:00
Thomas Bernard
a423f03b81 make ziprelease from root dir 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
6bfb34fd19 gifanalyzer: decode Graphic Control Extension 2018-01-30 15:05:23 +01:00
Thomas Bernard
0f780f1e3f reorganize gifanalyzer.c 2018-01-30 14:27:20 +01:00
Thomas Bernard
8c029c5993 gifanalyzer: decode more bytes of Image descriptor 2018-01-30 13:50:14 +01:00
Thomas Bernard
a4b80c75e1 Fix compilation of gifanalyzer on old GCC versions
0b00000 is not standard C, use 0x00 litterals.
Also fix printf format
2018-01-30 13:28:42 +01:00
Thomas Bernard
c36729b5bc Compile tools 2018-01-29 16:54:44 +01:00
Thomas Bernard
d0417faad2 Fix gifanalyzer.c 2018-01-29 16:53:14 +01:00
Thomas Bernard
26ab4c6844 converted gifanalyzer.c to UNIX file endings 2018-01-29 16:40:38 +01:00
Thomas Bernard
1c6a9e5830 Add a SDL_image test tool. use IMG_Load() and display 2018-01-29 16:39:50 +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
Thomas Bernard
9fafd0173f minor Restore_background() improvement 2018-01-25 22:55:27 +01:00
Thomas Bernard
1c6a9e2db2 fix UI colors Remaping when several windows are open 2018-01-25 22:55:27 +01:00
Thomas Bernard
2d26bb8a1f WIP: "Load" button in Palette Dialog
see http://pulkomandy.tk/projects/GrafX2/ticket/24

still some issues :

1) UI color remapping

2) File type selector (need to add a Palette selector
in addition to the Main and Brush selector)
2018-01-25 22:55:27 +01:00
Thomas Bernard
ccf3e6a77f Change Load_picture() prototype to allow loading of palette
the change matches what is done with Save_picture()
2018-01-25 22:55:27 +01:00
Adrien Destugues
f3bf217bb6 Fix doxygen warnings. 2018-01-25 07:39:28 +01:00
Adrien Destugues
837773ea1d Fix build with gcc2
Partial initializers are not supported. This is not needed anyway, the
variable will be in .bss so it will be cleared to 0 by default.
2018-01-24 19:51:33 +01:00
Thomas Bernard
b2898ed7f1 clean global.h 2018-01-22 22:12:47 +01:00
Thomas Bernard
5ab93eb7fd Great simplification of Main/Spare page flipping 2018-01-22 21:47:44 +01:00
Thomas Bernard
353b494617 move tilemap data to T_Document.
Also merge Disable_main_tilemap + Disable_spare_tilemap
=> Disable_tilemap()
2018-01-22 20:59:49 +01:00
Thomas Bernard
92620bb4ba merge Upload_infos_page_main() / Upload_infos_page_spare() => Upload_infos_page() 2018-01-22 20:34:29 +01:00
Thomas Bernard
297b653304 input.c: Simplify code in Color_cycling() 2018-01-22 16:31:23 +01:00