NAME
Deliantra - Deliantra suppport module to read/write archetypes, maps etc.
- ($minx, $miny, $maxx, $maxy) = arch_extents $arch
-
arch_extents determines the extents of the given arch's face(s), linked faces and single faces are handled here it returns (minx, miny, maxx, maxy)
- $type = arch_attr $arch
-
Returns a hashref describing the object and its attributes. It can contain the following keys:
name the name, suitable
for
display purposes
ignore
attr
desc
use
section
=> [
name
=> \
%attr
,
name
=> \
%attr
]
import
- set_libdir $path
-
Sets the library directory to the given path (default: $ENV{CROSSFIRE_LIBDIR}).
You have to (re-)load the archetypes and tilecache manually after steting the library path.
- load_archetypes
-
(Re-)Load archetypes into %ARCH.
- load_tilecache
-
(Re-)Load %TILE and %FACE.
AUTHOR
Marc Lehmann <schmorp
@schmorp
.de>
Robin Redeker <elmex
@ta
-sa.org>