mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement LegoVideoManager::Create and related (#393)
* WIP * Match * Changes * Fix format * Style fixes * Update naming.yml * Match to ~85%
This commit is contained in:
committed by
GitHub
parent
1e43f20af5
commit
935ebe6910
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "../realtime/orientableroi.h"
|
||||
#include "../tgl/tgl.h"
|
||||
#include "decomp.h"
|
||||
#include "viewlodlist.h"
|
||||
|
||||
/*
|
||||
@@ -10,6 +11,9 @@
|
||||
etc. Basically, anything which can be placed in a scene and manipilated
|
||||
by the view manager is a ViewROI.
|
||||
*/
|
||||
|
||||
// VTABLE: LEGO1 0x100dbe70
|
||||
// SIZE 0xe0
|
||||
class ViewROI : public OrientableROI {
|
||||
public:
|
||||
inline ViewROI(Tgl::Renderer* pRenderer, ViewLODList* lodList)
|
||||
@@ -17,7 +21,12 @@ public:
|
||||
SetLODList(lodList);
|
||||
geometry = pRenderer->CreateGroup();
|
||||
}
|
||||
inline ~ViewROI();
|
||||
inline ~ViewROI()
|
||||
{
|
||||
// SetLODList() will decrease refCount of LODList
|
||||
SetLODList(0);
|
||||
delete geometry;
|
||||
}
|
||||
inline void SetLODList(ViewLODList* lodList)
|
||||
{
|
||||
// ??? inherently type unsafe - kind of... because, now, ROI
|
||||
@@ -39,6 +48,8 @@ public:
|
||||
virtual Tgl::Group* GetGeometry();
|
||||
virtual const Tgl::Group* GetGeometry() const;
|
||||
|
||||
static undefined SetUnk101013d8(undefined p_flag);
|
||||
|
||||
protected:
|
||||
Tgl::Group* geometry;
|
||||
void UpdateWorldData(const Matrix4Data& parent2world);
|
||||
|
||||
Reference in New Issue
Block a user