plug-in-maze

Kevin Turner <kevint@poboxes.com>

Description

Draw a labyrinth

Help

Generates a maze using either the depth-first search method or Prim's algorithm. Can make tileable mazes too.


Type

unknown

Parameters

Type Name Description
PF_INT run-mode The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }
PF_IMAGE image (unused)
PF_DRAWABLE drawable ID of drawable
PF_INT16 width Width of the passages
PF_INT16 height Height of the passages
PF_INT8 tileable Tileable maze?
PF_INT8 algorithm Generation algorithm(0=DEPTH FIRST, 1=PRIM'S ALGORITHM)
PF_INT seed Random Seed
PF_INT16 multiple Multiple (use 57)
PF_INT16 offset Offset (use 1)

Return

None