14 lines
211 B
C
Raw Normal View History

2013-02-11 21:58:34 +01:00
#ifndef MAP_H
#define MAP_H
2013-02-13 23:10:55 +01:00
#define MAP_POS(x, y, z) ((x) + ((y) * m_map->width) + ((z) * m_map->width * m_map->depth))
2013-02-13 22:03:47 +01:00
2013-02-11 21:58:34 +01:00
typedef struct {
u16 width;
u16 depth;
u16 height;
u16 *map;
} Map;
#endif // MAP_H