Skip to content

Commit

Permalink
[Project]: Fix web build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gh0stBlade committed Jan 14, 2024
1 parent e66fb0a commit f638fcd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion KAIN2/Game/FX.H
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ struct _FXParticle // hashcode: 0xDD6F143E (dec: -579922882)
unsigned char type; // size=0, offset=13
short lifeTime; // size=0, offset=14
struct TextureMT3* texture; // size=16, offset=16
void* fxprim_modify_process; // size=0, offset=20
void (*fxprim_modify_process)(struct _FX_PRIM* fxPrim, struct _Instance* instance, struct _FXParticle* particle, struct _FXTracker* fxTracker); // size=0, offset=20
void* fxprim_process; // size=0, offset=24
short size; // size=0, offset=28
short primLifeTime; // size=0, offset=30
Expand Down
2 changes: 1 addition & 1 deletion KAIN2/Game/PHYSOBS.C
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ void InitPhysicalObject(struct _Instance* instance, struct GameTracker* gameTrac
switchProp->startAnim = 0;
}
G2EmulationInstanceSetAnimation(instance, 0, switchProp->startAnim, 0, 0);
G2EmulationInstanceInitSection(instance, 0, &PhysobAnimCallback, instance);
G2EmulationInstanceInitSection(instance, 0, PhysobAnimCallback, instance);
if (switchProp->Class == 7)
{
interact->Properties.family = 1024;
Expand Down
2 changes: 1 addition & 1 deletion KAIN2/Game/STATE.C
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ void G2EmulationSetTotalSections(struct __CharacterState* In, short Total)
G2EmulationInstanceSetTotalSections(In->CharacterInstance, In->TotalSections);
}

void G2EmulationInstanceInitSection(struct _Instance* instance, int CurrentSection, void* callback, void* data)
void G2EmulationInstanceInitSection(struct _Instance* instance, int CurrentSection, long (*callback)(struct _G2Anim_Type* anim, int sectionID, enum _G2AnimCallbackMsg_Enum message, long messageDataA, long messageDataB, void* data), void* data)
{
struct _G2AnimSection_Type* animSection;

Expand Down
2 changes: 1 addition & 1 deletion KAIN2/Game/STATE.H
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ extern void G2EmulationInstanceSetTotalSections(struct _Instance *instance, shor

extern void G2EmulationSetTotalSections(struct __CharacterState *In, short Total); // 0x800723D4

extern void G2EmulationInstanceInitSection(struct _Instance *instance, int CurrentSection, void *callback, void *data); // 0x80072404
extern void G2EmulationInstanceInitSection(struct _Instance *instance, int CurrentSection, long (*callback)(struct _G2Anim_Type* anim, int sectionID, enum _G2AnimCallbackMsg_Enum message, long messageDataA, long messageDataB, void* data), void *data); // 0x80072404

extern void G2EmulationSetInterpController_Vector(struct _Instance *instance, long segment, long type, struct _G2SVector3_Type *vec, int Frames, int Data); // 0x80072428

Expand Down

0 comments on commit f638fcd

Please sign in to comment.