Fix fixed position camera hint

This commit is contained in:
Jack Andersen 2018-07-09 08:08:44 -10:00
parent ef1f9d564c
commit 67197621a1
6 changed files with 7 additions and 6 deletions

View File

@ -305,7 +305,7 @@ void CNESShader::Initialize()
break;
#endif
#if _WIN32
case boo::IGraphicsDataFactory::Platform::D3D11:
case boo::IGraphicsDataFactory::Platform::D3D11:
Initialize(static_cast<boo::D3DDataFactory::Context&>(ctx));
break;
#endif
@ -315,7 +315,7 @@ void CNESShader::Initialize()
break;
#endif
#if BOO_HAS_VULKAN
case boo::IGraphicsDataFactory::Platform::Vulkan:
case boo::IGraphicsDataFactory::Platform::Vulkan:
Initialize(static_cast<boo::VulkanDataFactory::Context&>(ctx));
break;
#endif

View File

@ -3,7 +3,7 @@
#include "CDvdFile.hpp"
#include "CDvdRequest.hpp"
#include "Audio/CAudioSys.hpp"
#include "amuse/DSPCodec.h"
#include "amuse/DSPCodec.hpp"
#include <memory>
namespace urde

View File

@ -2285,6 +2285,7 @@ void CBallCamera::UpdateLookAtPosition(float dt, CStateManager& mgr)
lookAtOffsetAhead = moveXf * lookAtOffsetAhead;
zeus::CVector3f lookAtPosAhead = ballPos + lookAtOffsetAhead;
x1c0_lookPosAhead = lookAtPosAhead;
x1cc_fixedLookPos = ballPos + zeus::CVector3f(0.f, 0.f, lookAtOffsetAhead.z);
zeus::CVector3f aheadToCurrentLookDelta = x1d8_lookPos - lookAtPosAhead;
float aheadToCurrentLookMag = aheadToCurrentLookDelta.magnitude();
if (aheadToCurrentLookDelta.canBeNormalized())

View File

@ -3,7 +3,7 @@
#include "specter/View.hpp"
#include "CGraphics.hpp"
#include "Audio/g721.h"
#include "amuse/DSPCodec.h"
#include "amuse/DSPCodec.hpp"
#include "CDvdRequest.hpp"
#include <turbojpeg.h>

View File

@ -2006,7 +2006,7 @@ CFrontEndUI::CFrontEndUI()
m->ResetGameState();
g_GameState->SetCurrentWorldId(g_ResFactory->TranslateOriginalToNew(g_DefaultWorldTag.id));
g_GameState->CurrentWorldState().SetAreaId(26);
g_GameState->CurrentWorldState().SetAreaId(7);
g_GameState->GameOptions().ResetToDefaults();
g_GameState->WriteBackupBuf();

2
amuse

@ -1 +1 @@
Subproject commit 1e8ce19b167c80706ed396d32d1cc573c2b2a7ee
Subproject commit cdc720b8a7b7cade5f3ca22d98ee9c8aec16b8a8