home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / FORTRAN / SUPERT87.ZIP / ROUTINES.DOC < prev    next >
Encoding:
Text File  |  1986-12-15  |  3.8 KB  |  71 lines

  1.  
  2. ************************************************************************
  3. *********              SUBROUTINES AND FUNCTIONS              **********
  4. ************************************************************************
  5.  
  6. ACTION - Contains main loop on calls to other routines as needed per
  7.          starminute.
  8. BEAM   - Controls transporting of troops to and fro.
  9. BHOLE  - Determines effects of black hole gravitational fields on
  10.          movements.
  11. BLOCK  - Contains intial values for data.
  12. BPAGE  - Moves next line output to top of page.
  13. CHEKDG - Checks if requested E facility damaged or not.
  14. COLLIS - Determines all possible collisions, handles supernova
  15.          explosions, black hole captures.
  16. COSD   - This computes the cosine of an angle where the argument is in
  17.          degrees instead of radians.
  18. DAMAGE - Determines extent of damage and crew + troop casualties when E
  19.          is hit with shields down, or collision.
  20. DLETE  - Deletes an object from the quadrant and from the galaxy if
  21.          necessary.
  22. DOCK   - ENTERPRISE docking with starbase routine.
  23. EFPHSR - ENTERPRISE firing phasers routine.
  24. EFTSUB - ENTERPRISE firing photon torpedos routine.
  25. EPHIT  - Records E or G phaser hit on enemy vessel, extent of damage.
  26. EPMOVE - ENTERPRISE movement routine.  Also handles exceeding gaoactic
  27.          limits.
  28. EPULSE - ENTERPRISE pulsive beams routine.
  29. FIGHT  - Controls combat on board enemy vessels, computing casualties
  30.          for each side.
  31. GETBRG - Returns a bearing in the 0 - 360 range from one object to
  32.          another.
  33. GHACTV - Ghostship activites routine.
  34. HELP   - Prints explanarory messages from disk file when requested by
  35.          player.
  36. HITONE - Records a hit on the enterprise.
  37. KLNGN  - Klingon activities routine.
  38. KLQ    - Checks for Klingons leaving quadrant or galaxy.
  39. MASKEF - Computes phaser attenuation due to masking effects.
  40. OMOVE  - Movement routine for Klingons and ghostships.
  41. PLIN   - Sets up galactic matrix at beginning of game.
  42. PROCM  - Processes commands input by user in subroutine TRY1.  Either
  43.          executes them immediately (in the case of 2,3,8,9,12,13,14,15,
  44.          16,17,18,22 commands) or queues them for execution by the
  45.          appropriate routine.
  46. PUTIN  - Sets up display for each quadrant and also makes sure no 2
  47.          objects start on same point.
  48. QDATE  - Returns the current date for check of playing rated games.
  49. QQMOVE - Controls movement of K & R between quadrants where fighting
  50.          is not going on.
  51. QTIME  - Returns the time of day in seconds since midnight as an integer
  52.          value. (0 - 86399)
  53. RAN    - System function that generated a random number uniformly
  54.          distributed on the interval 0 -1.
  55. RAND   - Routine to specify a seed for the random number generator.
  56. RANGE  - Function to return distance in parsecs between 2 objects.
  57. RATING - End of game routine.  Updates rating file, performs other
  58.          housekeeping to end run.
  59. REPAIR - Damage repair routine for all vessels.  Also disease losses
  60.          and energy losses due to alien life forms calculated here.
  61. ROMLN  - Romulan activities routine.
  62. RSTART - Saves and Restarts rated game.
  63. SCAN   - Generates short range sensor scans.
  64. SIND   - This computes the sine of an angle where the argument is in
  65.          degrees instead of radians.
  66. STAR79 - Beginning of game setup.  Input user game requests.
  67. STORM  - Routine to handle objects captured by nucleonic storm.
  68. TRPMV  - Torpedo movement routine.
  69. TRY1   - Command input routine.  Checks for legal input.
  70. TSHUTL - Shuttlecraft activities routine.
  71. >