1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include <stdio.h> #include "tiles.h" #include "ppm.h" #define TILES 5 int *(tiles[TILES]) = {0}; int TILE_WIDTH; int TILE_HEIGHT; int main(void) { load_tiles(TILES); print_tiles(TILES); free_tiles(TILES); return 0; }