shithub: asif

ref: a0974e00aa0a8bc99bfdf8355fb6277987ed5ae2
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);
}