type AISpace = class(
AIBaseObject
)
AIBaseObject
procedure Build(aWidth: integer; aHeight: integer); |
|
procedure Clean; |
|
Constructor Create( aEnvironment: pointer; aWidth: integer; aHeight: integer); |
|
Destructor Destroy; override; |
|
function FindWithHandle(aHandle: integer): AIBaseObject; |
|
procedure FreezePoles; |
|
procedure Fuel; |
|
procedure FullDisplay(aList: TStrings); override; |
|
procedure FuzzyHeight(aFuzz: integer); |
|
procedure GenerateContinents(aAmount: integer); |
|
procedure GenerateHalo; |
|
procedure GenerateIslands(aAmount: integer); |
|
function LandAtPosition(aX, aY: single): single; |
|
procedure LoadFromFile(var aFile: TextFile); override; |
|
procedure MeteorShower; |
|
procedure MoveWater( aSource: AIGrid; aAmount: single; aDestination: AIGrid); |
|
procedure QueueChange( aDestination: AIGrid; aChangeKind: integer; aAmount: single); |
|
function RandomLocation: AIGrid; |
|
function RandomLocationAwayFromPoles: AIGrid; |
|
procedure ResetMapToDefaults; |
|
procedure SaveToFile(var aFile: TextFile); override; |
|
procedure Stabalize; |
|
function WaterAtPosition(aX, aY: single): single; |
procedure Build(aWidth: integer; aHeight: integer); |
procedure Clean; |
Constructor Create( aEnvironment: pointer; aWidth: integer; aHeight: integer); |
Destructor Destroy; override; |
function FindWithHandle(aHandle: integer): AIBaseObject; |
procedure FreezePoles; |
procedure Fuel; |
procedure FullDisplay(aList: TStrings); override; |
procedure FuzzyHeight(aFuzz: integer); |
large scale grid validization
procedure GenerateContinents(aAmount: integer); |
procedure GenerateHalo; |
terrain generation routines
procedure GenerateIslands(aAmount: integer); |
function LandAtPosition(aX, aY: single): single; |
procedure LoadFromFile(var aFile: TextFile); override; |
procedure MeteorShower; |
procedure MoveWater( aSource: AIGrid; aAmount: single; aDestination: AIGrid); |
procedure QueueChange( aDestination: AIGrid; aChangeKind: integer; aAmount: single); |
function RandomLocation: AIGrid; |
adds small random values to height
function RandomLocationAwayFromPoles: AIGrid; |
procedure ResetMapToDefaults; |
procedure SaveToFile(var aFile: TextFile); override; |
procedure Stabalize; |
function WaterAtPosition(aX, aY: single): single; |
property Asteroids: integer; |
|
property DefaultHeight: integer; |
|
property DefaultHumidity: integer; |
|
property DefaultTemperature: integer; |
|
property DefaultWater: integer; |
|
property DefaultWaterHeight: integer; |
|
property EventQueue: AIEventList; |
|
property EventRound: AIEventList; |
|
property HalfHeight: integer; |
|
property HalfHeightSingle: single; |
|
property HalfWidth: integer; |
|
property HalfWidthSingle: single; |
|
property Height: integer; |
|
property HeightLoop: integer; |
|
property HeightSingle: single; |
|
property Map: AIMap; |
|
property Radius: single; |
|
property Spherical: boolean; |
|
property Width: integer; |
|
property WidthLoop: integer; |
|
property WidthSingle: single; |
property Asteroids: integer; |
property DefaultHeight: integer; |
property DefaultHumidity: integer; |
property DefaultTemperature: integer; |
property DefaultWater: integer; |
property DefaultWaterHeight: integer; |
property EventQueue: AIEventList; |
property EventRound: AIEventList; |
property HalfHeight: integer; |
property HalfHeightSingle: single; |
property HalfWidth: integer; |
property HalfWidthSingle: single; |
property Height: integer; |
property HeightLoop: integer; |
property HeightSingle: single; |
property Map: AIMap; |
property Radius: single; |
property Spherical: boolean; |
property Width: integer; |
property WidthLoop: integer; |
property WidthSingle: single; |