Unit universe

Classes, Interfaces, Objects and Records
Types
Constants

Description

Generate the game world, caves, dungeons, its levels and related info

Uses

Overview

Functions and Procedures

procedure createNewDungeon(title: string; levelType: dungeonTerrain; dID: smallint);
procedure spawnDenizens;
procedure litterItems;
procedure createEllanToll;

Variables

currentDepth: byte;
currentDungeon: array[1..MAXROWS, 1..MAXCOLUMNS] of shortstring;
dlistLength: smallint;
dungeonType: dungeonTerrain;
homeland: string;
levelVisited: boolean;
OWgen: boolean;
title: string;
totalDepth: byte;
totalRooms: byte;
uniqueID: smallint;

Description

Functions and Procedures

procedure createNewDungeon(title: string; levelType: dungeonTerrain; dID: smallint);

Creates a dungeon of a specified type

procedure spawnDenizens;

Spawn creatures based on dungeon type and player level

procedure litterItems;

Drop items based on dungeon type and player level

procedure createEllanToll;

Generate the overworld

Variables

currentDepth: byte;

Info about current dungeon

currentDungeon: array[1..MAXROWS, 1..MAXCOLUMNS] of shortstring;

Used when a dungeon is first generated

dlistLength: smallint;

Number of dungeons

dungeonType: dungeonTerrain;
 
homeland: string;
 
levelVisited: boolean;

Flag to show if this level has been visited before

OWgen: boolean;

Has the the overworld been generated before

title: string;

Name of the current dungeon

totalDepth: byte;

Info about current dungeon

totalRooms: byte;

Info about current dungeon

uniqueID: smallint;

Number of dungeons


Generated by PasDoc 0.16.0.