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

      1 #ifndef CAMERA_HEADER
      2 #define CAMERA_HEADER
      3 
      4 #include <stdint.h>
      5 #include <gbdk/platform.h>
      6 
      7 extern uint16_t camera_x, camera_y;
      8 
      9 
     10 void UpdateCamera(void) BANKED;
     11 void SetCurrentLevelSubmap(uint8_t x, uint8_t y, uint8_t w, uint8_t h) NONBANKED;
     12 
     13 #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.