|
Elin Decompiled Documentation EA 23.237 Stable
|
Classes | |
| struct | LevelPoint |
Public Member Functions | |
| void | SetVisible (int x, int y) |
| void | ClearVisible () |
| List< Point > | ListPoints () |
| void | Perform (int _x, int _z, int _range, float power=1f) |
Static Public Member Functions | |
| static float | DistanceFloat (int x1, int y1, int x2, int y2) |
| static int | Distance (int x1, int y1, int x2, int y2) |
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) |
Public Attributes | |
| byte | r |
| byte | g |
| byte | b |
| bool | isPC |
| bool | limitGradient |
| Dictionary< int, byte > | lastPoints = new Dictionary<int, byte>() |
Static Public Attributes | |
| static float | nonGradientMod |
| static List< Cell > | newPoints = new List<Cell>() |
| static Map | map |
| static LevelPoint | origin = default(LevelPoint) |
| static int | range |
| static float | _power |
Static Public Attributes inherited from EClass | |
| static Core | core |
Private Member Functions | |
| float | GetVisDistance (int x1, int y1, int x2, int y2) |
| void | TraceLine (int x2, int y2) |
Static Private Attributes | |
| static int | x |
| static int | y |
Additional Inherited Members | |
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] |
|
inline |
Definition at line 96 of file Fov.cs.
References b, g, Map.GetCell(), isPC, lastPoints, map, and r.
Referenced by Perform().
|
inlinestatic |
Definition at line 134 of file Fov.cs.
Referenced by Spatial.Dist(), and Point.Distance().
|
inlinestatic |
Definition at line 129 of file Fov.cs.
Referenced by TileMapElona.DrawTile().
|
inlineprivate |
Definition at line 124 of file Fov.cs.
Referenced by Perform(), SetVisible(), and TraceLine().
|
inline |
Definition at line 114 of file Fov.cs.
References lastPoints.
Referenced by AI_Fish.Run().
|
inline |
Definition at line 139 of file Fov.cs.
References EClass._map, _power, EClass._zone, b, Card.Cell, ClearVisible(), g, Map.GetCell(), GetVisDistance(), Cell.hasDoor, Cell.HasWall, isPC, Cell.isSeen, lastPoints, map, newPoints, origin, EClass.pc, r, range, Cell.room, Map.SetSeen(), SetVisible(), MapBounds.Size, TraceLine(), WidgetMinimap.UpdateMap(), Zone.UseFog, Cell.x, Fov.LevelPoint.X, x, Fov.LevelPoint.Y, y, and Cell.z.
Referenced by Card.CalculateFOV(), and Card.ClearFOV().
|
inline |
Definition at line 42 of file Fov.cs.
References _power, Map.cells, GetVisDistance(), SceneProfile.global, isPC, lastPoints, Cell.light, limitGradient, map, nonGradientMod, origin, Cell.outOfBounds, Scene.profile, range, EClass.scene, MapBounds.Size, Fov.LevelPoint.X, x, Fov.LevelPoint.Y, and y.
Referenced by Perform(), and TraceLine().
|
inlineprivate |
Definition at line 221 of file Fov.cs.
References Cell.blockSight, Map.cells, GetVisDistance(), if(), map, origin, range, SetVisible(), Fov.LevelPoint.X, x, Fov.LevelPoint.Y, and y.
Referenced by Perform().
|
static |
Definition at line 24 of file Fov.cs.
Referenced by Perform(), and SetVisible().
| byte Fov.b |
Definition at line 30 of file Fov.cs.
Referenced by ClearVisible(), Card.CreateFov(), and Perform().
| byte Fov.g |
Definition at line 28 of file Fov.cs.
Referenced by ClearVisible(), Card.CreateFov(), and Perform().
| bool Fov.isPC |
Definition at line 32 of file Fov.cs.
Referenced by ClearVisible(), Perform(), and SetVisible().
| Dictionary<int, byte> Fov.lastPoints = new Dictionary<int, byte>() |
Definition at line 36 of file Fov.cs.
Referenced by Chara.CanSee(), Chara.CanSeeLos(), Chara.CanSeeSimple(), Card.ClearFOV(), ClearVisible(), TileMapElona.DrawTile(), Card.ForeachFOV(), ListPoints(), Perform(), and SetVisible().
| bool Fov.limitGradient |
Definition at line 34 of file Fov.cs.
Referenced by SetVisible().
|
static |
Definition at line 18 of file Fov.cs.
Referenced by ClearVisible(), Perform(), SetVisible(), and TraceLine().
|
static |
Definition at line 14 of file Fov.cs.
Referenced by SetVisible().
|
static |
Definition at line 20 of file Fov.cs.
Referenced by Perform(), SetVisible(), and TraceLine().
| byte Fov.r |
Definition at line 26 of file Fov.cs.
Referenced by ClearVisible(), Card.CreateFov(), and Perform().
|
static |
Definition at line 22 of file Fov.cs.
Referenced by Perform(), SetVisible(), and TraceLine().
|
staticprivate |
Definition at line 38 of file Fov.cs.
Referenced by Perform(), SetVisible(), and TraceLine().
|
staticprivate |
Definition at line 40 of file Fov.cs.
Referenced by Perform(), SetVisible(), and TraceLine().