git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit 4abe9ca5a2d8ddac34d270de27545d95a88c0afb
parent d1bb2ce93dbdbb82109f53f4141bf454a3c8ef35
Author: Toxa <untoxa@mail.ru>
Date:   Fri, 27 Aug 2021 12:05:08 +0300

GB: some function aliases for consistency with SMS/GG

Diffstat:
Mgbdk-lib/include/gb/gb.h4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gbdk-lib/include/gb/gb.h b/gbdk-lib/include/gb/gb.h @@ -849,6 +849,7 @@ void set_bkg_tiles(uint8_t x, uint8_t w, uint8_t h, const uint8_t *tiles) NONBANKED __preserves_regs(b, c); +#define set_tile_map set_bkg_tiles /** Sets a rectangular area of the Background Tile Map using a sub-region @@ -880,7 +881,7 @@ void set_bkg_tiles(uint8_t x, @see set_bkg_data, set_bkg_tiles, set_win_submap */ void set_bkg_submap(uint8_t x, uint8_t y, uint8_t w, uint8_t h, const uint8_t *map, uint8_t map_w); - +#define set_tile_submap set_bkg_submap /** Copies a rectangular region of Background Tile Map entries into a buffer. @@ -1533,6 +1534,7 @@ void vmemset (void *s, uint8_t c, size_t n) NONBANKED __preserves_regs(b, c); @param tile Fill value */ void fill_bkg_rect(uint8_t x, uint8_t y, uint8_t w, uint8_t h, uint8_t tile) NONBANKED __preserves_regs(b, c); +#define fill_rect fill_bkg_rect /** Fills a rectangular region of Tile Map entries for the Window layer with tile.

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.