mirror of
https://github.com/riperiperi/Simitone.git
synced 2025-01-22 09:11:52 -05:00
Update FreeSO version, fix free camera
This commit is contained in:
parent
f3a725578b
commit
b344855b9d
3 changed files with 5 additions and 1 deletions
|
@ -801,6 +801,9 @@ namespace Simitone.Client.UI.Panels
|
||||||
if (ShowTooltip) state.UIState.TooltipProperties.UpdateDead = false;
|
if (ShowTooltip) state.UIState.TooltipProperties.UpdateDead = false;
|
||||||
|
|
||||||
bool scrolled = false;
|
bool scrolled = false;
|
||||||
|
|
||||||
|
World.State.Cameras.CameraFirstPerson.CaptureMouse = true;
|
||||||
|
|
||||||
if (RMBScroll)
|
if (RMBScroll)
|
||||||
{
|
{
|
||||||
World.State.ScrollAnchor = null;
|
World.State.ScrollAnchor = null;
|
||||||
|
|
|
@ -648,6 +648,7 @@ namespace Simitone.Client.UI.Screens
|
||||||
subworld.State.Level = 5;
|
subworld.State.Level = 5;
|
||||||
var subHeight = tempVM.Context.Blueprint.InterpAltitude(new Vector3(0, 0, 0));
|
var subHeight = tempVM.Context.Blueprint.InterpAltitude(new Vector3(0, 0, 0));
|
||||||
tempVM.Context.Blueprint.BaseAlt = (int)Math.Round(((subHeight - myHeight) + myH.Position.Y - h.Position.Y) / tempVM.Context.Blueprint.TerrainFactor);
|
tempVM.Context.Blueprint.BaseAlt = (int)Math.Round(((subHeight - myHeight) + myH.Position.Y - h.Position.Y) / tempVM.Context.Blueprint.TerrainFactor);
|
||||||
|
subworld.UseFade = false;
|
||||||
subworld.GlobalPosition = new Vector2((myH.Position.X - h.Position.X), (myH.Position.Z - h.Position.Z));
|
subworld.GlobalPosition = new Vector2((myH.Position.X - h.Position.X), (myH.Position.Z - h.Position.Z));
|
||||||
|
|
||||||
foreach (var obj in tempVM.Entities)
|
foreach (var obj in tempVM.Entities)
|
||||||
|
|
2
FreeSO
2
FreeSO
|
@ -1 +1 @@
|
||||||
Subproject commit 77066aa2865301ea72e0ca238f0a42ba04d59625
|
Subproject commit 05ce4a53b84b89715f4b5781282d911046f23651
|
Loading…
Reference in a new issue