type AIGrid = class(
AIBaseObject
)
AIBaseObject
procedure AlterHeight(aAmount: single); |
|
procedure AlterHumidity(aAmount: single); |
|
procedure AlterTemperature(aAmount: single); |
|
procedure AlterWater(aAmount: single); |
|
function AtPole: boolean; |
|
procedure Boil; |
|
procedure CalculateFullHeights; |
|
procedure CalculateFullWaters; |
|
procedure CalculateHeights; |
|
procedure CalculateLandMax; |
|
procedure CalculateWaters; |
|
procedure CalculateWind; |
|
procedure ChangeHeight(aAmount: single); |
|
procedure ChangeHumidity(aAmount: single); |
|
procedure ChangeTemperature(aAmount: single); |
|
procedure ChangeWater(aAmount: single); |
|
procedure Condense; |
|
procedure Connect( aConnectionUp: AIGrid; aConnectionDown: AIGrid; aConnectionLeft: AIGrid; aConnectionRight: AIGrid); |
|
procedure ConnectDiagonals; |
|
function Connection(aDirection: integer): AIGrid; |
|
Constructor Create( aSpace: pointer; X: integer; Y: integer); |
|
procedure DefaultSettings; |
|
Destructor Destroy; override; |
|
function DetermineLandHeight(aX, aY: single): single; |
|
function DetermineWaterHeight(aX, aY: single): single; |
|
function ExcessSaturation: single; |
|
procedure FreezeWater; |
|
function Freezing: boolean; |
|
function IsGlacier: boolean; |
|
function IsLand: boolean; |
|
procedure JiggleWater; |
|
function LandState: integer; |
|
procedure LoadFromFile(var aFile: TextFile); override; |
|
function Melting: boolean; |
|
procedure Naturalize; |
|
function NewThing(aKind: integer): pointer; |
|
function NoPlants: boolean; |
|
function OneLineDisplay: string; override; |
|
function OverSaturated: boolean; |
|
procedure RaiseSurroundingHeightsBy(newHeight: single); |
|
procedure RaiseSurroundingHeightsTo(newHeight: single); |
|
function RandomConnection: AIGrid; |
|
procedure SaveToFile(var aFile: TextFile); override; |
|
function SeaWater: single; |
|
procedure SetChanged(aValue: boolean); |
|
procedure Splash(aExcessWater: single); |
|
procedure Stabalize; |
|
procedure SuckWater(aAmount: single); |
|
function SurroundedByWater: boolean; |
|
function UnderSaturated: boolean; |
|
procedure Vibrate(aEffectType, aEffectIndex, aTimerDeath: integer); |
|
function WaterHeight: single; |
procedure AlterHeight(aAmount: single); |
procedure AlterHumidity(aAmount: single); |
procedure AlterTemperature(aAmount: single); |
procedure AlterWater(aAmount: single); |
change by amount
function AtPole: boolean; |
procedure Boil; |
water spills into adjacent squares
procedure CalculateFullHeights; |
procedure CalculateFullWaters; |
procedure CalculateHeights; |
procedure CalculateLandMax; |
procedure CalculateWaters; |
procedure CalculateWind; |
procedure ChangeHeight(aAmount: single); |
procedure ChangeHumidity(aAmount: single); |
procedure ChangeTemperature(aAmount: single); |
procedure ChangeWater(aAmount: single); |
ENVIRONMENT CALLS ONLY
procedure Condense; |
temp turns water into humidity
procedure Connect( aConnectionUp: AIGrid; aConnectionDown: AIGrid; aConnectionLeft: AIGrid; aConnectionRight: AIGrid); |
procedure ConnectDiagonals; |
function Connection(aDirection: integer): AIGrid; |
Constructor Create( aSpace: pointer; X: integer; Y: integer); |
procedure DefaultSettings; |
Destructor Destroy; override; |
function DetermineLandHeight(aX, aY: single): single; |
function DetermineWaterHeight(aX, aY: single): single; |
function ExcessSaturation: single; |
procedure FreezeWater; |
sucks water from surrounding squares
function Freezing: boolean; |
function IsGlacier: boolean; |
function IsLand: boolean; |
procedure JiggleWater; |
function LandState: integer; |
procedure LoadFromFile(var aFile: TextFile); override; |
function Melting: boolean; |
procedure Naturalize; |
validate grid
function NewThing(aKind: integer): pointer; |
uncommon effects on grid
function NoPlants: boolean; |
function OneLineDisplay: string; override; |
function OverSaturated: boolean; |
procedure RaiseSurroundingHeightsBy(newHeight: single); |
procedure RaiseSurroundingHeightsTo(newHeight: single); |
function RandomConnection: AIGrid; |
procedure SaveToFile(var aFile: TextFile); override; |
function SeaWater: single; |
procedure SetChanged(aValue: boolean); |
procedure Splash(aExcessWater: single); |
procedure Stabalize; |
create an iceberg
procedure SuckWater(aAmount: single); |
function SurroundedByWater: boolean; |
function UnderSaturated: boolean; |
procedure Vibrate(aEffectType, aEffectIndex, aTimerDeath: integer); |
condense humidity into a cloud
function WaterHeight: single; |
property AtBottom: boolean; |
|
property AtTop: boolean; |
|
property Changed: boolean; |
|
property ConnectionDown: AIGrid; |
|
property ConnectionDownLeft: AIGrid; |
|
property ConnectionDownRight: AIGrid; |
|
property ConnectionLeft: AIGrid; |
|
property ConnectionRight: AIGrid; |
|
property ConnectionUp: AIGrid; |
|
property ConnectionUpLeft: AIGrid; |
|
property ConnectionUpRight: AIGrid; |
|
property Coordinates: AICoordinates; |
|
property CornerValues: AIHeightArray; |
|
property Height: single; |
|
property Humidity: single; |
|
property LandMax: single; |
|
property Normal: TAffineVector; |
|
property Temperature: single; |
|
property UnderWater: boolean; |
|
property Water: single; |
|
property WaterCrossover: pointer; |
|
property WaterMax: single; |
|
property Wave: TAffineVector; |
|
property Wavy: boolean; |
|
property Wind: TAffineVector; |
|
property Windy: boolean; |
property AtBottom: boolean; |
property AtTop: boolean; |
property Changed: boolean; |
property ConnectionDown: AIGrid; |
property ConnectionDownLeft: AIGrid; |
property ConnectionDownRight: AIGrid; |
property ConnectionLeft: AIGrid; |
property ConnectionRight: AIGrid; |
property ConnectionUp: AIGrid; |
property ConnectionUpLeft: AIGrid; |
property ConnectionUpRight: AIGrid; |
property Coordinates: AICoordinates; |
property CornerValues: AIHeightArray; |
property Height: single; |
property Humidity: single; |
property LandMax: single; |
property Normal: TAffineVector; |
property Temperature: single; |
property UnderWater: boolean; |
property Water: single; |
property WaterCrossover: pointer; |
property WaterMax: single; |
property Wave: TAffineVector; |
property Wavy: boolean; |
property Wind: TAffineVector; |
property Windy: boolean; |