\ --- Mod: Code added for Demonstration Disc: ---------> .GOPL JSR SPS1 \ The ship is not hostile and it is not docking, so call \ SPS1 to calculate the vector to the planet and store \ it in XX15 JMP TA151 \ Jump to TA151 to make the ship head towards the planet \ --- End of added code ------------------------------->Name: GOPL [Show more] Type: Subroutine Category: Demo Summary: Make the ship head towards the planetContext: See this subroutine in context in the source code References: This subroutine is called as follows: * DOCKIT calls GOPL
The code in this routine has been copied from part 3 of the TACTICS routine in the disc version of Elite.
[X]
Subroutine SPS1 (category: Maths (Geometry))
Calculate the vector to the planet and store it in XX15
[X]
Entry point TA151 in subroutine TACTICS (Part 7 of 7) (category: Tactics)
Make the ship head towards the planet