JSR ProcessLinesToShow \ Process the lines in the linesToShow list JSR DrawCanopyView \ Update the main view out of the canopy JSR SetRandomNumber \ Add a new random number to the end of the \ randomNumbers listName: MainLoop (Part 13 of 15) [Show more] Type: Subroutine Category: Main loop Summary: Process more lines and update the view out of the canopy Deep dive: Program flow of the main game loopContext: See this subroutine in context in the source code References: No direct references to this subroutine in this source file
[X]
Subroutine DrawCanopyView (category: Graphics)
Draw the main view out of the canopy
[X]
Subroutine ProcessLinesToShow (category: Visibility)
Process the linesToShow list, projecting all the lines onto the screen and moving any that aren't visible to the linesToHide list
[X]
Subroutine SetRandomNumber (category: Utility routines)
Set the next item in the randomNumbers list to a new random number and update the pointer to point to it