Unit globalUtils
Description
Common functions / utilities
Uses
Overview
Classes, Interfaces, Objects and Records
Functions and Procedures
function randomRange(fromNumber, toNumber: smallint): smallint; |
function rollDice(numberOfDice: byte): smallint; |
Types
Constants
Variables
Description
Functions and Procedures
function randomRange(fromNumber, toNumber: smallint): smallint; |
Select random number from a range
|
function rollDice(numberOfDice: byte): smallint; |
Simulate dice rolls
|
Types
dungeonTerrain = (...); |
Types of locations that can be explored. See 'architect' unit for explanation
Values
-
tCave
-
tStoneCavern
-
tDungeon
-
tCrypt
-
tVillage
|
path = array[1..30] of TPoint; |
Pathfinding - Path to player
|
Constants
VERSION = '59a'; |
Version info - a = Alpha, d = Debug, r = Release
|
MAXCOLUMNS = 80; |
Columns of the game map
|
MAXROWS = 20; |
Rows of the game map
|
saveFile = 'saveGame.dat'; |
Save game file
|
Variables
currentDgnTotalRooms: smallint; |
Number of rooms in the current dungeon
|
killer: shortstring; |
Name of entity or item that killed the player
|
OWx: smallint; |
Last overworld coordinates the player was at
|
OWy: smallint; |
Last overworld coordinates the player was at
|
saveDirectory: string; |
Save game directory
|
womblingFree: shortstring; |
Stores whether the player is underground or overground ;-)
|
Generated by PasDoc 0.16.0.