Warning: This site is under construction, most links will be broken.

LightX API -> lxgfx -> createtilelist

Last modified on Fri, 30th Mar 2007 at 02:13 UTC by zipplet

lxgfx.createtilelist


function createtilelist(
  surface: tlxhandle;
  tile_width, tile_height: tlxposition;
  var count: longint
): ptlxtilelist;


Creates a list of tile co-ordinates from a surface, and returns a pointer to the list. The passed count variable is set to the size of the list.

For more information see LightX concepts.

surface: tlxhandle
The surface to manipulate.

tile_width, tile_height: tlxposition
The size of each individual tile.

var count: longint
This method sets this variable to the size of the returned tile list.

Class: lxgfx