Index

Package: Matrices

Description

package Tiles.Matrices is

Types

Tile_Matrix

type Tile_Matrix is array (Integer range <>, Integer range <>) of Integer;
A Tile_Matrix is a two-dimensional array of tile ids. It is stored in the index file of a tile library and used to draw repeating tile patterns or large tile-based objects when editing a world map.

A_Tile_Matrix

type A_Tile_Matrix is access all Tile_Matrix;

Constants & Global variables

MAX_MATRIX_SIZE

MAX_MATRIX_SIZE : constant := 32;
maximum size of a matrix in either dimension

Subprograms & Entries

Copy

function Copy
( src: A_Tile_Matrix ) return A_Tile_Matrix;
Returns a copy of the Tile_Matrix.

Delete

procedure Delete
( m: in out A_Tile_Matrix );
Deletes the Tile_Matrix.