shithub: asif

ref: a9376bfb28fbd354131420aafa67fedd1e9a3ca0
dir: /app/path/dat.h/

View raw version
typedef struct Sim Sim;

extern Node *selected;
extern Node *start, *goal;

enum{
	Mmodegoal,
	Mmodestart,
	Mmodeblock,
	Mmodes,
};
extern int mousemode;

enum{
	Pbfs,
	Pdijkstra,
	Pa∗,
};

struct Sim{
	Prof;
	VArray *path;
	Vertex start;
	Vertex goal;
};
extern int nscen, curscen;
extern char *mapfile;
extern VArray *sims;

extern int nodesz;
extern int showgrid;