shithub: riscv

ref: cbf5d3dc340da5b96cd1282e622a3f862c5b103e
dir: /sys/src/games/eui.h/

View raw version
enum{
	MILLION = 1000000,
	BILLION = 1000000000,
};

extern u64int keys, keys2;
extern int trace, paused;
extern int savereq, loadreq;
extern QLock pauselock;
extern int scale, fixscale, warp10;
extern uchar *pic;

void*	emalloc(ulong);
void	flushmouse(int);
void	flushscreen(void);
void	flushaudio(int(*)(void));
void	regkeyfn(Rune, void(*)(void));
void	regkey(char*, Rune, int);
void	initemu(int, int, int, ulong, int, void(*)(void*));