Unit island
Description
Stores the overworld map and provides helper functions
Uses
Overview
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Variables
Description
Functions and Procedures
procedure storeEllanToll; |
Store the newly generated island in memory
|
procedure drawOWTile(c, r: smallint); |
Draw a tile on the map
|
procedure loadDisplayedIsland; |
Display explored sections of island when reloading game
|
function getLocationName(xPOS, yPOS: smallint):string; |
Return the name of the location on the map
|
function getLocationID(xPOS, yPOS: smallint): smallint; |
Return the ID number of the location on the map
|
function getDungeonType(xPOS, yPOS: smallint): dungeonTerrain; |
Return the dungeon type of the location on the map
|
function locationExists(xPOS, yPOS: smallint): boolean; |
Return True if the location already exists on disk
|
procedure setVisitedFlag(xPOS, yPOS: smallint); |
Set a location as VISITED
|
Types
overworldTerrain = (...); |
Values
-
tSea
-
tForest
-
tPlains
-
tLocation
|
Variables
locationLookup: array of locationTile; |
List of locations on the island
|
overworldDisplay: array[1..overworld.MAXR, 1..overworld.MAXC] of displayTile; |
The overworld map that the camera uses
|
overworldMap: array[1..overworld.MAXR, 1..overworld.MAXC] of overworldTile; |
The overworld map data
|
Generated by PasDoc 0.16.0.