/* This file was generated by scramble.py. */
#line 1 "src/tile.py"
#ifndef _TILE_
#define _TILE_
typedef struct Tile Tile;
#line 1
#include "main.h"
#include "stencil.h"
#include "rgba.h"
#line 5
struct Tile {
    int id;
    uint8_t * rgba;
    LandImage * pic;
    int n, i;
    LandImage * (* frames);
    int w, h;
    bool climb : 1;
    int border;
    int tall;
    bool female;
    LandColor color;
};
#line 22
int tile_by_name(char const * name);
#line 27
void tile_make(Tile * self);
#line 34
void tile_frame(Tile * self);
#line 39
Tile * tile_by_id(int id);
#line 43
Tile * tile_create(char const * name, int w, int h);
#line 62
void tile_frames(Tile * self, int n);
#line 66
void tile_paste(Tile * self, char const * name);
#line 73
void tile_cut(Tile * self, Stencil * stencil);
#line 82
#define M(x, y) ((m & (x)) == (y))
#line 84
void tile_render(Tile * self, float x, float y, int m);
#endif
/* This file was generated by scramble.py. */
