mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-31 04:01:16 +00:00
msys2 mingw compat (cannot pass reference of rvalue)
This commit is contained in:
parent
bf34d20cea
commit
a35f7e74cc
@ -39,7 +39,14 @@ void LegoActionControlPresenter::RepeatingTickle()
|
|||||||
ParseExtra();
|
ParseExtra();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef COMPAT_MODE
|
||||||
|
{
|
||||||
|
MxAtomId atom(m_unk0x54.GetData(), LookupMode_LowerCase2);
|
||||||
|
InvokeAction(m_unk0x50, atom, m_unk0x64, NULL);
|
||||||
|
}
|
||||||
|
#else
|
||||||
InvokeAction(m_unk0x50, MxAtomId(m_unk0x54.GetData(), LookupMode_LowerCase2), m_unk0x64, NULL);
|
InvokeAction(m_unk0x50, MxAtomId(m_unk0x54.GetData(), LookupMode_LowerCase2), m_unk0x64, NULL);
|
||||||
|
#endif
|
||||||
m_previousTickleStates |= 1 << (unsigned char) m_currentTickleState;
|
m_previousTickleStates |= 1 << (unsigned char) m_currentTickleState;
|
||||||
m_currentTickleState = TickleState_Done;
|
m_currentTickleState = TickleState_Done;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,7 +10,14 @@ DECOMP_SIZE_ASSERT(LegoCameraController, 0xc8);
|
|||||||
// FUNCTION: LEGO1 0x10011d50
|
// FUNCTION: LEGO1 0x10011d50
|
||||||
LegoCameraController::LegoCameraController()
|
LegoCameraController::LegoCameraController()
|
||||||
{
|
{
|
||||||
|
#ifdef COMPAT_MODE
|
||||||
|
Vector3Data at(0, 0, 0);
|
||||||
|
Vector3Data dir(0, 0, 1);
|
||||||
|
Vector3Data up(0, 1, 0);
|
||||||
|
SetWorldTransform(at, dir, up);
|
||||||
|
#else
|
||||||
SetWorldTransform(Vector3Data(0, 0, 0), Vector3Data(0, 0, 1), Vector3Data(0, 1, 0));
|
SetWorldTransform(Vector3Data(0, 0, 0), Vector3Data(0, 0, 1), Vector3Data(0, 1, 0));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10011f70
|
// FUNCTION: LEGO1 0x10011f70
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user