mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Fix structure of Lego3DView (#422)
This commit is contained in:

committed by
GitHub

parent
b996fff6fa
commit
9eea48f629
@@ -10,11 +10,12 @@ DECOMP_SIZE_ASSERT(Lego3DView, 0xa8)
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Lego3DView
|
||||
|
||||
// STUB: LEGO1 0x100aae90
|
||||
// FUNCTION: LEGO1 0x100aae90
|
||||
Lego3DView::Lego3DView()
|
||||
{
|
||||
m_pViewManager = 0;
|
||||
m_previousRenderTime = 0;
|
||||
m_unk0x98 = 0;
|
||||
m_pPointOfView = 0;
|
||||
}
|
||||
|
||||
@@ -53,12 +54,12 @@ BOOL Lego3DView::Create(const TglSurface::CreateStruct& rCreateStruct, Tgl::Rend
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x100ab0b0
|
||||
// FUNCTION: LEGO1 0x100ab0b0
|
||||
void Lego3DView::Destroy()
|
||||
{
|
||||
if (m_pPointOfView) {
|
||||
m_pPointOfView = 0;
|
||||
// m_pViewManager->SetPOVSource(0);
|
||||
m_pViewManager->SetPOVSource(0);
|
||||
}
|
||||
|
||||
delete m_pViewManager;
|
||||
|
@@ -3,9 +3,7 @@
|
||||
|
||||
#include "decomp.h"
|
||||
#include "legoview1.h"
|
||||
|
||||
class ViewROI;
|
||||
class ViewManager;
|
||||
#include "viewmanager/viewmanager.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Lego3DView
|
||||
@@ -35,9 +33,9 @@ public:
|
||||
|
||||
private:
|
||||
ViewManager* m_pViewManager; // 0x88
|
||||
double m_previousRenderTime; // 0x8c
|
||||
ViewROI* m_pPointOfView; // 0x94
|
||||
undefined m_unk0x98[0x0c]; // 0x98
|
||||
double m_previousRenderTime; // 0x90
|
||||
double m_unk0x98; // 0x98
|
||||
ViewROI* m_pPointOfView; // 0xa0
|
||||
};
|
||||
|
||||
// SYNTHETIC: LEGO1 0x100aaf10
|
||||
|
Reference in New Issue
Block a user