mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 23:01:16 +00:00
Merge branch 'master' into order-animactor
This commit is contained in:
commit
786e5afe0e
@ -517,11 +517,12 @@ MxResult LegoRaceCar::HitActor(LegoPathActor* p_actor, MxBool p_bool)
|
||||
}
|
||||
}
|
||||
|
||||
if (p_bool && m_worldSpeed != 0) {
|
||||
return SUCCESS;
|
||||
if (p_bool) {
|
||||
return m_worldSpeed != 0 ? SUCCESS : FAILURE;
|
||||
}
|
||||
else {
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
return FAILURE;
|
||||
}
|
||||
}
|
||||
|
||||
@ -717,11 +718,12 @@ MxResult LegoJetski::HitActor(LegoPathActor* p_actor, MxBool p_bool)
|
||||
}
|
||||
}
|
||||
|
||||
if (p_bool && m_worldSpeed != 0) {
|
||||
return SUCCESS;
|
||||
if (p_bool) {
|
||||
return m_worldSpeed != 0 ? SUCCESS : FAILURE;
|
||||
}
|
||||
else {
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
return FAILURE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -52,4 +52,8 @@ class Matrix4 {
|
||||
const float* operator[](int idx) const { return m_data[idx]; }
|
||||
};
|
||||
|
||||
#ifdef COMPAT_MODE
|
||||
#include "matrix4d.inl.h"
|
||||
#endif
|
||||
|
||||
#endif // MATRIX_H
|
||||
|
||||
@ -148,4 +148,10 @@ class Vector4 : public Vector3 {
|
||||
friend class Mx4DPointFloat;
|
||||
};
|
||||
|
||||
#ifdef COMPAT_MODE
|
||||
#include "vector2d.inl.h"
|
||||
#include "vector3d.inl.h"
|
||||
#include "vector4d.inl.h"
|
||||
#endif
|
||||
|
||||
#endif // VECTOR_H
|
||||
|
||||
@ -3,6 +3,9 @@
|
||||
|
||||
#include "vector.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <memory.h>
|
||||
|
||||
// FUNCTION: LEGO1 0x10002870
|
||||
void Vector4::AddImpl(const float* p_value)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user