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

Define region

From FenixWiki

Jump to: navigation, search


[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() •
Personal tools