2214 Commits

Author SHA1 Message Date
Thomas Bernard
3d2d8ba154
Add generatedoc binary to .gitignore 2018-11-13 09:31:33 +01:00
Thomas Bernard
a9b72c2ae9
convert DOS txt files from CP437 to UTF-8
restore doc_eng.txt (UTF8)

Move to original_docs subdirectory, so they won't be included by
packaging
2018-11-13 09:28:14 +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
5e4d2f5700
Open_popup(): fix dropdown outside of the screen (again)
in commit 6e6f8ca3f404d0868abd32ba2a154f3f3f18a839
I forgot about Menu_factor_Y !

I'm also improving Doxygen here.
2018-11-10 22:44:02 +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
aa9d0ac3f0
Log user message to the loggin system 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
21d40948b2
Open_window() : limit to 320x200 2018-11-10 19:20:10 +01:00
Thomas Bernard
0c6add67f5
Open_window(): Fix crash when trying to open window larger than screen
it resulted in negative window position...
2018-11-10 17:20:52 +01:00
Thomas Bernard
ea1a58d713
WIN32: Log/comments a lot more WM_* message types 2018-11-10 16:00:58 +01:00
Thomas Bernard
a443d30aa4
Win32: fix position saving + enforce minimum 320x200 resolution
fixes 24a18c2f34ca5f13705158826528340d21e55298
(do nothing when WM_MOVE is received)

Handle WM_GETMINMAXINFO
2018-11-10 16:00:57 +01:00
Jordan Christiansen
c40a2ad470 Prevent "Restore lasso brush" from clearing the brush
Fixes Trac bug #16
2018-11-09 18:14:00 +01:00
Thomas Bernard
addc399b7f win32: handle more window manager events
useful for debug
2018-11-09 12:50:50 +01:00
Thomas Bernard
24a18c2f34 Win32: fix window position saving
use WM_WINDOWPOSCHANGED instead of WM_MOVE
2018-11-09 12:50:49 +01:00
Thomas Bernard
82cbb212dd update .gitignore files 2018-11-09 12:50:47 +01:00
Thomas Bernard
50f3b99106 store unicode filename for brush 2018-11-09 12:50:45 +01:00
Thomas Bernard
907da28911 Win32: fix Open_file_write() and Open_file_write_with_alternate_ext() when no unicode filename is supplied 2018-11-09 12:50:44 +01:00
Thomas Bernard
d00e96dfb2 win32: force the window redraw when changing palette
Fixes the "window stay red" after flashing bug.
2018-11-09 12:50:42 +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
821540bb05 3rdparty: libpng 1.6.34 => 1.6.35. Lua 5.3.4 => 5.3.5 2018-11-09 11:39:47 +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
4c8e56101f
oldies.c/.h: Document C64 FLI functions 2018-11-06 22:32:31 +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
5ac8811dbe
add missing break statement (see commit eba26aaa )
eba26aaa96
2018-11-06 18:05:08 +01:00
Thomas Bernard
b05cee4d0d
palette.c: declare relevant variables as static 2018-11-06 17:39:06 +01:00
Thomas Bernard
afe65bfb92
use snprintf() in Get_color_behind_window() and Status_print_palette_color() 2018-11-06 17:39:02 +01:00
Frederic Cambus
67dc001e7c Fix build on OpenBSD and NetBSD 2018-11-06 14:30:41 +01:00
Thomas Bernard
0f8a6805a0 add showimage-sdl2 to .gitignore 2018-10-17 16:47:45 +02:00
Thomas Bernard
725da6307e
Remove warnings with GCC 7
GCC 7 introduced a new warning in switch() statements :
warning: this statement may fall through [-Wimplicit-fallthrough=]
2018-10-17 16:42:54 +02:00
Thomas Bernard
7f52eb9711
show free disk size with OpenBSD and NetBSD too 2018-10-17 16:09:50 +02:00