mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-22 11:31:57 -04:00
Act2PoliceStation::Notify (#1002)
* Act2PoliceStation::Notify * Match code --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
parent
cb74a8c80e
commit
14a2aaadea
@ -1,11 +1,21 @@
|
|||||||
#include "act2policestation.h"
|
#include "act2policestation.h"
|
||||||
|
|
||||||
|
#include "legoworld.h"
|
||||||
|
#include "misc.h"
|
||||||
|
#include "mxmisc.h"
|
||||||
|
#include "mxnotificationmanager.h"
|
||||||
|
#include "mxnotificationparam.h"
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(Act2PoliceStation, 0x68)
|
DECOMP_SIZE_ASSERT(Act2PoliceStation, 0x68)
|
||||||
|
|
||||||
// STUB: LEGO1 0x1004e0e0
|
// FUNCTION: LEGO1 0x1004e0e0
|
||||||
MxLong Act2PoliceStation::Notify(MxParam& p_param)
|
MxLong Act2PoliceStation::Notify(MxParam& p_param)
|
||||||
{
|
{
|
||||||
// TODO
|
if (((MxNotificationParam&) p_param).GetType() == c_notificationClick) {
|
||||||
|
MxNotificationParam param(c_notificationType23, NULL);
|
||||||
|
NotificationManager()->Send(CurrentWorld(), param);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user