mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
ceca2aac31
* implement a few functions * fixes * Fixes * Add annotations --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
27 lines
812 B
C++
27 lines
812 B
C++
#ifndef LEGO3DVIEW_H
|
|
#define LEGO3DVIEW_H
|
|
|
|
#include "mxtypes.h"
|
|
#include "tgl/d3drm/impl.h"
|
|
#include "viewmanager/viewmanager.h"
|
|
|
|
class LegoROI;
|
|
|
|
class Lego3DView {
|
|
public:
|
|
inline ViewManager* GetViewManager() { return this->m_viewManager; }
|
|
inline TglImpl::ViewImpl* GetViewPort() { return this->m_viewPort; }
|
|
LegoROI* PickROI(MxLong p_a, MxLong p_b);
|
|
|
|
private:
|
|
// TODO: all of these fields are in various base classes
|
|
undefined4 m_vtable; // 0x0 (TODO: remove once virtual function added)
|
|
undefined4 m_unk0x4; // 0x4
|
|
TglImpl::RendererImpl* m_renderImpl; // 0x8
|
|
TglImpl::DeviceImpl* m_deviceImpl; // 0xc
|
|
TglImpl::ViewImpl* m_viewPort; // 0x10
|
|
char m_pad[0x78]; // 0x14
|
|
ViewManager* m_viewManager; // 0x88
|
|
};
|
|
|
|
#endif // LEGO3DVIEW_H
|