Space Patch Information

NameDateSpace VersionRequiresObsoleted


This patch adds per space object measurement units by providing two new configuration attributes. CF_RANGE_FACTOR is used when converting between ship and internal coordinates, and CF_RANGE_NAME is used in some displays as an indicator of the units being shown.

This patch also adds a range_t and coord_t typedef, in preparation for a possible attempt to allow a float or int to be used in an end-user selectable fashion. This may prove to be unworkable.

Installation Notes

  1. Download S70914c.gz to apply this to a clean 0.8.3
  2. Download S70914.gz to apply this to 0.8.3 + S70912
  3. Change to your top-level directory, where you have space-0.8.3 or space-s70912 as a sub-directory
  4. Uncompress the patch using gunzip -d S70914.gz or gunzip -d S70914c.gz
  5. Run patch < S70914 or patch < S70914c
  6. Edit spaceconf.h to enable/disable the features you want
  7. Recompile the space code
  8. Change to your mux source directory (eg ~/mux/src)
  9. Recompile your MUX
  10. Log into your MUX and @restart it.
  11. Check @version shows that the features you wanted are compiled in.

This code is provided as a service to the community using the Portable Space Code. By using this code, you agree that the author is not responsible in any way for any damage caused.

Valid HTML 4.0! Maintained by Mark Cooke
Last Updated: Friday, 28-Nov-2003 10:52:47 GMT