mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement LegoRaceCar::FUN_10012ff0(), refactoring (#1063)
* Implement `LegoRaceCar::FUN_10012ff0()`, refactor based on BETA10 * Add BETA10 annotations * Rename functions and variables based on BETA10 assertions * Address issues raised by linter * Rename variable, add BETA10 vtables * Rename legoracecar files to legoracers --------- Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
@@ -13,6 +13,7 @@ struct UnknownMatrixType {
|
||||
// The class needs to undergo a very careful refactoring to fix that (no matches should break).
|
||||
|
||||
// VTABLE: LEGO1 0x100d4350
|
||||
// VTABLE: BETA10 0x101b8340
|
||||
// SIZE 0x08
|
||||
class Matrix4 {
|
||||
public:
|
||||
|
||||
@@ -98,6 +98,7 @@ void OrientableROI::GetLocalTransform(Matrix4& p_transform)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a58f0
|
||||
// FUNCTION: BETA10 0x10167b77
|
||||
void OrientableROI::FUN_100a58f0(const Matrix4& p_transform)
|
||||
{
|
||||
m_local2world = p_transform;
|
||||
|
||||
@@ -47,6 +47,7 @@ public:
|
||||
|
||||
void SetParentROI(OrientableROI* p_parentROI) { m_parentROI = p_parentROI; }
|
||||
|
||||
// FUNCTION: BETA10 0x10168800
|
||||
void ToggleUnknown0xd8(BOOL p_enable)
|
||||
{
|
||||
if (p_enable) {
|
||||
|
||||
Reference in New Issue
Block a user