This wiki is out of date, use the continuation of this wiki instead

Coordinatetype modes

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:29, 3 May 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (23:55, 3 May 2007) (edit) (undo)
Sandman (Talk | contribs)
m
 
(3 intermediate revisions not shown.)
Line 1: Line 1:
 +[[Category:constantcategories]]
 +
== 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 [[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]] window.+| 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.
Personal tools