diff --git a/NFSPSExtraOptions/dllmain.cpp b/NFSPSExtraOptions/dllmain.cpp index 6bda060..2ad2be1 100644 --- a/NFSPSExtraOptions/dllmain.cpp +++ b/NFSPSExtraOptions/dllmain.cpp @@ -12,6 +12,7 @@ bool once1 = 0, once2 = 0, once3 = 0; bool bWindowedMode, SkipMovies, SkipNISs, IsPlayerNameSet, ExOptsTeamTakeOver, UnlockAllThings, IsOnFocus, EnableSound, EnableMusic, EnableVoice, AutoDrive, DriftMode, ShowMessage, EnableSaveLoadHotPos, UnlockDLC, ShowAllCarsInFE, ShowSpecialVinyls, EnableDebugWorldCamera, DebugCamStatus, DebugWatchCarCamera, GarageZoom, GarageRotate, GarageShowcase, RemoveTopSpeedLimiter; int ThreadDelay, StartingCash, hotkeyUnlockAllThings, hotkeyAutoDrive, hotkeyPhysSwitch, hotkeyFreezeCamera, hotkeyToggleHeadlights, MaximumLaps, MaximumRepairMarkers; char* IntroMovieName, * PlayerName; +float CarSelectTireSteerAngle; DWORD GameState; char* CopyrightString = "© 2007 Electronic Arts Inc. All rights reserved.^NFSPS Extra Options - © 2022 ExOpts Team. No rights reserved."; @@ -200,6 +201,7 @@ void Init() // Menu ShowSpecialVinyls = iniReader.ReadInteger("Menu", "ShowSpecialVinyls", 1) == 1; IntroMovieName = iniReader.ReadString("Menu", "IntroMovie", "FE_BG"); + CarSelectTireSteerAngle = iniReader.ReadFloat("Menu", "CarSelectTireSteerAngle", 340.0f); GarageZoom = iniReader.ReadInteger("Menu", "ShowcaseCamInfiniteZoom", 0) == 1; GarageRotate = iniReader.ReadInteger("Menu", "ShowcaseCamInfiniteRotation", 0) == 1; GarageShowcase = iniReader.ReadInteger("Menu", "ShowcaseCamAlwaysEnable", 0) == 1; @@ -244,6 +246,9 @@ void Init() // Set Intro Movie Name injector::WriteMemory(0x7E2CEB, IntroMovieName, true); + // Menu Front Tire Angle + injector::WriteMemory(0xA8918C, CarSelectTireSteerAngle, true); + // Takeover // Force Name if (strcmp(PlayerName, "0") != 0) diff --git a/NFSPSExtraOptionsSettings.ini b/NFSPSExtraOptionsSettings.ini index c2c1d28..2e27742 100644 --- a/NFSPSExtraOptionsSettings.ini +++ b/NFSPSExtraOptionsSettings.ini @@ -12,6 +12,7 @@ MaximumRepairMarkers = 20 // Maximum number of repair markers can be s [Menu] ShowSpecialVinyls = 1 // Adds Special Vinyls to the shop and removes Vinyl-Car dependencies. (0 = False (Default), 1 = True) IntroMovie = FE_BG // Lets you change the background movie played on Splash Screen. (Type names without language, region names and format. FE: "fmv01_career_intro" for "fmv01_career_intro_english_ntsc.vp6".) (Default = FE_BG) +CarSelectTireSteerAngle = 340.0 // Sets the angle of front tires on menus. (Default = 340.0) ShowcaseCamInfiniteZoom = 0 // Zoom hack for Showcase Camera mode. (0 = False (Default), 1 = True) ShowcaseCamInfiniteRotation = 0 // Rotation hack for Showcase Camera mode. (0 = False (Default), 1 = True) ShowcaseCamAlwaysEnable = 0 // Use Showcase Camera mode on every menu. (0 = False (Default), 1 = True)