From 8e38b8bc6b6dd651dcdac420699ad70983e461b4 Mon Sep 17 00:00:00 2001 From: David Griffith Date: Mon, 9 Jan 2012 23:08:29 -0800 Subject: [PATCH] Minor harmonizing of DOS port with Unix port --- Makefile | 2 +- src/common/frotz.h | 4 +++- src/dos/bcinit.c | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5bf6cae..64b4d96 100644 --- a/Makefile +++ b/Makefile @@ -101,7 +101,7 @@ CURSES = -lcurses SRCDIR = src -VERSION = 2.43d +VERSION = 2.44pre NAME = frotz BINNAME = $(NAME) diff --git a/src/common/frotz.h b/src/common/frotz.h index 6fc03a7..debcbe4 100644 --- a/src/common/frotz.h +++ b/src/common/frotz.h @@ -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 diff --git a/src/dos/bcinit.c b/src/dos/bcinit.c index db952d0..817708f 100644 --- a/src/dos/bcinit.c +++ b/src/dos/bcinit.c @@ -16,8 +16,8 @@ f_setup_t f_setup; static char information[] = -"FROTZ V2.43 - interpreter for all Infocom games. Complies with standard\n" -"1.0 of Graham Nelson's specification. Written by Stefan Jokisch in 1995-7\n" +"An interpreter for all Infocom and other Z-Machine games.\n" +"Complies with standard 1.0 of Graham Nelson's specification.\n" "\n" "Syntax: frotz [options] story-file\n" "\n" @@ -340,6 +340,7 @@ void os_process_arguments (int argc, char *argv[]) parse_options (argc, argv); if (optind != argc - 1) { + printf ("FROTZ V%s\tMSDOS / PCDOS Edition\n", VERSION); puts (information); exit (EXIT_FAILURE); } -- 2.34.1