mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
Update menu in pk3
remove warning about positional tracking issues (thanks to Mitch fixing it in Raze upstream) Ensure SW pitch is set correctly
This commit is contained in:
parent
0778e73f9f
commit
00d07de8a7
6 changed files with 7 additions and 6 deletions
|
@ -44,7 +44,7 @@ const char *GetVersionString();
|
|||
|
||||
#define VERSIONSTR "1.7pre"
|
||||
|
||||
#define RAZEXR_VERSIONSTR "RazeXR 0.1.2"
|
||||
#define RAZEXR_VERSIONSTR "RazeXR 0.1.3"
|
||||
|
||||
// The version as seen in the Windows resource
|
||||
#define RC_FILEVERSION 1,6,9999,0
|
||||
|
|
|
@ -58,6 +58,7 @@ void GameInterface::GetInput(ControlInfo* const hidInput, double const scaleAdju
|
|||
if (!SyncInput() && gamestate == GS_LEVEL && pPlayer->actor->xspr.health != 0)
|
||||
{
|
||||
pPlayer->Angles.RenderAngles.Yaw += DAngle::fromDeg(input.avel);
|
||||
//For VR just set the pitch directly
|
||||
pPlayer->Angles.RenderAngles.Pitch = DAngle::fromDeg(input.horz);
|
||||
}
|
||||
|
||||
|
|
|
@ -841,6 +841,7 @@ void GameInterface::GetInput(ControlInfo* const hidInput, double const scaleAdju
|
|||
if (!SyncInput() && p->GetActor()->spr.extra > 0)
|
||||
{
|
||||
p->Angles.RenderAngles.Yaw += p->adjustavel(input.avel);
|
||||
//For VR just set the pitch directly
|
||||
p->Angles.RenderAngles.Pitch = DAngle::fromDeg(input.horz);
|
||||
}
|
||||
|
||||
|
|
|
@ -85,6 +85,7 @@ void GameInterface::GetInput(ControlInfo* const hidInput, double const scaleAdju
|
|||
if (!SyncInput() && gamestate == GS_LEVEL && !nFreeze)
|
||||
{
|
||||
pPlayer->Angles.RenderAngles.Yaw += DAngle::fromDeg(input.avel);
|
||||
//For VR just set the pitch directly
|
||||
pPlayer->Angles.RenderAngles.Pitch = DAngle::fromDeg(input.horz);
|
||||
|
||||
if (input.horz)
|
||||
|
|
|
@ -180,9 +180,11 @@ void GameInterface::GetInput(ControlInfo* const hidInput, double const scaleAdju
|
|||
{
|
||||
if ((pp->Flags2 & PF2_INPUT_CAN_AIM))
|
||||
{
|
||||
pp->Angles.RenderAngles.Pitch += DAngle::fromDeg(input.horz);
|
||||
//For VR just set the pitch directly
|
||||
pp->Angles.RenderAngles.Pitch = DAngle::fromDeg(input.horz);
|
||||
}
|
||||
|
||||
|
||||
if ((pp->Flags2 & PF2_INPUT_CAN_TURN_GENERAL))
|
||||
{
|
||||
pp->Angles.RenderAngles.Yaw += DAngle::fromDeg(input.avel);
|
||||
|
|
|
@ -553,10 +553,6 @@ OptionMenu "VROptionsMenu" protected
|
|||
StaticText ""
|
||||
Slider "Height Adjust", "vr_height_adjust", 0.0, 1.0, 0.1
|
||||
StaticText ""
|
||||
StaticText ""
|
||||
StaticText "Positional Tracking will exacerbate some rendering glitches"
|
||||
StaticText "when crossing sector boundaries"
|
||||
StaticText ""
|
||||
Option "Positional Tracking", "vr_positional_tracking", "YesNo"
|
||||
|
||||
StaticText ""
|
||||
|
|
Loading…
Reference in a new issue