![]() |
|
A class that manages general processing during map movement including menus More...
Classes | |
| class | AutoSkipSettings |
| struct | EffectDrawEntry |
| Effect rendering information More... | |
| struct | MovieDrawEntry |
| Movie drawing information More... | |
| class | ScriptRunnerDictionary |
| A class for managing events currently being executed or waiting to be executed More... | |
Public Types | |
| enum | EffectPosType { Head , Body , Ground } |
| effect coordinates More... | |
Public Member Functions | |
| delegate void | LoadEndCallback () |
| void | updateWindows () |
| void | drawWindows () |
| void | setLightDisplayID (bool isBattle, uint displayId) |
| void | resetCamera (bool initializeByLoadMap) |
| void | resetViewCamera () |
| MapScene () | |
| MapScene (GameMain owner) | |
| override void | initialize () |
| void | initializeMenu () |
| void | Reset () |
| void | ResetMapCharacter () |
| Placement event reset More... | |
| override void | finalize () |
| void | releaseMenu () |
| override void | Update () |
| bool | isMenuVisible () |
| Menu display state (not including conversations, etc.) More... | |
| override void | Draw () |
| drawing process More... | |
| SharpKmyMath.Vector3 | UpdateCameraAnimation () |
| void | CopyFromCameraManager (CameraManager camManager) |
| void | DrawEffects () |
| void | DrawMovies (int priority) |
| virtual void | ShowFace (Guid inLeftId, string inLeftMotion, bool inIsLeftFlip, Guid inRightId, string inRightMotion, bool inIsRightFlip, bool inIsLeftActive, bool inUsedLighting) |
| void | ShowFace (Guid inLeftId, string inLeftMotion, bool inIsLeftFlip, Guid inRightId, string inRightMotion, bool inIsRightFlip, bool inIsLeftActive, bool inUsedLighting, string blendShapeA, string blendShapeB) |
| void | UpdateFace () |
| void | DrawFace () |
| Explicitly draw a standing image It should be in SpriteFaceManager.cs, but it's left here to maintain compatibility with the battle plugin More... | |
| void | CreateCameraMatrix (out SharpKmyMath.Matrix4 p, out SharpKmyMath.Matrix4 v, float farclip=1000f) |
| Generate Camera Matrix More... | |
| void | createCameraMatrix (float aspectRatio, SharpKmyMath.Vector3 lookAt, Common.Rom.ThirdPersonCameraSettings cameraSettings, out SharpKmyMath.Matrix4 p, out SharpKmyMath.Matrix4 v) |
| Generation of camera matrix (type that explicitly specifies ThirdPersonCameraSettings) More... | |
| void | SetLookAtTarget (MapCharacter chr, SharpKmyMath.Vector3 pos) |
| SharpKmyMath.Vector3 | GetLookAtTarget () |
| virtual void | GetCharacterScreenPos (MapCharacter chr, out int x, out int y, EffectPosType pos=EffectPosType.Ground) |
| virtual void | GetCharacterScreenPos (MapCharacter chr, out int x, out int y, EffectPosType pos=EffectPosType.Ground, Vector3? offset=null) |
| bool | GetSpritePos (int spriteid, out int x, out int y) |
| int | GetRandom (int max, int min=0) |
| float | GetRandom (float max, float min) |
| MapCharacter | GetHero () |
| virtual MapCharacter | GetHeroForBattle (Common.Rom.Cast rom=null) |
| virtual ScriptRunner | GetScriptRunner (Guid guid) |
| bool | ChangeGraphic (MapCharacter mapChr, Guid guid) |
| void | LockControl (ScriptRunner runner=null) |
| void | UnlockControl (ScriptRunner runner=null) |
| void | SetScreenColor (Color color) |
| int | ShowMessage (string str, int winAlign, MenuControllerBase.WindowTypes winType, Guid sender) |
| int | ShowDialogue (string str, int winAlign, MenuControllerBase.WindowTypes winType, Guid sender) |
| void | ShowInn (int innPrice, int winAlign) |
| void | ShowTelop (string str, int winAlign, MenuControllerBase.WindowTypes winType, AbstractRenderObject.GameContent.TelopProperty telopProperty, Guid sender) |
| void | ShowEventLayout (Guid layoutGuid, Common.Rom.LayoutProperties.LayoutNode.UsageInGame usage) |
| bool | IsVisibleMessage () |
| bool | IsQueuedMessage (int id) |
| bool | IsVisibleDialogue () |
| bool | IsQueuedDialogue (int id) |
| bool | IsVisibleTelop () |
| bool | IsVisibleInn () |
| bool | IsVisibleEventLayout (Guid guid) |
| bool | DecidedStayingAtInn () |
| bool | IsWordPopped () |
| void | ShowChoices (string[] strs, int selectionPos, bool cancellable=false, int initialSelectIndex=0, bool[] enableState=null) |
| int | GetChoicesResult () |
| bool | IsVisibleChoices () |
| void | ShowShop (Guid layoutGuid, Common.Rom.NItem[] items, int[] prices) |
| void | ShowInputWindow (string[] loadStrings, int stringLength, string defaultInputStrings, int selectionPosition) |
| void | SetInputString (string value) |
| void | HideInputWindow () |
| void | HideFreeLayout (Guid layoutGuid, bool hideAll, bool immediate=false) |
| bool | haveFinshedInputing () |
| string | GetInputString () |
| bool | IsShopVisible () |
| bool | GetShopResult () |
| void | ShowToast (string p) |
| void | UpdateToast () |
| void | DrawToast () |
| LayoutMenuController | GetMenuController () |
| void | StartBattle (IEnumerable< Guid > enemyGuids) |
| void | EndBattleMode (int loseSwitch=-1) |
| virtual bool | DoGameOver () |
| void | RefreshHeroMapChr (bool setRigidBodyPosition=false) |
| virtual void | RefreshHeroJoint (Guid heroGuid) |
| void | setEncountFlag (bool p) |
| void | setMenuAvailable (bool p) |
| void | setSaveAvailable (bool p) |
| IEnumerable< ScriptRunner > | GetScriptRunners (MapCharacter chr) |
| virtual void | ReservationChangeScene (GameMain.Scenes scene) |
| Common.Rom.Map.CameraControlMode | GetCameraControlMode () |
| Get camera control mode More... | |
| bool | isToastVisible () |
| void | ShowTrashWindow (Guid guid, int num, bool isCancellable=true) |
| bool | IsTrashVisible () |
| void | StartFadeIn () |
| void | StartFadeOut () |
| Catalog | getCatalog () |
| virtual void | applyCameraToBattle () |
| virtual void | SetEffectColor (MapCharacter selfChr, Color color) |
| virtual void | setHeroName (Guid hero, string nextHeroName) |
| virtual bool | ExistMember (Guid heroGuid) |
| void | SetEffectTargetColor (int index, Color color) |
| void | SetWipe (Guid effectGuid) |
| bool | IsWiping () |
| void | StartLoadData () |
| bool | IsLoadingData () |
| void | ReloadLayout (Common.Rom.LayoutProperties.LayoutNode.UsageInGame usage) |
| Reread the layout (Since the release processing of the layout that is no longer used runs, it freezes for a moment) More... | |
| virtual void | StopCameraAnimation () |
| Force quit camera animation More... | |
| Common.Rom.RenderSettings | GetCurrentRenderSettings () |
| abstract void | initialize () |
| abstract void | finalize () |
| abstract void | Update () |
| abstract void | Draw () |
Static Public Member Functions | |
| static EffectPosType | GetEffectPosType (Common.Resource.NSprite.OrigPos origPos) |
| static void | GetScreenPos (SharpKmyMath.Vector3 v, out int x, out int y, SharpKmyMath.Matrix4 pp, SharpKmyMath.Matrix4 vv) |
| static void | GetCharacterScreenPos (MapCharacter chr, out int x, out int y, SharpKmyMath.Matrix4 pp, SharpKmyMath.Matrix4 vv, EffectPosType pos, Vector3? offset=null) |
| static SharpKmyMath.Vector3 | GetCharacterPos (MapCharacter chr, EffectPosType pos) |
| static bool | IsMapLoading () |
| Externally refer to whether it is loading More... | |
Static Public Attributes | |
| const int | PLAYER_LOCK_BY_EVENT = 0x10000 |
| const float | GHOST_HERO_VISIBLE_DISTANCE = 0.5f |
| const int | EFFECT_2D_GROUND_OFFSET = 48 |
| static LoadEndCallback | s_loadEndCallback = null |
| static bool | disablePreload |
Static Protected Member Functions | |
| static bool | ChangeGraphicImpl (Catalog catalog, MapCharacter mapChr, Guid guid, MapData mapDrawer) |
Protected Attributes | |
| Common.Rom.Map.CameraControlMode | cameraControlMode = Common.Rom.Map.CameraControlMode.UNKNOWN |
| SharpKmyMath.Matrix4 | pp = SharpKmyMath.Matrix4.identity() |
| SharpKmyMath.Matrix4 | vv = SharpKmyMath.Matrix4.identity() |
Properties | |
| virtual CameraManager | CameraManager [get] |
| float | yAngle [get, set] |
| float | xAngle [get, set] |
| float | normalizedYAngle [get] |
| SharpKmyMath.Matrix4 | CurrentPP [get] |
| SharpKmyMath.Matrix4 | CurrentVV [get] |
| SharpKmyMath.Matrix4 | BattlePP [get] |
| SharpKmyMath.Matrix4 | BattleVV [get] |
| virtual SharpKmyMath.Vector2 | ShakeValue [set] |
| bool | IsMapChangedFrame [get] |
Properties inherited from Yukar.Engine.SceneBase | |
| MapScene | M [get] |
A class that manages general processing during map movement including menus
| Yukar.Engine.MapScene.MapScene | ( | ) |
| Yukar.Engine.MapScene.MapScene | ( | GameMain | owner | ) |
|
virtual |
| bool Yukar.Engine.MapScene.ChangeGraphic | ( | MapCharacter | mapChr, |
| Guid | guid | ||
| ) |
|
staticprotected |
| void Yukar.Engine.MapScene.CopyFromCameraManager | ( | CameraManager | camManager | ) |
| void Yukar.Engine.MapScene.createCameraMatrix | ( | float | aspectRatio, |
| SharpKmyMath.Vector3 | lookAt, | ||
| Common.Rom.ThirdPersonCameraSettings | cameraSettings, | ||
| out SharpKmyMath.Matrix4 | p, | ||
| out SharpKmyMath.Matrix4 | v | ||
| ) |
Generation of camera matrix (type that explicitly specifies ThirdPersonCameraSettings)
| aspectRatio | |
| lookAt | |
| cameraSettings | |
| p | |
| v |
| void Yukar.Engine.MapScene.CreateCameraMatrix | ( | out SharpKmyMath.Matrix4 | p, |
| out SharpKmyMath.Matrix4 | v, | ||
| float | farclip = 1000f |
||
| ) |
Generate Camera Matrix
| p | |
| v |
| bool Yukar.Engine.MapScene.DecidedStayingAtInn | ( | ) |
|
virtual |
|
virtual |
drawing process
Implements Yukar.Engine.SceneBase.
| void Yukar.Engine.MapScene.DrawEffects | ( | ) |
| void Yukar.Engine.MapScene.DrawFace | ( | ) |
Explicitly draw a standing image It should be in SpriteFaceManager.cs, but it's left here to maintain compatibility with the battle plugin
| void Yukar.Engine.MapScene.DrawMovies | ( | int | priority | ) |
| void Yukar.Engine.MapScene.DrawToast | ( | ) |
| void Yukar.Engine.MapScene.drawWindows | ( | ) |
| void Yukar.Engine.MapScene.EndBattleMode | ( | int | loseSwitch = -1 | ) |
|
virtual |
|
virtual |
Implements Yukar.Engine.SceneBase.
| Common.Rom.Map.CameraControlMode Yukar.Engine.MapScene.GetCameraControlMode | ( | ) |
Get camera control mode
| Catalog Yukar.Engine.MapScene.getCatalog | ( | ) |
|
static |
|
virtual |
|
virtual |
|
static |
| int Yukar.Engine.MapScene.GetChoicesResult | ( | ) |
| Common.Rom.RenderSettings Yukar.Engine.MapScene.GetCurrentRenderSettings | ( | ) |
|
static |
| MapCharacter Yukar.Engine.MapScene.GetHero | ( | ) |
|
virtual |
| string Yukar.Engine.MapScene.GetInputString | ( | ) |
| SharpKmyMath.Vector3 Yukar.Engine.MapScene.GetLookAtTarget | ( | ) |
| LayoutMenuController Yukar.Engine.MapScene.GetMenuController | ( | ) |
| float Yukar.Engine.MapScene.GetRandom | ( | float | max, |
| float | min | ||
| ) |
| int Yukar.Engine.MapScene.GetRandom | ( | int | max, |
| int | min = 0 |
||
| ) |
|
static |
|
virtual |
| IEnumerable< ScriptRunner > Yukar.Engine.MapScene.GetScriptRunners | ( | MapCharacter | chr | ) |
| bool Yukar.Engine.MapScene.GetShopResult | ( | ) |
| bool Yukar.Engine.MapScene.GetSpritePos | ( | int | spriteid, |
| out int | x, | ||
| out int | y | ||
| ) |
| bool Yukar.Engine.MapScene.haveFinshedInputing | ( | ) |
| void Yukar.Engine.MapScene.HideFreeLayout | ( | Guid | layoutGuid, |
| bool | hideAll, | ||
| bool | immediate = false |
||
| ) |
| void Yukar.Engine.MapScene.HideInputWindow | ( | ) |
|
virtual |
Implements Yukar.Engine.SceneBase.
| void Yukar.Engine.MapScene.initializeMenu | ( | ) |
| bool Yukar.Engine.MapScene.IsLoadingData | ( | ) |
|
static |
Externally refer to whether it is loading
| bool Yukar.Engine.MapScene.isMenuVisible | ( | ) |
Menu display state (not including conversations, etc.)
| bool Yukar.Engine.MapScene.IsQueuedDialogue | ( | int | id | ) |
| bool Yukar.Engine.MapScene.IsQueuedMessage | ( | int | id | ) |
| bool Yukar.Engine.MapScene.IsShopVisible | ( | ) |
| bool Yukar.Engine.MapScene.isToastVisible | ( | ) |
| bool Yukar.Engine.MapScene.IsTrashVisible | ( | ) |
| bool Yukar.Engine.MapScene.IsVisibleChoices | ( | ) |
| bool Yukar.Engine.MapScene.IsVisibleDialogue | ( | ) |
| bool Yukar.Engine.MapScene.IsVisibleEventLayout | ( | Guid | guid | ) |
| bool Yukar.Engine.MapScene.IsVisibleInn | ( | ) |
| bool Yukar.Engine.MapScene.IsVisibleMessage | ( | ) |
| bool Yukar.Engine.MapScene.IsVisibleTelop | ( | ) |
| bool Yukar.Engine.MapScene.IsWiping | ( | ) |
| bool Yukar.Engine.MapScene.IsWordPopped | ( | ) |
| delegate void Yukar.Engine.MapScene.LoadEndCallback | ( | ) |
| void Yukar.Engine.MapScene.LockControl | ( | ScriptRunner | runner = null | ) |
|
virtual |
| heroGuid | Guid of Cast to be updated |
| void Yukar.Engine.MapScene.RefreshHeroMapChr | ( | bool | setRigidBodyPosition = false | ) |
| void Yukar.Engine.MapScene.releaseMenu | ( | ) |
| void Yukar.Engine.MapScene.ReloadLayout | ( | Common.Rom.LayoutProperties.LayoutNode.UsageInGame | usage | ) |
Reread the layout (Since the release processing of the layout that is no longer used runs, it freezes for a moment)
| usage | Reread layout type |
|
virtual |
| void Yukar.Engine.MapScene.Reset | ( | ) |
| void Yukar.Engine.MapScene.resetCamera | ( | bool | initializeByLoadMap | ) |
| void Yukar.Engine.MapScene.ResetMapCharacter | ( | ) |
Placement event reset
| void Yukar.Engine.MapScene.resetViewCamera | ( | ) |
|
virtual |
| void Yukar.Engine.MapScene.SetEffectTargetColor | ( | int | index, |
| Color | color | ||
| ) |
| void Yukar.Engine.MapScene.setEncountFlag | ( | bool | p | ) |
|
virtual |
| void Yukar.Engine.MapScene.SetInputString | ( | string | value | ) |
| void Yukar.Engine.MapScene.setLightDisplayID | ( | bool | isBattle, |
| uint | displayId | ||
| ) |
| void Yukar.Engine.MapScene.SetLookAtTarget | ( | MapCharacter | chr, |
| SharpKmyMath.Vector3 | pos | ||
| ) |
| void Yukar.Engine.MapScene.setMenuAvailable | ( | bool | p | ) |
| void Yukar.Engine.MapScene.setSaveAvailable | ( | bool | p | ) |
| void Yukar.Engine.MapScene.SetScreenColor | ( | Color | color | ) |
| void Yukar.Engine.MapScene.SetWipe | ( | Guid | effectGuid | ) |
| void Yukar.Engine.MapScene.ShowChoices | ( | string[] | strs, |
| int | selectionPos, | ||
| bool | cancellable = false, |
||
| int | initialSelectIndex = 0, |
||
| bool[] | enableState = null |
||
| ) |
| int Yukar.Engine.MapScene.ShowDialogue | ( | string | str, |
| int | winAlign, | ||
| MenuControllerBase.WindowTypes | winType, | ||
| Guid | sender | ||
| ) |
| void Yukar.Engine.MapScene.ShowEventLayout | ( | Guid | layoutGuid, |
| Common.Rom.LayoutProperties.LayoutNode.UsageInGame | usage | ||
| ) |
|
virtual |
| void Yukar.Engine.MapScene.ShowFace | ( | Guid | inLeftId, |
| string | inLeftMotion, | ||
| bool | inIsLeftFlip, | ||
| Guid | inRightId, | ||
| string | inRightMotion, | ||
| bool | inIsRightFlip, | ||
| bool | inIsLeftActive, | ||
| bool | inUsedLighting, | ||
| string | blendShapeA, | ||
| string | blendShapeB | ||
| ) |
| void Yukar.Engine.MapScene.ShowInn | ( | int | innPrice, |
| int | winAlign | ||
| ) |
| void Yukar.Engine.MapScene.ShowInputWindow | ( | string[] | loadStrings, |
| int | stringLength, | ||
| string | defaultInputStrings, | ||
| int | selectionPosition | ||
| ) |
| int Yukar.Engine.MapScene.ShowMessage | ( | string | str, |
| int | winAlign, | ||
| MenuControllerBase.WindowTypes | winType, | ||
| Guid | sender | ||
| ) |
| void Yukar.Engine.MapScene.ShowShop | ( | Guid | layoutGuid, |
| Common.Rom.NItem[] | items, | ||
| int[] | prices | ||
| ) |
| void Yukar.Engine.MapScene.ShowTelop | ( | string | str, |
| int | winAlign, | ||
| MenuControllerBase.WindowTypes | winType, | ||
| AbstractRenderObject.GameContent.TelopProperty | telopProperty, | ||
| Guid | sender | ||
| ) |
| void Yukar.Engine.MapScene.ShowToast | ( | string | p | ) |
| void Yukar.Engine.MapScene.ShowTrashWindow | ( | Guid | guid, |
| int | num, | ||
| bool | isCancellable = true |
||
| ) |
| void Yukar.Engine.MapScene.StartBattle | ( | IEnumerable< Guid > | enemyGuids | ) |
| void Yukar.Engine.MapScene.StartFadeIn | ( | ) |
| void Yukar.Engine.MapScene.StartFadeOut | ( | ) |
| void Yukar.Engine.MapScene.StartLoadData | ( | ) |
|
virtual |
Force quit camera animation
| void Yukar.Engine.MapScene.UnlockControl | ( | ScriptRunner | runner = null | ) |
|
virtual |
Implements Yukar.Engine.SceneBase.
| SharpKmyMath.Vector3 Yukar.Engine.MapScene.UpdateCameraAnimation | ( | ) |
| void Yukar.Engine.MapScene.UpdateFace | ( | ) |
| void Yukar.Engine.MapScene.UpdateToast | ( | ) |
| void Yukar.Engine.MapScene.updateWindows | ( | ) |
| AutoSkipSettings Yukar.Engine.MapScene.autoSkip = new AutoSkipSettings() |
| float Yukar.Engine.MapScene.baseRomDist = 70 |
| float Yukar.Engine.MapScene.baseRomNearClip = 1f |
| BattleSequenceManagerBase Yukar.Engine.MapScene.battleSequenceManager |
| Common.Rom.Map.BattleSetting Yukar.Engine.MapScene.battleSetting |
|
protected |
| Vector3 Yukar.Engine.MapScene.camOffset = new Vector3(0, 0.5f, 0) |
| List<Guid> Yukar.Engine.MapScene.destroyedEventList = new List<Guid>() |
|
static |
| float Yukar.Engine.MapScene.dist = 70 |
|
static |
| bool Yukar.Engine.MapScene.exclusiveInverse |
| ScriptRunner Yukar.Engine.MapScene.exclusiveRunner |
| FaceView Yukar.Engine.MapScene.faceView |
| FieldBattleViewer Yukar.Engine.MapScene.fieldBattleViewer |
| float Yukar.Engine.MapScene.fovy = 5 |
|
static |
| MapCharacter Yukar.Engine.MapScene.hero |
| bool Yukar.Engine.MapScene.isBattle |
| int Yukar.Engine.MapScene.isCameraMoveByCameraFunc = 0 |
| bool Yukar.Engine.MapScene.isGameOver |
| MapLoadManager Yukar.Engine.MapScene.loadManager |
| float Yukar.Engine.MapScene.loadMoveCameraProcessTime |
| HashSet<ScriptRunner> Yukar.Engine.MapScene.lockPushedRunner = new HashSet<ScriptRunner>() |
| Common.Rom.Camera.LpfTypes Yukar.Engine.MapScene.lpfType = Common.Rom.Camera.LpfTypes.HEIGHT |
| Common.Rom.Map Yukar.Engine.MapScene.map |
| List<MapCharacter> Yukar.Engine.MapScene.mapCharList = new List<MapCharacter>() |
| MapData Yukar.Engine.MapScene.mapDrawer |
| MapEngine Yukar.Engine.MapScene.mapEngine |
| bool Yukar.Engine.MapScene.mapFixCamera |
| bool Yukar.Engine.MapScene.mapFixCameraMode |
| MenuControllerBase Yukar.Engine.MapScene.menuWindow = null |
| float Yukar.Engine.MapScene.moveCameraProcessTime |
| float Yukar.Engine.MapScene.nearClip = 1f |
| bool Yukar.Engine.MapScene.ortho |
|
static |
| int Yukar.Engine.MapScene.playerLocked |
|
protected |
| ScriptRunnerDictionary Yukar.Engine.MapScene.runnerDic = new ScriptRunnerDictionary() |
|
static |
| Color Yukar.Engine.MapScene.screenColor = Color.Transparent |
| SpriteManager Yukar.Engine.MapScene.spManager = new SpriteManager() |
| Common.Rom.ThirdPersonCameraSettings Yukar.Engine.MapScene.startCameraParam = new Common.Rom.ThirdPersonCameraSettings() |
| SharpKmyMath.Vector3 Yukar.Engine.MapScene.startHeroPos |
| SharpKmyMath.Vector3 Yukar.Engine.MapScene.startPos |
|
protected |
| float Yukar.Engine.MapScene.xCurrentAngle = -60 |
| float Yukar.Engine.MapScene.xTargetAngle = -60 |
| float Yukar.Engine.MapScene.yCurrentAngle = 0 |
| float Yukar.Engine.MapScene.yTargetAngle = 0 |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
set |
|
getset |
|
getset |