ifm2i7 | Index Initial release The people who made this possible. Checks to see if two directions are opposites of one another. This program was written by Sergey Goldgaber -- Please see http://code.wetash.com for contact information. Details below. Standardize direction names Exit with an error if ifm could not be found in the user’s $PATH, or if it isn’t executable. Set the default file name, if there isn’t one, or use the first command line argument, if it’s there. Set the default file name, if there isn’t one, or use the first command line argument, if it’s there. Remove illegal characters from the room, region, and item names, converting some of them to spaces as needed. Redirects the output filehandle back to STDOUT and closes the open output file. Use this program to convert maps created by ifm, ifmapper, or any other application capable of writing ifm format maps to Inform 7 source code. Enable debugging messages. Disable warnings. Silence almost all errors and warnings by redirecting STDERR to /dev/null Print an error on STDERR and exit. Complain and exit if the given file does not exist, or is not a “-”. Given two positions on the map, find which direction the second is from the first. Inform 7 build 5J39 has a bug where using the “called” directive can cause rooms to not be connected to one another, in certain cases. Get a height, if it exists, from a line Get a item, if it exists, from a line Get a link or join, if it exists, from a line Gets the link’s ‘go:’ direction, if there is one. Gets the link’s ‘oneway:’ value, if there is one. Get a link position, if it exists, from a line Use the Getopt::Lucid module to get and return options. Get a region (“section” in ifm lingo), if it exists, from a line Get a room name, if it exists, from a line Get a room number, if it exists, from a line Get a room position, if it exists, from a line Get a task, if it exists, from a line Get a title, if it exists, from a line Get a width, if it exists, from a line Handle exceptions from Getopt::Lucid->getopt() threw Please do not modify. Calculate a path to/from two linked rooms if there is no explicit path in the just ended link/join block. Interactive Fiction Mapper Convert map files generated by ifm (Interactive Fiction Mapper) to Inform 7 source code. Convert raw format files generated by ifm (Interactive Fiction Mapper) to Inform 7 source code. Calls ifm to convert ifm format files to ifm’s raw format. Increment the number at the end of a word, or add “2” at the end if there is no existing number at the end of that word. Installing ifm2i7. Please see the INSTALL file. Simply install the requirements and copy the “ifm2i7” script to wherever you’d like to run it from. Please do not modify. This program is licensed under the The Hacktivismo Enhanced-Source Software License Agreement (please see the LICENSE file for more details), with the additional provision that no part of this software may be used to wage or support war, or by the military or military contractors. The Hacktivismo Enhanced-Source Software License Agreement Main program
Redirect STDOUT to the output file. Return the opposite of the given direction. Details below. ( Tested only with Perl 5.8.8 ) Some of these you may have to install, while others are built in to Perl. Populates %links and prints Inform 7 source code for the direction relation(s) between two rooms. Populate %regions if we just exited a region block Then clear temporary region variables. Populates %rooms and prints Inform 7 source code that creates a room and places it in a region. Prints Inform 7 source code for putting all possible exits from a room on to the status line. Print Inform 7 source code for every link in %links Print Inform 7 source code for every region in %regions Print rooms Print to STDERR. Read raw format in to internal format Related applications. ifm2i7 [OPTIONS] [INPUT [OUTPUT]] Details below. Print usage Handle --verbosity options |