2024-01-06 21:29:32 -05:00
|
|
|
#ifndef _Lego3DView_h
|
|
|
|
#define _Lego3DView_h
|
|
|
|
|
|
|
|
#include "decomp.h"
|
|
|
|
#include "legoview1.h"
|
2024-05-03 12:19:12 -04:00
|
|
|
|
|
|
|
class ViewManager;
|
|
|
|
class ViewROI;
|
2024-01-06 21:29:32 -05:00
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Lego3DView
|
|
|
|
|
|
|
|
// VTABLE: LEGO1 0x100dbf78
|
|
|
|
// SIZE 0xa8
|
|
|
|
class Lego3DView : public LegoView1 {
|
|
|
|
public:
|
|
|
|
Lego3DView();
|
2024-02-01 15:42:10 -05:00
|
|
|
~Lego3DView() override;
|
2024-01-06 21:29:32 -05:00
|
|
|
|
|
|
|
BOOL Create(const CreateStruct&, Tgl::Renderer*);
|
2024-02-01 15:42:10 -05:00
|
|
|
void Destroy() override; // vtable+0x08
|
2024-01-06 21:29:32 -05:00
|
|
|
|
|
|
|
BOOL Add(ViewROI&);
|
|
|
|
BOOL Remove(ViewROI&);
|
|
|
|
BOOL Moved(ViewROI&);
|
|
|
|
BOOL SetPointOfView(ViewROI&);
|
|
|
|
|
|
|
|
double Render(double p_und);
|
|
|
|
|
|
|
|
ViewROI* Pick(unsigned long x, unsigned long y);
|
|
|
|
|
|
|
|
ViewROI* GetPointOfView();
|
|
|
|
ViewManager* GetViewManager();
|
|
|
|
|
|
|
|
private:
|
|
|
|
ViewManager* m_pViewManager; // 0x88
|
2024-01-10 17:40:24 -05:00
|
|
|
double m_previousRenderTime; // 0x90
|
|
|
|
double m_unk0x98; // 0x98
|
|
|
|
ViewROI* m_pPointOfView; // 0xa0
|
2024-01-06 21:29:32 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
// SYNTHETIC: LEGO1 0x100aaf10
|
|
|
|
// Lego3DView::`scalar deleting destructor'
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Lego3DView implementation
|
|
|
|
|
2024-12-09 16:05:08 -05:00
|
|
|
// FUNCTION: BETA10 0x10011810
|
2024-01-06 21:29:32 -05:00
|
|
|
inline ViewManager* Lego3DView::GetViewManager()
|
|
|
|
{
|
|
|
|
return m_pViewManager;
|
|
|
|
}
|
|
|
|
|
|
|
|
inline ViewROI* Lego3DView::GetPointOfView()
|
|
|
|
{
|
|
|
|
return m_pPointOfView;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _Lego3DView_h */
|