2495 Commits

Author SHA1 Message Date
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
Thomas Bernard
119a5afbf6
Set default CPC palette 2018-11-22 13:45:35 +01:00
Thomas Bernard
ab5d26897f
fix d21527c0 2018-11-22 13:43:43 +01:00
Thomas Bernard
aeaf468c4b
code cleaning
Creates Pixel_in_document_current_layer() to factorize code between
Pixel_in_spare() and Pixel_in_current_layer()
2018-11-22 11:39:24 +01:00
Thomas Bernard
0af49cfd95
use Pixel_in_current_layer() & Read_pixel_from_current_layer() when relevant 2018-11-22 11:37:00 +01:00
Thomas Bernard
8453575812
implement C64 Multicolor constraints drawing mode 2018-11-22 11:08:53 +01:00
Thomas Bernard
a880045aba
minor things
- link to HTML version of inline help
- fix type in Test_C64()
- remove extra spaces at end of line
2018-11-22 10:19:58 +01:00
Thomas Bernard
67a1220085
SCR (Amstrad CPC) file format
- Implements Test_SCR() / Load_SCR() for standard formats pictures
- Save .PAL file in Save_SCR()
2018-11-22 10:16:26 +01:00
Thomas Bernard
bf461a8a52 Test_MOTO() : check 2nd file for TGA2TEO files 2018-11-21 12:02:00 +01:00
Thomas Bernard
792c329ba1 Load_C64() support for Micro Illustrator and Run Paint files 2018-11-21 12:01:43 +01:00
Thomas Bernard
c251a1ca22 Load_C64() support for Paint Magic files 2018-11-21 11:23:52 +01:00
Thomas Bernard
4e4414b912 Load_C64() support a couple of image types more 2018-11-21 01:31:16 +01:00
Thomas Bernard
bc06fbae72
CPC_set_HW_palette() 2018-11-21 01:29:59 +01:00
Thomas Bernard
3ed119a6c2
bugfix in PI1_load_ranges() 2018-11-21 01:29:33 +01:00
Thomas Bernard
0e512209a7
doxygen group for fileformats.h 2018-11-21 01:29:04 +01:00
Thomas Bernard
d21527c024
File_length_file() should return 0 in case of error 2018-11-20 14:10:29 +01:00
Thomas Bernard
ca843210d0 minor: use File_length_file() instead of File_length() 2018-11-20 14:06:28 +01:00
Thomas Bernard
0d584f4966
io.h: define doxygen groups 2018-11-20 14:05:51 +01:00
Thomas Bernard
5ae73fb7c8
add A and L keyboard shortcut in the initial message window 2018-11-20 13:48:47 +01:00
Thomas Bernard
499104bc41 underscore P in "Set Palette" 2018-11-20 13:31:16 +01:00
Thomas Bernard
ebb5a6e430
implement C64 HiRes constraints.
As they are almost the same as ZX Spectrum, that was easy.
2018-11-20 12:20:23 +01:00
Thomas Bernard
06f7b95b0f
Simplification of the Pixel drawing functions
All functions were declared twice. without or with preview.
Only one function with optional preview now.
2018-11-20 12:01:31 +01:00
Thomas Bernard
832617188f
improve Update_pixel_renderer()
+doxygen
2018-11-20 10:53:16 +01:00
Thomas Bernard
1e6f0175da
Add "Set Palette" option in the 8bit menu 2018-11-20 10:52:37 +01:00
Thomas Bernard
0439831a1d
Add inline doc for 8 bit effect menu 2018-11-20 09:15:48 +01:00
Thomas Bernard
777ce390b4 Display short description in 8bit constraint menu 2018-11-19 23:19:20 +01:00
Thomas BERNARD
ab052f0492 MacOSX URL open 2018-11-19 23:01:55 +01:00
Thomas Bernard
c299fbf525
move the unit test for MOTO_MAP_pack() to tests/tests.c 2018-11-19 21:29:20 +01:00
Thomas Bernard
ad628d4a40
improved comments 2018-11-19 14:54:06 +01:00
Thomas Bernard
4094425f27
support https:// links in generatedoc.c as well 2018-11-19 13:26:21 +01:00
Thomas Bernard
5f1cda38aa
inline help : Follow WWW links when clicking them 2018-11-19 13:20:52 +01:00