2019-12-08 12:09:13 +00:00
|
|
|
|
// Additional 640×400 4-plane background image buffer.
|
2021-02-24 13:24:58 +00:00
|
|
|
|
extern Planar<dots8_t __seg *> bgimage;
|
2019-12-08 12:09:13 +00:00
|
|
|
|
|
2021-03-10 21:13:50 +00:00
|
|
|
|
void bgimage_snap(void);
|
|
|
|
|
|
|
|
|
|
// Blits garbage data if bgimage_snap() wasn't called before.
|
|
|
|
|
void bgimage_put(void);
|
|
|
|
|
|
|
|
|
|
void bgimage_free(void);
|
2024-01-31 01:06:19 +00:00
|
|
|
|
|
2019-12-08 12:09:13 +00:00
|
|
|
|
// Blits the rectangle from (⌊x/16⌋*16, y) to (⌈((x + w)/16)*16⌉, (y + h))
|
2020-06-18 18:01:29 +00:00
|
|
|
|
// on the [bgimage] to the same position in VRAM.
|
2024-01-31 01:06:19 +00:00
|
|
|
|
void pascal bgimage_put_rect_16(
|
2020-08-21 18:13:08 +00:00
|
|
|
|
screen_x_t left, screen_y_t top, pixel_t w, pixel_t h
|
|
|
|
|
);
|