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/level.h

      1 #ifndef WORLD_HEADER
      2 #define WORLD_HEADER
      3 
      4 #include <stdint.h>
      5 #include <gbdk/platform.h>
      6 
      7 extern uint16_t currentLevelWidth;
      8 extern uint16_t currentLevelWidthInTiles;
      9 extern uint16_t currentLevelHeight;
     10 extern uint16_t currentLevelHeightInTiles;
     11 extern uint8_t *currentLevelMap;
     12 extern uint8_t currentLevelNonSolidTileCount;
     13 
     14 extern uint8_t currentLevel;
     15 extern uint8_t currentAreaBank;
     16 extern uint8_t nextLevel;
     17 
     18 uint8_t IsTileSolid(uint16_t worldX,uint16_t worldY);
     19 void SetupCurrentLevel(void);
     20 #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.