5 * v0.0 2000-01-06T06:43:39Z
7 * set everything up and close everything down
19 #if defined(TARGET_X11)
28 extern void tab_generate();
29 extern void ulaw_generate();
31 extern void game_menu_init();
35 /* pre-calculate some data */
39 progname = "emerald mine";
42 Error(ERR_EXIT, "em_open_all(): open_all() failed");
52 /* massive kludge for buffer overflows
53 * i cant think of an elegant way to handle this situation.
54 * oh wait yes i can. dynamically allocate each string. oh well
56 void snprintf_overflow(char *description)
58 fprintf(stderr, "%s: %s\n", progname,
59 "buffer overflow; check EMERALD_BASE environment variable");
60 fprintf(stderr, "%s %s\n", "Fault occured while attempting to", description);
69 /* temporary dummy until X11->SDL conversion finished */