- This wiki is out of date, use the continuation of this wiki instead
Coordinatetype modes
From FenixWiki
(Difference between revisions)
Revision as of 00:29, 3 May 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Revision as of 00:32, 3 May 2007 (edit) (undo) Sandman (Talk | contribs) m Next diff → |
||
Line 1: | Line 1: | ||
== Definition == | == Definition == | ||
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_(local)|resolution]]. | 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_(local)|resolution]]. | ||
+ | |||
+ | How to change in which individual [[scroll]] or [[mode_7]]-view the process is visible, see [[cnumber]] and its [[Coordinatenumber flags|constants]]. | ||
{| | {| | ||
Line 9: | Line 11: | ||
| C_SCROLL || - 1 || - The foreground graphic of the [[scroll]] in which the process is shown. | | C_SCROLL || - 1 || - The foreground graphic of the [[scroll]] in which the process is shown. | ||
|- | |- | ||
- | | C_M7 || - 2 || - The main graphic of the [[mode_7]] | + | | C_M7 || - 2 || - The main graphic of the [[mode_7]]-view. |
|} | |} |
Revision as of 00:32, 3 May 2007
Definition
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 mode_7-view the process is visible, see cnumber 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 mode_7-view. |