- This wiki is out of date, use the continuation of this wiki instead
Coordinatetype modes
From FenixWiki
(Difference between revisions)
Revision as of 00:06, 3 May 2007 (edit) Sandman (Talk | contribs) ← Previous diff |
Current revision (23:55, 3 May 2007) (edit) (undo) Sandman (Talk | contribs) m |
||
(5 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
+ | [[Category:constantcategories]] | ||
+ | |||
== Definition == | == Definition == | ||
- | Coordinatetype | + | 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 [[Coordinatenumber flags|its constants]]. | ||
+ | == List == | ||
{| | {| | ||
| ''Constant'' || - ''Value'' || - ''Relative to'' | | ''Constant'' || - ''Value'' || - ''Relative to'' | ||
Line 9: | Line 14: | ||
| 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. |
|} | |} |
Current revision
[edit] 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.
[edit] List
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. |