Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
GameScreen Class Reference
Inheritance diagram for GameScreen:
BaseGameScreen EMono

Public Member Functions

override void OnActivate ()
 
override void SetUnitSize ()
 
- Public Member Functions inherited from BaseGameScreen
void Activate ()
 
virtual void OnActivate ()
 
void Deactivate ()
 
virtual void OnDeactivate ()
 
virtual void SetUnitSize ()
 
virtual void OnEndPlayerTurn ()
 
void Draw ()
 
void UpdateShaders (float time=0f)
 
virtual void OnChangeHour ()
 
virtual void RefreshPosition ()
 
void RefreshAll ()
 
void RefreshScreenSize ()
 
Point GetRandomPoint ()
 
void RefreshSky ()
 
virtual void RefreshWeather ()
 
void RefreshGrading ()
 
void RefreshTilt ()
 
void ScrollMouse (float x, float y)
 
void ScrollAxis (Vector3 axis, bool direct=false)
 
void Focus (Int3 ints)
 
void Focus (int x, int y)
 
void Focus (Card c)
 
void FocusCenter ()
 
void Focus (Point pos)
 
void FocusPC ()
 
void FocusImmediate (Point pos)
 
void SnapScreen (ref Vector3 v, float zoom)
 
void SetZoom (float z)
 
void SetTargetZoomIndex (int index)
 
void ModTargetZoomIndex (int a)
 

Public Attributes

Transform[] moons
 
RenderData renderTempEQ
 
- Public Attributes inherited from BaseGameScreen
float SharpenAmount
 
float camSpeed2
 
float heightLight
 
float pushbackSpeed
 
Vector2 snapSize
 
Vector2 tileSize
 
Vector2 tileAlign
 
Vector2 tileWorldSize
 
Vector2 tileViewSize
 
Vector3 tileWeight
 
Vector3 focusFix
 
Vector3 tileOffsetHeight
 
Vector3 tileWeightHeight
 
Vector3 planeAngle
 
Vector3 planeSpeed
 
Vector2 paddings
 
Vector2 paddingOffset
 
Vector3 lastPos
 
Rect mapLimit
 
float Zoom
 
float nextMove
 
float focusSpeed
 
float focusSpeedSlow
 
float focusSpeedSlow2
 
int width
 
int height
 
int scrollX
 
int scrollY
 
int moonLevel
 
BaseTileMap tileMap
 
BaseTileSelector tileSelector
 
ScreenGuide guide
 
Grid grid
 
MeshRenderer overlayShadow
 
PCOrbit pcOrbit
 
float forcePrecision
 
bool isCameraMoving
 
FocusOption focusOption
 
Vector3? focusPos
 
Vector3 position
 
float screenFixX
 
float screenFixX2
 
float screenFixX3
 
float screenFixX4
 
float screenFixY
 
float screenFixY2
 
float screenFixY3
 
float screenFixY4
 
bool instantFocus
 
int targetZoomIndex
 
float targetZoom = 0.5f
 
float zoomTimer
 
Vector3 zoomPos
 

Properties

override bool IsLocalMap [get]
 
- Properties inherited from BaseGameScreen
bool fixFocus [get]
 
virtual float TargetZoom [get]
 
CameraSupport camSupport [get]
 
Transform transFocus [get]
 
virtual float SkyRate [get]
 
virtual float ViewHeight [get]
 
virtual bool IsGameScreen [get]
 
virtual bool IsLocalMap [get]
 
- Properties inherited from EMono
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 Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SoundManager Sound [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static CoreDebug debug [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from EMono
static int rnd (int a)
 
- Static Public Attributes inherited from EMono
static Core core
 
- Protected Attributes inherited from BaseGameScreen
Vector3 camPos
 
Vector3 pushBack
 

Detailed Description

Definition at line 3 of file GameScreen.cs.

Member Function Documentation

◆ OnActivate()

override void GameScreen.OnActivate ( )
inlinevirtual

Reimplemented from BaseGameScreen.

Definition at line 11 of file GameScreen.cs.

12 {
13 bool indoor = EMono._map.config.indoor;
14 moons[0].SetLocalPositionY((float)moonLevel * (0f - planeSpeed.y));
15 moons[1].SetLocalPositionY((float)moonLevel * (0f - planeSpeed.y) + 1.4f);
16 Transform[] array = moons;
17 for (int i = 0; i < array.Length; i++)
18 {
19 array[i].SetActive(!indoor);
20 }
22 }
Vector3 planeSpeed
Definition: EMono.cs:4
static Scene scene
Definition: EMono.cs:27
static Map _map
Definition: EMono.cs:17
Transform[] moons
Definition: GameScreen.cs:5
bool indoor
Definition: MapConfig.cs:29
MapConfig config
Definition: Map.cs:37
void RefreshBG()
Definition: Scene.cs:785

References EMono._map, Map.config, MapConfig.indoor, BaseGameScreen.moonLevel, moons, BaseGameScreen.planeSpeed, Scene.RefreshBG(), and EMono.scene.

◆ SetUnitSize()

override void GameScreen.SetUnitSize ( )
inlinevirtual

Reimplemented from BaseGameScreen.

Definition at line 24 of file GameScreen.cs.

25 {
26 tileAlign = new Vector2(tileSize.x * 0.005f, tileSize.y * 0.005f);
27 tileWorldSize = new Vector2(tileSize.x * 0.01f, tileSize.y * 0.01f);
28 float x = tileSize.x;
29 float num = 100f / x;
30 float num2 = num * 100f;
31 float num3 = num * 100f / 4f;
32 tileViewSize = new Vector2(num2 * 0.01f, num3 * 0.01f);
33 }
Vector2 tileWorldSize
Vector2 tileViewSize

References BaseGameScreen.tileAlign, BaseGameScreen.tileSize, BaseGameScreen.tileViewSize, and BaseGameScreen.tileWorldSize.

Member Data Documentation

◆ moons

Transform [] GameScreen.moons

Definition at line 5 of file GameScreen.cs.

Referenced by OnActivate().

◆ renderTempEQ

RenderData GameScreen.renderTempEQ

Definition at line 7 of file GameScreen.cs.

Referenced by CharaActorPCC.OnRender(), and Chara.SetTempHand().

Property Documentation

◆ IsLocalMap

override bool GameScreen.IsLocalMap
get

Definition at line 9 of file GameScreen.cs.


The documentation for this class was generated from the following file: