mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Implement/match LegoAnimationManager::Notify (#875)
* Implement/match LegoAnimationManager::Notify * Rename notification type
This commit is contained in:

committed by
GitHub

parent
6c89cd3315
commit
cd39e71597
@@ -7,6 +7,7 @@
|
||||
|
||||
class MxCore;
|
||||
|
||||
// Several of those should be defined in LegoOmni
|
||||
enum NotificationId {
|
||||
c_notificationType0 = 0,
|
||||
c_notificationStartAction = 1, // 100dc210:100d8350
|
||||
@@ -24,8 +25,8 @@ enum NotificationId {
|
||||
c_notificationDrag = 14,
|
||||
c_notificationTimer = 15, // 100d6aa0
|
||||
c_notificationClick = 17,
|
||||
c_notificationType18 = 18, // 100d7e80
|
||||
c_notificationType19 = 19, // 100d6230
|
||||
c_notificationEndAnim = 18, // 100d7e80
|
||||
c_notificationType19 = 19, // 100d6230
|
||||
c_notificationType20 = 20,
|
||||
c_notificationNewPresenter = 21,
|
||||
c_notificationType22 = 22,
|
||||
|
@@ -1,32 +0,0 @@
|
||||
#ifndef MXTYPE18NOTIFICATIONPARAM_H
|
||||
#define MXTYPE18NOTIFICATIONPARAM_H
|
||||
|
||||
#include "decomp.h"
|
||||
#include "mxnotificationparam.h"
|
||||
|
||||
// VTABLE: LEGO1 0x100d7e80
|
||||
// SIZE 0x10
|
||||
class MxType18NotificationParam : public MxNotificationParam {
|
||||
public:
|
||||
MxType18NotificationParam(NotificationId p_type, MxCore* p_sender, undefined4 p_unk0x0c)
|
||||
: MxNotificationParam(p_type, p_sender), m_unk0x0c(p_unk0x0c)
|
||||
{
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1004afd0
|
||||
MxNotificationParam* Clone() const override
|
||||
{
|
||||
return new MxType18NotificationParam(m_type, m_sender, m_unk0x0c);
|
||||
} // vtable+0x04
|
||||
|
||||
protected:
|
||||
undefined4 m_unk0x0c; // 0x0c
|
||||
};
|
||||
|
||||
// SYNTHETIC: LEGO1 0x1004b080
|
||||
// MxType18NotificationParam::`scalar deleting destructor'
|
||||
|
||||
// SYNTHETIC: LEGO1 0x1004b0f0
|
||||
// MxType18NotificationParam::~MxType18NotificationParam
|
||||
|
||||
#endif // MXTYPE18NOTIFICATIONPARAM_H
|
Reference in New Issue
Block a user