mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Implement a few LegoVideoManager/MxDisplaySurface functions (#364)
* implement a few functions * fixes * Fixes * Add annotations --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define LEGO3DVIEW_H
|
||||
|
||||
#include "mxtypes.h"
|
||||
#include "tgl/d3drm/impl.h"
|
||||
#include "viewmanager/viewmanager.h"
|
||||
|
||||
class LegoROI;
|
||||
@@ -9,11 +10,18 @@ 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:
|
||||
char m_pad[0x88];
|
||||
ViewManager* m_viewManager;
|
||||
// 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
|
||||
|
Reference in New Issue
Block a user