* Ampere K. Hardraade -- Thursday 13 May 2004 00:56: > hmm... if FlightGear is to be as realistic as possible, it will be a good idea > to simulate everything down to the very last detail. > > Perhaps a translator of some sort can be written?
Yes, sure: $ cat engine-number-translator #!/usr/bin/perl -w use strict; sub help() { print "Usage: $0 [--to-index|--to-engine] <number>\n"; exit 0; } &help unless @ARGV == 2; if ($ARGV[0] eq "--to-index") { print $ARGV[1] - 1 . "\n"; } elsif ($ARGV[0] eq "--to-engine") { print $ARGV[1] + 1 . "\n"; } else { &help(); } exit 0; m. _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel