mirror of https://github.com/AxioDL/metaforce.git
Fix fixed position camera hint
This commit is contained in:
parent
ef1f9d564c
commit
67197621a1
|
@ -305,7 +305,7 @@ void CNESShader::Initialize()
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if _WIN32
|
#if _WIN32
|
||||||
case boo::IGraphicsDataFactory::Platform::D3D11:
|
case boo::IGraphicsDataFactory::Platform::D3D11:
|
||||||
Initialize(static_cast<boo::D3DDataFactory::Context&>(ctx));
|
Initialize(static_cast<boo::D3DDataFactory::Context&>(ctx));
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
@ -315,7 +315,7 @@ void CNESShader::Initialize()
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if BOO_HAS_VULKAN
|
#if BOO_HAS_VULKAN
|
||||||
case boo::IGraphicsDataFactory::Platform::Vulkan:
|
case boo::IGraphicsDataFactory::Platform::Vulkan:
|
||||||
Initialize(static_cast<boo::VulkanDataFactory::Context&>(ctx));
|
Initialize(static_cast<boo::VulkanDataFactory::Context&>(ctx));
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include "CDvdFile.hpp"
|
#include "CDvdFile.hpp"
|
||||||
#include "CDvdRequest.hpp"
|
#include "CDvdRequest.hpp"
|
||||||
#include "Audio/CAudioSys.hpp"
|
#include "Audio/CAudioSys.hpp"
|
||||||
#include "amuse/DSPCodec.h"
|
#include "amuse/DSPCodec.hpp"
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
namespace urde
|
namespace urde
|
||||||
|
|
|
@ -2285,6 +2285,7 @@ void CBallCamera::UpdateLookAtPosition(float dt, CStateManager& mgr)
|
||||||
lookAtOffsetAhead = moveXf * lookAtOffsetAhead;
|
lookAtOffsetAhead = moveXf * lookAtOffsetAhead;
|
||||||
zeus::CVector3f lookAtPosAhead = ballPos + lookAtOffsetAhead;
|
zeus::CVector3f lookAtPosAhead = ballPos + lookAtOffsetAhead;
|
||||||
x1c0_lookPosAhead = lookAtPosAhead;
|
x1c0_lookPosAhead = lookAtPosAhead;
|
||||||
|
x1cc_fixedLookPos = ballPos + zeus::CVector3f(0.f, 0.f, lookAtOffsetAhead.z);
|
||||||
zeus::CVector3f aheadToCurrentLookDelta = x1d8_lookPos - lookAtPosAhead;
|
zeus::CVector3f aheadToCurrentLookDelta = x1d8_lookPos - lookAtPosAhead;
|
||||||
float aheadToCurrentLookMag = aheadToCurrentLookDelta.magnitude();
|
float aheadToCurrentLookMag = aheadToCurrentLookDelta.magnitude();
|
||||||
if (aheadToCurrentLookDelta.canBeNormalized())
|
if (aheadToCurrentLookDelta.canBeNormalized())
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include "specter/View.hpp"
|
#include "specter/View.hpp"
|
||||||
#include "CGraphics.hpp"
|
#include "CGraphics.hpp"
|
||||||
#include "Audio/g721.h"
|
#include "Audio/g721.h"
|
||||||
#include "amuse/DSPCodec.h"
|
#include "amuse/DSPCodec.hpp"
|
||||||
#include "CDvdRequest.hpp"
|
#include "CDvdRequest.hpp"
|
||||||
#include <turbojpeg.h>
|
#include <turbojpeg.h>
|
||||||
|
|
||||||
|
|
|
@ -2006,7 +2006,7 @@ CFrontEndUI::CFrontEndUI()
|
||||||
|
|
||||||
m->ResetGameState();
|
m->ResetGameState();
|
||||||
g_GameState->SetCurrentWorldId(g_ResFactory->TranslateOriginalToNew(g_DefaultWorldTag.id));
|
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->GameOptions().ResetToDefaults();
|
||||||
g_GameState->WriteBackupBuf();
|
g_GameState->WriteBackupBuf();
|
||||||
|
|
||||||
|
|
2
amuse
2
amuse
|
@ -1 +1 @@
|
||||||
Subproject commit 1e8ce19b167c80706ed396d32d1cc573c2b2a7ee
|
Subproject commit cdc720b8a7b7cade5f3ca22d98ee9c8aec16b8a8
|
Loading…
Reference in New Issue