mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 18:04:06 +00:00
Implement/match LegoFlcTexturePresenter (#1015)
* Implement/match LegoFlcTexturePresenter * Move files
This commit is contained in:
committed by
GitHub
parent
1c430f894d
commit
c22c6f3379
29
LEGO1/lego/legoomni/src/actors/buildingentity.cpp
Normal file
29
LEGO1/lego/legoomni/src/actors/buildingentity.cpp
Normal file
@@ -0,0 +1,29 @@
|
||||
#include "buildingentity.h"
|
||||
|
||||
#include "mxmisc.h"
|
||||
#include "mxnotificationmanager.h"
|
||||
#include "mxnotificationparam.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(BuildingEntity, 0x68)
|
||||
|
||||
// FUNCTION: LEGO1 0x10014e20
|
||||
BuildingEntity::BuildingEntity()
|
||||
{
|
||||
NotificationManager()->Register(this);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10015030
|
||||
BuildingEntity::~BuildingEntity()
|
||||
{
|
||||
NotificationManager()->Unregister(this);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100150a0
|
||||
MxLong BuildingEntity::Notify(MxParam& p_param)
|
||||
{
|
||||
if (((MxNotificationParam&) p_param).GetType() == c_notificationClick) {
|
||||
return VTable0x50(p_param);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user