ReC98/th04/bgimage.h

10 lines
364 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Additional 640×400 4-plane background image buffer.
extern char __seg *bgimage[PL_COUNT];
void pascal bgimage_snap(void);
void pascal bgimage_put(void);
void pascal bgimage_free(void);
// Blits the rectangle from (⌊x/16⌋*16, y) to (⌈((x + w)/16)*16⌉, (y + h))
// to the same position in VRAM.
void pascal bgimage_put_rect(int x, int y, int w, int h);