git.y1.nz

gbdk-2020

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

commit fe8ff4cb8af9963cd0f69542a2dc5f5a94668af8
parent 78bdf51986971053484e3ec64d4b6f4435126cfd
Author: Toxa <untoxa@mail.ru>
Date:   Mon, 25 Oct 2021 23:57:13 +0300

png2asset: *_TILE_COUNT definition

Diffstat:
Mgbdk-support/png2asset/png2asset.cpp1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/gbdk-support/png2asset/png2asset.cpp b/gbdk-support/png2asset/png2asset.cpp @@ -688,6 +688,7 @@ int main(int argc, char *argv[]) fprintf(file, "#define %s_TILE_H %d\n", data_name.c_str(), tile_h); fprintf(file, "#define %s_WIDTH %d\n", data_name.c_str(), sprite_w); fprintf(file, "#define %s_HEIGHT %d\n", data_name.c_str(), sprite_h); + fprintf(file, "#define %s_TILE_COUNT %d\n", data_name.c_str(), (unsigned int)tiles.size()); if(export_as_map) { fprintf(file, "#define %s_MAP_ATTRIBUTES ", data_name.c_str());

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