|
Elin Decompiled Documentation EA 23.227 Nightly Patch 1
|
Public Member Functions | |
| void | Init (Dungen.Room room) |
| void | Init (int _x, int _y, int w, int h) |
| void | Populate () |
| void | SpawnMob (Point p) |
| virtual void | OnPopulate () |
| void | Fill () |
| void | SetRandomPoint (Action< Point > action) |
| void | SetRandomPointCentered (Action< Point > action) |
Public Member Functions inherited from GenBounds | |
| 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 | |
| BiomeProfile.TileGroup | group |
| MapGenDungen | gen |
Public Attributes inherited from GenBounds | |
| Map | map |
| Zone | zone |
| int | Size |
| int | x |
| int | y |
| int | width |
| int | height |
| int | marginPartial |
| Func< Cell, bool > | FuncCheckEmpty |
Static Public Attributes | |
| static int[] | ListWrecks = new int[6] { 34, 46, 83, 85, 86, 87 } |
Static Public Attributes inherited from EClass | |
| static Core | core |
Properties | |
| int | Index [get] |
| virtual bool | PopulateCluster [get] |
| virtual bool | IsBigRoom [get] |
Properties inherited from EClass | |
| 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] |
Private Attributes | |
| Point | _p = new Point() |
| Cell | _c |
Additional Inherited Members | |
Static Public Member Functions inherited from GenBounds | |
| static GenBounds | Create (Zone z) |
Static Public Member Functions inherited from EClass | |
| static int | rndSeed (int a, int seed) |
| static int | rnd (long a) |
| 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 5 of file GenRoom.cs.
|
inline |
Definition at line 176 of file GenRoom.cs.
References CoreRef.biomes, block, EClass.core, CoreRef.Biomes.dict, BiomeProfile.Tile.id, BiomeProfile.Tile.mat, Core.refs, EClass.rnd(), and EClass.rndSeed().
|
inline |
Definition at line 23 of file GenRoom.cs.
References GenBounds.height, GenBounds.Size, GenBounds.width, GenBounds.x, and GenBounds.y.
Referenced by MapGenDungen.OnGenerateTerrain().
|
inline |
Definition at line 32 of file GenRoom.cs.
References GenBounds.height, GenBounds.Size, GenBounds.width, GenBounds.x, and GenBounds.y.
|
inlinevirtual |
Reimplemented in GenRoomMonsterHouse.
Definition at line 113 of file GenRoom.cs.
References if(), ListWrecks, GenBounds.map, EClass.rnd(), Map.SetObj(), SetRandomPoint(), GenBounds.Size, SpawnMob(), Point.x, and Point.z.
Referenced by Populate().
|
inline |
Definition at line 41 of file GenRoom.cs.
References Zone.AddCard(), Cell.Back, Zone.biome, Algorithms.WeightCell.blocked, Point.cell, ThingGen.Create(), Cell.Front, TileType.GetDesiredDir(), Cell.HasBlock, Point.HasBlock, Point.HasChara, Cell.hasDoor, PartialMap.Result.hasLight, Point.HasObj, GenBounds.height, Card.Install(), Point.Installed, Cell.isModified, Cell.Left, BiomeProfile.Style.lights, OnPopulate(), BiomeProfile.Populate(), PopulateCluster, Rand.Range(), PartialMap.result, Cell.Right, EClass.rnd(), Point.Set(), BiomeProfile.style, Card.TileType, GenBounds.TryAddMapPiece(), TileType.UseMountHeight, GenBounds.width, GenBounds.x, GenBounds.y, and GenBounds.zone.
Referenced by MapGenDungen.OnGenerateTerrain().
|
inline |
Definition at line 202 of file GenRoom.cs.
References EClass.rnd().
Referenced by OnPopulate(), and GenRoomMonsterHouse.OnPopulate().
|
inline |
Definition at line 219 of file GenRoom.cs.
References EClass.rnd().
|
inline |
Definition at line 105 of file GenRoom.cs.
References Zone.DangerLv, EClass.rnd(), Zone.SpawnMob(), and GenBounds.zone.
Referenced by OnPopulate(), and GenRoomMonsterHouse.OnPopulate().
|
private |
Definition at line 15 of file GenRoom.cs.
Definition at line 13 of file GenRoom.cs.
| MapGenDungen GenRoom.gen |
Definition at line 9 of file GenRoom.cs.
| BiomeProfile.TileGroup GenRoom.group |
Definition at line 7 of file GenRoom.cs.
|
static |
Definition at line 11 of file GenRoom.cs.
Referenced by OnPopulate().
|
get |
Definition at line 17 of file GenRoom.cs.
|
get |
Definition at line 21 of file GenRoom.cs.
|
get |
Definition at line 19 of file GenRoom.cs.
Referenced by Populate().