mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 17:34:05 +00:00
Consolidate state and building entity classes (#989)
This commit is contained in:
committed by
GitHub
parent
73bb37596e
commit
133a312aee
@@ -1,3 +0,0 @@
|
||||
#include "helicopterstate.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(HelicopterState, 0x0c)
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "legocarbuild.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoCarBuild, 0x34c)
|
||||
DECOMP_SIZE_ASSERT(LegoVehicleBuildState, 0x50)
|
||||
|
||||
// STUB: LEGO1 0x100226d0
|
||||
LegoCarBuild::LegoCarBuild()
|
||||
@@ -61,3 +62,20 @@ MxBool LegoCarBuild::Escape()
|
||||
// TODO
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10025f30
|
||||
LegoVehicleBuildState::LegoVehicleBuildState(char* p_classType)
|
||||
{
|
||||
m_className = p_classType;
|
||||
m_unk0x4c = 0;
|
||||
m_unk0x4d = FALSE;
|
||||
m_unk0x4e = FALSE;
|
||||
m_placedPartCount = 0;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10026120
|
||||
MxResult LegoVehicleBuildState::Serialize(LegoFile* p_legoFile)
|
||||
{
|
||||
// TODO
|
||||
return LegoState::Serialize(p_legoFile);
|
||||
}
|
||||
|
||||
45
LEGO1/lego/legoomni/src/build/legocarbuildpresenter.cpp
Normal file
45
LEGO1/lego/legoomni/src/build/legocarbuildpresenter.cpp
Normal file
@@ -0,0 +1,45 @@
|
||||
#include "legocarbuildpresenter.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoCarBuildAnimPresenter, 0x150)
|
||||
|
||||
// STUB: LEGO1 0x10078400
|
||||
LegoCarBuildAnimPresenter::LegoCarBuildAnimPresenter()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10078500
|
||||
void LegoCarBuildAnimPresenter::RepeatingTickle()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10078680
|
||||
LegoCarBuildAnimPresenter::~LegoCarBuildAnimPresenter()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10078790
|
||||
void LegoCarBuildAnimPresenter::PutFrame()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x100788c0
|
||||
void LegoCarBuildAnimPresenter::ReadyTickle()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x100789e0
|
||||
void LegoCarBuildAnimPresenter::StreamingTickle()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10078db0
|
||||
void LegoCarBuildAnimPresenter::EndAction()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
#include "legovehiclebuildstate.h"
|
||||
|
||||
#include "decomp.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoVehicleBuildState, 0x50)
|
||||
|
||||
// FUNCTION: LEGO1 0x10025f30
|
||||
LegoVehicleBuildState::LegoVehicleBuildState(char* p_classType)
|
||||
{
|
||||
this->m_className = p_classType;
|
||||
this->m_unk0x4c = 0;
|
||||
this->m_unk0x4d = FALSE;
|
||||
this->m_unk0x4e = FALSE;
|
||||
this->m_placedPartCount = 0;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10026120
|
||||
MxResult LegoVehicleBuildState::Serialize(LegoFile* p_legoFile)
|
||||
{
|
||||
// TODO
|
||||
return LegoState::Serialize(p_legoFile);
|
||||
}
|
||||
Reference in New Issue
Block a user