From 7fa2c74b9611b6b365101477bfef497627269d3f Mon Sep 17 00:00:00 2001 From: David Griffith Date: Tue, 20 Nov 2012 01:09:32 -0800 Subject: [PATCH] print_all_nki() is superfluous now that nki.inf is generated by nki2inf.pl --- kitten.inf | 29 +++++++---------------------- 1 file changed, 7 insertions(+), 22 deletions(-) diff --git a/kitten.inf b/kitten.inf index 72d5b9c..6e8ee47 100644 --- a/kitten.inf +++ b/kitten.inf @@ -111,11 +111,13 @@ Global Real_Release = 0; @set_colour Fore_def Back_def; - if (MESSAGE_NUM < Nonkitten_Max) { - nonkitten_count = MESSAGE_NUM; - } else { - nonkitten_count = Nonkitten_Default; - } +! if (MESSAGE_NUM < Nonkitten_Max) { +! nonkitten_count = MESSAGE_NUM; +! } else { +! nonkitten_count = Nonkitten_Default; +! } + + nonkitten_count = Nonkitten_Default; Real_Release = (0-->1)&$03ff; @@ -136,7 +138,6 @@ Global Real_Release = 0; 'I': print_instructions(); 'A': print_about(); 'T': print_thoughts(); - 'P': print_all_nki(); ! See print_all_nki() below. } if (key == 'Q' || key == $1b) ! $1b == ESC break; @@ -868,19 +869,3 @@ Global last_right = false; } ]; - -! This function is mainly of use to members of the robotfindskitten -! development team. -! -! When this function is uncommented and enabled in -! the menu, this will cause a script file to be written which contains -! all NKIs properly formatted. - -[ print_all_nki num mystring; - @output_stream 2; @output_stream -1; - for (num = 1: num <= MESSAGE_NUM: num++) { - mystring = lookup_msg(num); - print (string)lookup_msg(num), "^"; - } - @output_stream -2; @output_stream 1; -]; -- 2.31.1