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 0x100d5984 LegoRaceMap
|
||||
// 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
|
||||
class LegoRaceCar : public LegoCarRaceActor, public LegoRaceMap {
|
||||
public:
|
||||
|
||||
@ -172,16 +172,16 @@ void LegoRaceCar::FUN_10012ff0(float p_param)
|
||||
else if (a->GetAnimTreePtr()->GetCamAnim()) {
|
||||
MxMatrix transformationMatrix;
|
||||
|
||||
LegoWorld* currentWorld = CurrentWorld(); // called `r` in BETA10
|
||||
assert(currentWorld);
|
||||
LegoWorld* r = CurrentWorld(); // called `r` in BETA10
|
||||
assert(r);
|
||||
|
||||
transformationMatrix.SetIdentity();
|
||||
|
||||
// Possible bug in the original code: The first argument is not initialized
|
||||
a->GetAnimTreePtr()->GetCamAnim()->FUN_1009f490(deltaTime, transformationMatrix);
|
||||
|
||||
if (currentWorld->GetCamera()) {
|
||||
currentWorld->GetCamera()->FUN_100123e0(transformationMatrix, 0);
|
||||
if (r->GetCamera()) {
|
||||
r->GetCamera()->FUN_100123e0(transformationMatrix, 0);
|
||||
}
|
||||
|
||||
m_roi->FUN_100a58f0(transformationMatrix);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user