163 Commits

Author SHA1 Message Date
Adrien Destugues
f9b6e40f36 Fix doxygen warnings. 2020-05-21 13:03:10 +02:00
Thomas Bernard
2c9b79a6af
Warning() => GFX2_Log(GFX2_WARNING) 2020-04-13 01:34:12 +02:00
Thomas Bernard
c037c2c911
move GFX2_GetTicks() to osdep.c 2020-04-11 23:20:39 +02:00
Thomas Bernard
0f2153118a
do not use MAX_PATH_CHARACTERS in Load_Clipboard_Image() 2020-04-11 22:42:33 +02:00
Thomas Bernard
1f601d06ae
support Atari ST CA1 format (Crack Art) 2020-01-19 14:31:44 +01:00
Thomas Bernard
de271ec3dd
Save to C64 PRG autoload format
still to do :
packbits packing
2020-01-02 00:00:27 +01:00
Thomas Bernard
d1b49b5376
Save MSX .SC2 files (without sprite) 2019-12-30 15:06:22 +01:00
Thomas Bernard
4d57ba39bb
Loading of MSX Mode 2 pictures 256x192 2019-12-27 02:44:04 +01:00
Thomas Bernard
e14edb10d6
const char * args in Init_context_* 2019-12-26 23:29:24 +01:00
Thomas Bernard
2a34ca83c8 Support CM5/GFX files with AMSDOS header
also fixes the extension in load/save dialog
2019-12-22 14:37:38 +01:00
Adrien Destugues
2537707eaf Implement saving of GraphOS pictures. 2019-12-21 13:50:22 +01:00
Thomas Bernard
9eba486c47
Saving of atari ST TNY format 2019-12-08 10:45:10 +01:00
Thomas Bernard
5e78ad6282
Loading of atari ST TNY files 2019-12-08 10:44:55 +01:00
Thomas Bernard
43b8707fc4 remove warning in Get_image_mode() 2019-12-07 13:06:49 +01:00
Thomas Bernard
4fa256398c add function Get_image_mode()
just as there is Set_image_mode()
2019-11-29 01:03:45 +01:00
Thomas Bernard
6f32ff71d0
independent Test_PRG()/Load_PRG()
It will be easier to disable and also better if there Save_PRG()
2019-11-27 23:18:11 +01:00
Adrien Destugues
f6d6e8c5dd Add support for Graphos (Amstrad Plus) files. 2019-11-23 16:15:58 +01:00
Thomas Bernard
d5953ad51a
move some functions from loadsave.c to loadsavefuncs.c 2019-11-09 02:42:33 +01:00
Thomas Bernard
eb0b9eae62
remove unused argument warnings 2019-07-25 00:04:50 +02:00
Thomas Bernard
848ec95e92
fix warnings caused by sprintf()
note :
%hhu is C99, old mingw32 compiler complains about it
2019-07-25 00:04:41 +02:00
Thomas BERNARD
0cea439da9
add support for reading HP-48 Grob format 2019-07-24 01:59:16 +02:00
Thomas Bernard
b04f26cac0 win32: Load FileName from clipboard as well
Tested from windows explorer
2019-05-11 13:02:15 +02:00
Thomas Bernard
123fa86936
X11 clipboard: support pasting of filenames
see http://pulkomandy.tk/projects/GrafX2/ticket/107
2019-05-11 12:09:25 +02:00
Thomas Bernard
583d646b26
X11 clipboard paste : support several formats 2019-05-11 12:09:15 +02:00
Thomas Bernard
c051ac2189
use GFX2_malloc() to log allocation errors
also check malloc() return more often
2019-05-07 17:25:18 +02:00
Thomas Bernard
030b7fa9b8
Remove usage of MAX_PATH_CHARACTERS in loadsave.c 2019-05-07 17:25:17 +02:00
Thomas Bernard
9886872c8a
T_IO_Context Original_file_name and Original_file_directory are now dynamically allocated 2019-05-07 17:25:17 +02:00
Thomas Bernard
79446a9c72
get rid of MAX_PATH_CHARACTERS in T_Page and T_Selector_Settings
strdup() the dynammicaly allocated filename and directory strings
2019-05-07 17:25:17 +02:00
Thomas Bernard
98811b6363
Get rid of Get_full_filename() 2019-05-07 17:25:17 +02:00
Thomas Bernard
682e1a77ad
Add support for loading the C64 pixcen .GPX format
Pixcen is a C64 picture editor under MS Windows :
http://hammarberg.github.io/pixcen/
2019-04-27 12:03:23 +02:00
Thomas BERNARD
379dc4a092 Copy to pasteboard support for MacOS 2019-01-05 00:04:37 +01:00
Thomas BERNARD
8c03202df6 Support for Pasting from macOS PasteBoard 2019-01-04 22:43:30 +01:00
Thomas Bernard
7db03f7aab TIFF support 2019-01-02 18:47:57 +01:00
Thomas Bernard
3e1d6b165d
Copy support for X11 2019-01-02 01:27:27 +01:00
Thomas Bernard
cd74f5da8d SDL1: SDL_VideoDriverName() => SDL2: SDL_GetCurrentVideoDriver() 2018-12-30 10:27:47 +01:00
Thomas Bernard
7331ad9bdf
X11 picture paste support (PNG format)
works with what GIMP puts in the X11 CLIPBOARD
2018-12-30 10:20:50 +01:00
Thomas Bernard
3265a8bcad Win32: Support for Pasting 16bpp DIBs 2018-12-21 13:16:52 +01:00
Thomas Bernard
90acb24c40 WIN32: Save to clipboard 2018-12-20 13:05:16 +01:00
Thomas Bernard
ec6d619efa Load_ClipBoard_Image() fix
lines are aligned on DWORD boundaries
2018-12-20 13:04:10 +01:00
Thomas Bernard
3876bb03e1 Load from clipboard 2018-12-19 13:10:07 +01:00
Thomas Bernard
617e4da310
refuse to load file exceeding 9999x9999 pixels.
Prevent crashing when a GIf file pretends to be 50000x50000
2018-12-17 22:02:13 +01:00
Thomas Bernard
da092228f3
improve Atari ST file formats NEOchrome and Degas 2018-12-14 09:25:19 +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
84068c5516
change C64_FLI() to use T_IO_Context 2018-12-11 12:25:39 +01:00
Thomas Bernard
a65b31fece correctly populate Format for CONTEXT_PREVIEW 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
67a1220085
SCR (Amstrad CPC) file format
- Implements Test_SCR() / Load_SCR() for standard formats pictures
- Save .PAL file in Save_SCR()
2018-11-22 10:16:26 +01:00
Thomas Bernard
792c329ba1 Load_C64() support for Micro Illustrator and Run Paint files 2018-11-21 12:01:43 +01:00
Thomas Bernard
c251a1ca22 Load_C64() support for Paint Magic files 2018-11-21 11:23:52 +01:00