mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 23:57:54 -05:00
a06a360dc6
* Implement Lego3DManager * Update lego3dview.cpp * fix * fixes * fix wrong vtable address * Fixes/matches * Fix Lego3DView * Use undefined * More fixes * Rename * Rename pad * Add blank line * Delete stuff --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
38 lines
1 KiB
C++
38 lines
1 KiB
C++
#ifndef LEGO3DVIEW_H
|
|
#define LEGO3DVIEW_H
|
|
|
|
#include "mxrendersettings.h"
|
|
#include "mxtypes.h"
|
|
#include "tgl/d3drm/impl.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; }
|
|
MxBool Init(MxRenderSettings& p_renderSettings, Tgl::Renderer& p_render);
|
|
LegoROI* PickROI(MxLong p_a, MxLong p_b);
|
|
|
|
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
|