mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-27 18:21:15 +00:00
* Fix size annotations for legoomni
Fix structure and add placeholder annotations for LegoAnimActor and subclasses
* Fix LegoCarRaceActor constructor
Fix function name in LegoRaceCar
* Add size assertions for legoomni and fix sizes
* Various style fixes
* Use other marker so vtable.py doesn't compare
* Revert "Use other marker so vtable.py doesn't compare"
This reverts commit 608985cd73.
* Fix copy/paste error
* Remove stale comment.
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
29 lines
548 B
C++
29 lines
548 B
C++
#include "buildingentity.h"
|
|
|
|
#include "mxmisc.h"
|
|
#include "mxnotificationmanager.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_notificationType11) {
|
|
return VTable0x50(p_param);
|
|
}
|
|
|
|
return 0;
|
|
}
|