Merge pull request #73 from P3D-Legacy/mainmenu-rework

Main Menu Rework
This commit is contained in:
JappaWakka 2021-09-29 16:59:40 +02:00 committed by GitHub
commit c4ab6604a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 1457 additions and 462 deletions

View File

@ -112,8 +112,8 @@ LanguageScreen:
language_menu_apply,Apply language_menu_apply,Apply
language_menu_back,Back language_menu_back,Back
PacksScreen: PacksScreen:
pack_menu_up,Up pack_menu_up,Move Up
pack_menu_down,Down pack_menu_down,Move Down
pack_menu_toggle_on,Enabled pack_menu_toggle_on,Enabled
pack_menu_toggle_off,Disabled pack_menu_toggle_off,Disabled
pack_menu_information,Information pack_menu_information,Information

View File

@ -15,6 +15,7 @@
Public MaxOffsetLevel As Integer = 0 Public MaxOffsetLevel As Integer = 0
Public UpdateDisabled As Boolean = False Public UpdateDisabled As Boolean = False
Public Extras As New List(Of String) Public Extras As New List(Of String)
Public ChangedPack As Boolean = False
Public Sub LoadOptions() Public Sub LoadOptions()
KeyBindings.CreateKeySave(False) KeyBindings.CreateKeySave(False)

View File

@ -407,6 +407,11 @@ Public Class OverworldScreen
c.ResetCursor() c.ResetCursor()
Player.Temp.IsInBattle = False Player.Temp.IsInBattle = False
If Core.GameOptions.ChangedPack = True Then
Screen.Level.Load(Screen.Level.LevelFile)
Core.GameOptions.ChangedPack = False
End If
'Set to correct music: 'Set to correct music:
If TrainerEncountered = False Then If TrainerEncountered = False Then
Dim x = 0 Dim x = 0

View File

@ -558,7 +558,7 @@ Public Class GameMode
Dim SkinNames As List(Of String) = {"Ethan", "Lyra", "Nate", "Rosa", "Hilbert", "Hilda"}.ToList() Dim SkinNames As List(Of String) = {"Ethan", "Lyra", "Nate", "Rosa", "Hilbert", "Hilda"}.ToList()
Dim gameMode As New GameMode("Pokemon 3D", "The normal game mode.", GameController.GAMEVERSION, "Kolben Games", "\Content\Data\maps\", "\Content\Data\Scripts\", "\Content\Data\maps\poke\", "\Content\Pokemon\Data\", "\Content\", "\Content\Localization\", New List(Of GameRule), Dim gameMode As New GameMode("Pokemon 3D", "The normal game mode.", GameController.GAMEVERSION, "Kolben Games", "\Content\Data\maps\", "\Content\Data\Scripts\", "\Content\Data\maps\poke\", "\Content\Pokemon\Data\", "\Content\", "\Content\Localization\", New List(Of GameRule),
"newgame\intro0.dat", New Vector3(1.0F, 0.1F, 3.0F), MathHelper.PiOver2, "Your Room", "", New Color(59, 123, 165), "0", "welcome", "0", SkinColors, SkinFiles, SkinNames) "newgame\intro0.dat", New Vector3(1.0F, 0.1F, 3.0F), MathHelper.PiOver2, "Your Room", "", New Color(59, 123, 165), "0", "welcome", "1", SkinColors, SkinFiles, SkinNames)
Dim gameRules As New List(Of GameRule) Dim gameRules As New List(Of GameRule)
gameRules.Add(New GameRule("MaxLevel", "100")) gameRules.Add(New GameRule("MaxLevel", "100"))

File diff suppressed because it is too large Load Diff

View File

@ -257,9 +257,11 @@
End If End If
End If End If
If CurrentScreen.Identification = Identifications.MenuScreen Then
If Controls.Dismiss() = True Then If Controls.Dismiss() = True Then
Core.SetScreen(PreScreen) Core.SetScreen(PreScreen)
End If End If
End If
End Sub End Sub
Private Sub PressButton() Private Sub PressButton()

File diff suppressed because it is too large Load Diff