Elin Decompiled Documentation EA 23.102 Nightly
|
Classes | |
class | Cell |
class | TileInfo |
Public Member Functions | |
void | Init (EloMapActor _actor) |
void | SetZone (int gx, int gy, Zone z, bool updateMesh=false) |
Cell | GetCell (Point pos) |
Cell | GetCell (int gx, int gy) |
TileInfo | GetTileInfo (int gx, int gy) |
List< SourceGlobalTile.Row > | GetSources (int gx, int gy) |
bool | CanBuildSite (int gx, int gy, int radius=0, ElomapSiteType type=ElomapSiteType.Nefia) |
bool | IsSnow (int gx, int gy) |
Zone | GetZone (Point p) |
Zone | GetZone (int gx, int gy) |
int | GetRoadDist (int gx, int gy) |
void | AddLight (int gx, int gy, string id="elolight") |
void | RemoveLight (int gx, int gy) |
Public Attributes | |
int[,] | _ints |
Cell[,] | cells |
TilemapGroup | group |
STETilemap | fogmap |
STETilemap | seaMap |
STETilemap | objScatterMap |
STETilemap | objmap |
STETilemap | extramap |
STETilemap | cloudmap |
int | w |
int | h |
int | minX |
int | minY |
bool | initialized |
EloMapActor | actor |
Package Functions | |
void | OnSerializing (StreamingContext context) |
void | OnDeserialized (StreamingContext context) |
Properties | |
Region | region [get] |
string | idMap [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 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) |
![]() | |
static Core | core |
|
inline |
Definition at line 469 of file EloMap.cs.
References actor, fogmap, item, EloMapActor.lights, EloMapActor.transLight, and Util.
|
inline |
Definition at line 359 of file EloMap.cs.
References CanBuildSite(), cloudmap, GetCell(), GetSources(), SourceGlobalTile.Row.id, EClass.rnd(), SourceGlobalTile.Row.tag, and EloMap.Cell.zone.
Referenced by CanBuildSite(), TraitScrollMapTreasure.GetDest(), and Region.GetRandomPoint().
|
inline |
Definition at line 273 of file EloMap.cs.
References GetCell(), minX, minY, Point.x, and Point.z.
Referenced by Chara._Move(), CanBuildSite(), GetCell(), Init(), IsSnow(), TraitDeedRelocate.OnRead(), EloMapTileSelector.OnUpdateInput(), TileSelectorElona.OnUpdateInput(), SetZone(), UIZoneInfo.SetZone(), and Chara.Tick().
|
inline |
Definition at line 438 of file EloMap.cs.
References Region.elomap, Scene.elomapActor, EloMapActor.Initialize(), initialized, objScatterMap, World.region, EClass.scene, seaMap, and EClass.world.
Referenced by Player.EnterLocalZone(), and RegionPoint.SetRegionPoint().
|
inline |
Definition at line 342 of file EloMap.cs.
References fogmap, SourceManager.globalTiles, group, EClass.sources, and SourceGlobalTile.tileAlias.
Referenced by CanBuildSite(), and IsSnow().
|
inline |
Definition at line 287 of file EloMap.cs.
References actor, SourceGlobalTile.Row.alias, SourceGlobalTile.Row.attribs, fogmap, SourceManager.globalTiles, group, if(), EClass.sources, SourceGlobalTile.tileAlias, SourceGlobalTile.Row.tiles, EloMapActor.tileset, and SourceGlobalTile.Row.zoneProfile.
Referenced by Region.CanCreateZone(), Spatial.Dist(), Zone.GetProfile(), TileSelectorElona.OnRenderTile(), TileSelectorElona.OnUpdateInput(), Weather.RefreshWeather(), RegionPoint.SetRegionPoint(), and Chara.Tick().
|
inline |
Definition at line 425 of file EloMap.cs.
References Spatial.children, region, Spatial.x, and Spatial.y.
Definition at line 420 of file EloMap.cs.
References GetZone(), minX, minY, Point.x, and Point.z.
Referenced by GetZone(), EloMapTileSelector.OnUpdateInput(), TileSelectorElona.OnUpdateInput(), LayerTravel.Refresh(), and PointTarget.Update().
|
inline |
Definition at line 160 of file EloMap.cs.
References actor, AddLight(), cells, Spatial.children, cloudmap, Debug, extramap, fogmap, GetCell(), group, h, Spatial.icon, initialized, Spatial.IsClosed, Zone.IsInstance, minX, minY, EloMap.Cell.obj, objmap, objScatterMap, region, seaMap, EloMapActor.transMap, Zone.UseLight, w, Spatial.x, Spatial.y, and EloMap.Cell.zone.
Referenced by EloMapActor.Initialize().
|
inline |
Definition at line 406 of file EloMap.cs.
References GetCell(), and GetSources().
Referenced by Region.CreateRandomSite().
|
inlinepackage |
|
inlinepackage |
|
inline |
Definition at line 482 of file EloMap.cs.
References actor, EloMapLight.gx, EloMapLight.gy, EloMapActor.lights, and EloMapLight.sr.
Referenced by SetZone().
|
inline |
Definition at line 235 of file EloMap.cs.
References AddLight(), Debug, GetCell(), Spatial.icon, EloMap.Cell.obj, objmap, RemoveLight(), Spatial.source, Zone.UseLight, and EloMap.Cell.zone.
Referenced by Zone.ClaimZone(), Region.CreateRandomSite(), Zone.Destroy(), TraitDeedRelocate.OnRead(), and TraitMapBoard.TrySetAct().
int [,] EloMap._ints |
Definition at line 90 of file EloMap.cs.
Referenced by OnDeserialized(), and OnSerializing().
EloMapActor EloMap.actor |
Definition at line 118 of file EloMap.cs.
Referenced by AddLight(), RankedZone.GetSprite(), GetTileInfo(), Init(), LayerTravel.Refresh(), RemoveLight(), and TraitMapBoard.TrySetAct().
Cell [,] EloMap.cells |
Definition at line 92 of file EloMap.cs.
Referenced by GetCell(), Init(), OnDeserialized(), MapGenRegion.OnGenerateTerrain(), and OnSerializing().
STETilemap EloMap.cloudmap |
Definition at line 106 of file EloMap.cs.
Referenced by CanBuildSite(), Init(), and MapGenRegion.OnGenerateTerrain().
STETilemap EloMap.fogmap |
Definition at line 96 of file EloMap.cs.
Referenced by AddLight(), TileMapElona.Draw(), GetSources(), GetTileInfo(), Init(), EloMapActor.Initialize(), EloMapActor.OnActivate(), MapGenRegion.OnGenerateTerrain(), and GameScreenElona.RefreshPosition().
TilemapGroup EloMap.group |
Definition at line 94 of file EloMap.cs.
Referenced by GetSources(), GetTileInfo(), Init(), and MapGenRegion.OnGenerateTerrain().
int EloMap.h |
Definition at line 110 of file EloMap.cs.
Referenced by GetCell(), Init(), OnDeserialized(), MapGenRegion.OnGenerateTerrain(), and OnSerializing().
bool EloMap.initialized |
Definition at line 116 of file EloMap.cs.
Referenced by GetRoadDist(), Init(), and EloMapActor.Initialize().
int EloMap.minX |
Definition at line 112 of file EloMap.cs.
Referenced by Region.CreateRandomSite(), Spatial.Dist(), TileMapElona.Draw(), Player.EnterLocalZone(), GetCell(), TraitScrollMapTreasure.GetDest(), Region.GetRandomPoint(), GetZone(), Init(), Region.ListTravelZones(), Point.PositionTopdownTreasure(), Weather.RefreshWeather(), RegionPoint.SetRegionPoint(), Point.ToRegionPos(), GameUpdater.Update(), and WidgetDebug.UpdateText().
int EloMap.minY |
Definition at line 114 of file EloMap.cs.
Referenced by Region.CreateRandomSite(), Spatial.Dist(), TileMapElona.Draw(), Player.EnterLocalZone(), GetCell(), TraitScrollMapTreasure.GetDest(), Region.GetRandomPoint(), GetZone(), Init(), Region.ListTravelZones(), Point.PositionTopdownTreasure(), Weather.RefreshWeather(), RegionPoint.SetRegionPoint(), Point.ToRegionPos(), GameUpdater.Update(), and WidgetDebug.UpdateText().
STETilemap EloMap.objmap |
Definition at line 102 of file EloMap.cs.
Referenced by Region.CheckRandomSites(), Region.CreateRandomSite(), Init(), EloMapActor.OnActivate(), and SetZone().
STETilemap EloMap.objScatterMap |
Definition at line 100 of file EloMap.cs.
Referenced by GetRoadDist(), and Init().
STETilemap EloMap.seaMap |
Definition at line 98 of file EloMap.cs.
Referenced by GetRoadDist(), and Init().
int EloMap.w |
Definition at line 108 of file EloMap.cs.
Referenced by GetCell(), Init(), OnDeserialized(), MapGenRegion.OnGenerateTerrain(), and OnSerializing().
|
get |
Definition at line 122 of file EloMap.cs.
Referenced by EloMapActor.Initialize().
|
get |