git.y1.nz

gbdk-2020

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

gbdk-lib/examples/cross-platform/platformer_template/src/common.h

      1 #ifndef COMMON_HEADER
      2 #define COMMON_HEADER
      3 
      4 #include <gbdk/platform.h>
      5 #include <gbdk/metasprites.h>
      6 
      7 extern uint8_t joypadCurrent, joypadPrevious;
      8 
      9 void WaitForStartOrA(void);
     10 void setBKGPalettes(uint8_t count, const palette_color_t *palettes) NONBANKED;
     11 void ShowCentered(uint8_t widthInTiles,uint8_t heightInTiles,uint8_t bank, uint8_t* tileData, uint8_t tileCount, uint8_t* mapData, const palette_color_t* palettes) NONBANKED;
     12 #endif

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