Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/SB/Game/zWadNME.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#include "zWadNME.h"

// S32 zNMEGoalDenDamage::Exit(float dt, void* ctxt) //POSSIBLY RIGHT, NEEDS DOUBLE CHECKED
// {
// //something = -1.0f
// dt = -1.0f; // NOT CORRECT, FOR TESTING
// return 0;
// }

//TEST
45 changes: 45 additions & 0 deletions src/SB/Game/zWadNME.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#ifndef ZWadNME_h
#define ZWadNME_h

#include <types.h>

// change to zNMEGoalDenDamage : zNMEGoalCommon
// temp for testing
struct zNMEGoalDenDamage
{
// S32 GoalHandleMail(NMEMsg* mail);
//S32 ChkExistence(zNMEDennis* npc, float32 dt, int32& nextgoal, en_trantype& trantype);
// S32 Process(en_trantype* trantype, float32 dt, void* ctxt);
S32 Exit(float, void*);
S32 Enter();
};

// change to zNMEGoalCommon : xGoal
// temp for testing
struct zNMEGoalCommon
{
U32 anid_played;
struct
{
S32 flg_npcgauto : 8;
S32 flg_npcgable : 16;
S32 bul_entered : 1;
S32 bul_resumed : 1;
S32 bul_unused : 6;
};
struct
{
S32 flg_info : 16;
S32 flg_user : 16;
};

S32 CollReview();
S32 GoalHandleMail();
void Clear();
S32 Enter();
S32 Resume();
//S32 Process(en_trantype* trantyp, F32 dt, void* ctxt);
// erroring cus of en_trantype
};

#endif
2 changes: 1 addition & 1 deletion tools/download_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def ok_url(tag: str) -> str:
"objdiff-cli": objdiff_cli_url,
"sjiswrap": sjiswrap_url,
"wibo": wibo_url,
"ok": ok_url,
"OK ": ok_url
}


Expand Down
Loading