gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-lib/examples/gb/hblank_copy/src/data.h
1 #ifndef __DATA_H_INCLUDE__
2 #define __DATA_H_INCLUDE__
3
4 #include <stdint.h>
5
6 // width and height of the map
7 #define MAP_WIDTH 14
8 #define MAP_HEIGHT 9
9
10 // number of animation frames
11 #define ANIMATION_FRAME_COUNT 64
12
13 typedef struct frame_desc_t {
14 const uint8_t * tiles;
15 uint8_t bank;
16 } frame_desc_t;
17
18 extern const frame_desc_t frames[ANIMATION_FRAME_COUNT];
19
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.