mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 16:21:15 +00:00
Rename variable, add BETA10 vtables
This commit is contained in:
parent
1f141dbe3a
commit
2a761510e9
@ -15,6 +15,11 @@ struct EdgeReference {
|
|||||||
// VTABLE: LEGO1 0x100d58b8 LegoPathActor
|
// VTABLE: LEGO1 0x100d58b8 LegoPathActor
|
||||||
// VTABLE: LEGO1 0x100d5984 LegoRaceMap
|
// VTABLE: LEGO1 0x100d5984 LegoRaceMap
|
||||||
// VTABLE: LEGO1 0x100d5988 LegoCarRaceActor
|
// VTABLE: LEGO1 0x100d5988 LegoCarRaceActor
|
||||||
|
// VTABLE: BETA10 0x101be6ec LegoRaceActor
|
||||||
|
// VTABLE: BETA10 0x101be6f0 LegoAnimActor
|
||||||
|
// VTABLE: BETA10 0x101be708 LegoPathActor
|
||||||
|
// VTABLE: BETA10 0x101be7f8 LegoRaceMap
|
||||||
|
// VTABLE: BETA10 0x101be800 LegoCarRaceActor
|
||||||
// SIZE 0x200
|
// SIZE 0x200
|
||||||
class LegoRaceCar : public LegoCarRaceActor, public LegoRaceMap {
|
class LegoRaceCar : public LegoCarRaceActor, public LegoRaceMap {
|
||||||
public:
|
public:
|
||||||
|
|||||||
@ -172,16 +172,16 @@ void LegoRaceCar::FUN_10012ff0(float p_param)
|
|||||||
else if (a->GetAnimTreePtr()->GetCamAnim()) {
|
else if (a->GetAnimTreePtr()->GetCamAnim()) {
|
||||||
MxMatrix transformationMatrix;
|
MxMatrix transformationMatrix;
|
||||||
|
|
||||||
LegoWorld* currentWorld = CurrentWorld(); // called `r` in BETA10
|
LegoWorld* r = CurrentWorld(); // called `r` in BETA10
|
||||||
assert(currentWorld);
|
assert(r);
|
||||||
|
|
||||||
transformationMatrix.SetIdentity();
|
transformationMatrix.SetIdentity();
|
||||||
|
|
||||||
// Possible bug in the original code: The first argument is not initialized
|
// Possible bug in the original code: The first argument is not initialized
|
||||||
a->GetAnimTreePtr()->GetCamAnim()->FUN_1009f490(deltaTime, transformationMatrix);
|
a->GetAnimTreePtr()->GetCamAnim()->FUN_1009f490(deltaTime, transformationMatrix);
|
||||||
|
|
||||||
if (currentWorld->GetCamera()) {
|
if (r->GetCamera()) {
|
||||||
currentWorld->GetCamera()->FUN_100123e0(transformationMatrix, 0);
|
r->GetCamera()->FUN_100123e0(transformationMatrix, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_roi->FUN_100a58f0(transformationMatrix);
|
m_roi->FUN_100a58f0(transformationMatrix);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user