aboutsummaryrefslogtreecommitdiff
path: root/gst/map.h
blob: 415281a04bba99569b283325c39771a3dba84205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef MAP_H
#define MAP_H

typedef struct {
    int *t;
    int sx;
    int sy;
    int ts;
} map;

int ptoi (map *m, int *p);
int xytoi (map *m, int x, int y);
void map_init (map *m, int sx, int sy, int ts);
void map_destroy (map *m);

#endif