mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-25 06:45:47 +02:00
Disabled toggle third person from the new game screen.
This commit is contained in:
parent
6e7032f2ae
commit
7891cfd77d
@ -7,6 +7,7 @@ Public Class OverworldCamera
|
|||||||
Public oldX, oldY As Single
|
Public oldX, oldY As Single
|
||||||
|
|
||||||
Private _thirdPerson As Boolean = False
|
Private _thirdPerson As Boolean = False
|
||||||
|
Public _canToggleThirdPerson As Boolean = True
|
||||||
Private _playerFacing As Integer = 0 'relative to the world, 0 means the player faces north, the camera might face in a different direction.
|
Private _playerFacing As Integer = 0 'relative to the world, 0 means the player faces north, the camera might face in a different direction.
|
||||||
|
|
||||||
Private _freeCameraMode As Boolean = False
|
Private _freeCameraMode As Boolean = False
|
||||||
@ -294,7 +295,7 @@ Public Class OverworldCamera
|
|||||||
If CurrentScreen.Identification = Screen.Identifications.OverworldScreen Then
|
If CurrentScreen.Identification = Screen.Identifications.OverworldScreen Then
|
||||||
actionscriptReady = CType(CurrentScreen, OverworldScreen).ActionScript.IsReady
|
actionscriptReady = CType(CurrentScreen, OverworldScreen).ActionScript.IsReady
|
||||||
End If
|
End If
|
||||||
If actionscriptReady = True Then
|
If actionscriptReady = True And _canToggleThirdPerson Then
|
||||||
SetThirdPerson(Not _thirdPerson, True)
|
SetThirdPerson(Not _thirdPerson, True)
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
@ -131,10 +131,6 @@
|
|||||||
<Import Include="Microsoft.Xna.Framework.Content" />
|
<Import Include="Microsoft.Xna.Framework.Content" />
|
||||||
<Import Include="Microsoft.Xna.Framework.Media" />
|
<Import Include="Microsoft.Xna.Framework.Media" />
|
||||||
<Import Include="Microsoft.Xna.Framework.Audio" />
|
<Import Include="Microsoft.Xna.Framework.Audio" />
|
||||||
<Reference Include="wmppia">
|
|
||||||
<HintPath>C:\WMSDK\WMPSDK9\redist\wmppia.dll</HintPath>
|
|
||||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
||||||
</Reference>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="Content\Data\badges.dat">
|
<Content Include="Content\Data\badges.dat">
|
||||||
|
@ -16,8 +16,10 @@
|
|||||||
FOV = 45
|
FOV = 45
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CreateProjectionMatrix()
|
CreateProjectionMatrix()
|
||||||
Update()
|
Update()
|
||||||
|
Me._canToggleThirdPerson = False
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub CreateProjectionMatrix()
|
Private Sub CreateProjectionMatrix()
|
||||||
|
@ -257,9 +257,6 @@
|
|||||||
Core.ServersManager.ServerConnection.Disconnect()
|
Core.ServersManager.ServerConnection.Disconnect()
|
||||||
End If
|
End If
|
||||||
Chat.ClearChat()
|
Chat.ClearChat()
|
||||||
'If Core.Player.loadedSave = True And Me.canCreateAutosave = True Then
|
|
||||||
' Core.Player.SaveGame(False)
|
|
||||||
'End If
|
|
||||||
ScriptStorage.Clear()
|
ScriptStorage.Clear()
|
||||||
Core.SetScreen(New PressStartScreen())
|
Core.SetScreen(New PressStartScreen())
|
||||||
Core.Player.loadedSave = False
|
Core.Player.loadedSave = False
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user