mirror of
https://github.com/isledecomp/isle.git
synced 2026-05-02 13:03:56 +00:00
Clear unknowns cam animations
This commit is contained in:
parent
e5f9888aea
commit
d7129ba668
@ -19,12 +19,12 @@ DECOMP_SIZE_ASSERT(LegoPathStruct, 0x14)
|
|||||||
extern MxU32 g_isleFlags;
|
extern MxU32 g_isleFlags;
|
||||||
|
|
||||||
// GLOBAL: LEGO1 0x100f119c
|
// GLOBAL: LEGO1 0x100f119c
|
||||||
MxBool g_alsoInvertDirection = FALSE;
|
MxBool g_triggerHandlingIgnoreDirection = FALSE;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1001b700
|
// FUNCTION: LEGO1 0x1001b700
|
||||||
void LegoPathStruct::HandleTrigger(LegoPathActor* p_actor, MxBool p_direction, MxU32 p_data)
|
void LegoPathStruct::HandleTrigger(LegoPathActor* p_actor, MxBool p_direction, MxU32 p_data)
|
||||||
{
|
{
|
||||||
if (!HandleTrigger(p_actor, p_direction, p_data, FALSE) && g_alsoInvertDirection) {
|
if (!HandleTrigger(p_actor, p_direction, p_data, FALSE) && g_triggerHandlingIgnoreDirection) {
|
||||||
HandleTrigger(p_actor, p_direction, p_data, TRUE);
|
HandleTrigger(p_actor, p_direction, p_data, TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
#include "scripts.h"
|
#include "scripts.h"
|
||||||
|
|
||||||
// Defined in legopathstruct.cpp
|
// Defined in legopathstruct.cpp
|
||||||
extern MxBool g_alsoInvertDirection;
|
extern MxBool g_triggerHandlingIgnoreDirection;
|
||||||
|
|
||||||
// Defined in jetski.cpp
|
// Defined in jetski.cpp
|
||||||
extern const char* g_varJSFRNTY5;
|
extern const char* g_varJSFRNTY5;
|
||||||
@ -70,7 +70,7 @@ MxResult JetskiRace::Create(MxDSAction& p_dsAction)
|
|||||||
InvokeAction(Extra::e_start, m_atomId, raceCarDashboardStreamId, NULL);
|
InvokeAction(Extra::e_start, m_atomId, raceCarDashboardStreamId, NULL);
|
||||||
InvokeAction(Extra::e_start, m_atomId, JetraceScript::c_JetskiDashboard, NULL);
|
InvokeAction(Extra::e_start, m_atomId, JetraceScript::c_JetskiDashboard, NULL);
|
||||||
|
|
||||||
g_alsoInvertDirection = TRUE;
|
g_triggerHandlingIgnoreDirection = TRUE;
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,7 +12,7 @@ DECOMP_SIZE_ASSERT(RaceState::Entry, 0x06)
|
|||||||
DECOMP_SIZE_ASSERT(RaceState, 0x2c)
|
DECOMP_SIZE_ASSERT(RaceState, 0x2c)
|
||||||
|
|
||||||
// Defined in legopathstruct.cpp
|
// Defined in legopathstruct.cpp
|
||||||
extern MxBool g_alsoInvertDirection;
|
extern MxBool g_triggerHandlingIgnoreDirection;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10015aa0
|
// FUNCTION: LEGO1 0x10015aa0
|
||||||
LegoRace::LegoRace()
|
LegoRace::LegoRace()
|
||||||
@ -56,7 +56,7 @@ MxResult LegoRace::Create(MxDSAction& p_dsAction)
|
|||||||
// FUNCTION: BETA10 0x100c7ab5
|
// FUNCTION: BETA10 0x100c7ab5
|
||||||
LegoRace::~LegoRace()
|
LegoRace::~LegoRace()
|
||||||
{
|
{
|
||||||
g_alsoInvertDirection = FALSE;
|
g_triggerHandlingIgnoreDirection = FALSE;
|
||||||
if (m_pathActor) {
|
if (m_pathActor) {
|
||||||
SetUserActor(m_pathActor);
|
SetUserActor(m_pathActor);
|
||||||
NavController()->ResetMaxLinearVel(m_pathActor->GetMaxLinearVel());
|
NavController()->ResetMaxLinearVel(m_pathActor->GetMaxLinearVel());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user