mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement/match Ambulance::HandlePathStruct (#1029)
* Implement/match Ambulance::HandlePathStruct * Add annotation
This commit is contained in:

committed by
GitHub

parent
cf7246ac6c
commit
bbc304ce46
@@ -25,8 +25,8 @@ enum NotificationId {
|
||||
c_notificationDrag = 14,
|
||||
c_notificationTimer = 15, // 100d6aa0
|
||||
c_notificationControl = 17,
|
||||
c_notificationEndAnim = 18, // 100d7e80
|
||||
c_notificationType19 = 19, // 100d6230
|
||||
c_notificationEndAnim = 18, // 100d7e80
|
||||
c_notificationPathStruct = 19, // 100d6230
|
||||
c_notificationType20 = 20,
|
||||
c_notificationNewPresenter = 21,
|
||||
c_notificationType22 = 22,
|
||||
@@ -48,9 +48,8 @@ public:
|
||||
|
||||
inline NotificationId GetNotification() const { return m_type; }
|
||||
inline MxCore* GetSender() const { return m_sender; }
|
||||
inline NotificationId GetType() const { return m_type; }
|
||||
|
||||
inline void SetType(NotificationId p_type) { m_type = p_type; }
|
||||
inline void SetNotification(NotificationId p_type) { m_type = p_type; }
|
||||
inline void SetSender(MxCore* p_sender) { m_sender = p_sender; }
|
||||
|
||||
protected:
|
||||
|
@@ -1,39 +0,0 @@
|
||||
#ifndef MXTYPE19NOTIFICATIONPARAM_H
|
||||
#define MXTYPE19NOTIFICATIONPARAM_H
|
||||
|
||||
#include "decomp.h"
|
||||
#include "mxnotificationparam.h"
|
||||
|
||||
// VTABLE: LEGO1 0x100d6230
|
||||
// SIZE 0x10
|
||||
class MxType19NotificationParam : public MxNotificationParam {
|
||||
public:
|
||||
MxType19NotificationParam(NotificationId p_type, MxCore* p_sender, MxU8 p_unk0x0e, MxS16 p_unk0x0c)
|
||||
: MxNotificationParam()
|
||||
{
|
||||
m_type = p_type;
|
||||
m_sender = p_sender;
|
||||
m_unk0x0c = p_unk0x0c;
|
||||
m_unk0x0e = p_unk0x0e;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1001bac0
|
||||
MxNotificationParam* Clone() const override
|
||||
{
|
||||
return new MxType19NotificationParam(m_type, m_sender, m_unk0x0e, m_unk0x0c);
|
||||
} // vtable+0x04
|
||||
|
||||
inline MxS16 GetUnknown0x0c() { return m_unk0x0c; }
|
||||
|
||||
protected:
|
||||
MxS16 m_unk0x0c; // 0x0c
|
||||
MxU8 m_unk0x0e; // 0x0e
|
||||
};
|
||||
|
||||
// SYNTHETIC: LEGO1 0x1001bb80
|
||||
// MxType19NotificationParam::`scalar deleting destructor'
|
||||
|
||||
// SYNTHETIC: LEGO1 0x1001bbf0
|
||||
// MxType19NotificationParam::~MxType19NotificationParam
|
||||
|
||||
#endif // MXTYPE19NOTIFICATIONPARAM_H
|
Reference in New Issue
Block a user