Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | SetSize (int size, int _poiSize) |
void | Generate (ZoneBlueprint _bp) |
![]() | |
void | SetFloor (BiomeProfile.Tile t, int x, int z) |
void | SetBlock (BiomeProfile.Tile t, int x, int z, int idMat=-1) |
void | SetFloor (int x, int z, int idMat, int idFloor, int direction=0) |
void | SetBlock (int x, int z, int idMat, int idBlock, int direction=0) |
bool | IsEmpty () |
List< Point > | ListEmptyPoint () |
GenBounds | GetBounds (int w, int h, bool ignoreBlock) |
GenBounds | GetBounds (Map map, Zone zone, int x, int y, int width, int height, int dw, int dh, bool ignoreBlock) |
PartialMap | TryAddMapPiece (MapPiece.Type type=MapPiece.Type.Any, float ruin=-1f, string tags=null, Action< PartialMap, GenBounds > onCreate=null) |
Public Attributes | |
NoiseLayer | layerHeight |
NoiseLayer | layerRiver |
NoiseLayer | layerStratum |
NoiseLayer | layerBiome |
BiomeProfile[] | biomeProfiles |
BiomeProfile | biomeShore |
BiomeProfile | biomeSand |
BiomeProfile | biomeWater |
Crawler[] | crawlers |
ZoneBlueprint | bp |
ZoneProfile | zp |
int | blockHeight |
int | seed |
int | lastSize |
int | OX |
int | OZ |
BiomeProfile[,] | biomes |
bool[,] | subBiomes |
MapGenVariation | variation |
MapHeight | hSetting |
![]() | |
Map | map |
Zone | zone |
int | Size |
int | x |
int | y |
int | width |
int | height |
int | marginPartial |
Func< Cell, bool > | FuncCheckEmpty |
Static Public Attributes | |
static string | err |
![]() | |
static Core | core |
Protected Member Functions | |
virtual void | GenerateTerrain () |
virtual bool | OnGenerateTerrain () |
Protected Attributes | |
bool | skipWater |
float[,] | heights1 |
float[,] | heights2 |
float[,] | heights3 |
float[,] | waters |
float[,] | heights3d |
float | waterCount |
Properties | |
bool | extraBiome [get] |
![]() | |
static Game | game [get] |
static bool | AdvMode [get] |
static Player | player [get] |
static Chara | pc [get] |
static UI | ui [get] |
static Map | _map [get] |
static Zone | _zone [get] |
static FactionBranch | Branch [get] |
static FactionBranch | BranchOrHomeBranch [get] |
static Faction | Home [get] |
static Faction | Wilds [get] |
static Scene | scene [get] |
static BaseGameScreen | screen [get] |
static GameSetting | setting [get] |
static GameData | gamedata [get] |
static ColorProfile | Colors [get] |
static World | world [get] |
static SourceManager | sources [get] |
static SourceManager | editorSources [get] |
static SoundManager | Sound [get] |
static CoreDebug | debug [get] |
Additional Inherited Members | |
![]() | |
static GenBounds | Create (Zone z) |
![]() | |
static int | rnd (int a) |
static int | curve (int a, int start, int step, int rate=75) |
static int | rndHalf (int a) |
static float | rndf (float a) |
static int | rndSqrt (int a) |
static void | Wait (float a, Card c) |
static void | Wait (float a, Point p) |
static int | Bigger (int a, int b) |
static int | Smaller (int a, int b) |
Definition at line 4 of file BaseMapGen.cs.
|
inline |
Definition at line 101 of file BaseMapGen.cs.
References biomeProfiles, MapGenVariation.biomeProfiles, CoreRef.biomes, biomeSand, biomeShore, MapGenVariation.biomeShore, biomeWater, MapGenVariation.biomeWater, blockHeight, ZoneProfile.blockHeight, bp, Map.config, EClass.core, GenerateTerrain(), ZoneBlueprint.genSetting, ZoneProfile.height, hSetting, MapConfig.idSceneProfile, ZoneProfile.idSceneProfile, ZoneProfile.indoor, BiomeProfile.Init(), layerBiome, MapGenVariation.layerBiome, layerHeight, MapGenVariation.layerHeight, layerRiver, MapGenVariation.layerRiver, layerStratum, MapGenVariation.layerStratum, GenBounds.map, ZoneBlueprint.map, ZoneProfile.mapBG, ZoneProfile.offsetX, ZoneProfile.offsetZ, OX, OZ, Core.refs, CoreRef.Biomes.Sand, variation, ZoneBlueprint.MapGenSetting.variation, GenBounds.zone, ZoneBlueprint.zone, ZoneBlueprint.zoneProfile, and zp.
Referenced by ZoneBlueprint.GenerateMap().
|
inlineprotectedvirtual |
Reimplemented in MapGen.
Definition at line 134 of file BaseMapGen.cs.
References OnGenerateTerrain().
Referenced by Generate().
|
inlineprotectedvirtual |
Reimplemented in MapGen, MapGenDungen, and MapGenRegion.
Definition at line 139 of file BaseMapGen.cs.
Referenced by GenerateTerrain().
|
inline |
Definition at line 91 of file BaseMapGen.cs.
References POIMap.Init(), GenBounds.map, POIMap.mapSize, Map.poiMap, and GenBounds.Size.
Referenced by MapGen.GenerateTerrain(), MapGenDungen.OnGenerateTerrain(), and MapGenRegion.OnGenerateTerrain().
BiomeProfile [] BaseMapGen.biomeProfiles |
Definition at line 21 of file BaseMapGen.cs.
Referenced by Generate(), and MapGen.OnGenerateTerrain().
BiomeProfile [,] BaseMapGen.biomes |
Definition at line 78 of file BaseMapGen.cs.
Referenced by MapGen.GenerateTerrain(), and MapGen.OnGenerateTerrain().
BiomeProfile BaseMapGen.biomeSand |
Definition at line 27 of file BaseMapGen.cs.
Referenced by Generate().
BiomeProfile BaseMapGen.biomeShore |
Definition at line 24 of file BaseMapGen.cs.
Referenced by Generate(), and MapGen.OnGenerateTerrain().
BiomeProfile BaseMapGen.biomeWater |
Definition at line 30 of file BaseMapGen.cs.
Referenced by Generate(), MapGen.OnGenerateTerrain(), and MapGen.Populate().
int BaseMapGen.blockHeight |
Definition at line 60 of file BaseMapGen.cs.
Referenced by Generate(), and MapGen.OnGenerateTerrain().
ZoneBlueprint BaseMapGen.bp |
Definition at line 39 of file BaseMapGen.cs.
Referenced by Generate(), MapGen.GenerateTerrain(), MapGen.MakeNeighbor(), MapGen.MakeNeighbor_old(), MapGen.MakeRoad(), MapGen.OnGenerateTerrain(), and MapGen.Populate().
Crawler [] BaseMapGen.crawlers |
Definition at line 33 of file BaseMapGen.cs.
|
static |
Definition at line 6 of file BaseMapGen.cs.
Referenced by MapGen.GenerateTerrain().
|
protected |
Definition at line 45 of file BaseMapGen.cs.
Referenced by MapGen.GenerateTerrain(), MapGen.OnGenerateTerrain(), and MapGen.Populate().
|
protected |
Definition at line 48 of file BaseMapGen.cs.
Referenced by MapGen.GenerateTerrain(), MapGen.OnGenerateTerrain(), and MapGen.Populate().
|
protected |
Definition at line 51 of file BaseMapGen.cs.
Referenced by MapGen.GenerateTerrain(), MapGen.OnGenerateTerrain(), and MapGen.Populate().
|
protected |
Definition at line 57 of file BaseMapGen.cs.
Referenced by MapGen.GenerateTerrain(), and MapGen.Populate().
MapHeight BaseMapGen.hSetting |
Definition at line 87 of file BaseMapGen.cs.
Referenced by Generate(), MapGen.ModifyHeight(), and MapGen.OnGenerateTerrain().
int BaseMapGen.lastSize |
Definition at line 66 of file BaseMapGen.cs.
Referenced by MapGen.GenerateTerrain().
NoiseLayer BaseMapGen.layerBiome |
Definition at line 18 of file BaseMapGen.cs.
Referenced by Generate(), MapGen.GenerateTerrain(), and MapGen.OnGenerateTerrain().
NoiseLayer BaseMapGen.layerHeight |
Definition at line 9 of file BaseMapGen.cs.
Referenced by Generate(), MapGen.GenerateTerrain(), and MapGen.OnGenerateTerrain().
NoiseLayer BaseMapGen.layerRiver |
Definition at line 12 of file BaseMapGen.cs.
Referenced by Generate(), MapGen.GenerateTerrain(), and MapGen.OnGenerateTerrain().
NoiseLayer BaseMapGen.layerStratum |
Definition at line 15 of file BaseMapGen.cs.
Referenced by Generate(), MapGen.GenerateTerrain(), and MapGen.Populate().
int BaseMapGen.OX |
Definition at line 69 of file BaseMapGen.cs.
Referenced by Generate(), MapGen.OnGenerateTerrain(), and MapGen.Populate().
int BaseMapGen.OZ |
Definition at line 72 of file BaseMapGen.cs.
Referenced by Generate(), MapGen.OnGenerateTerrain(), and MapGen.Populate().
int BaseMapGen.seed |
Definition at line 63 of file BaseMapGen.cs.
Referenced by MapGen.GenerateTerrain(), MapGen.OnGenerateTerrain(), and MapGen.Populate().
|
protected |
Definition at line 36 of file BaseMapGen.cs.
Referenced by MapGen.GenerateTerrain(), and MapGen.OnGenerateTerrain().
bool [,] BaseMapGen.subBiomes |
Definition at line 81 of file BaseMapGen.cs.
Referenced by MapGen.GenerateTerrain(), and MapGen.OnGenerateTerrain().
MapGenVariation BaseMapGen.variation |
Definition at line 84 of file BaseMapGen.cs.
Referenced by Generate(), and MapGen.OnGenerateTerrain().
|
protected |
Definition at line 75 of file BaseMapGen.cs.
Referenced by MapGen.OnGenerateTerrain().
|
protected |
Definition at line 54 of file BaseMapGen.cs.
Referenced by MapGen.GenerateTerrain(), and MapGen.OnGenerateTerrain().
ZoneProfile BaseMapGen.zp |
Definition at line 42 of file BaseMapGen.cs.
Referenced by Generate(), MapGen.GenerateTerrain(), MapGen.OnGenerateTerrain(), and MapGen.Populate().
|
get |
Definition at line 89 of file BaseMapGen.cs.