shithub: asif

ref: 067c3d093f3c6b6292e5eeeb0fe6e6ff75c5950c
dir: /path/map.c/

View raw version
#include <u.h>
#include <libc.h>
#include "../asif.h"
#include "dat.h"
#include "fns.h"

Node *map;
int mapwidth, mapheight;

void
initmap(void)
{
	map = emalloc(mapwidth * mapheight * sizeof *map);
}