2575 Commits

Author SHA1 Message Date
Thomas BERNARD
a03e9da0af OSX: statically build with SDL 1.2.x too 2018-11-29 13:06:34 +01:00
Thomas BERNARD
227cf3b466 MacOS: prefer lua package over lua5.x 2018-11-29 13:05:32 +01:00
Thomas Bernard
8d7c37cc5f
Game Boy Color constraints support 2018-11-29 10:07:20 +01:00
Thomas Bernard
14f7eb1ba4
Button_Constraint_menu(): larger dropdown button 2018-11-29 09:44:09 +01:00
Thomas BERNARD
2cdbcac40d
macOS: add API prefix to bin name. Do not tgz .app (you should use ziprelease) 2018-11-28 23:02:11 +01:00
Thomas Bernard
878568c7f5
round() is not available in old MSVC++ versions 2018-11-28 23:02:11 +01:00
Thomas Bernard
d45eb9117e
Fixes for Win32 / MSVC in help.c 2018-11-28 23:02:11 +01:00
Thomas BERNARD
4204960333
Show SDL/SDL_image/SDL_ttf versions in statistics 2018-11-28 23:02:11 +01:00
Thomas BERNARD
f9a854f513
travis-ci: OSX_STATIC=0; use otool -L to show library dependencies 2018-11-28 23:01:52 +01:00
Thomas BERNARD
d2c24b1448
MacOSX do not link with old system libz 2018-11-28 23:01:52 +01:00
Thomas BERNARD
2bee52b9af
OSX: Build with statically linked libraries !
tested on OS X Mavericks 10.9.5 with macports
2018-11-28 23:01:39 +01:00
Thomas BERNARD
d91290f63f
Mac OS X: Fix Init_text() 2018-11-28 23:01:39 +01:00
Thomas BERNARD
8a3e5da6a1
Enable libSDL2-ttf with Mac OS X again.
Tested with Mac OS X 10.9.5
2018-11-28 23:01:39 +01:00
Thomas BERNARD
4dfd12c346
silence a warning 2018-11-28 23:01:39 +01:00
Thomas Bernard
53a1b20433
fix WIN32CROSS build 2018-11-28 23:01:39 +01:00
Thomas Bernard
8fc0b40b18
gitlab-ci: try with liblua5.2-dev 2018-11-28 23:01:39 +01:00
Thomas Bernard
1d39fefa3c
gitlab-ci: install only necessary packages for each job 2018-11-28 23:01:39 +01:00
Thomas Bernard
04848394fb
build: make sure version.c is created before making tools/ 2018-11-28 23:01:39 +01:00
Thomas Bernard
259a0b32a9
libtiff 4.0.9 => 4.0.10 2018-11-28 23:01:39 +01:00
Thomas Bernard
7c7d95804b fix type in CPC_set_default_BASIC_palette() 2018-11-28 17:16:16 +01:00
Thomas Bernard
be5ead7a04
Check_block_Constraint: check ZX spectrum color intensity. And C64 Multi background color 2018-11-28 15:46:32 +01:00
Thomas Bernard
740983a719
fix : Button_Layer_add(-1) => Add_layer(Main.backups, 1)
it was making the GUI lost his way when called from the Drawing mode menu
2018-11-28 14:26:32 +01:00
Thomas Bernard
f753452e50 add a color 17 to 8bits machine palettes for color clashes 2018-11-28 13:48:38 +01:00
Thomas Bernard
216f18607d
Check_block_constraints() to check block constraints 2018-11-28 13:47:56 +01:00
Thomas Bernard
811ae20534
layers.c: button functions receive button number as first argument
also minor improvements
2018-11-28 13:01:01 +01:00
Thomas Bernard
53296293ee
fix potential out of bound array access in Button_Layer_add() 2018-11-26 22:46:35 +01:00
Thomas Bernard
d47bd55eda
fix in CPC_check_AMSDOS() 2018-11-26 22:42:37 +01:00
Thomas Bernard
2e3dc0e149
Add layers automatically when switching to IMAGE_MODE_MODE5/RASTER 2018-11-26 22:40:50 +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
40bd0fc1c7 8bits: set Thomson and CPC palettes
Also properly scroll the palette, and select relevant background and foreground colors
2018-11-26 15:18:01 +01:00
Thomas Bernard
8b32b5141a Easily ask the user a choice btw multiple options 2018-11-26 15:17:11 +01:00
Thomas Bernard
cd5961ce6f const args for 3 functions :
Confirmation_box()
Warning_message()
Requester_window()
2018-11-26 10:56:05 +01:00
Thomas Bernard
8a3860611d
Left clic on 8bit button now opens the menu if no mode has previously been selected 2018-11-26 10:50:52 +01:00
Thomas Bernard
9898c9b7f8 better output of GFX2_LogHexDump() 2018-11-26 10:47:47 +01:00
Thomas Bernard
58b39df019 minor modifs in response to Pulkomandy's remarks 2018-11-26 00:44:52 +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
36f4e6261a
gfx2log: add function for HexHump 2018-11-26 00:26:02 +01:00
Thomas Bernard
217cd01aaa
Append API name to ziparchive and remove -nottf from win32 zip
Win32 version includes a native implementation of TTF font printing
2018-11-23 09:30:43 +01:00
Thomas Bernard
b418c27aa5
Load_C64() unpack more formats 2018-11-23 01:10:01 +01:00
Thomas Bernard
105b5f7ffe
Document 8bit modes (CPC) 2018-11-22 23:28:08 +01:00
Thomas Bernard
9fb2270f58 improve Pixel_in_screen_overlay_with_opt_preview() (Mode5/Raster)
now it is possible to paint in layer 5 with one of the color
defined as INK 0 to 3 in one of the first 4 layers.
2018-11-22 23:21:23 +01:00
Thomas Bernard
8a7bd06d44 brush.c: reindent Draw_paintbrush() 2018-11-22 23:20:11 +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
459a23fd36
Mode5: show INKs available under cursor on the status line 2018-11-22 23:16:55 +01:00
Thomas Bernard
8d50329556
doxygen Button_Constraint_mode() + fix set_grid in Button_Constraint_menu() 2018-11-22 23:13:44 +01:00
Thomas Bernard
84aff3b73c Load_SCR() also support .WIN files 2018-11-22 17:02:12 +01:00
Thomas Bernard
436886a7db
fix raw2crtc() CPC function.
It was unproperly fetching the pixels on the left of the picture...
2018-11-22 15:40:41 +01:00
Thomas Bernard
f785c420d6
Set grid and picture size in 8bit menu
Enabled thanks to checkboxes
2018-11-22 14:33:26 +01:00