Skip to content

Commit f2ad835

Browse files
committed
First 100% match for testing
1 parent 49b991d commit f2ad835

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

src/SB/Core/x/xBehaviour.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,9 @@ struct xListItem_1
226226

227227
struct xGoal : xListItem_1, xFactoryInst
228228
{
229-
xPsyche* psyche;
229+
xPsyche* psyche; //0x18
230230
en_GOALSTATE stat;
231-
S32 flg_able;
231+
S32 flg_able; //0x20
232232
S32 (*fun_process)(xGoal*, void*, en_trantype*, F32, void*);
233233
void* cbdata;
234234

@@ -250,7 +250,7 @@ struct zNMEGoalCommon : xGoal
250250
S32 bul_entered : 1;
251251
S32 bul_resumed : 1;
252252
S32 bul_unused : 6;
253-
};
253+
} flags;
254254
struct
255255
{
256256
S32 flg_info : 16;

src/SB/Game/zWadNME.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ S32 zNMEGoalDentDamage::Exit(float, void*)
77

88
S32 zNMEGoalDenDamage::Exit(float dt, void* ctxt) //POSSIBLY RIGHT, NEEDS DOUBLE CHECKED
99
{
10-
//something = -1.0f
11-
dt = -1.0f; // NOT CORRECT, FOR TESTING
10+
zNMEDennis* npc;
11+
npc->spd_throttle = -1.0f;
1212
return 0;
1313
}
1414

15-
//TEST
15+
S32 zNMEDennis::DfltVulnFlags()
16+
{
17+
return 0xc07b0007; // HACKED TOGETHER FOR TESTING PURPOSES
18+
}

src/SB/Game/zWadNME.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ struct zNMEDenToo : zNMEBoss
302302
S32 WannaPoolShadow();
303303
};
304304

305-
//zNMEGoalDenDamage : zNMEGoalCommon
306305
struct zNMEGoalDenDamage : zNMEGoalCommon
307306
{
308307
S32 GoalHandleMail(NMEMsg* mail);

0 commit comments

Comments
 (0)