Space Patch Information


NameDateSpace VersionRequiresObsoleted
S70930c.gz30-Sep-970.8.3-S71024
S70930.gz30-Sep-970.8.3S70921S71024

Description

This patch makes the shield configuration for each ship configurable. This means that you can pick one of 5 pre-defined arrangements by setting CF_SHIELD_CONFIG to a number from 0 to 4. Read the source/experiment to find out the arrangements. (Classic 4 shield. Classic 6 shield. Cubic 6 shield. Orange 4 shield. Orange 4 shield rotated 45 degrees). I'll draw a diagram at some point.

To complement this, there are 4 new spacecalls:

shd_config_nameName of current shield configuration
shd_short_name(shield)Short name of current shield configuration
shd_full_name(shield)Full name of current shield configuration
shd_numbernumber of shields in the current shield configuration

This patch also updates the additional ANSI I added in S70921 so that the game should at least compile on TinyMush, though I believe ANSI support is not provided.

NOTE: THE GAME SOFTCODE NEEDS TO BE UPDATED TO COPE WITH MULTIPLE SHIELD ARRANGEMENTS. SEE THE CHANGES FILE AFTER APPLYING THE PATCH

Installation Notes

  1. Download S70930c.gz if you are going to apply this to a clean 0.8.3
  2. Download S70930.gz if you are going to apply this to 0.8.3 + S70921
  3. Change to your top-level directory, where you have space-0.8.3 or space-s70914 as a sub-directory
  4. Uncompress the patch using gunzip -d S70930.gz or gunzip -d S70930c.gz
  5. Run patch < S70930 or patch < S70930c
  6. Read the CHANGES file, and look through the source to see what's changed.
  7. Edit spaceconf.h to enable/disable the features you want
  8. Recompile the space code
  9. Change to your mux source directory (eg ~/mux/src)
  10. Recompile your MUX
  11. Log into your MUX and @restart it.
  12. Check @version shows that the features you wanted are compiled in.
  13. Update the softcode to deal with the new features/changes.

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