shithub: asif

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