Minor harmonizing of DOS port with Unix port
authorDavid Griffith <dave@661.org>
Tue, 10 Jan 2012 07:08:29 +0000 (23:08 -0800)
committerDavid Griffith <dave@661.org>
Tue, 10 Jan 2012 07:08:29 +0000 (23:08 -0800)
Makefile
src/common/frotz.h
src/dos/bcinit.c

index 5bf6caea3e4978fc048f686ea439cbc6c6c4deb1..64b4d96c20b68ba99afd375f17a0639d445149cc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -101,7 +101,7 @@ CURSES = -lcurses
 
 SRCDIR = src
 
-VERSION = 2.43d
+VERSION = 2.44pre
 
 NAME = frotz
 BINNAME = $(NAME)
index 6fc03a7c834c208d5934a3bfa792d6cb96bc976c..debcbe4f34f1c1a8342acdcfad8288a563a93835 100644 (file)
@@ -9,7 +9,9 @@
    But since no os_* function uses it, it's safe to let the frotz core see
    this definition, but have the unix port see the curses version. */
 
-/* #include "../config.h" */
+#ifndef VERSION
+#define VERSION "2.44pre"
+#endif
 
 #ifndef __UNIX_PORT_FILE
 #include <signal.h>
index db952d055d7d5d17662a093fc9db0ccf04e78976..817708f4a24a1455b479a2ecd41091a6d1df220d 100644 (file)
@@ -16,8 +16,8 @@
 f_setup_t f_setup;\r
 \r
 static char information[] =\r
-"FROTZ V2.43 - interpreter for all Infocom games. Complies with standard\n"\r
-"1.0 of Graham Nelson's specification. Written by Stefan Jokisch in 1995-7\n"\r
+"An interpreter for all Infocom and other Z-Machine games.\n"\r
+"Complies with standard 1.0 of Graham Nelson's specification.\n"\r
 "\n"\r
 "Syntax: frotz [options] story-file\n"\r
 "\n"\r
@@ -340,6 +340,7 @@ void os_process_arguments (int argc, char *argv[])
     parse_options (argc, argv);\r
 \r
     if (optind != argc - 1) {\r
+       printf ("FROTZ V%s\tMSDOS / PCDOS Edition\n", VERSION);\r
        puts (information);\r
        exit (EXIT_FAILURE);\r
     }\r