Unit architect

Classes, Interfaces, Objects and Records
Types
Constants

Description

Unit responsible for selecting themed dungeons and caves. The types of locations are: tCave - underground cave with no obstacles tStoneCavern - underground cave with rubble tDungeon - rooms connected by corridors tCrypt - dungeon populated by undead tVillage - small settlement

Arrays containing location types for certain areas of the island. The further north the player goes, the more difficult the locations become

Uses

Overview

Functions and Procedures

function validLocation(x, y: smallint): boolean;
procedure firstRow;
procedure seedLocations;

Variables

locationBuilderID: smallint;

Description

Functions and Procedures

function validLocation(x, y: smallint): boolean;

Check surrounding tiles to make sure 2 locations aren't placed next to each other

procedure firstRow;

Bottom row of the island

procedure seedLocations;

Sprinkle locations over the island

Variables

locationBuilderID: smallint;

Unique location ID for the locationLookup table


Generated by PasDoc 0.16.0.