From d4292c6e27aaa6b0a80621e845b44449522a8695 Mon Sep 17 00:00:00 2001 From: David Griffith Date: Tue, 18 Jan 2022 23:19:15 -0800 Subject: [PATCH] Got things ready for a new release. --- .gitignore | 3 +++ Makefile | 14 +++----------- README.md | 28 ++++++++++++++-------------- kitten.inf | 13 +++++++------ 4 files changed, 27 insertions(+), 31 deletions(-) diff --git a/.gitignore b/.gitignore index 6ea9c8b..694191f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ *.z5 +*.swp +*.tar.* +nki.inf diff --git a/Makefile b/Makefile index e8e92e4..2dafb41 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = r7 +VERSION = r8 BINNAME = kitten EXTENSION = .z5 @@ -15,18 +15,10 @@ nki: $(PERL) nki2inf.pl *.nki > nki.inf dist: distclean - mkdir $(DISTDIR) - @for file in `ls`; do \ - if test $$file != $(DISTDIR); then \ - cp -rp $$file $(DISTDIR)/$$file; \ - fi; \ - done - tar chof $(DISTDIR).tar $(DISTDIR) - gzip -f --best $(DISTDIR).tar - rm -rf $(DISTDIR) + git archive --format=tgz --prefix $(DISTDIR)/ HEAD -o $(DISTDIR).tar.gz @echo @echo "$(DISTDIR).tar.gz created" - @echo + @echo clean: rm -f *core *sav *$(EXTENSION) nki.inf diff --git a/README.md b/README.md index 4872780..a50c6a0 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # robotfindskitten: A Zen Simulation -**Release 7 / Serial number 130320 / Inform v6.33** +**Release 8 / Serial number 220120 / Inform v6.35** [-] |\_/| http://www.robotfindskitten.org (+)=C |o o|__ Leonard Richardson (C) 1997, 2000 - | | --*--__\ David Griffith (C) 2002-2013 (Inform Edition) + | | --*--__\ David Griffith (C) 2002-2022 (Inform Edition) OOO C_C(____) This Zen simulation is based on the C version v1600003.248b @@ -22,23 +22,23 @@ using the vi/rogue movement keys. The game ends when robotfindskitten. Alternatively, you may end the game by hitting the Esc or Q keys. ## Build +Just type `make`. This automates what is described in the next paragraph. + The NKI files need to be converted into a form that can be included in an Inform6 program. A Perl script, nki2inf.pl, is provided for this purpose. Invoke it like this: ````nki2inf.pl *.nki > nki.inf````. Now you -can invoke Inform6 on kitten.inf +can invoke Inform6 on kitten.inf. ## Notes -1. More than half of the code is taken up by non kitten items - (NKIs). When I compiled the code with just five messages and - no debugging code, the resulting binary was less than 10k bytes. - -2. If it wasn't already abundantly obvious, this program won't - compile to Glulx because of copious use of Z-machine assembly - instructions. - -3. Compiling for V5 or higher is required due to "style" calls. - Is there a reason why someone would want to compile this for V4 - or previous? +1. Most of the code is taken up by non kitten items (NKIs). When I + compiled the code with just five messages and no debugging code, the + resulting binary was less than 10k bytes. + +2. If it wasn't already abundantly obvious, this program won't compile + to Glulx because of copious use of Z-machine assembly instructions. + +3. Compiling for V5 or higher is required due to "style" calls. Is there + a reason why someone would want to compile this for V4 or previous? ## License The Inform6 edition of robotfindskitten is distributed under the diff --git a/kitten.inf b/kitten.inf index e203c26..e99fd21 100644 --- a/kitten.inf +++ b/kitten.inf @@ -1,10 +1,10 @@ ! robotfindskitten ! A Zen Simulation -! Release 8 / Serial number 19xxxx / Inform v6.34 +! Release 8 / Serial number 220120 / Inform v6.35 ! ! [-] |\_/| http://www.robotfindskitten.org ! (+)=C |o o|__ Leonard Richardson (C) 1997, 2000 -! | | --*--__\ David Griffith (C) 2002-2019 (Inform Edition) +! | | --*--__\ David Griffith (C) 2002-2022 (Inform Edition) ! OOO C_C(____) ! ! @@ -53,7 +53,7 @@ Constant Nonkitten_Default 20; Constant Nonkitten_Max 589; Release 8; -!Serial "19xxxx"; +Serial "220120"; !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! @@ -173,7 +173,7 @@ Global Real_Release = 0; @set_cursor 8 30; print "Leonard Richardson (C) 1997, 2000"; @set_cursor 9 30; - print "David Griffith (C) 2002-2019 (Inform Edition)"; + print "David Griffith (C) 2002-2022 (Inform Edition)"; @set_cursor 10 30; print " ", MESSAGE_NUM, " different nonkittens!"; @@ -354,8 +354,9 @@ Modular release.^ - NKIs now generated from an external file using nki2inf.pl.^ - NKIs reduced to 723 because of redundancies and recommended deletions.^ ^ -Release 8 / Serial Number 19xxxx^ -Another release.^ +Release 8 / Serial Number 220120^ +- Twenty Year Anniversary release.^ +- Fixed a problem that crashed some interpreters when robotfindskitten.^ - Fixed a potential problem of wrongly determining screen size.^ - Now distributed under the Artistic License 2.0.^ ^ -- 2.31.1