Skip to content

Commit 64744ef

Browse files
authored
Added Damage::Exit function and Declared GXEnd in iTRC (#448)
* zNPCTypeDutchman: added Death::Enter function * Implemented suggestions from PR review #445 * Fixed float to F32 dt & added updCtxt * Added Damage::Exit function and Declared GXEnd in iTRC
1 parent 4368155 commit 64744ef

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

src/SB/Core/gc/iTRC.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
#include "iTRC.h"
22

33
#include <types.h>
4+
5+
void GXEnd()
6+
{
7+
8+
}

src/SB/Game/zNPCTypeDutchman.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ S32 zNPCGoalDutchmanDisappear::Exit(F32 dt, void* updCtxt)
174174
return xGoal::Exit(dt, updCtxt);
175175
}
176176

177+
S32 zNPCGoalDutchmanDamage::Exit(F32 dt, void* updCtxt)
178+
{
179+
return xGoal::Exit(dt, updCtxt);
180+
}
181+
177182
S32 zNPCGoalDutchmanTeleport::Exit(F32 dt, void* updCtxt)
178183
{
179184
return xGoal::Exit(dt, updCtxt);

src/SB/Game/zNPCTypeDutchman.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ struct zNPCGoalDutchmanDamage : zNPCGoalCommon
287287
zNPCDutchman& owner;
288288

289289
static xFactoryInst* create(S32 who, RyzMemGrow* grow, void* info);
290+
S32 Exit(F32 dt, void* updCtxt);
290291
};
291292

292293
struct delay_goal

0 commit comments

Comments
 (0)