mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-30 11:41:16 +00:00
* Push changes * fixes * Implement Infocenter::HandleEndAction * match Infocenter::StopCutScene * implement Infocenter::HandleKeyPress * fixes * Update infocenter.cpp * Update legoworld.cpp * use enums * WIP Fixes * Fix * Fix * Fix * Rename function * Change enum * Update enums * Refactor another enum * Refactor MxDSType * Refactor HashTableOpt * Fixes * Refactor tickle enum * Update other enums * Add EnumConstantName to ncc * Move enum to global namespace * Rename enum --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
42 lines
648 B
C++
42 lines
648 B
C++
#include "mxdsevent.h"
|
|
|
|
DECOMP_SIZE_ASSERT(MxDSEvent, 0xb8)
|
|
|
|
// FUNCTION: LEGO1 0x100c95f0
|
|
MxDSEvent::MxDSEvent()
|
|
{
|
|
this->SetType(e_event);
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100c97a0
|
|
MxDSEvent::~MxDSEvent()
|
|
{
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100c97f0
|
|
void MxDSEvent::CopyFrom(MxDSEvent& p_dsEvent)
|
|
{
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100c9800
|
|
MxDSEvent& MxDSEvent::operator=(MxDSEvent& p_dsEvent)
|
|
{
|
|
if (this == &p_dsEvent)
|
|
return *this;
|
|
|
|
MxDSMediaAction::operator=(p_dsEvent);
|
|
this->CopyFrom(p_dsEvent);
|
|
return *this;
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100c9830
|
|
MxDSAction* MxDSEvent::Clone()
|
|
{
|
|
MxDSEvent* clone = new MxDSEvent();
|
|
|
|
if (clone)
|
|
*clone = *this;
|
|
|
|
return clone;
|
|
}
|