151 Commits

Author SHA1 Message Date
Thomas Bernard
9dddfd5775 MAP TO-SNAP extension is only relevant for MO6 TO8/TO9 2018-11-18 00:23:38 +01:00
Thomas Bernard
8354c548a0 Load_MOTO() / Save_MOTO(): supports bm4, 80col and bm16 in BIN format 2018-11-18 00:20:15 +01:00
Thomas Bernard
15eee8ff5b Save_MOTO() saving of bm16, bm4 and 80col modes 2018-11-18 00:01:23 +01:00
Thomas Bernard
830ba85329 MOTO_MAP_pack() : implements the optimized packing algorithm 2018-11-18 00:00:37 +01:00
Thomas Bernard
245b251a43 Save_MOTO() : preliminary version of .MAP saving 2018-11-17 12:42:33 +01:00
Thomas Bernard
e13ab6e442 set either TO7/70 or MO5 palette 2018-11-17 01:51:32 +01:00
Thomas Bernard
a66d23a5e0 Save_MOTO() for TO7 and MO5 2018-11-17 01:35:27 +01:00
Thomas Bernard
80e381a599 Rename DECB binary files related functions 2018-11-16 14:14:36 +01:00
Thomas Bernard
570bd666c0
Use MOTO_gamm param to convert the Thomson MO/TO palettes 2018-11-16 00:01:54 +01:00
Thomas Bernard
2eb332411b
Save (and Load) Autoloading TO8 pictures 2018-11-14 11:28:09 +01:00
Thomas Bernard
434428a47f
Add default thomson Palette 2018-11-14 11:28:09 +01:00
Thomas Bernard
830dd76fba
Load_MOTO(): 80col mode support (640x200) 2018-11-14 11:28:09 +01:00
Thomas Bernard
23812b28e9
Load_MOTO(): support the ".MAP" format (GET/SAVEP/LOADP/PUT) 2018-11-14 11:28:09 +01:00
Thomas Bernard
77262deadc
Add Loading of files produced by TGA2TEO for the Thomson TO8 2018-11-14 11:28:09 +01:00
Thomas Bernard
d32390a943
Doxygen for Load_FLI() Test_FLI() 2018-11-14 11:28:09 +01:00
Thomas Bernard
1cdb9a707e
Load_C64(): support for Saracen Paint format 2018-11-12 11:54:04 +01:00
Thomas Bernard
694f4e5774
Load_C64(): support for Amica Paint Packed files 2018-11-12 11:44:23 +01:00
Thomas Bernard
77b915c074
Load_C64(): support for DrazPaint, FacePaint & Image System 2018-11-12 10:41:54 +01:00
Thomas Bernard
61b0056ec5 Doxygen for Save_C64_window() 2018-11-12 09:26:29 +01:00
Thomas Bernard
0a30051d91
Load_C64() bitmaps are 1bpp
+ log in Save_C64_window()
+ comment
2018-11-10 21:32:53 +01:00
Thomas Bernard
fb5fc2ca1f
Save_C64_fli_monolayer() display the constraint errors to the user 2018-11-10 21:32:53 +01:00
Thomas Bernard
fddc79c8e9
Save_C64(): add dropdown to choose save Format (FLI/multicolor/etc) 2018-11-10 21:32:53 +01:00
Thomas Bernard
9f45f4ef4c
Load_C64() : cleanup 2018-11-10 21:32:53 +01:00
Thomas Bernard
b179ae0f1d
Load_C64(): remove dummy_screen array 2018-11-10 21:32:53 +01:00
Thomas Bernard
fab2d9807d
Load_C64() add Advanced Art Studio (.ocp) format 2018-11-10 21:32:53 +01:00
Thomas Bernard
245839d549
Load_C64() added support for more C64 hires formats 2018-11-10 21:32:53 +01:00
Thomas Bernard
5c076f644f
Load_C64() add support for Blazing Paddles/Rainbow Painter multicolor 2018-11-10 21:32:53 +01:00
Thomas Bernard
7cd9efc7f3
Load_C64() : Add Artist64 format 2018-11-10 21:32:53 +01:00
Thomas Bernard
8532064dd0
Load_C64() add support for Picasso64 format 2018-11-10 21:32:53 +01:00
Thomas Bernard
f7cc6b646e
Load_C64() add support for FLI-designer v1.1 files 2018-11-10 21:32:52 +01:00
Thomas Bernard
2008675d29
update Test_C64() to read load address 2018-11-10 21:32:52 +01:00
Thomas Bernard
f3ba6d3205
Add ability to save C64 FLI pictures for a 1 layer image
add function Save_C64_fli_monolayer()

The algorithm used is :
- first choose the lowest value from all possible background colors for each line
- first the lowest value from the possible colors for color RAM
- encode bitmap and screen RAMs
2018-11-10 21:32:52 +01:00
Thomas Bernard
3720e45246
Improve doxygen comments of C64 functions 2018-11-10 21:32:52 +01:00
Thomas Bernard
970b9a179c fix for building with MS Visual C++ 2010
snprintf should be defined to _snprintf on this compiler
2018-11-09 12:50:40 +01:00
Thomas Bernard
8b38c36090
cleanup in Load_C64() 2018-11-06 23:52:16 +01:00
Thomas Bernard
f207567d38
doxygen for Load_C64_fli() 2018-11-06 23:26:42 +01:00
Thomas Bernard
4b52718c1e
display error message to the user when saving C64 FLI 2018-11-06 22:31:55 +01:00
Thomas Bernard
cb5dd7ae69 reindent Save_C64_multi() and Save_C64_fli() 2018-11-06 22:14:15 +01:00
Thomas Bernard
2b22a7fe1d C64 pictures are 16 colors (4bpp) 2018-11-06 22:13:34 +01:00
Thomas Bernard
5f6c1a2c55
improved comments / readability of Save_C64_multi() + add debug log
The algorithm to choose the background color is improved.
2018-11-06 20:57:21 +01:00
Thomas Bernard
06f8809337
Fix in Save_C64_multi() 2018-11-06 20:50:51 +01:00
Thomas Bernard
0ce37b39b6 error handling in Save_PI1()
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-02 19:58:26 +02:00
Thomas Bernard
8a018fdb82 fix Save_PI1()
the color cycling information was always overwriting the last 32 bytes
so the last 16 pixels were almost always saved black
2018-07-02 14:25:14 +02:00
Thomas Bernard
c53b86d6c9 Fix Endian dependent code when compiled without SDL or SDL2
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-02 11:38:52 +02:00
Thomas Bernard
4d86b8a0c1 change all references to SDLK_xxxxx to KEY_xxxx
+ some fixes
2018-07-02 11:38:51 +02:00
Thomas Bernard
77005eb780 use screen.h instead of sdlscreen.h, etc.
Create grafx2-win32 MSVC++ project
create keycode.h
various fixes
2018-07-02 11:38:51 +02:00
Thomas Bernard
92facef46d Convert comments to UTF-8
most were encoded in Latin1 / CP1252
but a few lines in op_c.c were using IBM437/850 !
2018-06-26 11:37:19 +02:00
Thomas Bernard
c6014da99f FLI/FLC: fix loading of "empty" frames 2018-04-16 13:29:03 +02:00
Thomas Bernard
bb7b187275 Load FLI/FLC autodesk animator files. 2018-04-16 07:03:17 +00:00
Thomas Bernard
187c7d53e3 Fix a few warnings (from MS Visual Studio 2015) 2018-04-06 16:45:35 +02:00