mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 16:21:15 +00:00
Add BETA10 annotations
This commit is contained in:
parent
7a6935a165
commit
32ad237d90
@ -46,9 +46,11 @@ class LegoEventNotificationParam : public MxNotificationParam {
|
|||||||
MxU8 GetKey() const { return m_key; }
|
MxU8 GetKey() const { return m_key; }
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10012190
|
// FUNCTION: LEGO1 0x10012190
|
||||||
|
// FUNCTION: BETA10 0x10024210
|
||||||
MxS32 GetX() const { return m_x; }
|
MxS32 GetX() const { return m_x; }
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100121a0
|
// FUNCTION: LEGO1 0x100121a0
|
||||||
|
// FUNCTION: BETA10 0x10024240
|
||||||
MxS32 GetY() const { return m_y; }
|
MxS32 GetY() const { return m_y; }
|
||||||
|
|
||||||
void SetROI(LegoROI* p_roi) { m_roi = p_roi; }
|
void SetROI(LegoROI* p_roi) { m_roi = p_roi; }
|
||||||
|
|||||||
@ -40,7 +40,7 @@ LegoEntity* PickEntity(MxLong, MxLong);
|
|||||||
LegoROI* PickROI(MxLong, MxLong);
|
LegoROI* PickROI(MxLong, MxLong);
|
||||||
LegoROI* PickParentROI(MxLong p_a, MxLong p_b);
|
LegoROI* PickParentROI(MxLong p_a, MxLong p_b);
|
||||||
void FUN_1003dde0(LegoROI* p_param1, MxFloat p_param2);
|
void FUN_1003dde0(LegoROI* p_param1, MxFloat p_param2);
|
||||||
MxBool FUN_1003ded0(MxFloat p_param1[3], MxFloat p_param2[3], MxFloat p_param3[3]);
|
MxBool FUN_1003ded0(MxFloat p_param1[2], MxFloat p_param2[3], MxFloat p_param3[3]);
|
||||||
MxBool TransformWorldToScreen(const MxFloat p_world[3], MxFloat p_screen[4]);
|
MxBool TransformWorldToScreen(const MxFloat p_world[3], MxFloat p_screen[4]);
|
||||||
MxS16 CountTotalTreeNodes(LegoTreeNode* p_node);
|
MxS16 CountTotalTreeNodes(LegoTreeNode* p_node);
|
||||||
void FUN_1003e050(LegoAnimPresenter* p_presenter);
|
void FUN_1003e050(LegoAnimPresenter* p_presenter);
|
||||||
|
|||||||
@ -792,6 +792,7 @@ inline void LoadIsle()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1003b060
|
// FUNCTION: LEGO1 0x1003b060
|
||||||
|
// FUNCTION: BETA10 0x10085adf
|
||||||
void LegoGameState::SwitchArea(Area p_area)
|
void LegoGameState::SwitchArea(Area p_area)
|
||||||
{
|
{
|
||||||
m_previousArea = m_currentArea;
|
m_previousArea = m_currentArea;
|
||||||
|
|||||||
@ -70,7 +70,7 @@ void FUN_1003dde0(LegoROI* p_param1, MxFloat p_param2)
|
|||||||
|
|
||||||
// FUNCTION: LEGO1 0x1003ded0
|
// FUNCTION: LEGO1 0x1003ded0
|
||||||
// FUNCTION: BETA10 0x100d3802
|
// FUNCTION: BETA10 0x100d3802
|
||||||
MxBool FUN_1003ded0(MxFloat p_param1[3], MxFloat p_param2[3], MxFloat p_param3[3])
|
MxBool FUN_1003ded0(MxFloat p_param1[2], MxFloat p_param2[3], MxFloat p_param3[3])
|
||||||
{
|
{
|
||||||
MxFloat local1c[4];
|
MxFloat local1c[4];
|
||||||
MxFloat local10[3];
|
MxFloat local10[3];
|
||||||
|
|||||||
@ -224,6 +224,7 @@ void LegoWorld::Destroy(MxBool p_fromDestructor)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1001f5e0
|
// FUNCTION: LEGO1 0x1001f5e0
|
||||||
|
// FUNCTION: BETA10 0x100d9f5f
|
||||||
MxLong LegoWorld::Notify(MxParam& p_param)
|
MxLong LegoWorld::Notify(MxParam& p_param)
|
||||||
{
|
{
|
||||||
MxLong result = 0;
|
MxLong result = 0;
|
||||||
@ -441,7 +442,8 @@ void LegoWorld::Add(MxCore* p_object)
|
|||||||
|
|
||||||
m_entityList->Append((LegoEntity*) p_object);
|
m_entityList->Append((LegoEntity*) p_object);
|
||||||
}
|
}
|
||||||
else if (p_object->IsA("LegoLocomotionAnimPresenter") || p_object->IsA("LegoHideAnimPresenter") || p_object->IsA("LegoLoopingAnimPresenter")) {
|
else if (p_object->IsA("LegoLocomotionAnimPresenter") || p_object->IsA("LegoHideAnimPresenter") ||
|
||||||
|
p_object->IsA("LegoLoopingAnimPresenter")) {
|
||||||
MxPresenterListCursor cursor(&m_animPresenters);
|
MxPresenterListCursor cursor(&m_animPresenters);
|
||||||
|
|
||||||
if (cursor.Find((MxPresenter*) p_object)) {
|
if (cursor.Find((MxPresenter*) p_object)) {
|
||||||
@ -495,7 +497,8 @@ void LegoWorld::Remove(MxCore* p_object)
|
|||||||
((MxControlPresenter*) p_object)->VTable0x68(TRUE);
|
((MxControlPresenter*) p_object)->VTable0x68(TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (p_object->IsA("LegoLocomotionAnimPresenter") || p_object->IsA("LegoHideAnimPresenter") || p_object->IsA("LegoLoopingAnimPresenter")) {
|
else if (p_object->IsA("LegoLocomotionAnimPresenter") || p_object->IsA("LegoHideAnimPresenter") ||
|
||||||
|
p_object->IsA("LegoLoopingAnimPresenter")) {
|
||||||
MxPresenterListCursor cursor(&m_animPresenters);
|
MxPresenterListCursor cursor(&m_animPresenters);
|
||||||
|
|
||||||
if (cursor.Find((MxPresenter*) p_object)) {
|
if (cursor.Find((MxPresenter*) p_object)) {
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
class MxMatrix : public Matrix4 {
|
class MxMatrix : public Matrix4 {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1006b120
|
// FUNCTION: LEGO1 0x1006b120
|
||||||
|
// FUNCTION: BETA10 0x10015370
|
||||||
MxMatrix() : Matrix4(m_elements) {}
|
MxMatrix() : Matrix4(m_elements) {}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10032770
|
// FUNCTION: LEGO1 0x10032770
|
||||||
|
|||||||
@ -18,6 +18,7 @@ struct UnknownMatrixType {
|
|||||||
class Matrix4 {
|
class Matrix4 {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x10004500
|
// FUNCTION: LEGO1 0x10004500
|
||||||
|
// FUNCTION: BETA10 0x1000fc70
|
||||||
Matrix4(float (*p_data)[4]) { SetData(p_data); }
|
Matrix4(float (*p_data)[4]) { SetData(p_data); }
|
||||||
|
|
||||||
// Note: virtual function overloads appear in the virtual table
|
// Note: virtual function overloads appear in the virtual table
|
||||||
@ -27,6 +28,7 @@ class Matrix4 {
|
|||||||
virtual void Equals(float (*p_data)[4]) { memcpy(m_data, p_data, sizeof(float) * 4 * 4); } // vtable+0x04
|
virtual void Equals(float (*p_data)[4]) { memcpy(m_data, p_data, sizeof(float) * 4 * 4); } // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10002340
|
// FUNCTION: LEGO1 0x10002340
|
||||||
|
// FUNCTION: BETA10 0x1000fcf0
|
||||||
virtual void Equals(const Matrix4& p_matrix)
|
virtual void Equals(const Matrix4& p_matrix)
|
||||||
{
|
{
|
||||||
memcpy(m_data, p_matrix.m_data, sizeof(float) * 4 * 4);
|
memcpy(m_data, p_matrix.m_data, sizeof(float) * 4 * 4);
|
||||||
|
|||||||
@ -22,6 +22,7 @@ OrientableROI::OrientableROI()
|
|||||||
|
|
||||||
// Maybe an overload based on MxMatrix type
|
// Maybe an overload based on MxMatrix type
|
||||||
// FUNCTION: LEGO1 0x100a46a0
|
// FUNCTION: LEGO1 0x100a46a0
|
||||||
|
// FUNCTION: BETA10 0x10165268
|
||||||
void OrientableROI::WrappedSetLocalTransform(const Matrix4& p_transform)
|
void OrientableROI::WrappedSetLocalTransform(const Matrix4& p_transform)
|
||||||
{
|
{
|
||||||
SetLocalTransform(p_transform);
|
SetLocalTransform(p_transform);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user