mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 23:57:54 -05:00
935ebe6910
* WIP * Match * Changes * Fix format * Style fixes * Update naming.yml * Match to ~85%
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
#ifndef LEGO3DVIEW_H
|
|
#define LEGO3DVIEW_H
|
|
|
|
#include "mxtypes.h"
|
|
#include "tgl/d3drm/impl.h"
|
|
#include "tglsurface.h"
|
|
#include "viewmanager/viewmanager.h"
|
|
|
|
class LegoROI;
|
|
class Tgl::Renderer;
|
|
|
|
// VTABLE: LEGO1 0x100dbf78
|
|
// SIZE 0xa8
|
|
class Lego3DView {
|
|
public:
|
|
Lego3DView();
|
|
virtual ~Lego3DView();
|
|
|
|
inline ViewManager* GetViewManager() { return this->m_viewManager; }
|
|
inline TglImpl::ViewImpl* GetViewPort() { return this->m_viewPort; }
|
|
BOOL Create(TglSurface::CreateStruct& p_createStruct, Tgl::Renderer* p_renderer);
|
|
LegoROI* PickROI(MxLong p_a, MxLong p_b);
|
|
void FUN_100ab100(LegoROI* p_roi);
|
|
void FUN_100ab1b0(LegoROI* p_roi);
|
|
|
|
private:
|
|
// TODO: all of these fields are in various base classes
|
|
undefined4 m_unk0x4; // 0x04
|
|
TglImpl::RendererImpl* m_renderImpl; // 0x08
|
|
TglImpl::DeviceImpl* m_deviceImpl; // 0x0c
|
|
TglImpl::ViewImpl* m_viewPort; // 0x10
|
|
undefined m_unk0x14[0x74]; // 0x14
|
|
ViewManager* m_viewManager; // 0x88
|
|
undefined m_unk0x8c[0x1c]; // 0x8c
|
|
};
|
|
|
|
// SYNTHETIC: LEGO1 0x100aaf10
|
|
// Lego3DView::`scalar deleting destructor'
|
|
|
|
#endif // LEGO3DVIEW_H
|