summaryrefslogtreecommitdiff
path: root/sys/src/games/eui.h
diff options
context:
space:
mode:
authorqwx <devnull@localhost>2018-05-13 07:01:47 +0200
committerqwx <devnull@localhost>2018-05-13 07:01:47 +0200
commit88537cfe9b483846ccd7367c81fde5dcfe16a4d5 (patch)
tree29277160129a844585f281045b368cd64776d8a2 /sys/src/games/eui.h
parentabf8c8bf2cd27541d6a102f7c0385c3fe281f578 (diff)
demote libemu to common code
- too small, nothing else that won't be under /games will use it - "libemu" as a name doesn't make sense here
Diffstat (limited to 'sys/src/games/eui.h')
-rw-r--r--sys/src/games/eui.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/src/games/eui.h b/sys/src/games/eui.h
new file mode 100644
index 000000000..949cf7cb2
--- /dev/null
+++ b/sys/src/games/eui.h
@@ -0,0 +1,19 @@
+enum{
+ MILLION = 1000000,
+ BILLION = 1000000000,
+};
+
+extern u64int keys, keys2;
+extern int trace, paused;
+extern int savereq, loadreq;
+extern QLock pauselock;
+extern int scale, 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*));