shithub: sce

ref: c814d360cadf2e3b9fb2c6572b34dae6a77aa06c
dir: /dat.h/

View raw version
typedef struct Key Key;
typedef struct Foint Foint;

enum{
	Te9 = 1000000000,
	Te6 = 1000000,
	Te3 = 1000,
};
extern int tdiv;

struct Key{
	Rune r;
	void (*fn)(void);
	int down;
};
extern Key keys[];
extern int nkeys;

extern Image *fb;
extern Rectangle fbr;

struct Foint{
	double x;
	double y;
};

extern char *progname;
extern void (*renderfn)(void);
extern void (*stepsimfn)(void);