aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..9d17a80
--- /dev/null
+++ b/main.c
@@ -0,0 +1,22 @@
+#include "7w.h"
+#include <stdlib.h>
+
+void io_init();
+void cards_init();
+void io_printcard(int x, int y, int era, int card);
+
+void halt()
+{
+ endwin();
+ exit(0);
+}
+
+main()
+{
+ io_init();
+ cards_init();
+ io_printcard(0, 0, 0, 0);
+ io_printcard(0, 10, 0, 1);
+ io_getkey();
+ halt();
+}
bgstack15