2495 Commits

Author SHA1 Message Date
Thomas Bernard
66aa397b11
Doxygen improvements 2018-12-11 12:25:40 +01:00
Thomas Bernard
4153c315be
PNG: properly use png_set_read_user_chunk_fn()
Also add Doxygen for PNG code
2018-12-11 12:25:40 +01:00
Thomas Bernard
337129f760
Doxygen for GIF.
add Extension documentations, etc.
2018-12-11 12:25:39 +01:00
Thomas Bernard
747dcacbad
fix online help for Apple II DHGR 2018-12-11 12:25:39 +01:00
Thomas Bernard
c5a52242be
Save and load Image mode in GIF file.
Add the extension GFX2MODE
2018-12-11 12:25:39 +01:00
Thomas Bernard
c81ffb0d6e
Automatically set Drawing mode when loading Thomson, C64 and Apple 2 files 2018-12-11 12:25:39 +01:00
Thomas Bernard
2a6f0e3a27
new function Set_image_mode() to set image mode in Load_XXX() functions 2018-12-11 12:25:39 +01:00
Thomas Bernard
2d392fb7b1
Convert image to FLI when enabling the mode. show errors in layer 4 2018-12-11 12:25:39 +01:00
Thomas Bernard
fd6e420008
use word for C64 loadAddr 2018-12-11 12:25:39 +01:00
Thomas Bernard
34c9962e4d
remove Popcount_word() 2018-12-11 12:25:39 +01:00
Thomas Bernard
4c1c2f34ad
Move the 1layer => C64 FLI code to C64_pixels_to_FLI() 2018-12-11 12:25:39 +01:00
Thomas Bernard
84068c5516
change C64_FLI() to use T_IO_Context 2018-12-11 12:25:39 +01:00
Thomas Bernard
28fb91f265
avoid accessing Main.backups in Load_XXX() or Save_XXX() 2018-12-11 12:25:39 +01:00
Thomas Bernard
f003bd8678
Add C64 FLI drawing mode
todo : conversions from flat images
2018-12-11 12:25:39 +01:00
Thomas Bernard
c9c4891b46
realpath.c: passing NULL is POSIX-2008 compliant
also default MAX_PATH to 4096 which is more realistic than 32768
(4096 is the value in linux)
2018-12-11 00:36:39 +01:00
Thomas Bernard
ec4ad8adb2
Load "default.pal" at startup 2018-12-09 22:03:47 +01:00
Thomas Bernard
0761b3005c
recoil 4.3.0 => 4.3.1 2018-12-09 21:54:06 +01:00
Thomas Bernard
394d817c69
gfx2log.c: #include <string.h> for memset()
To silence a warning in linux build
2018-12-09 21:54:06 +01:00
Thomas Bernard
6f7e1992ea
Fix build of kfreebsd debian builds
-liconv is not needed on this architectures
https://buildd.debian.org/status/package.php?p=grafx2#problem-2
2018-12-09 21:37:34 +01:00
Thomas Bernard
caca361377
const.h: default value for PATH_MAX
Hurd has no PATH_MAX value, so the build for Debian hurd failed:
https://buildd.debian.org/status/fetch.php?pkg=grafx2&arch=hurd-i386&ver=2.5%2Bgit20181014-2&stamp=1544121801&raw=0
2018-12-09 21:37:34 +01:00
Thomas Bernard
49b7d1017e Make the quick search work with unicode characters 2018-12-09 21:04:34 +01:00
Thomas Bernard
7e3e39a753
enum FSOBJECT_TYPE for object type : File / Directory / Drive 2018-12-09 00:09:01 +01:00
Thomas Bernard
83d2b5de7a
Properly set Selected_type when entering Button_Load_or_Save()
fixes bug #91 http://pulkomandy.tk/projects/GrafX2/ticket/91
2018-12-09 00:09:01 +01:00
Adrien Destugues
e74365df01 Change Gürkan name. 2018-12-08 19:13:08 +01:00
Thomas Bernard
b2f310d1d5 Make Light_color/Dark_color ini settings work
see http://pulkomandy.tk/projects/GrafX2/ticket/81

I don't know why they were disabled...
2018-12-08 18:32:48 +01:00
Thomas Bernard
72a7a4a65d grafx2.desktop: add a couple of mimetypes 2018-12-08 18:28:30 +01:00
Alex Myczko
791fb464c9 Update grafx2.desktop 2018-12-08 18:28:30 +01:00
Thomas Bernard
307912681c Lua: detect that the layer has changed and update layer buttons
fixes bug #42
http://pulkomandy.tk/projects/GrafX2/ticket/42
2018-12-08 18:22:20 +01:00
Thomas Bernard
ab8c75306e Load_C64_fli() : do not load additional layers when loading preview 2018-12-08 18:20:40 +01:00
Thomas Bernard
387b4c33f9 fix Open_popup() once again. This time its OK when Menu_factor_Y != 1 2018-12-08 18:20:40 +01:00
Thomas Bernard
f6dfc1f66f C64_FLI_enforcer() doxygen 2018-12-08 18:20:40 +01:00
Thomas Bernard
eda6e57574 rewrite Save_C64_hires()
- easier to understand.
- Count_used_colors_area() not used anymore (not safe for
  Save function as it does not get the pixels from the Saving
  context)
2018-12-08 18:20:40 +01:00
Thomas Bernard
f8dfe6227e inline doc for Apple II DHGR mode 2018-12-08 18:12:36 +01:00
Thomas Bernard
1bdec2949b Apple II DHGR mode support 2018-12-08 18:12:36 +01:00
Thomas Bernard
40e022525b convert image to HGR when enabling IMAGE_MODE_HGR 2018-12-08 18:12:36 +01:00
Thomas Bernard
6ccf61361a use Read_pixel_from_layer() in Check_block_constraints() 2018-12-08 18:12:36 +01:00
Thomas Bernard
6ad7bf42b0 Button_Layer_remove(): enforce minimum layers for MODE5, RASTERS, HGR, DHGR 2018-12-08 18:12:36 +01:00
Thomas Bernard
973c8e65da Fix checking of Maximum layers in Add_layer() 2018-12-08 18:12:36 +01:00
Thomas Bernard
f655d7f7c9 show help for "8 BIT" in FX menu when mouse is over the button
+ underscore the F of feedback
2018-12-08 18:12:36 +01:00
Thomas Bernard
7d941a2bee online doc for Apple II HGR drawing mode 2018-12-08 18:12:36 +01:00
Thomas Bernard
3cd82f8f25 fix drawing mode for Apple II HGR 2018-12-08 18:12:36 +01:00
Thomas Bernard
99224fd6d0 Load_HGR() better HGR mode based on "Le Chat Mauve" real display 2018-12-08 18:12:36 +01:00
Thomas Bernard
92d8a600e9 fix GFX2_LogHexDump() when runing with SDL2 2018-12-08 18:12:35 +01:00
Thomas Bernard
a65b31fece correctly populate Format for CONTEXT_PREVIEW 2018-12-08 18:12:35 +01:00
Thomas Bernard
45bb0dd9f7 implement Apple II HGR Drawing mode 2018-12-08 18:12:35 +01:00
Thomas Bernard
7b21ac8a90 add Pixel_in_layer() and Read_pixel_from_layer()
To access another layer than the current layer
2018-12-08 18:12:35 +01:00
Thomas Bernard
1bffaacead Apple II HGR & DHGR Load/Save 2018-12-08 18:12:35 +01:00
Thomas Bernard
f38b335b80 NSIS: create directory AFTER testing its existence :) 2018-12-08 18:04:36 +01:00
Thomas Bernard
c0c3afe170 NSIS: automatically compute install size 2018-12-08 18:04:36 +01:00
Thomas Bernard
2cbe12a662 NSIS: append ${API} to desktop shortcut 2018-12-08 18:04:36 +01:00