From Bennu Wiki
Jump to navigation Jump to search

Up to Local Variables


Coordinatetype modes are used to set the type of coordinatesytem to be used, by assigning them to the local variable ctype. Different coordinatesystems have different ways of interpreting the coordinates of a process. There's another local variable which influences the interpretation of a process' coordinate, which is Resolution.

How to change in which individual scroll or Mode7-view the process is visible, see C_number and its constants.


Constant - Value - Relative to
C_SCREEN - 0 - The screen's top left corner, coordinate (0,0).
C_SCROLL - 1 - The foreground graphic of the scroll in which the process is shown.
C_M7 - 2 - The main graphic of the Mode7-view.

Local variables