159 Commits

Author SHA1 Message Date
Adrien Destugues
f6d6e8c5dd Add support for Graphos (Amstrad Plus) files. 2019-11-23 16:15:58 +01:00
Thomas Bernard
1810cdfb61
ajout d'un systeme de test unitaires 2019-11-19 22:26:03 +01:00
Thomas Bernard
d5953ad51a
move some functions from loadsave.c to loadsavefuncs.c 2019-11-09 02:42:33 +01:00
Thomas Bernard
90e5a61d0f C64: one more format 2019-10-20 18:12:15 +02:00
Thomas Bernard
21f111eef7 Fix processing of comment lines in .GPL files
Gimp palette files
2019-09-16 01:10:30 +02:00
Thomas Bernard
e56d193354
fix warning: 'r' may be used uninitialized in this function 2019-07-25 00:06:57 +02:00
Thomas BERNARD
0cea439da9
add support for reading HP-48 Grob format 2019-07-24 01:59:16 +02:00
Thomas BERNARD
911ad97646
miscfileformats.c: use GFX2_malloc() 2019-07-24 01:59:16 +02:00
Thomas Bernard
02c48d70cf
Load_PKM() log what is origin screen dimensions 2019-05-21 13:11:41 +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
fcd17f057b
remove usage of MAX_PATH_CHARACTERS in Test_MOTO() and Load_MOTO() 2019-05-07 17:25:17 +02:00
Thomas Bernard
7d8ebb9cd0
GPX debug log of background and border colors
our C64 multicolor constraint code assumes background color #0
which is bad :(

it needs improvement !
2019-04-27 13:11:43 +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
c8e5656579
fix memory leak in Load_MOTO() 2019-02-15 13:19:40 +01:00
Thomas Bernard
931335d1ad remove warnings in Load_PAL() 2018-12-17 11:52:42 +01:00
Thomas Bernard
b47ace7a30 Load_GPL/Save_GPL: clean code, remove warnings 2018-12-17 11:16:28 +01:00
Thomas Bernard
5a6333e5e8 define COLOR_CYCLING_SPEED_MAX 2018-12-15 20:19:29 +01:00
Thomas Bernard
93bc0e6459
rewrite Save_NEO(). Now writes color Cycling info 2018-12-14 15:43:50 +01:00
Thomas Bernard
7a2c46ccc4
Load_NEO() support color cycling 2018-12-14 11:54:03 +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
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
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
ab8c75306e Load_C64_fli() : do not load additional layers when loading preview 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
99224fd6d0 Load_HGR() better HGR mode based on "Le Chat Mauve" real display 2018-12-08 18:12:36 +01:00
Thomas Bernard
1bffaacead Apple II HGR & DHGR Load/Save 2018-12-08 18:12:35 +01:00
Adrien Destugues
2edc897b92 gcc2 build fix. 2018-12-08 18:00:16 +01:00
Thomas BERNARD
4dfd12c346
silence a warning 2018-11-28 23:01:39 +01:00
Thomas Bernard
c1fd90137e
Comments about CPC formats 2018-11-26 16:42:44 +01:00
Thomas Bernard
4b57acf1af CPC_compare_colors()
used in Save_SCR()
2018-11-26 16:20:07 +01:00
Thomas Bernard
25c4ec5ceb Scroll palette to show relevant colors 2018-11-26 00:38:41 +01:00
Thomas Bernard
0e018d4a3c
Load_SCR() hexdump the non pixel bytes of SCR files 2018-11-26 00:26:45 +01:00
Thomas Bernard
b418c27aa5
Load_C64() unpack more formats 2018-11-23 01:10:01 +01:00
Thomas Bernard
860b75d608
Load_CM5() setup colors 0,1,2,3 to see something in the thumbnail preview of layer 5 2018-11-22 23:19:33 +01:00
Thomas Bernard
84aff3b73c Load_SCR() also support .WIN files 2018-11-22 17:02:12 +01:00
Thomas Bernard
a880045aba
minor things
- link to HTML version of inline help
- fix type in Test_C64()
- remove extra spaces at end of line
2018-11-22 10:19:58 +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
bf461a8a52 Test_MOTO() : check 2nd file for TGA2TEO files 2018-11-21 12:02:00 +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
Thomas Bernard
4e4414b912 Load_C64() support a couple of image types more 2018-11-21 01:31:16 +01:00
Thomas Bernard
bc06fbae72
CPC_set_HW_palette() 2018-11-21 01:29:59 +01:00
Thomas Bernard
3ed119a6c2
bugfix in PI1_load_ranges() 2018-11-21 01:29:33 +01:00
Thomas Bernard
0e512209a7
doxygen group for fileformats.h 2018-11-21 01:29:04 +01:00
Thomas Bernard
1e6f0175da
Add "Set Palette" option in the 8bit menu 2018-11-20 10:52:37 +01:00