Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
virtual int | TopHeight (Point p) |
virtual void | SEExecuteSummary () |
virtual bool | HighlightWall (Point p) |
virtual void | OnClickSubMenu (int a) |
virtual string | OnSetSubMenuButton (int a, UIButton b) |
virtual bool | IsRoofEditMode (Card c=null) |
virtual bool | IsFillMode () |
virtual int | GetDefaultTile (Point p) |
virtual void | OnShowExtraHint (UINote n) |
void | Activate (bool toggle=true, bool forceActivate=false) |
virtual void | OnActivate () |
void | RefreshTexts () |
virtual string | GetSimpleText (Card c) |
void | ClearSimpleTexts () |
void | Deactivate () |
virtual void | OnDeactivate () |
virtual void | OnCancel () |
virtual void | OnBeforeUpdate () |
virtual void | OnAfterUpdate () |
virtual void | OnUpdateCursor () |
void | OnRotate () |
void | SetCursorOnMap (CursorInfo cursor) |
void | UpdateInput () |
void | InputMovement () |
virtual void | InputWheel (int wheel) |
virtual void | OnUpdateInput () |
void | DoFunc (CoreConfig.GameFuncBuild func) |
bool | IsFuncPressed (CoreConfig.GameFunc func) |
void | DoFunc (CoreConfig.GameFunc func) |
virtual void | OnScroll () |
void | TryRightClickCloseWidget () |
bool | TryShowWidgetMenu () |
HitResult | _HitTest (Point point, Point start) |
virtual HitResult | HitTest (Point point, Point start) |
virtual void | OnSelectStart (Point point) |
virtual void | OnSelectEnd (bool cancel) |
virtual MeshPass | GetGuidePass (Point point) |
virtual void | OnRenderTile (Point point, HitResult result, int dir) |
void | OnRenderTileFloor (Point point, HitResult result) |
virtual bool | CanProcessTiles () |
virtual void | OnBeforeProcessTiles () |
virtual void | OnProcessTiles (Point point, int dir) |
virtual void | OnAfterProcessTiles (Point start, Point end) |
virtual void | OnFinishProcessTiles () |
virtual void | OnRefreshSummary (Point point, HitResult result, HitSummary summary) |
void | ShowLayer () |
virtual Layer | OnShowLayer () |
void | HideLayer () |
virtual void | OnHideLayer () |
virtual string | GetHintText () |
virtual void | RotateUnderMouse () |
virtual ref string | SetMouseInfo (ref string s) |
void | TogglePause () |
void | Pause (bool sound=false) |
void | UnPause (bool sound=false) |
void | ChangeGameSpeed (int a, bool sound=false) |
Static Public Member Functions | |
static void | OnGameInstantiated () |
![]() | |
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 | |
Layer | layer |
int | brushRadius = 4 |
Static Protected Attributes | |
static Vector3 | mpos |
Properties | |
static AM_Adv | AdvOrRegion [get] |
static bool | IsAdv [get] |
virtual float | gameSpeed [get] |
bool | IsActive [get] |
virtual BaseTileSelector.HitType | hitType [get] |
virtual BaseTileSelector.SelectType | selectType [get] |
virtual BaseTileSelector.BoxType | boxType [get] |
virtual bool | ContinuousClick [get] |
virtual int | hitW [get] |
virtual int | hitH [get] |
HitSummary | Summary [get] |
bool | Multisize [get] |
virtual string | id [get] |
virtual CursorInfo | DefaultCursor [get] |
virtual string | idHelpTopic [get] |
virtual string | idSound [get] |
virtual bool | enableMouseInfo [get] |
virtual bool | hideBalloon [get] |
virtual string | textHintTitle [get] |
virtual bool | AllowAutoClick [get] |
virtual bool | ShowActionHint [get] |
virtual bool | ShowMouseoverTarget [get] |
virtual AreaHighlightMode | AreaHihlight [get] |
virtual bool | CanSelectTile [get] |
virtual bool | CanTargetOutsideBounds [get] |
virtual bool | ShouldPauseGame [get] |
virtual bool | FixFocus [get] |
virtual bool | HideSubWidgets [get] |
virtual bool | IsBuildMode [get] |
virtual bool | ShowBuildWidgets [get] |
virtual BuildMenu.Mode | buildMenuMode [get] |
virtual bool | ShouldHideBuildMenu [get] |
virtual bool | CanTargetFog [get] |
virtual int | CostMoney [get] |
virtual bool | AllowBuildModeShortcuts [get] |
virtual bool | AllowMiddleClickFunc [get] |
virtual bool | AllowHotbar [get] |
virtual bool | AllowGeneralInput [get] |
virtual bool | ShowMaskedThings [get] |
virtual int | SelectorHeight [get] |
virtual bool | AllowWheelZoom [get] |
virtual float | TargetZoom [get] |
virtual BaseTileMap.CardIconMode | cardIconMode [get] |
virtual BaseGameScreen | TargetGameScreen [get] |
virtual bool | IsNoMap [get] |
virtual bool | UseSubMenu [get] |
virtual bool | UseSubMenuSlider [get] |
virtual bool | SubMenuAsGroup [get] |
virtual int | SubMenuModeIndex [get] |
virtual bool | ShowExtraHint [get] |
BaseTileSelector | tileSelector [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] |
Static Private Attributes | |
static float | smoothX = 0f |
static float | smoothY = 0f |
static float | textTimer = 0f |
static float | focusTimer |
Definition at line 5 of file ActionMode.cs.
Definition at line 1233 of file ActionMode.cs.
References CanTargetFog, CanTargetOutsideBounds, Point.cell, EClass.debug, HitTest(), CoreDebug.ignoreBuildRule, Point.IsInBoundsPlus, Cell.isSeen, and Point.IsValid.
Referenced by BaseTileSelector._ProcessTile(), and BaseTileSelector.OnUpdate().
|
inline |
Definition at line 339 of file ActionMode.cs.
References EClass._map, Scene.actionMode, BaseGameScreen.Activate(), BuildMenu.Activate(), Activate(), Game.altUI, Map.charas, ClearSimpleTexts(), EInput.Consume(), EClass.core, BuildMenu.Deactivate(), DefaultMode, EClass.game, hideBalloon, Scene.hideBalloon, idSound, ignoreSound, BuildMenu.Instance, IsBuildMode, Core.IsGameStarted, item, LastBuildMode, NoMap, OnActivate(), OnDeactivate(), RefreshTexts(), EClass.scene, TerrainMenu.Show(), ShowLayer(), EClass.Sound, TargetGameScreen, BuildMenu.terrainMenu, Map.things, EClass.ui, and Scene.UpdateCursor().
Referenced by AM_Sim._OnUpdateInput(), Activate(), Deactivate(), DoFunc(), LayerNewZone.Embark(), HotItemActionMode.Execute(), Scene.Init(), LayerGacha.OnAfterInit(), LayerHoard.OnAfterInit(), ELayer.OnBeforeAddLayer(), AM_CreateArea.OnCancel(), AM_ExpandArea.OnCancel(), UIHangIcon.OnClick(), LayerNewZone.OnClickExit(), BuildMenu.OnClickPicker(), LayerGacha.OnKill(), LayerHoard.OnKill(), TraitBlueprint.OnRead(), AM_Paint.OnUpdateInput(), TraitViewMap.OnUse(), BuildMenu.RefreshCategoryArea(), AM_Copy.RefreshMenu(), ZoneInspector.RefreshScreen(), AM_Paint.SetPainter(), BuildMenu.Toggle(), Scene.ToggleBirdView(), and UpdateInput().
|
inlinevirtual |
Reimplemented in AM_Designation< T >.
Definition at line 1318 of file ActionMode.cs.
References HitSummary.countValid, hitH, hitW, Multisize, and Summary.
Referenced by BaseTileSelector.OnUpdate(), and BaseTileSelector.TryProcessTiles().
|
inline |
Definition at line 1479 of file ActionMode.cs.
References EClass.game, Game.gameSpeedIndex, and WidgetHotbar.RefreshHighlights().
Referenced by HotItemSpeed.OnClick(), Pause(), and UnPause().
|
inline |
Definition at line 517 of file ActionMode.cs.
References PoolManager.Despawn(), and simpleTexts.
Referenced by Activate(), and RefreshTexts().
|
inline |
Definition at line 529 of file ActionMode.cs.
References Activate(), and DefaultMode.
Referenced by AM_ADV_Target._OnUpdateInput(), OnCancel(), AM_Copy.OnCancel(), AM_ViewMap.OnCancel(), Scene.OnKillGame(), AM_Blueprint.OnSave(), AM_Bird.OnUpdateInput(), AM_Paint.OnUpdateInput(), AM_Select.OnUpdateInput(), Scene.ToggleBirdView(), and CoreDebug.UpdateInput().
|
inline |
Definition at line 1101 of file ActionMode.cs.
References EClass._zone, Adv, Zone.CanEnterBuildModeAnywhere, CoreRef.Rects.center, ACT.Chat, Game.config, EInput.Consume(), EClass.core, LayerInventory.CreateContainer(), Layer.Delay(), Card.Dist(), Point.Equals(), EClass.game, Chara.HasNoGoal, Chara.hostility, WidgetCurrentTool.Instance, Chara.IsPC, Chara.IsPCFaction, EInput.keyFire, Scene.mouseTarget, Game.Config.noRoof, EClass.pc, ActChat.Perform(), Card.pos, PointTarget.pos, CoreRef.rects, Core.refs, Msg.Say(), EClass.scene, LayerChara.SetChara(), AM_Adv.ShowAllAction(), WidgetCurrentTool.SwitchPage(), PointTarget.TargetChara, BuildMenu.Toggle(), AM_Adv.ToggleZoom(), EClass.ui, EInput.KeyboardPress.Update(), and Layer.windows.
|
inline |
Definition at line 1033 of file ActionMode.cs.
References Activate(), AM_Picker.CanActivate, DefaultMode, OnRotate(), Picker, WidgetHotbar.RefreshHighlights(), EClass.scene, Scene.ToggleFreePos(), Scene.ToggleLight(), Scene.ToggleShowRoof(), Scene.ToggleShowWall(), Scene.ToggleSlope(), and Scene.ToggleSnapFreePos().
Referenced by AM_Adv._OnUpdateInput(), and UpdateInput().
|
inlinevirtual |
Reimplemented in AM_Adv.
Definition at line 321 of file ActionMode.cs.
Referenced by OnRenderTile(), and OnRenderTileFloor().
Reimplemented in AM_BaseTerrain, AM_Deconstruct, and AM_RemoveDesignation.
Definition at line 1263 of file ActionMode.cs.
References BaseGameScreen.guide, Point.HasBlockRecipe, Point.HasNonWallBlock, IsBuildMode, Point.IsSeen, ScreenGuide.passGuideBlock, ScreenGuide.passGuideFloor, EClass.screen, and Point.sourceBlock.
Referenced by PartialMap.Apply(), OnRenderTile(), and OnRenderTileFloor().
|
inlinevirtual |
Reimplemented in AM_BaseGameMode.
Definition at line 1387 of file ActionMode.cs.
References Scene.actionMode, Build, Recipe.CanRotate, CreateArea, Lang.Get(), Inspect, layer, AM_Build.MaxAltitude, AM_Build.recipe, EClass.scene, EClass.screen, selectType, BaseTileSelector.start, textHintTitle, and BaseGameScreen.tileSelector.
Referenced by ActionHint.UpdateText().
|
inlinevirtual |
Reimplemented in AM_EditMarker.
Definition at line 508 of file ActionMode.cs.
References Card.Cell, BaseArea.data, AreaData.group, Cell.room, and Card.trait.
Referenced by RefreshTexts().
|
inline |
Definition at line 1375 of file ActionMode.cs.
References layer, OnHideLayer(), CursorSystem.Select, CursorSystem.SetCursor(), and EClass.ui.
|
inlinevirtual |
Reimplemented in AM_Adv.
Definition at line 297 of file ActionMode.cs.
Referenced by OnRenderTile().
Reimplemented in AM_BaseGameMode, AM_BaseTerrain, AM_Copy, AM_CreateArea, AM_Deconstruct, AM_Designation< T >, AM_EditArea, AM_EditMarker, AM_ExpandArea, AM_FlagCell, AM_Picker, AM_RemoveDesignation, AM_StateEditor, and AM_Visibility.
Definition at line 1250 of file ActionMode.cs.
Referenced by _HitTest().
|
inline |
Definition at line 934 of file ActionMode.cs.
References Scene.actionMode, Adv, EInput.axis, EInput.buttonScroll, CoreConfig.camera, Core.config, EClass.core, CoreConfig.CameraConfig.edgeScroll, FixFocus, EInput.hasAxisMoved, EInput.hasMouseMoved, InputWheel(), CoreConfig.CameraConfig.invertX, CoreConfig.CameraConfig.invertY, IsActive, IsBuildMode, Core.IsGameStarted, CoreConfig.CameraConfig.momentum, mpos, OnScroll(), ButtonState.pressing, EInput.rightMouse, EClass.scene, EClass.screen, BaseGameScreen.ScrollAxis(), BaseGameScreen.ScrollMouse(), CoreConfig.CameraConfig.sensDrag, smoothX, smoothY, EClass.ui, EInput.wheel, and AM_Adv.zoomOut.
Referenced by LayerEmbark.Update(), and UpdateInput().
|
inlinevirtual |
Definition at line 1021 of file ActionMode.cs.
References AllowWheelZoom, BaseGameScreen.ModTargetZoomIndex(), and EClass.screen.
Referenced by InputMovement().
|
inlinevirtual |
Definition at line 316 of file ActionMode.cs.
Referenced by BaseTileSelector.OnUpdate(), BaseTileSelector.RefreshMouseInfo(), and BaseTileSelector.TryProcessTiles().
|
inline |
Definition at line 1071 of file ActionMode.cs.
References ButtonState.clicked, Core.config, EClass.core, CoreConfig.input, EInput.middleMouse, EInput.mouse3, EInput.mouse4, and ButtonState.pressedLong.
Referenced by WidgetSearch.Update().
|
inlinevirtual |
Reimplemented in AM_Deconstruct.
Definition at line 311 of file ActionMode.cs.
Referenced by Recipe.Build(), RecipeCard.Build(), TileTypeWallHang.GetDesiredDir(), TaskBuild.GetHitResult(), TaskMoveInstalled.GetHitResult(), BaseTileMap.GetThingPosition(), Point.ListCards(), Recipe.OnRenderMarker(), OnRenderTile(), BaseTileSelector.RefreshMouseInfo(), Card.RenderMarker(), Card.SetFreePos(), and PointTarget.ShouldIgnore().
|
inlinevirtual |
Reimplemented in AM_Adv, AM_ADV_Target, AM_Bird, AM_Cinema, AM_Copy, AM_Designation< T >, AM_EloMap, AM_NewZone, AM_NoMap, AM_Paint, AM_ViewMap, and AM_ViewZone.
Definition at line 413 of file ActionMode.cs.
Referenced by Activate().
Reimplemented in AM_BaseTerrain, AM_Copy, AM_CreateArea, and AM_Designation< T >.
Definition at line 1335 of file ActionMode.cs.
Referenced by BaseTileSelector.TryProcessTiles().
|
inlinevirtual |
Reimplemented in AM_Adv.
Definition at line 550 of file ActionMode.cs.
Referenced by Scene.OnUpdate().
|
inlinevirtual |
Reimplemented in AM_Designation< T >.
Definition at line 1327 of file ActionMode.cs.
Referenced by BaseTileSelector.TryProcessTiles().
|
inlinevirtual |
Reimplemented in AM_Adv.
Definition at line 546 of file ActionMode.cs.
Referenced by Scene.OnUpdate().
|
inlinevirtual |
Reimplemented in AM_BaseGameMode, AM_Copy, AM_CreateArea, AM_ExpandArea, and AM_ViewMap.
Definition at line 538 of file ActionMode.cs.
References Core.config, EClass.core, Deactivate(), CoreConfig.input, IsBuildMode, and CoreConfig.InputSetting.rightClickExitBuildMode.
Referenced by BaseTileSelector.OnUpdate().
|
inlinevirtual |
Reimplemented in AM_Copy, AM_Deconstruct, AM_FlagCell, AM_Populate, and AM_Terrain.
Definition at line 302 of file ActionMode.cs.
Referenced by TerrainMenu.Show().
|
inlinevirtual |
Reimplemented in AM_Adv, AM_Bird, AM_Cinema, AM_Copy, AM_CreateArea, AM_EditMarker, AM_ExpandArea, AM_NoMap, AM_Paint, and AM_ViewMap.
Definition at line 534 of file ActionMode.cs.
Referenced by Activate().
|
inlinevirtual |
Definition at line 1339 of file ActionMode.cs.
Referenced by BaseTileSelector.TryProcessTiles().
|
inlinestatic |
Definition at line 247 of file ActionMode.cs.
References Adv, AdvTarget, Bird, Blueprint, Build, Cinema, Copy, CreateArea, Cut, Deconstruct, DefaultMode, Dig, EditArea, EditMarker, ExpandArea, FlagCell, Harvest, Inspect, LastBuildMode, Mine, NewZone, NoMap, Paint, Picker, Populate, RemoveDesignation, Select, Sim, StateEditor, Terrain, View, ViewMap, and Visibility.
Referenced by Game.OnGameInstantiated().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in AM_CreateArea, AM_Deconstruct, AM_Designation< T >, AM_EditArea, AM_EditMarker, AM_ExpandArea, AM_FlagCell, AM_Picker, AM_Populate, AM_RemoveDesignation, AM_StateEditor, AM_Terrain, and AM_Visibility.
Definition at line 1331 of file ActionMode.cs.
Referenced by BaseTileSelector._ProcessTile(), and BaseTileSelector.TryProcessTiles().
|
inlinevirtual |
Reimplemented in AM_Designation< T >, and AM_Select.
Definition at line 1343 of file ActionMode.cs.
References CostMoney, and HitSummary.countValid.
Referenced by BaseTileSelector._ProcessTile().
Reimplemented in AM_Adv, AM_BaseTerrain, AM_Copy, AM_Picker, AM_Region, and AM_ViewZone.
Definition at line 1272 of file ActionMode.cs.
References MeshPass.Add(), ColorProfile.blockColors, CanTargetFog, Point.cell, EClass.Colors, ScreenGuide.DrawWall(), GetDefaultTile(), GetGuidePass(), BaseGameScreen.guide, Cell.hasDoor, Point.HasWallOrFence, HighlightWall(), Inspect, Point.Installed, IsBuildMode, IsRoofEditMode(), Point.IsSeen, Point.IsValid, Trait.OnRenderTile(), ColorProfile.BlockColors.Passive, Point.Position(), EClass.screen, BaseTileSelector.start, tileSelector, BaseGameScreen.tileSelector, and Card.trait.
Referenced by BaseTileSelector._ProcessTile().
Definition at line 1299 of file ActionMode.cs.
References MeshPass.Add(), CanTargetFog, Point.cell, GetDefaultTile(), GetGuidePass(), Cell.height, Point.IsSeen, Point.IsValid, Point.Position(), BaseTileSelector.start, and tileSelector.
|
inline |
Definition at line 560 of file ActionMode.cs.
References RotateUnderMouse().
Referenced by DoFunc().
|
inlinevirtual |
Reimplemented in AM_ViewZone.
Definition at line 1204 of file ActionMode.cs.
Referenced by InputMovement().
|
inlinevirtual |
Reimplemented in AM_Copy.
Definition at line 1259 of file ActionMode.cs.
Referenced by BaseTileSelector.OnUpdate(), and BaseTileSelector.TryProcessTiles().
|
inlinevirtual |
Reimplemented in AM_Copy, AM_CreateArea, and AM_ExpandArea.
Definition at line 1255 of file ActionMode.cs.
Referenced by BaseTileSelector.OnUpdate().
|
inlinevirtual |
Reimplemented in AM_Copy, AM_Deconstruct, AM_FlagCell, AM_Populate, and AM_Terrain.
Definition at line 306 of file ActionMode.cs.
Referenced by TerrainMenu.Show().
|
inlinevirtual |
Definition at line 326 of file ActionMode.cs.
References UINote.AddText(), Color, and Lang.GetList().
Referenced by ExtraHint.Refresh().
|
inlinevirtual |
Definition at line 1370 of file ActionMode.cs.
Referenced by ShowLayer().
|
inlinevirtual |
Reimplemented in AM_Adv, AM_CreateArea, AM_Deconstruct, AM_EditArea, AM_ExpandArea, AM_Picker, AM_RemoveDesignation, and AM_StateEditor.
Definition at line 554 of file ActionMode.cs.
References CursorSystem.SetCursor().
Referenced by UI.OnChangeLayer(), and Scene.UpdateCursor().
|
inlinevirtual |
Reimplemented in AM_BaseGameMode, AM_BaseTerrain, AM_Bird, AM_Cinema, AM_Copy, AM_Paint, and AM_Select.
Definition at line 1029 of file ActionMode.cs.
Referenced by UpdateInput().
|
inline |
Definition at line 1469 of file ActionMode.cs.
References ChangeGameSpeed().
Referenced by Scene.FocusAndPause().
|
inline |
Definition at line 417 of file ActionMode.cs.
References EClass._map, EClass._zone, Map.backerObjs, SourceManager.backers, card, Map.Cards, Point.cell, Map.charas, Spatial.children, ClearSimpleTexts(), EClass.core, Spatial.destryoed, Map.GetCell(), Cell.GetPoint(), GetSimpleText(), IsBuildMode, Spatial.isConquered, Spatial.isDeathLocation, Core.IsGameStarted, Spatial.IsPlayerFaction, Spatial.isRandomSite, Spatial.IsRegion, SourceBacker.Row.isStatic, item, SourceBacker.Row.Name, Point.Position(), Point.PositionTopdown(), Core.refs, Spatial.RegionPos, GameSetting.render, Popper.SetText(), EClass.setting, ShowMaskedThings, GameSetting.RenderSetting.TCSetting.simpleTextPos, simpleTexts, EClass.sources, TCSimpleText.Spawn(), TCSimpleText.SpawnIcon(), CoreRef.TCs.spriteConquer, CoreRef.TCs.spriteDeath, CoreRef.TCs.spriteVisited, GameSetting.RenderSetting.tc, CoreRef.tcs, Map.things, TCSimpleText.tm, and Spatial.visitCount.
Referenced by Activate(), and UpdateInput().
|
inlinevirtual |
Reimplemented in AM_Copy.
Definition at line 1421 of file ActionMode.cs.
References Point.cell, EClass.debug, CoreDebug.enable, GrowSystem.Grow(), Point.growth, Scene.HitPoint, Point.Installed, Point.IsValid, Cell.RotateAll(), and Card.trait.
Referenced by OnRotate().
|
inlinevirtual |
Reimplemented in AM_BaseTerrain.
Definition at line 292 of file ActionMode.cs.
Referenced by BaseTileSelector.ExecuteSummary().
|
inline |
Definition at line 565 of file ActionMode.cs.
References CursorSystem.SetCursor(), and EClass.ui.
Referenced by AM_CreateArea.OnUpdateCursor(), AM_Deconstruct.OnUpdateCursor(), AM_EditArea.OnUpdateCursor(), AM_ExpandArea.OnUpdateCursor(), AM_Picker.OnUpdateCursor(), AM_RemoveDesignation.OnUpdateCursor(), and AM_StateEditor.OnUpdateCursor().
|
inlinevirtual |
Reimplemented in AM_Select.
Definition at line 1440 of file ActionMode.cs.
Referenced by BaseTileSelector.RefreshMouseInfo().
|
inline |
Definition at line 1352 of file ActionMode.cs.
References EClass.core, DefaultCursor, layer, BaseTileSelector.OnChangeActionMode(), OnShowLayer(), Core.screen, CursorSystem.SetCursor(), BaseGameScreen.tileSelector, and EClass.ui.
Referenced by Activate().
|
inline |
Definition at line 1445 of file ActionMode.cs.
References CoreConfig.GameConfig.autopause, Core.config, EClass.core, CoreConfig.game, EClass.game, Game.gameSpeedIndex, IsAdv, Pause, and UnPause().
|
inlinevirtual |
Reimplemented in AM_Terrain.
Definition at line 287 of file ActionMode.cs.
Referenced by BaseTileSelector.RefreshMouseInfo().
|
inline |
Definition at line 1208 of file ActionMode.cs.
References Widget.Close(), and Widget.RightClickToClose.
|
inline |
Definition at line 1217 of file ActionMode.cs.
References Widget.CanShowContextMenu(), Widget.Close(), Widget.RightClickToClose, and Widget.ShowContextMenu().
Referenced by UpdateInput().
|
inline |
Definition at line 1474 of file ActionMode.cs.
References ChangeGameSpeed(), EClass.game, and Game.lastGameSpeedIndex.
Referenced by TogglePause().
|
inline |
Definition at line 570 of file ActionMode.cs.
References EInput.action, Scene.actionMode, Activate(), Card.AddThing(), AdvOrRegion, AllowBuildModeShortcuts, AllowGeneralInput, AllowHotbar, CoreConfig.UISetting.autoFocusWindow, CoreConfig.InputSetting.b_middleClick, CoreConfig.InputSetting.b_middlePressLong, CoreConfig.InputSetting.b_mouse3Click, CoreConfig.InputSetting.b_mouse3PressLong, CoreConfig.InputSetting.b_mouse4Click, CoreConfig.InputSetting.b_mouse4PressLong, EInput.buttonCtrl, AM_Picker.CanActivate, UIButton.CanMiddleClick(), InvOwner.CanShiftClick(), ButtonGrid.card, card, PointTarget.card, Point.cell, Card.ChangeMaterial(), LayerAbility.ClearHotElement(), ButtonState.clicked, LayerInventory.Close(), Core.config, ButtonState.Consume(), EInput.Consume(), InvOwner.Container, EClass.core, ThingGen.Create(), DropdownGrid.Deactivate(), Core.debug, EClass.debug, CoreDebug.debugHotkeys, Core.delta, Card.Destroy(), DoFunc(), CoreConfig.GameConfig.doubleClickToHold, ButtonState.down, ButtonState.dragging2, Card.Dye(), Card.DyeMat, CoreDebug.enable, FixFocus, focusTimer, EInput.functionkey, CoreConfig.game, LayerInventory.GetLayer(), CoreDebug.godBuild, Point.HasObj, Scene.HitPoint, WidgetHotbar.HotbarExtra, LayerAbility.hotElement, hotElementTimer, EInput.hotkey, SourceMaterial.Row.id, ButtonGrid.index, CoreConfig.input, InputMovement(), DropdownGrid.Instance, LayerDrama.Instance, WidgetCurrentTool.Instance, WidgetMouseover.Instance, ButtonGrid.invOwner, LayerInventory.invs, DropdownGrid.IsActive, EInput.isAltDown, EInput.IsAnyKeyDown(), IsBuildMode, EInput.isCancel, EInput.isCtrlDown, Card.isDyed, Card.IsInstalled, IsNoMap, EInput.isShiftDown, Card.isThing, Point.IsValid, lastEditorMat, EInput.leftMouse, Card.material, SourceManager.materials, Cell.matObj, EInput.middleMouse, EInput.mouse3, EInput.mouse4, CoreConfig.InputSetting.mouse4Click, CoreConfig.InputSetting.mouse4PressLong, Scene.mouseTarget, mpos, UIButton.OnMiddleClick(), InvOwner.OnShiftClick(), OnUpdateInput(), EClass.pc, Picker, EClass.player, ButtonState.pressedLong, ButtonState.pressedLongAction, ButtonState.pressing, LayerCraft.product, UIItem.refObj, WidgetMouseover.Refresh(), RefreshTexts(), EInput.rightMouse, Msg.Say(), EClass.scene, WidgetCurrentTool.Select(), Player.SetCurrentHotItem(), CardBlueprint.SetNormalRarity(), ButtonAbility.source, EClass.sources, WidgetCurrentTool.SwitchPage(), HotItemHeld.taskBuild, textTimer, SourceMaterial.Row.thing, Scene.ToggleMuteBGM(), TryShowWidgetMenu(), WidgetHotbar.TryUse(), CoreConfig.ui, EClass.ui, PointTarget.Update(), CoreDebug.UpdateInput(), AM_Adv.UpdatePlans(), EInput.waitReleaseAnyKey, EInput.wheel, and Layer.windows.
Referenced by Scene.OnUpdate().
|
static |
Definition at line 15 of file ActionMode.cs.
Referenced by InvOwner.AutoUse(), HotItemHeld.CanRotate(), Thing.DoAct(), UIInventory.DoAct(), DoFunc(), Scene.Init(), InputMovement(), Widget.Config.IsInRightMode(), Chara.Kick(), LayerCraft.OnClickCraft(), OnGameInstantiated(), BaseTileSelector.OnUpdate(), HotItemFocusPos.Perform(), ActPlan.Item.Perform(), LayerCraftFloat.RefreshCraft(), WidgetSearch.RefreshList(), BaseGameScreen.RefreshPosition(), GameScreenElona.RefreshPosition(), ZoneInspector.RefreshScreen(), AIProgress.Run(), GoalCombat.Run(), TaskPoint.Run(), WidgetCurrentTool.Select(), HotItemContext.Show(), AIAct.Start(), Chara.Tick(), AI_Goto.TryGoTo(), Map.TryShatter(), and LayerCraft.WaitUntilIdle().
|
static |
Definition at line 19 of file ActionMode.cs.
Referenced by OnGameInstantiated().
|
static |
Definition at line 31 of file ActionMode.cs.
Referenced by BaseGameScreen.Draw(), BaseTileMap.Draw(), TileMapElona.Draw(), Widget.Config.IsInRightMode(), OnGameInstantiated(), and Scene.ToggleBirdView().
|
static |
Definition at line 47 of file ActionMode.cs.
Referenced by OnGameInstantiated(), and TraitBlueprint.OnRead().
int ActionMode.brushRadius = 4 |
Definition at line 99 of file ActionMode.cs.
Referenced by TerrainMenu.OnChangeRadius(), AM_Populate.OnProcessTiles(), AM_Terrain.OnProcessTiles(), AM_BaseTerrain.OnRenderTile(), and TerrainMenu.Show().
|
static |
Definition at line 49 of file ActionMode.cs.
Referenced by AM_Adv._OnUpdateInput(), RecipeCard.Build(), RecipeCard.CreateMold(), GetHintText(), AM_MoveInstalled.IsRoofEditMode(), OnGameInstantiated(), TaskBuild.OnProgressComplete(), HotItemHeld.OnRenderTile(), UIPlaceHelper.Refresh(), BuildMenu.RefreshCategory(), HotItemActionMode.ShouldHighlight(), BuildMenu.Toggle(), and HotItemHeld.TrySetAct().
|
static |
Definition at line 73 of file ActionMode.cs.
Referenced by BaseTileMap.Draw(), BaseTileMap.DrawTile(), HotItemActionMode.Execute(), OnGameInstantiated(), HotItemActionMode.ShouldHighlight(), and BaseGameScreen.UpdateShaders().
|
static |
Definition at line 45 of file ActionMode.cs.
Referenced by PartialMap.Apply(), HotItemActionMode.Execute(), OnGameInstantiated(), Map.Save(), and HotItemActionMode.ShouldHighlight().
|
static |
Definition at line 51 of file ActionMode.cs.
Referenced by GetHintText(), OnGameInstantiated(), BuildMenu.RefreshCategoryArea(), and HotItemActionMode.ShouldHighlight().
|
static |
Definition at line 39 of file ActionMode.cs.
Referenced by HotItemActionMode.Execute(), OnGameInstantiated(), and HotItemActionMode.ShouldHighlight().
|
static |
Definition at line 57 of file ActionMode.cs.
Referenced by HotItemActionMode.Execute(), OnGameInstantiated(), and HotItemActionMode.ShouldHighlight().
|
static |
Definition at line 7 of file ActionMode.cs.
Referenced by Activate(), Deactivate(), DoFunc(), HotItemActionMode.Execute(), Widget.Config.IsInRightMode(), ELayer.OnBeforeAddLayer(), UIHangIcon.OnClick(), OnGameInstantiated(), LayerGacha.OnKill(), LayerHoard.OnKill(), and AM_Paint.OnUpdateInput().
|
static |
Definition at line 35 of file ActionMode.cs.
Referenced by HotItemActionMode.Execute(), OnGameInstantiated(), ActionHint.Refresh(), and HotItemActionMode.ShouldHighlight().
|
static |
Definition at line 53 of file ActionMode.cs.
Referenced by HotItemActionMode.Execute(), AM_CreateArea.OnCancel(), AM_ExpandArea.OnCancel(), OnGameInstantiated(), BuildMenu.Refresh(), and HotItemActionMode.ShouldHighlight().
|
static |
Definition at line 69 of file ActionMode.cs.
Referenced by HotItemActionMode.Execute(), OnGameInstantiated(), and HotItemActionMode.ShouldHighlight().
|
static |
Definition at line 21 of file ActionMode.cs.
Referenced by Widget.Config.IsInRightMode(), and LayerNewZone.OnClickExit().
|
static |
Definition at line 55 of file ActionMode.cs.
Referenced by OnGameInstantiated(), AM_EditArea.OnProcessTiles(), InspectGroupArea.OnSetActions(), and HotItemActionMode.ShouldHighlight().
|
static |
Definition at line 77 of file ActionMode.cs.
Referenced by BaseTileMap.Draw(), BaseTileMap.DrawTile(), HotItemActionMode.Execute(), OnGameInstantiated(), and HotItemActionMode.ShouldHighlight().
|
staticprivate |
Definition at line 101 of file ActionMode.cs.
Referenced by UpdateInput().
|
static |
Definition at line 93 of file ActionMode.cs.
|
static |
Definition at line 37 of file ActionMode.cs.
Referenced by OnGameInstantiated().
|
static |
Definition at line 103 of file ActionMode.cs.
Referenced by UpdateInput().
|
static |
Definition at line 83 of file ActionMode.cs.
Referenced by Activate().
|
static |
Definition at line 23 of file ActionMode.cs.
Referenced by HotItemActionMode.Execute(), GetHintText(), LayerInteraction.GetPage(), BaseTileMap.GetThingPosition(), AM_Build.OnCancel(), AM_Build.OnFinishProcessTiles(), OnGameInstantiated(), OnRenderTile(), InspectGroupThing.OnSetActions(), HotItemActionMode.ShouldHighlight(), BuildMenu.Toggle(), TraitToolBuild.TrySetHeldAct(), CoreDebug.UpdateInput(), and ActionHint.UpdateText().
|
static |
Definition at line 79 of file ActionMode.cs.
Referenced by Activate(), OnGameInstantiated(), and BuildMenu.Toggle().
|
static |
Definition at line 81 of file ActionMode.cs.
Referenced by UpdateInput().
Layer ActionMode.layer |
Definition at line 97 of file ActionMode.cs.
Referenced by GetHintText(), HideLayer(), AM_ViewMap.OnActivate(), AM_ViewMap.OnDeactivate(), and ShowLayer().
|
static |
Definition at line 33 of file ActionMode.cs.
Referenced by BaseTileMap.Draw(), TileMapElona.Draw(), TaskMine.DrawMarker(), HotItemActionMode.Execute(), TaskMine.GetHitResult(), Map.MineBlock(), OnGameInstantiated(), TaskMine.OnProgressComplete(), ActionHint.Refresh(), and HotItemActionMode.ShouldHighlight().
|
static |
Definition at line 27 of file ActionMode.cs.
|
staticprotected |
Definition at line 91 of file ActionMode.cs.
Referenced by InputMovement(), and UpdateInput().
|
static |
Definition at line 29 of file ActionMode.cs.
Referenced by Widget.Config.IsInRightMode(), and OnGameInstantiated().
|
static |
Definition at line 25 of file ActionMode.cs.
Referenced by Activate(), BaseWidgetNotice.Add(), Widget.Config.IsInRightMode(), LayerGacha.OnAfterInit(), LayerHoard.OnAfterInit(), and OnGameInstantiated().
|
static |
Definition at line 75 of file ActionMode.cs.
Referenced by OnGameInstantiated(), and TraitPainter.OnUse().
|
static |
Definition at line 43 of file ActionMode.cs.
Referenced by DoFunc(), HotItemActionMode.Execute(), BuildMenu.OnClickPicker(), OnGameInstantiated(), InspectGroupBlock.OnSetActions(), InspectGroupThing.OnSetActions(), BaseTileSelector.RefreshMouseInfo(), HotItemActionMode.ShouldHighlight(), BuildMenu.Toggle(), and UpdateInput().
|
static |
Definition at line 67 of file ActionMode.cs.
Referenced by HotItemActionMode.Execute(), OnGameInstantiated(), and HotItemActionMode.ShouldHighlight().
|
static |
Definition at line 17 of file ActionMode.cs.
Referenced by InvOwner.AutoUse(), Scene.Init(), Widget.Config.IsInRightMode(), and ZoneInspector.RefreshScreen().
|
static |
Definition at line 61 of file ActionMode.cs.
Referenced by HotItemActionMode.Execute(), OnGameInstantiated(), and HotItemActionMode.ShouldHighlight().
|
static |
Definition at line 59 of file ActionMode.cs.
Referenced by AM_Sim._OnUpdateInput(), TileMapElona.Draw(), OnGameInstantiated(), and AM_Picker.Test().
|
static |
Definition at line 11 of file ActionMode.cs.
Referenced by LayerNewZone.Embark(), Scene.FocusAndPause(), Widget.Config.IsInRightMode(), OnGameInstantiated(), NoGoal.Run(), and Chara.SetAIImmediate().
|
static |
Definition at line 95 of file ActionMode.cs.
Referenced by ClearSimpleTexts(), and RefreshTexts().
|
staticprivate |
Definition at line 85 of file ActionMode.cs.
Referenced by InputMovement().
|
staticprivate |
Definition at line 87 of file ActionMode.cs.
Referenced by InputMovement().
|
static |
Definition at line 41 of file ActionMode.cs.
Referenced by HotItemActionMode.Execute(), OnGameInstantiated(), and HotItemActionMode.ShouldHighlight().
|
static |
Definition at line 65 of file ActionMode.cs.
Referenced by HotItemActionMode.Execute(), OnGameInstantiated(), HotItemActionMode.ShouldHighlight(), and BuildMenu.Toggle().
|
staticprivate |
Definition at line 89 of file ActionMode.cs.
Referenced by UpdateInput().
Definition at line 9 of file ActionMode.cs.
Referenced by Scene.Init(), TileSelectorElona.OnUpdateInput(), and LayerEmbark.Update().
|
static |
Definition at line 13 of file ActionMode.cs.
Referenced by Scene.Init(), Widget.Config.IsInRightMode(), and OnGameInstantiated().
|
static |
Definition at line 63 of file ActionMode.cs.
Referenced by BaseTileMap.Draw(), Widget.Config.IsInRightMode(), OnGameInstantiated(), and TraitViewMap.OnUse().
|
static |
Definition at line 71 of file ActionMode.cs.
Referenced by HotItemActionMode.Execute(), OnGameInstantiated(), and HotItemActionMode.ShouldHighlight().
|
staticget |
Definition at line 105 of file ActionMode.cs.
Referenced by UpdateInput().
|
get |
Definition at line 163 of file ActionMode.cs.
Referenced by BaseTileSelector.OnUpdate().
|
get |
Definition at line 213 of file ActionMode.cs.
Referenced by UpdateInput().
|
get |
Definition at line 219 of file ActionMode.cs.
Referenced by UpdateInput().
|
get |
Definition at line 217 of file ActionMode.cs.
Referenced by UpdateInput().
|
get |
Definition at line 215 of file ActionMode.cs.
|
get |
Definition at line 225 of file ActionMode.cs.
Referenced by InputWheel().
|
get |
Definition at line 169 of file ActionMode.cs.
Referenced by Area.OnHoverArea(), BaseTileSelector.OnUpdate(), and PointTarget.Update().
|
get |
Definition at line 127 of file ActionMode.cs.
|
get |
Definition at line 185 of file ActionMode.cs.
|
get |
Definition at line 171 of file ActionMode.cs.
Referenced by BaseTileSelector.OnUpdate().
|
get |
Definition at line 209 of file ActionMode.cs.
Referenced by _HitTest(), OnRenderTile(), and OnRenderTileFloor().
|
get |
Definition at line 173 of file ActionMode.cs.
Referenced by _HitTest().
|
get |
Definition at line 229 of file ActionMode.cs.
Referenced by BaseTileMap.Draw(), and TileMapElona.Draw().
|
get |
Definition at line 129 of file ActionMode.cs.
Referenced by BaseTileSelector.OnUpdate().
|
get |
Definition at line 211 of file ActionMode.cs.
Referenced by OnRefreshSummary(), AM_Designation< T >.OnRefreshSummary(), and BaseTileSelector.RefreshMouseInfo().
|
get |
Definition at line 151 of file ActionMode.cs.
Referenced by ShowLayer().
|
get |
Definition at line 157 of file ActionMode.cs.
Referenced by BaseTileSelector.RefreshMouseInfo().
|
get |
Definition at line 177 of file ActionMode.cs.
Referenced by InputMovement(), and UpdateInput().
|
get |
Definition at line 119 of file ActionMode.cs.
Referenced by Chara._Move(), BaseGameScreen.Draw(), Scene.OnUpdate(), LayerMiniGame.OnUpdateInput(), and Core.Update().
|
get |
Definition at line 159 of file ActionMode.cs.
Referenced by Activate().
|
get |
Definition at line 179 of file ActionMode.cs.
|
get |
Definition at line 133 of file ActionMode.cs.
Referenced by CanProcessTiles().
|
get |
Definition at line 123 of file ActionMode.cs.
Referenced by BaseTileSelector.OnUpdate().
|
get |
Definition at line 131 of file ActionMode.cs.
Referenced by CanProcessTiles().
|
get |
Definition at line 149 of file ActionMode.cs.
|
get |
Definition at line 153 of file ActionMode.cs.
|
get |
Definition at line 155 of file ActionMode.cs.
Referenced by Activate().
|
get |
Definition at line 121 of file ActionMode.cs.
Referenced by InvOwner.AutoUse(), BaseTileMap.Draw(), TileMapElona.Draw(), BaseTileMap.DrawTile(), Scene.Init(), InputMovement(), BaseTileSelector.OnUpdate(), TileSelectorElona.OnUpdateInput(), BaseGameScreen.RefreshPosition(), GameScreenElona.RefreshPosition(), Map.Save(), WidgetCurrentTool.Select(), BaseGameScreen.UpdateShaders(), and LayerCraft.WaitUntilIdle().
|
staticget |
Definition at line 117 of file ActionMode.cs.
Referenced by BaseTileMap.Draw(), TileMapElona.Draw(), Widget.Config.IsInRightMode(), WidgetMouseover.Refresh(), TogglePause(), and AI_Goto.TryGoTo().
|
get |
Definition at line 181 of file ActionMode.cs.
Referenced by Activate(), HotItemHeld.CanChangeHeightByWheel(), RecipeCard.Craft(), BaseTileMap.Draw(), TileMapElona.Draw(), Map.DropBlockComponent(), HotItemActionMode.Execute(), GetGuidePass(), InputMovement(), Map.MineObj(), OnCancel(), OnRenderTile(), RefreshTexts(), PointTarget.ShouldIgnore(), HotItemContext.Show(), PointTarget.Update(), UpdateInput(), and CoreDebug.UpdateInput().
|
get |
Definition at line 233 of file ActionMode.cs.
Referenced by UpdateInput().
|
get |
Definition at line 137 of file ActionMode.cs.
Referenced by CanProcessTiles().
|
get |
Definition at line 223 of file ActionMode.cs.
|
get |
Definition at line 125 of file ActionMode.cs.
Referenced by GetHintText(), and BaseTileSelector.OnUpdate().
|
get |
Definition at line 197 of file ActionMode.cs.
|
get |
Definition at line 175 of file ActionMode.cs.
Referenced by LayerMiniGame.OnUpdateInput().
|
get |
Definition at line 165 of file ActionMode.cs.
Referenced by ActionHint.Refresh(), and ActionHint.UpdateText().
|
get |
Definition at line 183 of file ActionMode.cs.
Referenced by Widget.Config.IsInRightMode(), and Widget.IsInRightMode().
|
get |
Definition at line 243 of file ActionMode.cs.
Referenced by ExtraHint.OnChangeActionMode().
|
get |
Definition at line 221 of file ActionMode.cs.
Referenced by BaseTileMap.DrawTile(), and RefreshTexts().
|
get |
Definition at line 167 of file ActionMode.cs.
Referenced by PointTarget.Update().
|
get |
Definition at line 239 of file ActionMode.cs.
Referenced by TerrainMenu.Show().
|
get |
Definition at line 241 of file ActionMode.cs.
Referenced by TerrainMenu.Show().
|
get |
Definition at line 135 of file ActionMode.cs.
Referenced by CanProcessTiles().
|
get |
Definition at line 231 of file ActionMode.cs.
Referenced by Activate().
|
get |
Definition at line 227 of file ActionMode.cs.
|
get |
Definition at line 161 of file ActionMode.cs.
Referenced by GetHintText().
|
get |
Definition at line 245 of file ActionMode.cs.
Referenced by OnRenderTile(), and OnRenderTileFloor().
|
get |
Definition at line 235 of file ActionMode.cs.
Referenced by TerrainMenu.Show().
|
get |
Definition at line 237 of file ActionMode.cs.
Referenced by TerrainMenu.Show().