Thomas Bernard
6f48d7fefe
Add MSVC 2010 project file and a make the project compile
2018-02-20 15:45:45 +01:00
Thomas Bernard
ee1ec1a1b0
Load_Unicode_font(): Warning_with_format(), better filename parsing
2018-02-20 15:44:39 +01:00
Thomas Bernard
39c4466db0
use sprintf(xxx,"%s%s...", x, y ..) for string concatenation
2018-02-20 15:44:39 +01:00
Thomas Bernard
339e37663f
readline.c: fix cursor display with unicode characters
2018-02-20 15:44:39 +01:00
Thomas Bernard
2ad59e1686
add Get_font_character_pixel() to get font pixels
2018-02-20 15:44:39 +01:00
Thomas Bernard
144d10b682
Support Unicode Keyboard Input
2018-02-20 15:44:39 +01:00
Thomas Bernard
689aebf264
Unicode support in keyboard editable field for filename
2018-02-20 15:44:39 +01:00
Thomas Bernard
9fb6d650b5
pass unicode name when clicking Load or Save button
2018-02-20 15:44:39 +01:00
Thomas Bernard
2911d61ab1
Load_Unicode_fonts() loads all unicode_XXXX-XXX.png files from skins directory
2018-02-20 15:44:39 +01:00
Thomas Bernard
4a2754321f
update For_each_file() to pass both full path and file name only to the callback
...
All callbacks need to extract the filename anyway, so it simplify the code
2018-02-20 15:44:39 +01:00
Thomas Bernard
a4593da4d4
display unicode filename in menu
2018-02-20 15:44:39 +01:00
Thomas Bernard
de8379aab8
Print_current_directory(): use ELLIPSIS_CHARACTER instead of ...
2018-02-20 15:44:39 +01:00
Thomas Bernard
9a03a54fef
Display the current directory in unicode
...
rename function Print_in_window_utf16() to Print_in_window_unicode()
2018-02-20 15:44:39 +01:00
Thomas Bernard
b882eb9fe4
Print highlighted filename in unicode
...
Print_filename_in_fileselector()
2018-02-20 15:44:39 +01:00
Thomas Bernard
3322529804
Support for unicode names in directory listing
2018-02-20 15:44:39 +01:00
Thomas Bernard
a1f0f36062
chdir() => Change_directory()
...
improve portability
2018-02-20 15:44:39 +01:00
Thomas Bernard
62944c724e
getcwd() => Get_current_directory()
2018-02-20 15:44:39 +01:00
Thomas Bernard
2ef2e04a7e
Rewrite Read_list_of_files() to make use of For_each_directory_entry()
2018-02-20 15:44:39 +01:00
Thomas Bernard
cb936b24e7
Update For_each_directory_entry() for more args in callback
2018-02-20 15:44:39 +01:00
Thomas Bernard
545308265b
Add the ability to print unicode characters in addition to "Latin1" ones
2018-02-20 15:44:39 +01:00
Thomas Bernard
b564a4d4f4
UTF-8 named files for testing
...
Latin1 accentuated chars + Cyrrillic chars
2018-02-20 15:44:39 +01:00
Thomas Bernard
59f7261c24
Copy 3rd party dll's to bin/. Avoid dependency on libgcc*.dll
2018-02-20 01:06:10 +01:00
Thomas Bernard
8f6e955307
Cross build: Include the right libpng*.dll within the ziprelease
2018-02-19 22:32:00 +01:00
Thomas Bernard
a771b23982
3rdparty: fix clean targets
2018-02-19 19:56:02 +01:00
Thomas Bernard
c6084f2918
gitlab-ci: cross compile for Mingw32
2018-02-19 19:56:02 +01:00
Thomas Bernard
7fb8debbdf
use PKG_CONFIG_LIBDIR instead of PKG_CONFIG_PATH when WIN32CROSS=1
2018-02-19 19:56:02 +01:00
Thomas Bernard
f4f2dfd4ad
vasprintf() doesnt exist under Win32 :(
2018-02-19 19:55:50 +01:00
Thomas Bernard
20f8cd471d
Add Freetype & SDL_ttf
2018-02-19 19:55:14 +01:00
Thomas Bernard
49876dcb9c
Makefile: use cross compiled libs from ../3rdparty
2018-02-19 19:55:14 +01:00
Thomas Bernard
7ecef0d279
3rdparty: add libz as well, and make libpng use it
2018-02-19 19:55:14 +01:00
Thomas Bernard
156656c51a
travis-ci: test building 3rd party lib dependencies
2018-02-19 19:55:14 +01:00
Thomas Bernard
3149d04110
Load_IFF(): load multi palette ILBMs using the BEAM chunk
2018-02-18 21:11:40 +01:00
Thomas Bernard
d4bf0a8af9
Load_IFF(): Load Animations saved by DeluxePaint ST
2018-02-18 21:11:40 +01:00
Thomas Bernard
2cdb6a4da4
Load_IFF() properly set frame duration for animations
2018-02-18 21:11:40 +01:00
Thomas Bernard
2d7ecbda0c
Load_IFF() improve compatibilty with malformed IFF files
2018-02-18 21:11:40 +01:00
Thomas Bernard
c1f5ec0381
Load_IFF() animations. Support XOR in mode 5 and frame interleave of 2
2018-02-18 21:11:40 +01:00
Thomas Bernard
f0c5854021
Load_IFF() support ILBM animations type 74
2018-02-18 21:11:40 +01:00
Thomas Bernard
e31fbabbd7
Load_IFF() parse Deluxe Paint ANimation (DPAN) chunk
2018-02-18 21:11:40 +01:00
Thomas Bernard
5ff093feca
Load_IFF() move ANHD data to T_IFF_AnimHeader
2018-02-18 21:11:40 +01:00
Thomas Bernard
28916b65cf
Load_IFF() Fix ILBM 24bit swapped R & B components
2018-02-18 21:11:40 +01:00
Thomas Bernard
925dd7fcc9
Load_IFF() Fix parsing of ILBM with mask=1
2018-02-18 21:11:40 +01:00
Thomas Bernard
fcb0502d2b
Load_IFF() fix overflow in ColorCycling parsing CRNG
2018-02-18 21:11:40 +01:00
Thomas Bernard
a90170f3d1
Save_IFF(): better handling of pixel aspect ratio
2018-02-18 21:11:40 +01:00
Thomas Bernard
a94f07ddde
Save_IFF(): support Comment saving (in ANNO chunk)
2018-02-18 21:11:40 +01:00
Thomas Bernard
268887f456
Load_IFF() use CAMG to set EHB palette
...
Fixes loading of Cougar_Sanasmatron.iff
Some ILBM have 64 colors in palette for EHB images.
That's OK when the 32 extra colors are valid (half bright ones)
but some have garbage in the CMAP
2018-02-18 21:11:40 +01:00
Thomas Bernard
d94fb966a2
test_iff: Add small tool to test for IFF file structures
...
useful to see if an IFF file is malformed,
but also to see how many frames there is in an animation, etc.
2018-02-18 21:11:40 +01:00
Thomas Bernard
544a996361
Load_IFF() support of ANIM/ANHD/DLTA animated ILBM
2018-02-18 21:11:40 +01:00
Thomas Bernard
1311cfefb0
Load_IFF() use CAMG to force HAM mode
2018-02-18 21:11:40 +01:00
Thomas Bernard
d4753919ee
Load_IFF() parse BMHD as a normal chunk. Use stored_bit_planes var
2018-02-18 21:11:40 +01:00
Thomas Bernard
4c92e87d52
Fix the preview for HAM files
...
HAM files are "true color" pictures which do have
a palette.
2018-02-18 21:11:40 +01:00