shithub: asif

ref: 87053f0fe08729886e284c4e651c67d575182688
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;