convert image to HGR when enabling IMAGE_MODE_HGR

This commit is contained in:
Thomas Bernard
2018-12-05 12:23:28 +01:00
committed by Adrien Destugues
parent 6ccf61361a
commit 40e022525b
3 changed files with 94 additions and 1 deletions

View File

@@ -25,6 +25,9 @@
/// Graphic functions that target the screen and/or image.
//////////////////////////////////////////////////////////////////////////////
#ifndef GRAPH_H__
#define GRAPH_H__
void Shade_list_to_lookup_tables(word * list, short step, byte mode, byte * table_inc,
byte * table_dec
);
@@ -150,3 +153,6 @@ extern Func_pixel_opt_preview Pixel_in_current_screen_with_opt_preview;
/// through ::Pixel_in_current_screen_with_opt_preview
void Update_pixel_renderer(void);
void Update_color_hgr_pixel(word x, word y, int preview);
#endif