- This wiki is out of date, use the continuation of this wiki instead
Define region
From FenixWiki
(Difference between revisions)
Revision as of 00:19, 26 December 2007 (edit) Sandman (Talk | contribs) (New page: Category:functions Category:Regions ==Definition== '''INT''' define_region ( <'''INT''' regionID> , <'''INT''' x> , <'''INT''' y> , <'''INT''' width> , <'''INT''' height> ) Defin...) ← Previous diff |
Current revision (00:19, 26 December 2007) (edit) (undo) Sandman (Talk | contribs) (New page: Category:functions Category:Regions ==Definition== '''INT''' define_region ( <'''INT''' regionID> , <'''INT''' x> , <'''INT''' y> , <'''INT''' width> , <'''INT''' height> ) Defin...) |
Current revision
[edit] Definition
INT define_region ( <INT regionID> , <INT x> , <INT y> , <INT width> , <INT height> )
Defines the boundaries of a region.
There are 32 regions. Region 0 is always the whole screen and cannot be changed. Defining regions can be useful for the function out_region() and the local variable region.
[edit] Parameters
INT regionID | - The regionID of the region to define. |
INT x | - The x coordinate of the top left corner of the region. |
INT y | - The y coordinate of the top left corner of the region. |
INT width | - The width of the region. |
INT height | - The height of the region. |
[edit] Returns
INT : The regionID specified.
Regions Functions | |
• Define_region() • Out_region() • |