1475 Commits

Author SHA1 Message Date
Romain Graillot
d36e59ca9c Add Nintendo Switch support (including gitlab-ci, gitlab-pages etc.) 2019-04-28 11:18:23 +02:00
Romain Graillot
5d9aa6f969 Joystick smooth movement + joystick rework 2019-04-27 18:02:52 +02:00
Thomas Bernard
fcb327ce7c
move the +/- and the color preview in palette dialog 2019-04-27 14:48:29 +02:00
Thomas Bernard
b0175a22b2
Add "EHB" button in palette dialog.
allow to build an Amiga "Extra Half Bright" palette.
OCS/ECS rocks !
2019-04-27 13:36:46 +02:00
Thomas Bernard
159e26bb25 fix link with zlib.
GPX decoding uses zlib. It should be explicitely linked or else it produces
errors :

Linking ../bin/grafx2-sdl
/usr/bin/ld: ../obj/unix-sdl/miscfileformats.o: undefined reference to symbol 'uncompress'
//lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO missing from command line
2019-04-27 13:12:45 +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
653593ba66
Fix unicode filename compare when wchar_t is not 16bit
Do not use wcscmp() which takes wchar_t arguments.
wchar_t bit width is system dependent. It is often 32bits.
Grafx2 supports 16bits wide characters

fixes b49fa1dfcc6209065c79f112b364a75f0d30e2b2
2019-04-27 11:41:56 +02:00
Romain Graillot
72d87c0d2a Fix virtual keyboard input and visual glitches 2019-04-11 19:47:49 +02:00
Thomas Bernard
da7b5d0b95
3rdparty: build and install Win32/atari/native files in specific directories 2019-03-20 15:48:54 +01:00
Thomas Bernard
b49fa1dfcc Sort_list_of_files(): sort based on Unicode filename if available
This fix the problem with Win32 where the sorting was
done based on the "short filenames" such as
EXAMPLE~1.PNG, EXAMPLE~2.PNG, etc.
2019-03-20 14:16:23 +01:00
Thomas Bernard
d8793cd85a win32: build with -mwindows 2019-03-10 22:59:06 +01:00
Thomas Bernard
1e16fe387d
appveyor: use 7z instead of zip 2019-03-09 15:15:20 +01:00
Thomas Bernard
609eb7061d
minor 2019-03-09 15:15:17 +01:00
Thomas Bernard
23e462d177
win32/MSys: fix API=win32 make 2019-03-09 14:25:35 +01:00
Thomas Bernard
0af0ac0f29
win32: COMSPEC is sometimes ComSpec 2019-03-09 14:24:16 +01:00
Thomas Bernard
d6a4c6e646
Makefile: update Win32 (COMSPEC) config 2019-02-27 01:21:50 +01:00
Thomas Bernard
b44225833b
input.c: Pass Joystick events by pointer 2019-02-22 12:00:01 +01:00
Thomas Bernard
81932d5407
fix Handle_joystick_release() 2019-02-21 09:54:57 +01:00
Thomas Bernard
01c16b488d
Log info about Joysticks 2019-02-21 09:51:03 +01:00
Thomas Bernard
84b4f76102
GP2X: scripts, fonts, etc. are in data/ 2019-02-20 15:29:08 +01:00
Thomas Bernard
508b2ef3f5
Set mouse cursor at the center of the screen at start 2019-02-20 13:56:01 +01:00
Thomas Bernard
53d5b341c1
GP2X: Underlines of keyboard shortcuts is disabled, there is no keyboard 2019-02-20 13:56:01 +01:00
Thomas Bernard
5ebb6dc463
fix warning about M_PI and MAX_PATH redefinition 2019-02-20 13:56:01 +01:00
Thomas Bernard
ada76ff54a
support for libtiff 3.x 2019-02-20 13:56:01 +01:00
Thomas Bernard
e278d0551c
fix build with GP2XCROSS 2019-02-20 13:55:54 +01:00
Thomas Bernard
fe5a9c3278
automatically build GP2XCROSS
install 32bits binary support to use GP2X toolchain
2019-02-20 13:55:36 +01:00
Thomas Bernard
760cd0d960
SCx: Doxygen + fix of file extension selection 2019-02-20 12:04:48 +01:00
Thomas Bernard
bc4c2db2e4
Fix Load_SCx / Save_SCx 2019-02-20 11:11:19 +01:00
Thomas Bernard
a808eaa9bb
check for empty X11 clipboard data 2019-02-15 13:19:40 +01:00
Thomas Bernard
22a895f45c
fix Button_Brush_FX()
the test on Quit_is_required was wrong
2019-02-15 13:19:40 +01:00
Thomas Bernard
84fbe26e8a
Memory leak fix in Realloc_brush() 2019-02-15 13:19:40 +01:00
Thomas Bernard
c8e5656579
fix memory leak in Load_MOTO() 2019-02-15 13:19:40 +01:00
Thomas Bernard
12f15c231f
Load_ICO() Fix mask passed to Load_BMP()
it has 4 elements : RGBA.
2019-02-15 13:19:40 +01:00
Thomas Bernard
1679582188
Makefile: LFLAGS is for lex, use LDFLAGS/LDLIBS 2019-02-15 13:19:40 +01:00
Thomas Bernard
0746ee8963
fix Load_INFO() 2019-02-15 13:19:40 +01:00
Thomas Bernard
a1849042de
Win32: use \ instead of / in Get_data_directory() 2019-02-15 13:19:38 +01:00
Thomas Bernard
556434a5df
Save_INI() save NULL strings as empty string 2019-02-15 13:16:49 +01:00
Thomas Bernard
12df99cc3b
x11screen.c: Fix fast version of Update_rect()
also remove useless static variable;
2019-02-15 00:23:47 +01:00
Thomas Bernard
761100beb0
remove Main.filename Main.file_directory and Main.filename_unicode
they are not used anymore
2019-02-15 00:12:58 +01:00
Thomas Bernard
ab5a4d0b38
fix change to parent directory
".." was recognized as relative path :(

issue introduced in 02f9d68f8e8aacd293baabe9fed407db50bb1297
2019-02-15 00:12:46 +01:00
Thomas Bernard
e630b818e2 help about the "Set Rel" option 2019-02-13 15:43:51 +01:00
Thomas Bernard
4283fde82a MOD_CTRL => GFX2_MOD_CTRL, etc. 2019-02-13 15:42:51 +01:00
Thomas Bernard
e7bb7c8684
Enable "Set Rel" for directory bookmarks only with portable installation
add a global variable to store if we are in a portable installation
2019-02-10 11:04:13 +01:00
Thomas Bernard
02f9d68f8e
fix Calculate_relative_path() 2019-02-10 11:04:13 +01:00
Thomas Bernard
d131b48274
fix drive letter case in Compute_relative_path() 2019-02-10 11:04:12 +01:00
Thomas Bernard
67020cd146
Win32: show volume names in drive list 2019-02-10 11:04:12 +01:00
Thomas Bernard
5623c67be1
Save_INI_set_string() : make sure there is at least one space before the value 2019-02-10 11:04:12 +01:00
Thomas Bernard
1732b32d78
Convert gfx2def.ini to UTF-8
Also make sure it has correct line endings
2019-02-10 11:04:12 +01:00
Thomas Bernard
9073c040c9
Allow bookmark labels to be UTF-8 ! 2019-02-10 10:56:09 +01:00