mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-27 22:47:37 +00:00
Some checks failed
Analyze / ${{ matrix.who }} annotations (CONFIG) (push) Has been cancelled
Analyze / ${{ matrix.who }} annotations (ISLE) (push) Has been cancelled
Analyze / ${{ matrix.who }} annotations (LEGO1) (push) Has been cancelled
Build / Download original binaries (push) Has been cancelled
Build / Current ${{ matrix.toolchain.name }} (map[clang-tidy:true msys-env:mingw-w64-i686 msystem:mingw32 name:msys2 mingw32 shell:msys2 {0} werror:true]) (push) Has been cancelled
Build / Current ${{ matrix.toolchain.name }} (map[name:MSVC setup-cmake:true setup-msvc:true setup-ninja:true shell:sh]) (push) Has been cancelled
Build / MSVC 4.20 (push) Has been cancelled
Build / MSVC 4.20 (BETA10) (push) Has been cancelled
Format / C++ (push) Has been cancelled
Naming / C++ (push) Has been cancelled
Build / Verify decomp (push) Has been cancelled
Build / Upload artifacts (push) Has been cancelled
* Beta match SpheresIntersect * Extra beta addresses
62 lines
1.2 KiB
C++
62 lines
1.2 KiB
C++
#ifndef _Lego3DView_h
|
|
#define _Lego3DView_h
|
|
|
|
#include "decomp.h"
|
|
#include "legoview1.h"
|
|
|
|
class ViewManager;
|
|
class ViewROI;
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Lego3DView
|
|
|
|
// VTABLE: LEGO1 0x100dbf78
|
|
// SIZE 0xa8
|
|
class Lego3DView : public LegoView1 {
|
|
public:
|
|
Lego3DView();
|
|
~Lego3DView() override;
|
|
|
|
BOOL Create(const CreateStruct&, Tgl::Renderer*);
|
|
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();
|
|
|
|
private:
|
|
ViewManager* m_pViewManager; // 0x88
|
|
double m_previousRenderTime; // 0x90
|
|
double m_unk0x98; // 0x98
|
|
ViewROI* m_pPointOfView; // 0xa0
|
|
};
|
|
|
|
// SYNTHETIC: LEGO1 0x100aaf10
|
|
// Lego3DView::`scalar deleting destructor'
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Lego3DView implementation
|
|
|
|
// FUNCTION: BETA10 0x10011810
|
|
inline ViewManager* Lego3DView::GetViewManager()
|
|
{
|
|
return m_pViewManager;
|
|
}
|
|
|
|
// FUNCTION: BETA10 0x1006aae0
|
|
inline ViewROI* Lego3DView::GetPointOfView()
|
|
{
|
|
return m_pPointOfView;
|
|
}
|
|
|
|
#endif /* _Lego3DView_h */
|