mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-23 08:08:03 -05:00
63 lines
1.2 KiB
C
63 lines
1.2 KiB
C
|
#ifndef _Lego3DView_h
|
||
|
#define _Lego3DView_h
|
||
|
|
||
|
#include "decomp.h"
|
||
|
#include "legoview1.h"
|
||
|
|
||
|
class ViewROI;
|
||
|
class ViewManager;
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// Lego3DView
|
||
|
|
||
|
// VTABLE: LEGO1 0x100dbf78
|
||
|
// SIZE 0xa8
|
||
|
class Lego3DView : public LegoView1 {
|
||
|
public:
|
||
|
Lego3DView();
|
||
|
virtual ~Lego3DView() override;
|
||
|
|
||
|
BOOL Create(const CreateStruct&, Tgl::Renderer*);
|
||
|
virtual void Destroy() override; // vtable+0x08
|
||
|
|
||
|
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();
|
||
|
// double GetTargetRenderingRate() const;
|
||
|
|
||
|
private:
|
||
|
ViewManager* m_pViewManager; // 0x88
|
||
|
double m_previousRenderTime; // 0x8c
|
||
|
|
||
|
ViewROI* m_pPointOfView; // 0x90
|
||
|
|
||
|
undefined m_unk0x94[0x0c]; // 0x94
|
||
|
};
|
||
|
|
||
|
// SYNTHETIC: LEGO1 0x100aaf10
|
||
|
// Lego3DView::`scalar deleting destructor'
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Lego3DView implementation
|
||
|
|
||
|
inline ViewManager* Lego3DView::GetViewManager()
|
||
|
{
|
||
|
return m_pViewManager;
|
||
|
}
|
||
|
|
||
|
inline ViewROI* Lego3DView::GetPointOfView()
|
||
|
{
|
||
|
return m_pPointOfView;
|
||
|
}
|
||
|
|
||
|
#endif /* _Lego3DView_h */
|