From 4353c27a1de4baf721aa4423f76fcac0338fc63a Mon Sep 17 00:00:00 2001 From: Colin Miller Date: Sun, 20 Apr 2025 19:55:43 -0400 Subject: [PATCH 1/2] TEST 7 pr --- src/SB/Game/zWadNME.cpp | 5 +++++ src/SB/Game/zWadNME.h | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/src/SB/Game/zWadNME.cpp b/src/SB/Game/zWadNME.cpp index 343286c..e4c1c48 100644 --- a/src/SB/Game/zWadNME.cpp +++ b/src/SB/Game/zWadNME.cpp @@ -1,5 +1,10 @@ #include "zWadNME.h" +S32 zNMEGoalDentDamage::Exit(float, void*) +{ + return 0; // TO-DO +} + S32 zNMEGoalDenDamage::Exit(float dt, void* ctxt) //POSSIBLY RIGHT, NEEDS DOUBLE CHECKED { //something = -1.0f diff --git a/src/SB/Game/zWadNME.h b/src/SB/Game/zWadNME.h index 204d1b5..3978927 100644 --- a/src/SB/Game/zWadNME.h +++ b/src/SB/Game/zWadNME.h @@ -42,4 +42,13 @@ struct zNMEGoalCommon // erroring cus of en_trantype }; +struct zNMEGoalDentDamage : zNMEGoalCommon +{ + //S32 GoalHandleMail(NMEMsg* mail); + //S32 ChkExistence(zNMEDenToo* npc, float32 dt, int32& nextgoal, en_trantype& trantype); + //S32 Process(en_trantype* trantype, float32 dt, void* ctxt); + S32 Exit(float, void*); + S32 Enter(); +}; + #endif From 49b991dd02874b8d53611ffa9fc80b1a8ef26911 Mon Sep 17 00:00:00 2001 From: Colin Miller Date: Mon, 21 Apr 2025 17:05:21 -0400 Subject: [PATCH 2/2] Big update to header files --- dwarf/SB04_Multi_Sku/Engine/Game/zWadNME.cpp | 17862 ++++++++--------- src/SB/Core/x/xBehaviour.h | 268 + src/SB/Core/x/xClumpColl.h | 49 + src/SB/Core/x/xCollis.h | 42 + src/SB/Core/x/xEnt.h | 182 + src/SB/Core/x/xEnv.h | 43 + src/SB/Core/x/xFX.h | 10 + src/SB/Core/x/xFrag.h | 370 + src/SB/Core/x/xGrid.h | 62 + src/SB/Core/x/xJSP.h | 74 + src/SB/Core/x/xMail.h | 875 + src/SB/Core/x/xMath.h | 113 + src/SB/Core/x/xMem.h | 48 + src/SB/Core/x/xModel.h | 348 + src/SB/Core/x/xNME.h | 613 + src/SB/Core/x/xPar.h | 176 + src/SB/Core/x/xPlayer.h | 30 + src/SB/Core/x/xQuickCull.h | 15 + src/SB/Core/x/xShadow.h | 39 + src/SB/Core/x/xSound.h | 31 + src/SB/Game/zBossCam.h | 183 + src/SB/Game/zWadNME.h | 332 +- 22 files changed, 12761 insertions(+), 9004 deletions(-) create mode 100644 src/SB/Core/x/xBehaviour.h create mode 100644 src/SB/Core/x/xClumpColl.h create mode 100644 src/SB/Core/x/xCollis.h create mode 100644 src/SB/Core/x/xEnt.h create mode 100644 src/SB/Core/x/xEnv.h create mode 100644 src/SB/Core/x/xFX.h create mode 100644 src/SB/Core/x/xFrag.h create mode 100644 src/SB/Core/x/xGrid.h create mode 100644 src/SB/Core/x/xJSP.h create mode 100644 src/SB/Core/x/xMail.h create mode 100644 src/SB/Core/x/xMath.h create mode 100644 src/SB/Core/x/xMem.h create mode 100644 src/SB/Core/x/xModel.h create mode 100644 src/SB/Core/x/xNME.h create mode 100644 src/SB/Core/x/xPar.h create mode 100644 src/SB/Core/x/xPlayer.h create mode 100644 src/SB/Core/x/xQuickCull.h create mode 100644 src/SB/Core/x/xShadow.h create mode 100644 src/SB/Core/x/xSound.h create mode 100644 src/SB/Game/zBossCam.h diff --git a/dwarf/SB04_Multi_Sku/Engine/Game/zWadNME.cpp b/dwarf/SB04_Multi_Sku/Engine/Game/zWadNME.cpp index 18146c4..84b1e57 100644 --- a/dwarf/SB04_Multi_Sku/Engine/Game/zWadNME.cpp +++ b/dwarf/SB04_Multi_Sku/Engine/Game/zWadNME.cpp @@ -1174,184 +1174,184 @@ typedef struct RwRGBAReal; typedef struct Flags_7; typedef struct RwObject; -typedef int32(*type_3)(xGoal*, void*, en_trantype*, float32, void*); -typedef xBase*(*type_5)(uint32); -typedef void(*type_6)(void*, void*); -typedef void(*type_8)(xEnt*, xVec3*); -typedef void(*type_13)(xAnimPlay*, xQuat*, xVec3*, int32); -typedef void(*type_18)(zDestructible*, void*); -typedef int8*(*type_19)(xBase*); -typedef uint32(*type_21)(uint32, xAnimActiveEffect*, xAnimSingle*, void*); -typedef int8*(*type_39)(uint32); -typedef void*(*type_43)(zMODStanEnemy*, int16); -typedef uint32(*type_45)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_47)(xAnimState*, xAnimSingle*, void*); -typedef uint32(*type_59)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_70)(xEnt*, xScene*, float32, xEntFrame*); -typedef void(*type_76)(xAnimPlay*, xQuat*, xVec3*, int32); -typedef uint32(*type_77)(xAnimTransition*, xAnimSingle*, void*); -typedef int32(*type_78)(void*, uint32); -typedef int32(*type_79)(uint8*, int32, ptank_pool&, float32, void*); -typedef void(*type_80)(RpAtomic*, xMat4x3*); -typedef uint32(*type_87)(zNeptuneParticle*, void*, float32); -typedef void(*type_89)(); -typedef uint32(*type_92)(float32); -typedef void(*type_94)(void*); -typedef uint32(*type_99)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_100)(zFrag*, zFragAsset*); -typedef int32(*type_103)(void*, void*, uint32); -typedef void(*type_105)(xEnt*, xVec3*); -typedef void(*type_108)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); -typedef uint32(*type_110)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_113)(RpAtomic*); -typedef uint32(*type_114)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_118)(int32*, en_trantype*); -typedef uint32(*type_119)(zNeptuneParticle*, void*, float32); -typedef void(*type_121)(xAnimPlay*, xAnimState*, void*); -typedef uint32(*type_127)(void*, void*, uint32); -typedef uint32(*type_132)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_135)(xBase*, xBase*, uint32, float32*, xBase*, uint32); -typedef RpAtomic*(*type_138)(RpAtomic*); -typedef void*(*type_142)(zMODSupport*, int16); -typedef void(*type_153)(zShrapnelAsset*, xModelInstance*, xVec3*, void(*)(zFrag*, zFragAsset*)); -typedef void(*type_157)(xEnt*); -typedef int32(*type_161)(void*); -typedef void(*type_162)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); -typedef RpWorldSector*(*type_168)(RpWorldSector*); -typedef void(*type_173)(xEnt*, xScene*, float32); -typedef void(*type_174)(xEnt*); -typedef void(*type_175)(RpAtomic*); -typedef void*(*type_190)(zMODSpawner*, int16); -typedef int32(*type_196)(xGoal*, void*, en_trantype*, float32, void*); -typedef void(*type_203)(zFrag*, zFragAsset*); -typedef int32(*type_209)(uint8*, int32, ptank_pool&, float32, void*); -typedef void(*type_211)(xEnt*); -typedef void(*type_218)(xBase*, xBase*, uint32, float32*, xBase*, uint32); -typedef uint32(*type_222)(xAnimTransition*, xAnimSingle*, void*); -typedef void*(*type_243)(zMODParFX*, int16); -typedef int32(*type_256)(xGoal*, void*, en_trantype*, float32, void*); -typedef int32(*type_257)(xGoal*, void*, en_trantype*, float32, void*); -typedef uint32(*type_271)(xAnimTransition*, xAnimSingle*, void*); -typedef xFactoryInst*(*type_278)(int32, RyzMemGrow*, void*); -typedef int32(*type_292)(uint8*, int32, ptank_pool&, float32, void*); -typedef void(*type_294)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); -typedef int32(*type_298)(void*, void*); -typedef void(*type_305)(void*, NMEMsg*); -typedef void(*type_312)(xFactoryInst*); -typedef int32(*type_315)(xGoal*, void*, en_trantype*, float32, void*); -typedef void(*type_316)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); -typedef RtAnimInterpolator*(*type_318)(RtAnimInterpolator*, void*); -typedef int32(*type_322)(uint8*, int32, ptank_pool&, float32, void*); -typedef uint32(*type_325)(xAnimTransition*, xAnimSingle*, void*); -typedef void*(*type_327)(zMODCritter*, int16); -typedef void(*type_337)(jot&, xtextbox&, float32, float32); -typedef RwCamera*(*type_352)(RwCamera*); -typedef uint32(*type_357)(xAnimTransition*, xAnimSingle*, void*); -typedef int32(*type_358)(uint8*, int32, ptank_pool&, float32, void*); -typedef void(*type_362)(zBossCam_Binary*, float32, void*); -typedef void*(*type_364)(zMODHazard*, int16); -typedef void(*type_381)(jot&, xtextbox&, xtextbox&); -typedef RwCamera*(*type_382)(RwCamera*); -typedef uint32(*type_383)(xAnimTransition*, xAnimSingle*, void*); -typedef int32(*type_385)(void*, void*); -typedef int32(*type_387)(xGoal*, void*, en_trantype*, float32, void*); -typedef int32(*type_394)(xGoal*, void*, en_trantype*, float32, void*); -typedef int32(*type_404)(xDynAsset*, uint32); -typedef uint32(*type_406)(void*, void*); -typedef void(*type_420)(xEnt*, xScene*, float32, xEntCollis*); -typedef uint32(*type_421)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_426)(zNMEGoalSentry*, en_sentell, zNMECommon*); -typedef void(*type_431)(NPARMgmt*, xParticleBatchSystem*); -typedef void(*type_435)(xEnt*, xScene*, float32, xEntFrame*); -typedef int32(*type_436)(uint8*, int32, ptank_pool&, float32, void*); -typedef xEnt*(*type_441)(xDynAsset*, uint32); -typedef uint32(*type_443)(zNeptuneParticle*, void*, float32); -typedef int32(*type_448)(xGoal*, void*, en_trantype*, float32, void*); -typedef void*(*type_457)(zMODSupple*, int16); -typedef void(*type_465)(jot&, xtextbox&, xtextbox&, split_tag&); -typedef int32(*type_466)(xGoal*, void*, en_trantype*, float32, void*); -typedef uint32(*type_468)(zNeptuneParticle*, void*, float32); -typedef uint32(*type_472)(RxPipelineNode*, uint32, uint32, void*); -typedef void(*type_478)(NPARMgmt*, int8*); -typedef uint32(*type_479)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_486)(xEnt*, xScene*, float32); -typedef uint32(*type_509)(xEnt*, xEnt*, xScene*, float32, xCollis*); -typedef void(*type_510)(RwResEntry*); -typedef int32(*type_512)(RxPipelineNode*, RxPipeline*); -typedef void(*type_515)(); -typedef uint32(*type_518)(void*, void*); -typedef void(*type_523)(xEnt*); -typedef RwObjectHasFrame*(*type_524)(RwObjectHasFrame*); -typedef int32(*type_531)(xFactoryInst*, void*); -typedef int32(*type_534)(uint8*, int32, ptank_pool&, float32, void*); -typedef void(*type_537)(RxPipelineNode*); -typedef int32(*type_546)(xGoal*, void*, en_trantype*, float32, void*); -typedef uint32(*type_549)(xAnimTransition*, xAnimSingle*, void*); -typedef uint32(*type_551)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_564)(); -typedef int32(*type_566)(RxPipelineNode*); -typedef uint32(*type_573)(void*, void*); -typedef int32(*type_577)(void*, void*); -typedef uint32(*type_579)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_586)(RxNodeDefinition*); -typedef uint32(*type_587)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_589)(xEnt*); -typedef int32(*type_599)(uint8*, int32, ptank_pool&, float32, void*); -typedef void(*type_606)(); -typedef int32(*type_610)(RxNodeDefinition*); -typedef uint8(*type_611)(zLoopingSound*); -typedef int32(*type_614)(RtAnimAnimation*); -typedef uint32(*type_615)(xAnimTransition*, xAnimSingle*, void*); -typedef int32(*type_617)(xGoal*, void*, en_trantype*, float32, void*); -typedef uint8(*type_619)(zLoopingSound*); -typedef void(*type_625)(xEnt*); -typedef void(*type_629)(xEnt*, xVec3*); -typedef void(*type_631)(xBase*, xBase*, uint32, float32*, xBase*, uint32); -typedef int32(*type_632)(RxPipelineNode*, RxPipelineNodeParam*); -typedef int32(*type_639)(RtAnimAnimation*, RwStream*); -typedef void(*type_643)(); -typedef int32(*type_645)(xGoal*, void*, en_trantype*, float32, void*); -typedef void(*type_652)(xEnt*); -typedef RtAnimAnimation*(*type_654)(RwStream*, RtAnimAnimation*); -typedef RpClump*(*type_659)(RpClump*, void*); -typedef void(*type_660)(); -typedef uint32(*type_666)(xAnimTransition*, xAnimSingle*, void*); -typedef uint32(*type_667)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_668)(xMemPool*, void*); -typedef void(*type_669)(xEnt*); -typedef void(*type_672)(xEnt*); -typedef void(*type_673)(zFrag*, float32); -typedef int32(*type_676)(xGoal*, void*, en_trantype*, float32, void*); -typedef void(*type_680)(void*, void*); -typedef uint32(*type_686)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_695)(xAnimPlay*, xAnimState*, void*); -typedef int32(*type_698)(void*, void*); -typedef void*(*type_701)(zMODMessage*, int16); -typedef void(*type_704)(zFrag*); -typedef void(*type_705)(void*, void*, void*); -typedef void(*type_712)(xEnt*); -typedef uint32(*type_713)(xAnimTransition*, xAnimSingle*, void*); -typedef uint32(*type_715)(xAnimTransition*, xAnimSingle*, void*); -typedef uint8(*type_716)(zNMEHazard&, void*); -typedef void*(*type_718)(zMODConfig*, int16); -typedef uint32(*type_733)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_736)(void*, void*, void*, float32, void*); -typedef void(*type_745)(zBossCam_Binary*, float32, void*); -typedef int32(*type_750)(uint8*, int32, ptank_pool&, float32, void*); -typedef uint32(*type_757)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_758)(xEnt*); -typedef void(*type_759)(xEnt*, xVec3*, xMat4x3*); -typedef uint32(*type_761)(xAnimTransition*, xAnimSingle*, void*); -typedef void(*type_764)(xEnt*, xScene*, float32); -typedef void(*type_766)(RpAtomic*, xMat4x3*); -typedef int32(*type_768)(uint8*, int32, ptank_pool&, float32, void*); -typedef void*(*type_770)(zMODEnemy*, int16); -typedef void(*type_777)(void*, void*, void*, float32); -typedef uint32(*type_780)(xAnimTransition*, xAnimSingle*, void*); -typedef void*(*type_789)(zMODSwimmer*, int16); -typedef void(*type_791)(xEnt*); -typedef void(*type_793)(xEnt*, xVec3*); -typedef uint32(*type_794)(xAnimTransition*, xAnimSingle*, void*); +typedef int32 (*type_3)(xGoal*, void*, en_trantype*, float32, void*); +typedef xBase* (*type_5)(uint32); +typedef void (*type_6)(void*, void*); +typedef void (*type_8)(xEnt*, xVec3*); +typedef void (*type_13)(xAnimPlay*, xQuat*, xVec3*, int32); +typedef void (*type_18)(zDestructible*, void*); +typedef int8* (*type_19)(xBase*); +typedef uint32 (*type_21)(uint32, xAnimActiveEffect*, xAnimSingle*, void*); +typedef int8* (*type_39)(uint32); +typedef void* (*type_43)(zMODStanEnemy*, int16); +typedef uint32 (*type_45)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_47)(xAnimState*, xAnimSingle*, void*); +typedef uint32 (*type_59)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_70)(xEnt*, xScene*, float32, xEntFrame*); +typedef void (*type_76)(xAnimPlay*, xQuat*, xVec3*, int32); +typedef uint32 (*type_77)(xAnimTransition*, xAnimSingle*, void*); +typedef int32 (*type_78)(void*, uint32); +typedef int32 (*type_79)(uint8*, int32, ptank_pool&, float32, void*); +typedef void (*type_80)(RpAtomic*, xMat4x3*); +typedef uint32 (*type_87)(zNeptuneParticle*, void*, float32); +typedef void (*type_89)(); +typedef uint32 (*type_92)(float32); +typedef void (*type_94)(void*); +typedef uint32 (*type_99)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_100)(zFrag*, zFragAsset*); +typedef int32 (*type_103)(void*, void*, uint32); +typedef void (*type_105)(xEnt*, xVec3*); +typedef void (*type_108)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); +typedef uint32 (*type_110)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_113)(RpAtomic*); +typedef uint32 (*type_114)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_118)(int32*, en_trantype*); +typedef uint32 (*type_119)(zNeptuneParticle*, void*, float32); +typedef void (*type_121)(xAnimPlay*, xAnimState*, void*); +typedef uint32 (*type_127)(void*, void*, uint32); +typedef uint32 (*type_132)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_135)(xBase*, xBase*, uint32, float32*, xBase*, uint32); +typedef RpAtomic* (*type_138)(RpAtomic*); +typedef void* (*type_142)(zMODSupport*, int16); +typedef void (*type_153)(zShrapnelAsset*, xModelInstance*, xVec3*, void (*)(zFrag*, zFragAsset*)); +typedef void (*type_157)(xEnt*); +typedef int32 (*type_161)(void*); +typedef void (*type_162)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); +typedef RpWorldSector* (*type_168)(RpWorldSector*); +typedef void (*type_173)(xEnt*, xScene*, float32); +typedef void (*type_174)(xEnt*); +typedef void (*type_175)(RpAtomic*); +typedef void* (*type_190)(zMODSpawner*, int16); +typedef int32 (*type_196)(xGoal*, void*, en_trantype*, float32, void*); +typedef void (*type_203)(zFrag*, zFragAsset*); +typedef int32 (*type_209)(uint8*, int32, ptank_pool&, float32, void*); +typedef void (*type_211)(xEnt*); +typedef void (*type_218)(xBase*, xBase*, uint32, float32*, xBase*, uint32); +typedef uint32 (*type_222)(xAnimTransition*, xAnimSingle*, void*); +typedef void* (*type_243)(zMODParFX*, int16); +typedef int32 (*type_256)(xGoal*, void*, en_trantype*, float32, void*); +typedef int32 (*type_257)(xGoal*, void*, en_trantype*, float32, void*); +typedef uint32 (*type_271)(xAnimTransition*, xAnimSingle*, void*); +typedef xFactoryInst* (*type_278)(int32, RyzMemGrow*, void*); +typedef int32 (*type_292)(uint8*, int32, ptank_pool&, float32, void*); +typedef void (*type_294)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); +typedef int32 (*type_298)(void*, void*); +typedef void (*type_305)(void*, NMEMsg*); +typedef void (*type_312)(xFactoryInst*); +typedef int32 (*type_315)(xGoal*, void*, en_trantype*, float32, void*); +typedef void (*type_316)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); +typedef RtAnimInterpolator* (*type_318)(RtAnimInterpolator*, void*); +typedef int32 (*type_322)(uint8*, int32, ptank_pool&, float32, void*); +typedef uint32 (*type_325)(xAnimTransition*, xAnimSingle*, void*); +typedef void* (*type_327)(zMODCritter*, int16); +typedef void (*type_337)(jot&, xtextbox&, float32, float32); +typedef RwCamera* (*type_352)(RwCamera*); +typedef uint32 (*type_357)(xAnimTransition*, xAnimSingle*, void*); +typedef int32 (*type_358)(uint8*, int32, ptank_pool&, float32, void*); +typedef void (*type_362)(zBossCam_Binary*, float32, void*); +typedef void* (*type_364)(zMODHazard*, int16); +typedef void (*type_381)(jot&, xtextbox&, xtextbox&); +typedef RwCamera* (*type_382)(RwCamera*); +typedef uint32 (*type_383)(xAnimTransition*, xAnimSingle*, void*); +typedef int32 (*type_385)(void*, void*); +typedef int32 (*type_387)(xGoal*, void*, en_trantype*, float32, void*); +typedef int32 (*type_394)(xGoal*, void*, en_trantype*, float32, void*); +typedef int32 (*type_404)(xDynAsset*, uint32); +typedef uint32 (*type_406)(void*, void*); +typedef void (*type_420)(xEnt*, xScene*, float32, xEntCollis*); +typedef uint32 (*type_421)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_426)(zNMEGoalSentry*, en_sentell, zNMECommon*); +typedef void (*type_431)(NPARMgmt*, xParticleBatchSystem*); +typedef void (*type_435)(xEnt*, xScene*, float32, xEntFrame*); +typedef int32 (*type_436)(uint8*, int32, ptank_pool&, float32, void*); +typedef xEnt* (*type_441)(xDynAsset*, uint32); +typedef uint32 (*type_443)(zNeptuneParticle*, void*, float32); +typedef int32 (*type_448)(xGoal*, void*, en_trantype*, float32, void*); +typedef void* (*type_457)(zMODSupple*, int16); +typedef void (*type_465)(jot&, xtextbox&, xtextbox&, split_tag&); +typedef int32 (*type_466)(xGoal*, void*, en_trantype*, float32, void*); +typedef uint32 (*type_468)(zNeptuneParticle*, void*, float32); +typedef uint32 (*type_472)(RxPipelineNode*, uint32, uint32, void*); +typedef void (*type_478)(NPARMgmt*, int8*); +typedef uint32 (*type_479)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_486)(xEnt*, xScene*, float32); +typedef uint32 (*type_509)(xEnt*, xEnt*, xScene*, float32, xCollis*); +typedef void (*type_510)(RwResEntry*); +typedef int32 (*type_512)(RxPipelineNode*, RxPipeline*); +typedef void (*type_515)(); +typedef uint32 (*type_518)(void*, void*); +typedef void (*type_523)(xEnt*); +typedef RwObjectHasFrame* (*type_524)(RwObjectHasFrame*); +typedef int32 (*type_531)(xFactoryInst*, void*); +typedef int32 (*type_534)(uint8*, int32, ptank_pool&, float32, void*); +typedef void (*type_537)(RxPipelineNode*); +typedef int32 (*type_546)(xGoal*, void*, en_trantype*, float32, void*); +typedef uint32 (*type_549)(xAnimTransition*, xAnimSingle*, void*); +typedef uint32 (*type_551)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_564)(); +typedef int32 (*type_566)(RxPipelineNode*); +typedef uint32 (*type_573)(void*, void*); +typedef int32 (*type_577)(void*, void*); +typedef uint32 (*type_579)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_586)(RxNodeDefinition*); +typedef uint32 (*type_587)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_589)(xEnt*); +typedef int32 (*type_599)(uint8*, int32, ptank_pool&, float32, void*); +typedef void (*type_606)(); +typedef int32 (*type_610)(RxNodeDefinition*); +typedef uint8 (*type_611)(zLoopingSound*); +typedef int32 (*type_614)(RtAnimAnimation*); +typedef uint32 (*type_615)(xAnimTransition*, xAnimSingle*, void*); +typedef int32 (*type_617)(xGoal*, void*, en_trantype*, float32, void*); +typedef uint8 (*type_619)(zLoopingSound*); +typedef void (*type_625)(xEnt*); +typedef void (*type_629)(xEnt*, xVec3*); +typedef void (*type_631)(xBase*, xBase*, uint32, float32*, xBase*, uint32); +typedef int32 (*type_632)(RxPipelineNode*, RxPipelineNodeParam*); +typedef int32 (*type_639)(RtAnimAnimation*, RwStream*); +typedef void (*type_643)(); +typedef int32 (*type_645)(xGoal*, void*, en_trantype*, float32, void*); +typedef void (*type_652)(xEnt*); +typedef RtAnimAnimation* (*type_654)(RwStream*, RtAnimAnimation*); +typedef RpClump* (*type_659)(RpClump*, void*); +typedef void (*type_660)(); +typedef uint32 (*type_666)(xAnimTransition*, xAnimSingle*, void*); +typedef uint32 (*type_667)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_668)(xMemPool*, void*); +typedef void (*type_669)(xEnt*); +typedef void (*type_672)(xEnt*); +typedef void (*type_673)(zFrag*, float32); +typedef int32 (*type_676)(xGoal*, void*, en_trantype*, float32, void*); +typedef void (*type_680)(void*, void*); +typedef uint32 (*type_686)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_695)(xAnimPlay*, xAnimState*, void*); +typedef int32 (*type_698)(void*, void*); +typedef void* (*type_701)(zMODMessage*, int16); +typedef void (*type_704)(zFrag*); +typedef void (*type_705)(void*, void*, void*); +typedef void (*type_712)(xEnt*); +typedef uint32 (*type_713)(xAnimTransition*, xAnimSingle*, void*); +typedef uint32 (*type_715)(xAnimTransition*, xAnimSingle*, void*); +typedef uint8 (*type_716)(zNMEHazard&, void*); +typedef void* (*type_718)(zMODConfig*, int16); +typedef uint32 (*type_733)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_736)(void*, void*, void*, float32, void*); +typedef void (*type_745)(zBossCam_Binary*, float32, void*); +typedef int32 (*type_750)(uint8*, int32, ptank_pool&, float32, void*); +typedef uint32 (*type_757)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_758)(xEnt*); +typedef void (*type_759)(xEnt*, xVec3*, xMat4x3*); +typedef uint32 (*type_761)(xAnimTransition*, xAnimSingle*, void*); +typedef void (*type_764)(xEnt*, xScene*, float32); +typedef void (*type_766)(RpAtomic*, xMat4x3*); +typedef int32 (*type_768)(uint8*, int32, ptank_pool&, float32, void*); +typedef void* (*type_770)(zMODEnemy*, int16); +typedef void (*type_777)(void*, void*, void*, float32); +typedef uint32 (*type_780)(xAnimTransition*, xAnimSingle*, void*); +typedef void* (*type_789)(zMODSwimmer*, int16); +typedef void (*type_791)(xEnt*); +typedef void (*type_793)(xEnt*, xVec3*); +typedef uint32 (*type_794)(xAnimTransition*, xAnimSingle*, void*); typedef int16 type_0[6]; typedef int8 type_1[64]; @@ -1983,92 +1983,93 @@ typedef uint32 type_804[3]; struct RyzMemGrow { - int32 flg_grow; - int32 amt; - int8* ptr; - xBase* user; - int32 amt_last; - int8* ptr_last; - xBase* user_last; + int32 flg_grow; + int32 amt; + int8* ptr; + xBase* user; + int32 amt_last; + int8* ptr_last; + xBase* user_last; }; struct zNMEHazard { - en_haztyp typ_hazard; - zNMECommon* npc_owner; - HAZNotify* cb_notify; - zNMEHazard* haz_parent; - int32 flg_hazard; - xVec3 pos_hazard; - int32 flg_custom; - float32 tym_lifespan; - float32 tmr_remain; - float32 pam_interp; - xModelInstance* mdl_hazard; - union - { - float32 tmr_generic; - float32 tmr_parEmit; - float32 tmr_lessismore; - float32 tmr_nextEmit; - float32 tmr_skipEmit; - float32 tmr_skipNext; - }; - union - { - int32 cnt_generic; - int32 flg_casthurt; - }; - _class_4 custdata; - _class_10 fxdata; - xShadowCache* shadCacheComplex; - xShadowSimpleCache* shadCacheSimple; - int32 cnt_nextFill; - iSndHandle sndIDPlayed; - - void StagColGeneral(int32 who); - int32 StaggeredCollide(); - void PreCollide(float32 acc_grav, float32 tym_collDelay); - void OrientToDir(xVec3* vec_path, int32 doTheTwist); - void TypData_RotMatSet(xMat3x3* mat_rot); - int32 ColTestCapsule(xBound* bnd_tgt, xVec3* pos, float32 radiusCaller, xVec3* vel, float32 tym, int32 isPlayer); - void PosSet(xVec3* pos); - void Start(xVec3* pos, float32 tym); - void Discard(); - int32 GrabModel(); - int32 Reconfigure(en_haztyp haztype); - int32 ConfigHelper(en_haztyp haztype); + en_haztyp typ_hazard; + zNMECommon* npc_owner; + HAZNotify* cb_notify; + zNMEHazard* haz_parent; + int32 flg_hazard; + xVec3 pos_hazard; + int32 flg_custom; + float32 tym_lifespan; + float32 tmr_remain; + float32 pam_interp; + xModelInstance* mdl_hazard; + union + { + float32 tmr_generic; + float32 tmr_parEmit; + float32 tmr_lessismore; + float32 tmr_nextEmit; + float32 tmr_skipEmit; + float32 tmr_skipNext; + }; + union + { + int32 cnt_generic; + int32 flg_casthurt; + }; + _class_4 custdata; + _class_10 fxdata; + xShadowCache* shadCacheComplex; + xShadowSimpleCache* shadCacheSimple; + int32 cnt_nextFill; + iSndHandle sndIDPlayed; + + void StagColGeneral(int32 who); + int32 StaggeredCollide(); + void PreCollide(float32 acc_grav, float32 tym_collDelay); + void OrientToDir(xVec3* vec_path, int32 doTheTwist); + void TypData_RotMatSet(xMat3x3* mat_rot); + int32 ColTestCapsule(xBound* bnd_tgt, xVec3* pos, float32 radiusCaller, xVec3* vel, float32 tym, + int32 isPlayer); + void PosSet(xVec3* pos); + void Start(xVec3* pos, float32 tym); + void Discard(); + int32 GrabModel(); + int32 Reconfigure(en_haztyp haztype); + int32 ConfigHelper(en_haztyp haztype); }; struct FogParticle { - xVec3 pos; - float32 size; - xVec3 vel; - FogBreathEmitter* emitter; - float32 tmr_remain; - float32 tym_lifespan; - float32 fac_abuse; - xColor_tag color; - float32 rot; - float32 rot_vel; - uint8 uv_numCell; - uint8 uv_cell; - uint8 pct_keep; - uint8 padding; - float32 unused; + xVec3 pos; + float32 size; + xVec3 vel; + FogBreathEmitter* emitter; + float32 tmr_remain; + float32 tym_lifespan; + float32 fac_abuse; + xColor_tag color; + float32 rot; + float32 rot_vel; + uint8 uv_numCell; + uint8 uv_cell; + uint8 pct_keep; + uint8 padding; + float32 unused; }; struct xVec3 { - union - { - RwV3d m_RwV3d; - float32 x; - }; - float32 y; - float32 z; - float32 a[3]; + union + { + RwV3d m_RwV3d; + float32 x; + }; + float32 y; + float32 z; + float32 a[3]; }; struct _anon0 @@ -2077,98 +2078,97 @@ struct _anon0 struct zNMESlammer : zNMEStandard { - NMECfgSlammer* cfg_slammer; - zNMEArena arena; - xVec3 vel_physics; - - void StraddleClamp(xVec3* pos_pred); - float32 HealthRatio(); - en_vis VisionTarget(xEnt* ent); - int32 SlamMailDamage(NMEDamageInfo* dmgmail); - int32 TypeHandleMail(NMEMsg* mail); - void CollideReview(); - void Type_AddYourMove(float32 dt); - void Process(float32 dt); - void BUpdate(xVec3* pos); - xAnimTable* CreateAnimTable(xAnimTable* table); - uint32 AnimPick(int32 gid, en_npcgspot gspot); - void SelfSetup(); - void Reset(); - void Setup(); - void Init(xEntAsset* entass); - uint8 ColPenFlags(); - uint8 ColChkFlags(); - int32 DfltVulnFlags(); - void CreateConfig(); - zNMEArena* Gimme_NMEArena(); + NMECfgSlammer* cfg_slammer; + zNMEArena arena; + xVec3 vel_physics; + + void StraddleClamp(xVec3* pos_pred); + float32 HealthRatio(); + en_vis VisionTarget(xEnt* ent); + int32 SlamMailDamage(NMEDamageInfo* dmgmail); + int32 TypeHandleMail(NMEMsg* mail); + void CollideReview(); + void Type_AddYourMove(float32 dt); + void Process(float32 dt); + void BUpdate(xVec3* pos); + xAnimTable* CreateAnimTable(xAnimTable* table); + uint32 AnimPick(int32 gid, en_npcgspot gspot); + void SelfSetup(); + void Reset(); + void Setup(); + void Init(xEntAsset* entass); + uint8 ColPenFlags(); + uint8 ColChkFlags(); + int32 DfltVulnFlags(); + void CreateConfig(); + zNMEArena* Gimme_NMEArena(); }; struct xFXRibbon { - float32 texture_offset; - float32 texture_increment_scale; - activity_data_2* act; - config_type_0* cfg; + float32 texture_offset; + float32 texture_increment_scale; + activity_data_2* act; + config_type_0* cfg; - void render_all(); - void scene_enter(); - int32 compare_ribbons(void* e1, void* e2); - void get_normal(xVec3& norm, xVec3& dir, float32 orient); + void render_all(); + void scene_enter(); + int32 compare_ribbons(void* e1, void* e2); + void get_normal(xVec3& norm, xVec3& dir, float32 orient); }; struct zNMETurSpiral : zNMETurret { - - void Process(float32 dt); - void Reset(); - xAnimTable* CreateAnimTable(xAnimTable* table); - void SelfSetup(); - void Init(xEntAsset* asset); + void Process(float32 dt); + void Reset(); + xAnimTable* CreateAnimTable(xAnimTable* table); + void SelfSetup(); + void Init(xEntAsset* asset); }; struct zQuat { - float32 w; - float32 x; - float32 y; - float32 z; + float32 w; + float32 x; + float32 y; + float32 z; }; struct xEntMotionAsset { - uint8 type; - uint8 use_banking; - uint16 ent_motion_flags; - union - { - xEntMotionERData er; - xEntMotionOrbitData orb; - xEntMotionSplineData spl; - xEntMotionMPData mp; - xEntMotionMechData mech; - xEntMotionPenData pen; - }; + uint8 type; + uint8 use_banking; + uint16 ent_motion_flags; + union + { + xEntMotionERData er; + xEntMotionOrbitData orb; + xEntMotionSplineData spl; + xEntMotionMPData mp; + xEntMotionMechData mech; + xEntMotionPenData pen; + }; }; struct xResponseCurve { - uint32 _values; - inode* curve; - uint32 _nodes; - uint32 active_node; + uint32 _values; + inode* curve; + uint32 _nodes; + uint32 active_node; }; struct xMovePoint : xBase { - xMovePointAsset* asset; - xVec3* pos; - xMovePoint** nodes; - xMovePoint* prev; - uint32 node_wt_sum; - uint8 on; - uint8 pad[3]; - float32 delay; - xSpline3* spl; + xMovePointAsset* asset; + xVec3* pos; + xMovePoint** nodes; + xMovePoint* prev; + uint32 node_wt_sum; + uint8 on; + uint8 pad[3]; + float32 delay; + xSpline3* spl; }; struct _anon1 @@ -2177,39 +2177,39 @@ struct _anon1 struct zNMEStandard : zNMECommon { - float32 tmr_stunned; - int32 pts_health; - NMECfgStandard* cfg_std; - zNMEHazard* haz_dazed; - uint8 bucketHead; - zNMENavNet privNavNet; - zNMEDriver* privDriveAlloc; - - int32 IsAlive(); - int32 DfltVulnFlags(); - void DazedFXUpdate(); - void WoundedInput(en_npcgol gid, NMEDamageInfo* dmgmail); - int32 SetCarryState(en_carystat stat); - void DuploOwner(zNMECommon* duper); - void Boo(); - int32 IsVulnerable(en_npcdmg dmgtype); - void StdTyp_Process(float32 dt); - void Type_AddYourMove(); - void DieTheGoodDeath(); - void StdNME_SuicideIsPainless(); - xAnimTable* CreateAnimTable(xAnimTable* table); - zMovePoint* MvptFirstFollow(); - void PostInit(); - int32 IsHealthy(); - void CollideReview(); - zNMEDriver* Gimme_DriveData(); - zNMENavNet* Gimme_NavNet(); - int32 WannaPoolShadow(); - void Init(xEntAsset* asset); - void Setup(); - void Reset(); - void SelfSetup(); - void CreateConfig(); + float32 tmr_stunned; + int32 pts_health; + NMECfgStandard* cfg_std; + zNMEHazard* haz_dazed; + uint8 bucketHead; + zNMENavNet privNavNet; + zNMEDriver* privDriveAlloc; + + int32 IsAlive(); + int32 DfltVulnFlags(); + void DazedFXUpdate(); + void WoundedInput(en_npcgol gid, NMEDamageInfo* dmgmail); + int32 SetCarryState(en_carystat stat); + void DuploOwner(zNMECommon* duper); + void Boo(); + int32 IsVulnerable(en_npcdmg dmgtype); + void StdTyp_Process(float32 dt); + void Type_AddYourMove(); + void DieTheGoodDeath(); + void StdNME_SuicideIsPainless(); + xAnimTable* CreateAnimTable(xAnimTable* table); + zMovePoint* MvptFirstFollow(); + void PostInit(); + int32 IsHealthy(); + void CollideReview(); + zNMEDriver* Gimme_DriveData(); + zNMENavNet* Gimme_NavNet(); + int32 WannaPoolShadow(); + void Init(xEntAsset* asset); + void Setup(); + void Reset(); + void SelfSetup(); + void CreateConfig(); }; struct _anon2 @@ -2218,204 +2218,208 @@ struct _anon2 struct zNMECommon : zNMENPCWrapper { - zNMEAsset* nmeass; - int32 siz_nmeass; - xPsyche* psy_self; - NMECfgCommon* cfg_common; - NMEShadParms* cfg_shadparm; - int32 flg_vuln; - int32 flg_move; - int32 flg_misc; - int32 flg_able; - float32 spd_throttle; - NMERuntime runtimeData; - zNMEDriver* drv_data; - zNMENavNet* navnet; - union - { - float32 tmr_common[3]; - float32 tmr_invuln; - }; - float32 tmr_scary; - float32 tmr_lastAlert; - zNMECommon* npc_duplodude; - zNMESoundTable* snd_table; - iSndHandle sndID[10]; - zShrapnelAsset* shrapnelAsset; - - void Destroy(); - void Render(); - void SelfDestroy(); - void ProcessInvis(); - void PostProcess(); - int32 IsAlive(); - int32 IsHealthy(); - int32 IsPresent(); - en_nmesimp SimpleStatus(); - float32 HealthRatio(); - void Boo(); - void DuploOwner(zNMECommon* duper); - void SpeakBegin(); - void SpeakEnd(); - void SpeakStart(); - void SpeakStop(); - int32 CanRope(); - void CollideReview(); - zMovePoint* MvptFirstFollow(); - zMovePoint* MvptFirstTarget(); - xEntFrame* Gimme_xEntFrame(); - zNMEDriver* Gimme_DriveData(); - xEntShadow* Gimme_ShadowData(); - zNMENavNet* Gimme_NavNet(); - zNMEArena* Gimme_NMEArena(); - xShadowSimpleCache* Gimme_SimpShadowCache(); - void Reset(); - void PoofOfBubbles(); - int32 LaunchProjectile(en_haztyp haztyp, float32 spd_proj, float32 dst_minRange, xVec3* pos_launch, float32 tym_predictMax, float32 hyt_offset, float32 rad_min, float32 rad_max); - void GiveReward(); - void DeathFXKick(); - void DieTheGoodDeath(); - float32 ThrottleAdjust(float32 dt, float32 spd_want, float32 accel); - xAnimTable* CreateAnimTable(xAnimTable* table); - xAnimTransition* AnimMakeSmackTran(uint32 animID); - int32 AnimStart(uint32 animID, int32 forceRestart); - int32 MatMoveToPos(xVec3* pos_tobe, float32 dt, float32 spd, int32 doTurn, float32 spd_turnrate); - float32 MatQRotTowards(float32 dt, xVec3* dir_face, float32 spd_turnrate); - xModelInstance* ModelAtomicFind(int32 index, int32 idx_prev, xModelInstance* mdl_prev); - int32 HaveLOSToPos(xVec3* pos, float32 dist, xScene* xscn, xBase* tgt, xCollis* colCallers); - int32 ReviewCollBounce(xEntCollis* npccol, xVec3* vel, float32 fac_elastic); - int32 ReviewCollSurfs(xEntCollis* npccol, zNMECommon* npc); - void RunCollision(float32 dt); - en_nmesimp Common_SimpStat(); - void ApplyGlowDamp(); - void ShadStufUpdate(); - void FullShadAcquire(); - void ShadowPrep(); - int32 WannaPoolShadow(); - void TellMeVisOnOff(xEnt* ent); - int32 Respawn(xVec3* pos, zMovePoint* mvptFirst, zMovePoint* mvptSpawnRef); - void Damage(en_npcdmg dmgtype, xBase* who, xVec3* vec_hit, int32 amt_dmgCaller, en_plyrpup pup_fromCaller); - void ConvertHitEvent(NMESysEvent* sysmail); - int32 DfltSysEventMail(NMESysEvent* sysmail); - int32 SysEvent(xBase* from, xBase* to, uint32 toEvent, float32* toParam, xBase* toParamWidget, uint32 toParamWidgetID, int32* handled); - int32 NMEMessage(NMEMsg* mail); - int32 TypeHandleMail(); - void CreateConfig(); - void Setup(); - void Common_Init(); - void Process(float32 dt); - void BUpdate(xVec3* pos); - void Init(xEntAsset* entasset); + zNMEAsset* nmeass; + int32 siz_nmeass; + xPsyche* psy_self; + NMECfgCommon* cfg_common; + NMEShadParms* cfg_shadparm; + int32 flg_vuln; + int32 flg_move; + int32 flg_misc; + int32 flg_able; + float32 spd_throttle; + NMERuntime runtimeData; + zNMEDriver* drv_data; + zNMENavNet* navnet; + union + { + float32 tmr_common[3]; + float32 tmr_invuln; + }; + float32 tmr_scary; + float32 tmr_lastAlert; + zNMECommon* npc_duplodude; + zNMESoundTable* snd_table; + iSndHandle sndID[10]; + zShrapnelAsset* shrapnelAsset; + + void Destroy(); + void Render(); + void SelfDestroy(); + void ProcessInvis(); + void PostProcess(); + int32 IsAlive(); + int32 IsHealthy(); + int32 IsPresent(); + en_nmesimp SimpleStatus(); + float32 HealthRatio(); + void Boo(); + void DuploOwner(zNMECommon* duper); + void SpeakBegin(); + void SpeakEnd(); + void SpeakStart(); + void SpeakStop(); + int32 CanRope(); + void CollideReview(); + zMovePoint* MvptFirstFollow(); + zMovePoint* MvptFirstTarget(); + xEntFrame* Gimme_xEntFrame(); + zNMEDriver* Gimme_DriveData(); + xEntShadow* Gimme_ShadowData(); + zNMENavNet* Gimme_NavNet(); + zNMEArena* Gimme_NMEArena(); + xShadowSimpleCache* Gimme_SimpShadowCache(); + void Reset(); + void PoofOfBubbles(); + int32 LaunchProjectile(en_haztyp haztyp, float32 spd_proj, float32 dst_minRange, + xVec3* pos_launch, float32 tym_predictMax, float32 hyt_offset, + float32 rad_min, float32 rad_max); + void GiveReward(); + void DeathFXKick(); + void DieTheGoodDeath(); + float32 ThrottleAdjust(float32 dt, float32 spd_want, float32 accel); + xAnimTable* CreateAnimTable(xAnimTable* table); + xAnimTransition* AnimMakeSmackTran(uint32 animID); + int32 AnimStart(uint32 animID, int32 forceRestart); + int32 MatMoveToPos(xVec3* pos_tobe, float32 dt, float32 spd, int32 doTurn, + float32 spd_turnrate); + float32 MatQRotTowards(float32 dt, xVec3* dir_face, float32 spd_turnrate); + xModelInstance* ModelAtomicFind(int32 index, int32 idx_prev, xModelInstance* mdl_prev); + int32 HaveLOSToPos(xVec3* pos, float32 dist, xScene* xscn, xBase* tgt, xCollis* colCallers); + int32 ReviewCollBounce(xEntCollis* npccol, xVec3* vel, float32 fac_elastic); + int32 ReviewCollSurfs(xEntCollis* npccol, zNMECommon* npc); + void RunCollision(float32 dt); + en_nmesimp Common_SimpStat(); + void ApplyGlowDamp(); + void ShadStufUpdate(); + void FullShadAcquire(); + void ShadowPrep(); + int32 WannaPoolShadow(); + void TellMeVisOnOff(xEnt* ent); + int32 Respawn(xVec3* pos, zMovePoint* mvptFirst, zMovePoint* mvptSpawnRef); + void Damage(en_npcdmg dmgtype, xBase* who, xVec3* vec_hit, int32 amt_dmgCaller, + en_plyrpup pup_fromCaller); + void ConvertHitEvent(NMESysEvent* sysmail); + int32 DfltSysEventMail(NMESysEvent* sysmail); + int32 SysEvent(xBase* from, xBase* to, uint32 toEvent, float32* toParam, xBase* toParamWidget, + uint32 toParamWidgetID, int32* handled); + int32 NMEMessage(NMEMsg* mail); + int32 TypeHandleMail(); + void CreateConfig(); + void Setup(); + void Common_Init(); + void Process(float32 dt); + void BUpdate(xVec3* pos); + void Init(xEntAsset* entasset); }; struct NPARMgmt { - en_npartyp typ_npar; - int32 pbs_sysid; - int32 flg_npar; - NPARInfo* inf_npar; - RwTexture* txtr; - void** user_data; - struct - { - int32 flg_killall : 1; - int32 flg_unusedFlags : 31; - }; + en_npartyp typ_npar; + int32 pbs_sysid; + int32 flg_npar; + NPARInfo* inf_npar; + RwTexture* txtr; + void** user_data; + struct + { + int32 flg_killall : 1; + int32 flg_unusedFlags : 31; + }; - void Init(en_npartyp npartype, void** userData); + void Init(en_npartyp npartype, void** userData); }; struct RibData { - Flags_5 flags; - CfgInfo_2 cfginfo; - UpdateInfo_1 updinfo; - TxtrXtra_1 txtrxtra; + Flags_5 flags; + CfgInfo_2 cfginfo; + UpdateInfo_1 updinfo; + TxtrXtra_1 txtrxtra; }; struct zNMEGoalDenTaunt : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct xBehaveMgr : RyzMemData { - xFactory* goalFactory; - xPsyche* psypool; - st_XORDEREDARRAY psylist; + xFactory* goalFactory; + xPsyche* psypool; + st_XORDEREDARRAY psylist; }; struct xAnimState { - xAnimState* Next; - int8* Name; - uint32 ID; - uint32 Flags; - uint32 UserFlags; - float32 Speed; - xAnimFile* Data; - xAnimEffect* Effects; - xAnimTransitionList* Default; - xAnimTransitionList* List; - float32* BoneBlend; - float32* TimeSnap; - float32 FadeRecip; - uint16* FadeOffset; - void* CallbackData; - xAnimMultiFile* MultiFile; - void(*BeforeEnter)(xAnimPlay*, xAnimState*, void*); - void(*StateCallback)(xAnimState*, xAnimSingle*, void*); - void(*BeforeAnimMatrices)(xAnimPlay*, xQuat*, xVec3*, int32); + xAnimState* Next; + int8* Name; + uint32 ID; + uint32 Flags; + uint32 UserFlags; + float32 Speed; + xAnimFile* Data; + xAnimEffect* Effects; + xAnimTransitionList* Default; + xAnimTransitionList* List; + float32* BoneBlend; + float32* TimeSnap; + float32 FadeRecip; + uint16* FadeOffset; + void* CallbackData; + xAnimMultiFile* MultiFile; + void (*BeforeEnter)(xAnimPlay*, xAnimState*, void*); + void (*StateCallback)(xAnimState*, xAnimSingle*, void*); + void (*BeforeAnimMatrices)(xAnimPlay*, xQuat*, xVec3*, int32); }; struct xDynAsset : xBaseAsset { - uint32 type; - uint16 version; - uint16 handle; + uint32 type; + uint16 version; + uint16 handle; }; struct zMODSwimmer : zModule { - struct - { - int32 flg_swimEnabled : 1; - int32 flg_unused : 31; - }; - float32 tmr_delaySeaFog; - float32 tmr_spraySeaFog; - float32 tmr_delaySeaMist; - float32 tmr_spraySeaMist; - float32 tmr_delayNeck; - float32 tmr_sprayNeck; - float32 tmr_delayArm; - float32 tmr_sprayArm; - float32 tmr_delayPit; - float32 tmr_sprayPit; - float32 tmr_delayHip; - float32 tmr_sprayHip; - float32 tmr_delayKnee; - float32 tmr_sprayKnee; - float32 tmr_delayFeet; - float32 tmr_sprayFeet; - - void RainyMist_Upd(float32 dt); - void WorldFog_Upd(float32 dt); - void Timestep(float32 dt); - void ScenePostInit(); - void SceneFinish(); - void ScenePrepare(); + struct + { + int32 flg_swimEnabled : 1; + int32 flg_unused : 31; + }; + float32 tmr_delaySeaFog; + float32 tmr_spraySeaFog; + float32 tmr_delaySeaMist; + float32 tmr_spraySeaMist; + float32 tmr_delayNeck; + float32 tmr_sprayNeck; + float32 tmr_delayArm; + float32 tmr_sprayArm; + float32 tmr_delayPit; + float32 tmr_sprayPit; + float32 tmr_delayHip; + float32 tmr_sprayHip; + float32 tmr_delayKnee; + float32 tmr_sprayKnee; + float32 tmr_delayFeet; + float32 tmr_sprayFeet; + + void RainyMist_Upd(float32 dt); + void WorldFog_Upd(float32 dt); + void Timestep(float32 dt); + void ScenePostInit(); + void SceneFinish(); + void ScenePrepare(); }; struct _class_0 { - float32 chargeSpeed; - float32 range; - float32 stoppingDecel; - float32 stoppingDecelFast; - float32 knockbackDist; + float32 chargeSpeed; + float32 range; + float32 stoppingDecel; + float32 stoppingDecelFast; + float32 knockbackDist; }; struct zMovePoint : xMovePoint @@ -2424,650 +2428,647 @@ struct zMovePoint : xMovePoint struct xEnt : xBase { - xEntAsset* asset; - uint16 idx; - uint8 flags; - uint8 miscflags; - uint8 subType; - uint8 pflags; - uint16 moreFlags; - struct - { - uint8 _isCulled : 2; - uint8 collisionEventReceived : 2; - }; - uint8 driving_count; - uint8 num_ffx; - uint8 collType; - uint8 collLev; - uint8 chkby; - uint8 penby; - void(*visUpdate)(xEnt*); - xModelInstance* model; - xModelInstance* collModel; - xModelInstance* camcollModel; - void(*update)(xEnt*, xScene*, float32); - void(*endUpdate)(xEnt*, xScene*, float32); - void(*bupdate)(xEnt*, xVec3*); - void(*move)(xEnt*, xScene*, float32, xEntFrame*); - void(*render)(xEnt*); - xEntFrame* frame; - xEntCollis* collis; - xGridBound gridb; - xBound bound; - void(*transl)(xEnt*, xVec3*, xMat4x3*); - xFFX* ffx; - xEnt* driver; - xEnt* driven; - int32 driveMode; - xShadowSimpleCache* simpShadow; - xEntShadow* entShadow; - anim_coll_data* anim_coll; - void* user_data; + xEntAsset* asset; + uint16 idx; + uint8 flags; + uint8 miscflags; + uint8 subType; + uint8 pflags; + uint16 moreFlags; + struct + { + uint8 _isCulled : 2; + uint8 collisionEventReceived : 2; + }; + uint8 driving_count; + uint8 num_ffx; + uint8 collType; + uint8 collLev; + uint8 chkby; + uint8 penby; + void (*visUpdate)(xEnt*); + xModelInstance* model; + xModelInstance* collModel; + xModelInstance* camcollModel; + void (*update)(xEnt*, xScene*, float32); + void (*endUpdate)(xEnt*, xScene*, float32); + void (*bupdate)(xEnt*, xVec3*); + void (*move)(xEnt*, xScene*, float32, xEntFrame*); + void (*render)(xEnt*); + xEntFrame* frame; + xEntCollis* collis; + xGridBound gridb; + xBound bound; + void (*transl)(xEnt*, xVec3*, xMat4x3*); + xFFX* ffx; + xEnt* driver; + xEnt* driven; + int32 driveMode; + xShadowSimpleCache* simpShadow; + xEntShadow* entShadow; + anim_coll_data* anim_coll; + void* user_data; }; struct HAZExist : HAZBasic { - - void Render(zNMEHazard* haz); - en_hazrc Configure(zNMEHazard* haz); + void Render(zNMEHazard* haz); + en_hazrc Configure(zNMEHazard* haz); }; struct HAZLob : HAZCollide { - xVec3 pos_tgt; + xVec3 pos_tgt; }; struct HAZMervBomb : HAZLobber { - - int32 KickBomblets(zNMEHazard* parent); - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); - void ScenePrepare(); + int32 KickBomblets(zNMEHazard* parent); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); + void ScenePrepare(); }; struct xSweptSphere { - uint8 detect_initial_penetration; - uint8 init_collide; - xVec3 start; - xVec3 end; - float32 radius; - float32 dist; - xVec3 dir; - xBox box; - xQCData qcd; - float32 curdist; - uint32 oid; - void* optr; - xModelInstance* mptr; - xVec3 worldContact; - int32 hitIt; - xVec3 worldPos; - xVec3 worldNormal; - xVec3 worldTangent; - xJSPHeader* jsp; - xClumpCollBSPTriangle* bspTriangle; - xCollideSphereHitType type; - xPlane tri_plane; + uint8 detect_initial_penetration; + uint8 init_collide; + xVec3 start; + xVec3 end; + float32 radius; + float32 dist; + xVec3 dir; + xBox box; + xQCData qcd; + float32 curdist; + uint32 oid; + void* optr; + xModelInstance* mptr; + xVec3 worldContact; + int32 hitIt; + xVec3 worldPos; + xVec3 worldNormal; + xVec3 worldTangent; + xJSPHeader* jsp; + xClumpCollBSPTriangle* bspTriangle; + xCollideSphereHitType type; + xPlane tri_plane; }; struct ExhaustEmitter { - en_npartyp useNPARtype; - Flags_1 flags; - RunTime_2 run; - Size_1 size; - Damage_2 dmg; - Life_0 life; - Emit_0 emit; - Speed_1 speed; - CurveInfo_1 curve; + en_npartyp useNPARtype; + Flags_1 flags; + RunTime_2 run; + Size_1 size; + Damage_2 dmg; + Life_0 life; + Emit_0 emit; + Speed_1 speed; + CurveInfo_1 curve; - void EmitLineUp(xVec3* pos_beg, xVec3* pos_end, xVec3* vel_drift, float32 pct_spdRamp, int32 num_emitCaller, float32 rad_emitCaller); - void EmitRing(xVec3* pos_center, xVec3* dir_axis, float32 rad_emitCaller, float32 pct_spdRamp, int32 num_emitCaller, xVec3* vel_drift); - void EmitOnAxis(xVec3* pos_center, xVec3* dir_axis); + void EmitLineUp(xVec3* pos_beg, xVec3* pos_end, xVec3* vel_drift, float32 pct_spdRamp, + int32 num_emitCaller, float32 rad_emitCaller); + void EmitRing(xVec3* pos_center, xVec3* dir_axis, float32 rad_emitCaller, float32 pct_spdRamp, + int32 num_emitCaller, xVec3* vel_drift); + void EmitOnAxis(xVec3* pos_center, xVec3* dir_axis); }; struct zNMESpawner : RyzMemData { - int32 flg_spawner; - zNMECommon* npc_owner; - float32 tym_delay; - int32 max_spawn; - en_wavemode wavemode; - en_wavestat wavestat; - float32 tmr_wave; - int32 cnt_spawn; - int32 cnt_contAmbushRemain; - SMSPStatus sppool[32]; - SMNPCStatus npcpool[32]; - SMNPCStatus* sp_inUseLock[32]; - st_XORDEREDARRAY pendlist; - st_XORDEREDARRAY actvlist; - int32 cnt_cleanup; - - void SPUnlock(SMNPCStatus* npcstat); - void ChildCleanup(); - int32 SpawnBeastie(SMNPCStatus* npcstat, SMSPStatus* spstat); - SMNPCStatus* StatForNPC(zNMECommon* npc); - int32 IsSPLZClear(zMovePoint* sp); - SMSPStatus* SPSelect_Avail(); - void Notify(en_smnote note, void* data); - void UpdateContinuous(); - void UpdateAmbushWave(); - void UpdateWaveMode(); - void Timestep(float32 dt); - void MapPreferred(); - int32 AddSpawnNPC(zNMECommon* npc); - int32 AddSpawnPoint(zMovePoint* sp); + int32 flg_spawner; + zNMECommon* npc_owner; + float32 tym_delay; + int32 max_spawn; + en_wavemode wavemode; + en_wavestat wavestat; + float32 tmr_wave; + int32 cnt_spawn; + int32 cnt_contAmbushRemain; + SMSPStatus sppool[32]; + SMNPCStatus npcpool[32]; + SMNPCStatus* sp_inUseLock[32]; + st_XORDEREDARRAY pendlist; + st_XORDEREDARRAY actvlist; + int32 cnt_cleanup; + + void SPUnlock(SMNPCStatus* npcstat); + void ChildCleanup(); + int32 SpawnBeastie(SMNPCStatus* npcstat, SMSPStatus* spstat); + SMNPCStatus* StatForNPC(zNMECommon* npc); + int32 IsSPLZClear(zMovePoint* sp); + SMSPStatus* SPSelect_Avail(); + void Notify(en_smnote note, void* data); + void UpdateContinuous(); + void UpdateAmbushWave(); + void UpdateWaveMode(); + void Timestep(float32 dt); + void MapPreferred(); + int32 AddSpawnNPC(zNMECommon* npc); + int32 AddSpawnPoint(zMovePoint* sp); }; struct RpAtomic { - RwObjectHasFrame object; - RwResEntry* repEntry; - RpGeometry* geometry; - RwSphere boundingSphere; - RwSphere worldBoundingSphere; - RpClump* clump; - RwLLLink inClumpLink; - RpAtomic*(*renderCallBack)(RpAtomic*); - RpInterpolator interpolator; - uint16 renderFrame; - uint16 pad; - RwLinkList llWorldSectorsInAtomic; - RxPipeline* pipeline; + RwObjectHasFrame object; + RwResEntry* repEntry; + RpGeometry* geometry; + RwSphere boundingSphere; + RwSphere worldBoundingSphere; + RpClump* clump; + RwLLLink inClumpLink; + RpAtomic* (*renderCallBack)(RpAtomic*); + RpInterpolator interpolator; + uint16 renderFrame; + uint16 pad; + RwLinkList llWorldSectorsInAtomic; + RxPipeline* pipeline; }; struct xCollis { - uint32 flags; - uint32 oid; - void* optr; - xModelInstance* mptr; - float32 dist; - float32 test_dist; - xVec3 norm; - xVec3 tohit; - xVec3 depen; - xVec3 hdng; - union - { - _class_8 tuv; - tri_data_0 tri; - }; + uint32 flags; + uint32 oid; + void* optr; + xModelInstance* mptr; + float32 dist; + float32 test_dist; + xVec3 norm; + xVec3 tohit; + xVec3 depen; + xVec3 hdng; + union + { + _class_8 tuv; + tri_data_0 tri; + }; }; struct zNMEMindy : zNMEFriendly { - eMindyState currentState; - eShellState currentShellState; - eTVStaticState currentTVStaticState; - float32 clamOpenDistanceSqXZ; - float32 clamCloseDistanceSqXZ; - float32 updateCullDistanceXZ; - float32 updateCullDistanceSqXZ; - zNMEAssetMindy* mindyAsset; - ztextbox* textBox; - ztaskbox* taskBox; - ztaskbox* secondaryTaskBox; - uint32 mindyModelID; - MindyTalkData talkData; - uint8 celebrationAnimPlay; - float32 tvStaticTimer; - int32 tvStaticTimeIndex; - uint8 makeMindyAppear; - uint8 makeMindyDisappear; - float32 yaw; - float32 pitch; - float32 roll; - float32 yawAmplitude; - float32 yawFrequency; - float32 pitchAmplitude; - float32 pitchFrequency; - float32 rollAmplitude; - float32 rollFrequency; - float32 wiggleTimer; - float32 wiggleAmplitude; - float32 wiggleFrequency; - float32 quatT; - RwMatrixTag matCopy; - float32 goingDownTimeMultiplier; - float32 offsetY; - float32 offsetYTimer; - float32 goingUpTimeMultiplier; - float32 fadeStep; - - int32 MindySysMail(NMESysEvent* sysmail); - int32 TypeHandleMail(NMEMsg* mail); - void Render(); - void Process(float32 dt); - void BUpdate(xVec3* pos); - void UpdateTVStatic(float32 dt); - xAnimTable* CreateAnimTable(xAnimTable* table); - uint32 CloseShellDone(void* object); - uint32 CloseShellCheck(void* object); - uint32 OpenShellDone(void* object); - uint32 OpenShellCheck(void* object); - uint32 SpatulaGrabCheck(void* object); - uint32 SpatulaGrabStopCB(xAnimSingle* anim, void* object); - uint32 SpatulaGrabCB(void* object); - void Destroy(); - void Reset(); - void Setup(); - void Init(xEntAsset* asset); - void PostSetup(); - int32 WannaPoolShadow(); + eMindyState currentState; + eShellState currentShellState; + eTVStaticState currentTVStaticState; + float32 clamOpenDistanceSqXZ; + float32 clamCloseDistanceSqXZ; + float32 updateCullDistanceXZ; + float32 updateCullDistanceSqXZ; + zNMEAssetMindy* mindyAsset; + ztextbox* textBox; + ztaskbox* taskBox; + ztaskbox* secondaryTaskBox; + uint32 mindyModelID; + MindyTalkData talkData; + uint8 celebrationAnimPlay; + float32 tvStaticTimer; + int32 tvStaticTimeIndex; + uint8 makeMindyAppear; + uint8 makeMindyDisappear; + float32 yaw; + float32 pitch; + float32 roll; + float32 yawAmplitude; + float32 yawFrequency; + float32 pitchAmplitude; + float32 pitchFrequency; + float32 rollAmplitude; + float32 rollFrequency; + float32 wiggleTimer; + float32 wiggleAmplitude; + float32 wiggleFrequency; + float32 quatT; + RwMatrixTag matCopy; + float32 goingDownTimeMultiplier; + float32 offsetY; + float32 offsetYTimer; + float32 goingUpTimeMultiplier; + float32 fadeStep; + + int32 MindySysMail(NMESysEvent* sysmail); + int32 TypeHandleMail(NMEMsg* mail); + void Render(); + void Process(float32 dt); + void BUpdate(xVec3* pos); + void UpdateTVStatic(float32 dt); + xAnimTable* CreateAnimTable(xAnimTable* table); + uint32 CloseShellDone(void* object); + uint32 CloseShellCheck(void* object); + uint32 OpenShellDone(void* object); + uint32 OpenShellCheck(void* object); + uint32 SpatulaGrabCheck(void* object); + uint32 SpatulaGrabStopCB(xAnimSingle* anim, void* object); + uint32 SpatulaGrabCB(void* object); + void Destroy(); + void Reset(); + void Setup(); + void Init(xEntAsset* asset); + void PostSetup(); + int32 WannaPoolShadow(); }; enum en_trantype { - GOAL_TRAN_NONE, - GOAL_TRAN_SET, - GOAL_TRAN_PUSH, - GOAL_TRAN_POP, - GOAL_TRAN_POPTO, - GOAL_TRAN_POPALL, - GOAL_TRAN_POPBASE, - GOAL_TRAN_POPSAFE, - GOAL_TRAN_SWAP, - GOAL_TRAN_NOMORE, - GOAL_TRAN_FORCE = 0x7fffffff + GOAL_TRAN_NONE, + GOAL_TRAN_SET, + GOAL_TRAN_PUSH, + GOAL_TRAN_POP, + GOAL_TRAN_POPTO, + GOAL_TRAN_POPALL, + GOAL_TRAN_POPBASE, + GOAL_TRAN_POPSAFE, + GOAL_TRAN_SWAP, + GOAL_TRAN_NOMORE, + GOAL_TRAN_FORCE = 0x7fffffff }; struct zNMEFogger : zNMEStandard { - zNMEArena arena; - NMECfgFogger* cfg_fogger; - xVec3 vel_physics; - - float32 HealthRatio(); - en_vis VisionTarget(xEnt* ent); - int32 FogMailDamage(NMEDamageInfo* dmgmail); - int32 TypeHandleMail(NMEMsg* mail); - void CollideReview(); - void Type_AddYourMove(float32 dt); - void Process(float32 dt); - void BUpdate(xVec3* pos); - void Reset(); - xAnimTable* CreateAnimTable(xAnimTable* table); - uint32 AnimPick(int32 gid, en_npcgspot gspot); - void SelfSetup(); - void Setup(); - void Init(xEntAsset* entass); - uint8 ColPenFlags(); - uint8 ColChkFlags(); - int32 DfltVulnFlags(); - void CreateConfig(); - zNMEArena* Gimme_NMEArena(); + zNMEArena arena; + NMECfgFogger* cfg_fogger; + xVec3 vel_physics; + + float32 HealthRatio(); + en_vis VisionTarget(xEnt* ent); + int32 FogMailDamage(NMEDamageInfo* dmgmail); + int32 TypeHandleMail(NMEMsg* mail); + void CollideReview(); + void Type_AddYourMove(float32 dt); + void Process(float32 dt); + void BUpdate(xVec3* pos); + void Reset(); + xAnimTable* CreateAnimTable(xAnimTable* table); + uint32 AnimPick(int32 gid, en_npcgspot gspot); + void SelfSetup(); + void Setup(); + void Init(xEntAsset* entass); + uint8 ColPenFlags(); + uint8 ColChkFlags(); + int32 DfltVulnFlags(); + void CreateConfig(); + zNMEArena* Gimme_NMEArena(); }; struct xAnimFile { - xAnimFile* Next; - int8* Name; - uint32 ID; - uint32 FileFlags; - float32 Duration; - float32 TimeOffset; - uint16 BoneCount; - uint8 NumAnims[2]; - void** RawData; - xAnimPhysicsData* PhysicsData; + xAnimFile* Next; + int8* Name; + uint32 ID; + uint32 FileFlags; + float32 Duration; + float32 TimeOffset; + uint16 BoneCount; + uint8 NumAnims[2]; + void** RawData; + xAnimPhysicsData* PhysicsData; }; struct NMECfgNeptuneAttack { - float32 time_randomtrack; - float32 time_finaltrack; - float32 time_lockon; - int32 proj_count; - float32 time_wait; - float32 time_fire; - int32 outrage_count; - int32 feeler_count; - float32 feeler_length; - float32 feeler_rotation; - float32 feeler_thickness; - int32 ring_count; - float32 ring_delay; - float32 ring_minrad; - float32 ring_maxrad; - float32 ring_speed; - float32 ring_thickness; - float32 ring_lifetime; + float32 time_randomtrack; + float32 time_finaltrack; + float32 time_lockon; + int32 proj_count; + float32 time_wait; + float32 time_fire; + int32 outrage_count; + int32 feeler_count; + float32 feeler_length; + float32 feeler_rotation; + float32 feeler_thickness; + int32 ring_count; + float32 ring_delay; + float32 ring_minrad; + float32 ring_maxrad; + float32 ring_speed; + float32 ring_thickness; + float32 ring_lifetime; }; struct RxClusterDefinition { - int8* name; - uint32 defaultStride; - uint32 defaultAttributes; - int8* attributeSet; + int8* name; + uint32 defaultStride; + uint32 defaultAttributes; + int8* attributeSet; }; struct HAZSpawnGrow : HAZBasic { - - void Render(zNMEHazard* haz); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct zNMEGoalDentNormal : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct zNMEGoalDentBattle : zNMEGoalCommon { - float32 tmr_tossDelay; + float32 tmr_tossDelay; - int32 ChkExitCases(zNMEDenToo* npc, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 ChkExitCases(zNMEDenToo* npc, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct zNMEFrogfish : zNMEBoss { - int32 stageCurr; - int32 attackCurr; - int32 attackIndex; - int32 damageTakenAttackCurr; - int32 ptsHealth; - uint32 anid_played; - zNMECfgFrogfish* cfg; - eFFBossState state; - xVec3 chargeVelDir; - float32 chargeVelMagnitude; - float32 timer; - xParabola jumpParabola; - float32 timeLeaping; - xVec3 dirDest; - uint8 roarPlayed; - uint8 landFXPlayed; - uint8 meleeSuccessfull; - uint8 attackChangePending; - effect* rumbleMelee; - zShrapnelAsset* fragSkullStompL; - zShrapnelAsset* fragSkullStompR; - zShrapnelAsset* fragSlam; - zShrapnelAsset* fragSkid; - zNMETongueSpin* npc_tongue; - xVec3 camTarget1; - xVec3 camTarget2; - xVec3 camTargetStart; - xVec3 camTargetEnd; - eFFBossCameraState camState; - float32 camTimer; - float32 camInterpTime; - float32 camInterpDuration; - uint8 firstTimeTongue; - iSndHandle teeterSndHandle; - iSndHandle deadSndHandle; - float32 fxTimer; - float32 sbHintTimer; - float32 sbCommentTimer; - float32 patCommentTimer; - float32 sbIntroTimer; - float32 patIntroTimer; - uint8 sbIntroPlayed; - uint8 patIntroPlayed; - uint8 tongueFXPlayed; - uint8 roarInTrenchPlayed; - uint8 cameraSetup; - iSndGroupHandle sSoundAsset[20]; - zStreamedSoundList FFOneLiners; - - void RenderHud(); - void OneLinersUpdate(float32 dt); - int32 IsAlive(); - int32 EvalJump(float32 dt, float32 duration, uint8 setOrient); - void CalcJump(eFFBossLocation loc); - void AttackIncrement(); - void StageIncrement(); - void SetTheStage(eFFBossStage stageToBe); - int32 TypeHandleMail(NMEMsg* mail); - void CalcPos(xVec3* posDest, eFFBossLocation loc); - xAnimTable* CreateAnimTable(xAnimTable* table); - void EnterState(eFFBossState newState); - void BUpdate(); - void Process(float32 dt); - void FeetFXUpdate(float32 dt); - void SoundInitAssetTable(); - void UpdateCam(float32 dt); - void SetCamState(eFFBossCameraState newState); - void Destroy(); - void Reset(); - void Setup(); - void Init(xEntAsset* asset); - int32 DfltVulnFlags(); - void CreateConfig(); - int32 WannaPoolShadow(); + int32 stageCurr; + int32 attackCurr; + int32 attackIndex; + int32 damageTakenAttackCurr; + int32 ptsHealth; + uint32 anid_played; + zNMECfgFrogfish* cfg; + eFFBossState state; + xVec3 chargeVelDir; + float32 chargeVelMagnitude; + float32 timer; + xParabola jumpParabola; + float32 timeLeaping; + xVec3 dirDest; + uint8 roarPlayed; + uint8 landFXPlayed; + uint8 meleeSuccessfull; + uint8 attackChangePending; + effect* rumbleMelee; + zShrapnelAsset* fragSkullStompL; + zShrapnelAsset* fragSkullStompR; + zShrapnelAsset* fragSlam; + zShrapnelAsset* fragSkid; + zNMETongueSpin* npc_tongue; + xVec3 camTarget1; + xVec3 camTarget2; + xVec3 camTargetStart; + xVec3 camTargetEnd; + eFFBossCameraState camState; + float32 camTimer; + float32 camInterpTime; + float32 camInterpDuration; + uint8 firstTimeTongue; + iSndHandle teeterSndHandle; + iSndHandle deadSndHandle; + float32 fxTimer; + float32 sbHintTimer; + float32 sbCommentTimer; + float32 patCommentTimer; + float32 sbIntroTimer; + float32 patIntroTimer; + uint8 sbIntroPlayed; + uint8 patIntroPlayed; + uint8 tongueFXPlayed; + uint8 roarInTrenchPlayed; + uint8 cameraSetup; + iSndGroupHandle sSoundAsset[20]; + zStreamedSoundList FFOneLiners; + + void RenderHud(); + void OneLinersUpdate(float32 dt); + int32 IsAlive(); + int32 EvalJump(float32 dt, float32 duration, uint8 setOrient); + void CalcJump(eFFBossLocation loc); + void AttackIncrement(); + void StageIncrement(); + void SetTheStage(eFFBossStage stageToBe); + int32 TypeHandleMail(NMEMsg* mail); + void CalcPos(xVec3* posDest, eFFBossLocation loc); + xAnimTable* CreateAnimTable(xAnimTable* table); + void EnterState(eFFBossState newState); + void BUpdate(); + void Process(float32 dt); + void FeetFXUpdate(float32 dt); + void SoundInitAssetTable(); + void UpdateCam(float32 dt); + void SetCamState(eFFBossCameraState newState); + void Destroy(); + void Reset(); + void Setup(); + void Init(xEntAsset* asset); + int32 DfltVulnFlags(); + void CreateConfig(); + int32 WannaPoolShadow(); }; struct zNMECritJelly : zNMECritter { - float32 tmr_warn; - int32 idx_leg; + float32 tmr_warn; + int32 idx_leg; - void DangerSigns(); - int32 JellyMailDamage(NMEDamageInfo* dmgmail); - int32 TypeHandleMail(NMEMsg* mail); - void Process(float32 dt); - void BUpdate(); - int32 IsAlive(); - void Reset(); - xAnimTable* CreateAnimTable(xAnimTable* table); - void SelfSetup(); - void Setup(); - int32 DfltVulnFlags(); - void CreateConfig(); - int32 WannaPoolShadow(); + void DangerSigns(); + int32 JellyMailDamage(NMEDamageInfo* dmgmail); + int32 TypeHandleMail(NMEMsg* mail); + void Process(float32 dt); + void BUpdate(); + int32 IsAlive(); + void Reset(); + xAnimTable* CreateAnimTable(xAnimTable* table); + void SelfSetup(); + void Setup(); + int32 DfltVulnFlags(); + void CreateConfig(); + int32 WannaPoolShadow(); }; struct NMEDamageInfo { - en_npcdmg dmg_type; - xBase* dmg_from; - xVec3 vec_dmghit; - int32 amt_damage; - union - { - int32 fac_powerup; - en_plyrpup pup_player; - }; + en_npcdmg dmg_type; + xBase* dmg_from; + xVec3 vec_dmghit; + int32 amt_damage; + union + { + int32 fac_powerup; + en_plyrpup pup_player; + }; }; struct zNMEGoalSBBatIdle : zNMEGoalCommon { - - int32 Process(); + int32 Process(); }; struct zNMEGoalTurrSpiral : zNMEGoalCommon { - int32 cnt_nextlos; - float32 len_laser; + int32 cnt_nextlos; + float32 len_laser; - void EmitSteam(); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + void EmitSteam(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct NMEZapomatic { - float32 tmr_warmup; - float32 tmr_megaprog; - zNMECommon* npc_owner; - en_zapmod zapmode; - en_zapatak zapatak; - int32 energized; - xVec3 dir_aim; - float32 tmr_cycle; - xVec3 pos_gunTip; - xVec3 pos_aimPoint; - xFXRibbon* ribbon; - float32 tmr_nextShot; - int8 cnt_nextEmit; - int8 cnt_siphonEmit; - int8 flg_repelBowlBall; - int8 idx_plyrBone; - float32 tmr_nextPulse; - xVec3 dir_tgtLaser; - float32 len_tgtLaser; - - void LaserRender_laser_pulser(); - void LaserRender_laser_target(); - void Shoot_Upd(float32 dt); - float32 DangerZoneRatio(); - void CalcNewGunTip(xVec3* pos_tip); - void NewTimeUpdate(float32 dt); + float32 tmr_warmup; + float32 tmr_megaprog; + zNMECommon* npc_owner; + en_zapmod zapmode; + en_zapatak zapatak; + int32 energized; + xVec3 dir_aim; + float32 tmr_cycle; + xVec3 pos_gunTip; + xVec3 pos_aimPoint; + xFXRibbon* ribbon; + float32 tmr_nextShot; + int8 cnt_nextEmit; + int8 cnt_siphonEmit; + int8 flg_repelBowlBall; + int8 idx_plyrBone; + float32 tmr_nextPulse; + xVec3 dir_tgtLaser; + float32 len_tgtLaser; + + void LaserRender_laser_pulser(); + void LaserRender_laser_target(); + void Shoot_Upd(float32 dt); + float32 DangerZoneRatio(); + void CalcNewGunTip(xVec3* pos_tip); + void NewTimeUpdate(float32 dt); }; struct xUpdateCullEnt { - uint16 index; - int16 groupIndex; - uint32(*update_cull_cb)(void*, void*); - void* cbdata; - xUpdateCullEnt* nextInGroup; + uint16 index; + int16 groupIndex; + uint32 (*update_cull_cb)(void*, void*); + void* cbdata; + xUpdateCullEnt* nextInGroup; }; struct NMECfgCommon { - Damage_1 damage; - Physics physics; - Movement_1 movement; + Damage_1 damage; + Physics physics; + Movement_1 movement; }; struct xAnimSingle { - uint32 SingleFlags; - xAnimState* State; - float32 Time; - float32 CurrentSpeed; - float32 BilinearLerp[2]; - xAnimEffect* Effect; - uint32 ActiveCount; - float32 LastTime; - xAnimActiveEffect* ActiveList; - xAnimPlay* Play; - xAnimTransition* Sync; - xAnimTransition* Tran; - xAnimSingle* Blend; - float32 BlendFactor; - xVec3 PhysDisp; - float32 YawDisp; - uint32 pad[1]; + uint32 SingleFlags; + xAnimState* State; + float32 Time; + float32 CurrentSpeed; + float32 BilinearLerp[2]; + xAnimEffect* Effect; + uint32 ActiveCount; + float32 LastTime; + xAnimActiveEffect* ActiveList; + xAnimPlay* Play; + xAnimTransition* Sync; + xAnimTransition* Tran; + xAnimSingle* Blend; + float32 BlendFactor; + xVec3 PhysDisp; + float32 YawDisp; + uint32 pad[1]; }; struct NMEMsg { - en_npcmsg msgid; - uint32 sendto; - uint32 from; - en_msgdata infotype; - union - { - NMESysEvent sysevent; - NMEBlastInfo blastarea; - NMEChatInfo chatter; - NMESpawnInfo spawning; - NMETargetInfo target; - NMEDamageInfo dmgdata; - NMEStunInfo stundata; - NMEScriptInfo scriptdata; - NMEMountInfo mountdata; - NMEDestInfo destdata; - NMEAreaInfo areadata; - }; - void* attached; - NMEMsg* next; - float32 tmr_delay; + en_npcmsg msgid; + uint32 sendto; + uint32 from; + en_msgdata infotype; + union + { + NMESysEvent sysevent; + NMEBlastInfo blastarea; + NMEChatInfo chatter; + NMESpawnInfo spawning; + NMETargetInfo target; + NMEDamageInfo dmgdata; + NMEStunInfo stundata; + NMEScriptInfo scriptdata; + NMEMountInfo mountdata; + NMEDestInfo destdata; + NMEAreaInfo areadata; + }; + void* attached; + NMEMsg* next; + float32 tmr_delay; }; struct xMat4x3 : xMat3x3 { - xVec3 pos; - uint32 pad3; + xVec3 pos; + uint32 pad3; }; struct zDestructible { - xDestructibleAsset* asset; - uint32 id; - uint32 cur_hit_pts; - uint32 curstateidx; - uint32 nstates; - uint32 hit_pts; - uint32 hit_filter; - uint32 launch_flag; - uint32 behaviour; - uint32 base_modelID; - iSndGroupHandle sg_handle_idle; - iSndHandle sh_handle_idle; - xModelInstance* base_model; - xModelInstance* base_collision; - zDestructibleState* dstates; - float32 hit_to_destroy_timer; - float32 timer; - float32 respawn_time; - void(*destroy_notify)(zDestructible*, void*); - void* notify_context; - xEnt* root_ent; - uint32 flags; - uint8 has_animation; - uint8 active; + xDestructibleAsset* asset; + uint32 id; + uint32 cur_hit_pts; + uint32 curstateidx; + uint32 nstates; + uint32 hit_pts; + uint32 hit_filter; + uint32 launch_flag; + uint32 behaviour; + uint32 base_modelID; + iSndGroupHandle sg_handle_idle; + iSndHandle sh_handle_idle; + xModelInstance* base_model; + xModelInstance* base_collision; + zDestructibleState* dstates; + float32 hit_to_destroy_timer; + float32 timer; + float32 respawn_time; + void (*destroy_notify)(zDestructible*, void*); + void* notify_context; + xEnt* root_ent; + uint32 flags; + uint8 has_animation; + uint8 active; }; struct xCamGroup { - xMat4x3 mat; - xVec3 vel; - float32 fov; - float32 fov_default; - int32 flags; - xCam* primary; - analog_data analog; - xCam* owned[32]; - int32 size; - int32 primary_index; - int32 child_flags; - int32 child_flags_mask; - xCamBlend* blend_cam[4]; + xMat4x3 mat; + xVec3 vel; + float32 fov; + float32 fov_default; + int32 flags; + xCam* primary; + analog_data analog; + xCam* owned[32]; + int32 size; + int32 primary_index; + int32 child_flags; + int32 child_flags_mask; + xCamBlend* blend_cam[4]; }; struct Damage_0 { - float32 rad_collide; - float32 pam_collide[2]; - uint8 alf_collide; + float32 rad_collide; + float32 pam_collide[2]; + uint8 alf_collide; }; struct Life_0 { - float32 tym_lifeBase; - float32 tym_lifeRand; + float32 tym_lifeBase; + float32 tym_lifeRand; }; struct config_type_0 { - float32 life_time; - uint32 blend_src; - uint32 blend_dst; - float32 pivot; - int32 flags; - curve_node_0* curve; - int32 curve_size; - RwRaster* raster; + float32 life_time; + uint32 blend_src; + uint32 blend_dst; + float32 pivot; + int32 flags; + curve_node_0* curve; + int32 curve_size; + RwRaster* raster; }; struct _anon3 @@ -3076,351 +3077,353 @@ struct _anon3 struct xParticleBatchSystem { - ptank_group_type pool_type; - render_state rs; - uint32 order_group; - int32 order_index; - int32 stride; - int32(*update)(uint8*, int32, ptank_pool&, float32, void*); - void* context; + ptank_group_type pool_type; + render_state rs; + uint32 order_group; + int32 order_index; + int32 stride; + int32 (*update)(uint8*, int32, ptank_pool&, float32, void*); + void* context; }; struct RwStreamCustom { - int32(*sfnclose)(void*); - uint32(*sfnread)(void*, void*, uint32); - int32(*sfnwrite)(void*, void*, uint32); - int32(*sfnskip)(void*, uint32); - void* data; + int32 (*sfnclose)(void*); + uint32 (*sfnread)(void*, void*, uint32); + int32 (*sfnwrite)(void*, void*, uint32); + int32 (*sfnskip)(void*, uint32); + void* data; }; struct zNMESBBat : zNMECommon { - zNMEDennis* npc_bossman; + zNMEDennis* npc_bossman; - void Reset(); - void Process(float32 dt); - void Setup(); - void Init(xEntAsset* asset); - void SelfSetup(); - uint32 AnimPick(int32 gid); - xAnimTable* CreateAnimTable(xAnimTable* table); + void Reset(); + void Process(float32 dt); + void Setup(); + void Init(xEntAsset* asset); + void SelfSetup(); + uint32 AnimPick(int32 gid); + xAnimTable* CreateAnimTable(xAnimTable* table); }; struct zNMEGoalWound : zNMEGoalCommon { - int8 flg_wound; - int8 cnt_skipRibbonJoint; - int16 flg_other; - xVec3 vel_fling; - float32 tmr_knocked; - xFXRibbon* ribbon; - xModelBlur pushBlur; - Input input; - - void RibbonUpdate(zNMEStandard* npc); - void RibbonPrep(); - void TakeItLikeAMan(zNMEStandard* npc); - int32 GoalHandleMail(NMEMsg* mail); - int32 InputInfo(NMEDamageInfo* dmgmail); - int32 InputInfoDflt(); - int32 CollReview(); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); - void Clear(); + int8 flg_wound; + int8 cnt_skipRibbonJoint; + int16 flg_other; + xVec3 vel_fling; + float32 tmr_knocked; + xFXRibbon* ribbon; + xModelBlur pushBlur; + Input input; + + void RibbonUpdate(zNMEStandard* npc); + void RibbonPrep(); + void TakeItLikeAMan(zNMEStandard* npc); + int32 GoalHandleMail(NMEMsg* mail); + int32 InputInfo(NMEDamageInfo* dmgmail); + int32 InputInfoDflt(); + int32 CollReview(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); + void Clear(); }; struct zNMEGoalSpawning : zNMEGoalCommon { - en_resp stat_spawning; - struct - { - int32 flg_doSpawnball : 1; - int32 flg_doScreenWarp : 1; - int32 flg_spawningUnused : 22; - int32 cnt_skipRibInsert : 8; - }; - xFXRibbon* ribbon; - union - { - float32 tmr_robobits; - float32 tmr_respawn; - }; - float32 tmr_duperTakesTooLong; - zNMEHazard* haz_spawn; - Storage storage; - - void KickFromTheNest(zNMECommon* npc); - void RibbonUpdate(xVec3* pos_home, float32 ratio); - void CowCatcher(zNMECommon* npc); - float32 LaunchSpawnBall(zNMECommon* npc, xVec3* pos_launch); - int32 EmergeYeBeastie(zNMECommon* npc, float32 dt); - void CalcLaunchPoint(zNMECommon* npc, xVec3* pos_launch, int32 useDefault); - en_dupspit ExamineDuperAnim(zNMECommon* npc); - int32 PatienceMonitor(zNMECommon* npc, float32 dt); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); - void Clear(); + en_resp stat_spawning; + struct + { + int32 flg_doSpawnball : 1; + int32 flg_doScreenWarp : 1; + int32 flg_spawningUnused : 22; + int32 cnt_skipRibInsert : 8; + }; + xFXRibbon* ribbon; + union + { + float32 tmr_robobits; + float32 tmr_respawn; + }; + float32 tmr_duperTakesTooLong; + zNMEHazard* haz_spawn; + Storage storage; + + void KickFromTheNest(zNMECommon* npc); + void RibbonUpdate(xVec3* pos_home, float32 ratio); + void CowCatcher(zNMECommon* npc); + float32 LaunchSpawnBall(zNMECommon* npc, xVec3* pos_launch); + int32 EmergeYeBeastie(zNMECommon* npc, float32 dt); + void CalcLaunchPoint(zNMECommon* npc, xVec3* pos_launch, int32 useDefault); + en_dupspit ExamineDuperAnim(zNMECommon* npc); + int32 PatienceMonitor(zNMECommon* npc, float32 dt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); + void Clear(); }; struct zNMETiki : zNMECommon { - uint32 tikiFlag; - xBound origLocalBound; - xVec3 deltaPos; - float32 timeToLive; - float32 t1; - float32 t2; - float32 t3; - xVec3 v1; - xMat4x3* rigidAnim; - union - { - hoverData hovdat; - explodeData xplod; - }; - float32 vel; - float32 landHt; - xEnt* nonTikiParent; - xVec3 nonTikiParentDisp; - uint8 numParents; - zNMETiki* parents[4]; - uint8 numChildren; - zNMETiki* children[4]; - zNMETiki* nextOrphan; - uint32 updatedParents; - int32 contactParent; - void* tikiAnim; - float32 tikiAnimTime; - zShrapnelAsset* death_explosion; - - int32 DfltVulnFlags(); - void HoverBubCone(xVec3* pos_emitBase, xVec3* dir_emit, int32 num_bub, float32 rad_cone, float32 rad_emitJitter, float32 spd_emitBase, float32 spd_emitRand, float32 scl_bub); - void HoverBubStream(); - void HoverBubbles(float32 dt); - void RemoveFromFamily(); - void FindParents(zScene* zsc); - void BUpdate(); - void RenderExtra(); - void Render(); - int32 SysEvent(xBase* from, xBase* to, uint32 toEvent, float32* toParam, xBase* toParamWidget, uint32 toParamWidgetID, int32* handled); - void ProcSubContract(float32 dt); - void UpdateAnimBound(); - void Process(float32 dt); - void SelfSetup(); - int32 SetCarryState(en_carystat cs); - int32 TypeHandleMail(NMEMsg* mail); - void Damage(en_npcdmg damtype); - zMovePoint* MvptFirstFollow(); - zNMENavNet* Gimme_NavNet(); - void InitTikiBoundInfo(); - void Init(xEntAsset* entass); - void Setup(); - void Reset(); - xAnimTable* CreateAnimTable(xAnimTable* table); - int32 CanRope(); - void Move(); - int32 IsHealthy(); - int32 IsAlive(); + uint32 tikiFlag; + xBound origLocalBound; + xVec3 deltaPos; + float32 timeToLive; + float32 t1; + float32 t2; + float32 t3; + xVec3 v1; + xMat4x3* rigidAnim; + union + { + hoverData hovdat; + explodeData xplod; + }; + float32 vel; + float32 landHt; + xEnt* nonTikiParent; + xVec3 nonTikiParentDisp; + uint8 numParents; + zNMETiki* parents[4]; + uint8 numChildren; + zNMETiki* children[4]; + zNMETiki* nextOrphan; + uint32 updatedParents; + int32 contactParent; + void* tikiAnim; + float32 tikiAnimTime; + zShrapnelAsset* death_explosion; + + int32 DfltVulnFlags(); + void HoverBubCone(xVec3* pos_emitBase, xVec3* dir_emit, int32 num_bub, float32 rad_cone, + float32 rad_emitJitter, float32 spd_emitBase, float32 spd_emitRand, + float32 scl_bub); + void HoverBubStream(); + void HoverBubbles(float32 dt); + void RemoveFromFamily(); + void FindParents(zScene* zsc); + void BUpdate(); + void RenderExtra(); + void Render(); + int32 SysEvent(xBase* from, xBase* to, uint32 toEvent, float32* toParam, xBase* toParamWidget, + uint32 toParamWidgetID, int32* handled); + void ProcSubContract(float32 dt); + void UpdateAnimBound(); + void Process(float32 dt); + void SelfSetup(); + int32 SetCarryState(en_carystat cs); + int32 TypeHandleMail(NMEMsg* mail); + void Damage(en_npcdmg damtype); + zMovePoint* MvptFirstFollow(); + zNMENavNet* Gimme_NavNet(); + void InitTikiBoundInfo(); + void Init(xEntAsset* entass); + void Setup(); + void Reset(); + xAnimTable* CreateAnimTable(xAnimTable* table); + int32 CanRope(); + void Move(); + int32 IsHealthy(); + int32 IsAlive(); }; struct xGoal : xListItem_1, xFactoryInst { - xPsyche* psyche; - en_GOALSTATE stat; - int32 flg_able; - int32(*fun_process)(xGoal*, void*, en_trantype*, float32, void*); - void* cbdata; + xPsyche* psyche; + en_GOALSTATE stat; + int32 flg_able; + int32 (*fun_process)(xGoal*, void*, en_trantype*, float32, void*); + void* cbdata; - int32 Exit(); - int32 Suspend(); - int32 SysEvent(); - int32 Enter(); - int32 Resume(); - int32 Process(en_trantype* trantype, float32 dt, void* updCtxt); + int32 Exit(); + int32 Suspend(); + int32 SysEvent(); + int32 Enter(); + int32 Resume(); + int32 Process(en_trantype* trantype, float32 dt, void* updCtxt); }; struct HAZFXRibbon { - union - { - xFXRibbon* ribbon; - xFXRibbon* riblist[4]; - }; - int32 cnt_skipRibInsert; + union + { + xFXRibbon* ribbon; + xFXRibbon* riblist[4]; + }; + int32 cnt_skipRibInsert; }; struct HAZTuneBang : HAZBasic { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz); - en_hazrc Configure(zNMEHazard* haz); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz); + en_hazrc Configure(zNMEHazard* haz); }; struct ptank_pool { - render_state rs; - uint32 order_group; - int32 order_index; - uint32 used; - RpAtomic* ptank; + render_state rs; + uint32 order_group; + int32 order_index; + uint32 used; + RpAtomic* ptank; }; struct xEntShadow { - xVec3 pos; - xVec3 vec; - RpAtomic* shadowModel; - float32 dst_cast; - float32 radius[2]; - struct - { - int32 flg_castOnOneDFF : 1; - int32 flg_castOnAllDFF : 1; - int32 flg_disableEnvCast : 1; - int32 flg_shadowUnused : 29; - }; + xVec3 pos; + xVec3 vec; + RpAtomic* shadowModel; + float32 dst_cast; + float32 radius[2]; + struct + { + int32 flg_castOnOneDFF : 1; + int32 flg_castOnAllDFF : 1; + int32 flg_disableEnvCast : 1; + int32 flg_shadowUnused : 29; + }; }; struct NMESysEvent { - int32 doLinkEvents; - int32 handled; - xBase* from; - xBase* to; - union - { - uint32 toEvent; - en_xEventTags toEvent_asEnum; - }; - float32 toParam[4]; - xBase* toParamWidget; - uint32 toParamWidgetID; + int32 doLinkEvents; + int32 handled; + xBase* from; + xBase* to; + union + { + uint32 toEvent; + en_xEventTags toEvent_asEnum; + }; + float32 toParam[4]; + xBase* toParamWidget; + uint32 toParamWidgetID; }; struct Taunt { - float32 tym_keeplaffin; + float32 tym_keeplaffin; }; struct xListItem_0 { - int32 flg_travFilter; - NMEConfig* next; - NMEConfig* prev; + int32 flg_travFilter; + NMEConfig* next; + NMEConfig* prev; }; struct SMNPCStatus { - zNMECommon* npc; - en_smnpcstat status; - zMovePoint* sp_prefer; + zNMECommon* npc; + en_smnpcstat status; + zMovePoint* sp_prefer; }; struct xBound { - xQCData qcd; - uint8 type; - uint8 pad[3]; - union - { - xSphere sph; - xBBox box; - xCylinder cyl; - }; - xMat4x3* mat; + xQCData qcd; + uint8 type; + uint8 pad[3]; + union + { + xSphere sph; + xBBox box; + xCylinder cyl; + }; + xMat4x3* mat; }; struct zNMEDennis : zNMEBoss { - int32 pts_health; - NMECfgDennis* cfg_dennis; - float32 tmr_nextLeap; - int32 cnt_attacksTilEvade; - zMovePoint* nav_evade; - zNMESBBat* npc_sbbat; - union - { - en_denstage stageCurr; - int32 stageCurrNum; - }; - union - { - xModelBlur moveBlur; - xModelBlur moveBlurShort; - }; - xModelBlur moveBlurLong; - zStreamedSoundList oneLiners; - DennisLetMeKnow tellMeWhen; - int32 flg_firstTimestep; - zBossCam_Binary cam_boss; - en_dbcmode mod_camCurr; - en_dbcmode mod_camWant; - xGroup* grp_mvpt; - - zMovePoint* PickEvade(zMovePoint* nav_from); - int32 DenMailSys(NMESysEvent* sysmail); - int32 DenMailDamage(NMEDamageInfo* dmgmail); - int32 TypeHandleMail(NMEMsg* mail); - void BossCamSet(en_dbcmode mod_desired, uint8 forceCut); - en_vis VisionTarget(); - void RenderHud(); - void PostProcess(); - void NewTime(float32 dt); - void BUpdate(xVec3* pos); - void Process(float32 dt); - int32 IsAlive(); - void Destroy(); - void Reset(); - void Setup(); - void Init(xEntAsset* asset); - xAnimTable* CreateAnimTable(xAnimTable* table); - uint32 AnimPick(int32 gid, en_npcgspot gspot); - zMovePoint* MvptFirstFollow(); - void SelfSetup(); - int32 DfltVulnFlags(); - void CreateConfig(); + int32 pts_health; + NMECfgDennis* cfg_dennis; + float32 tmr_nextLeap; + int32 cnt_attacksTilEvade; + zMovePoint* nav_evade; + zNMESBBat* npc_sbbat; + union + { + en_denstage stageCurr; + int32 stageCurrNum; + }; + union + { + xModelBlur moveBlur; + xModelBlur moveBlurShort; + }; + xModelBlur moveBlurLong; + zStreamedSoundList oneLiners; + DennisLetMeKnow tellMeWhen; + int32 flg_firstTimestep; + zBossCam_Binary cam_boss; + en_dbcmode mod_camCurr; + en_dbcmode mod_camWant; + xGroup* grp_mvpt; + + zMovePoint* PickEvade(zMovePoint* nav_from); + int32 DenMailSys(NMESysEvent* sysmail); + int32 DenMailDamage(NMEDamageInfo* dmgmail); + int32 TypeHandleMail(NMEMsg* mail); + void BossCamSet(en_dbcmode mod_desired, uint8 forceCut); + en_vis VisionTarget(); + void RenderHud(); + void PostProcess(); + void NewTime(float32 dt); + void BUpdate(xVec3* pos); + void Process(float32 dt); + int32 IsAlive(); + void Destroy(); + void Reset(); + void Setup(); + void Init(xEntAsset* asset); + xAnimTable* CreateAnimTable(xAnimTable* table); + uint32 AnimPick(int32 gid, en_npcgspot gspot); + zMovePoint* MvptFirstFollow(); + void SelfSetup(); + int32 DfltVulnFlags(); + void CreateConfig(); }; struct xEntMPData { - xEntSpeedData speed_data; - float32 curdist; - xMovePoint* dest; - xMovePoint* src; - xSpline3* spl; - float32 dist; - uint32 padalign; - xQuat aquat; - xQuat bquat; + xEntSpeedData speed_data; + float32 curdist; + xMovePoint* dest; + xMovePoint* src; + xSpline3* spl; + float32 dist; + uint32 padalign; + xQuat aquat; + xQuat bquat; }; struct SphereInfo { - float32 rad_bound; - xVec3 vec_offset; + float32 rad_bound; + xVec3 vec_offset; }; struct xEntAsset : xBaseAsset { - uint8 flags; - uint8 subtype; - uint8 pflags; - uint8 moreFlags; - uint32 surfaceID; - xVec3 ang; - xVec3 pos; - xVec3 scale; - float32 redMult; - float32 greenMult; - float32 blueMult; - float32 seeThru; - float32 seeThruSpeed; - uint32 modelInfoID; - uint32 animListID; + uint8 flags; + uint8 subtype; + uint8 pflags; + uint8 moreFlags; + uint32 surfaceID; + xVec3 ang; + xVec3 pos; + xVec3 scale; + float32 redMult; + float32 greenMult; + float32 blueMult; + float32 seeThru; + float32 seeThruSpeed; + uint32 modelInfoID; + uint32 animListID; }; struct _anon4 @@ -3429,42 +3432,40 @@ struct _anon4 struct HAZFlingBlob : HAZLobber { - - void ReconBlob(zNMEHazard* haz, int32 forceItAnyway); - void EndOfLifespan(zNMEHazard* haz); - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); - void ScenePrepare(); + void ReconBlob(zNMEHazard* haz, int32 forceItAnyway); + void EndOfLifespan(zNMEHazard* haz); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); + void ScenePrepare(); }; struct HAZZapBall : HAZLobber { - - void ReconToZapBoom(zNMEHazard* haz, xVec3* dir_norm); - void ZapBallCollision(zNMEHazard* haz, float32 dt); - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void ReconToZapBoom(zNMEHazard* haz, xVec3* dir_norm); + void ZapBallCollision(zNMEHazard* haz, float32 dt); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct zNeptuneParticleSpiralUser { - int16 basis[6]; - float32 anglecs[2]; - float32 rad; - float32 delta; + int16 basis[6]; + float32 anglecs[2]; + float32 rad; + float32 delta; }; struct zNMEGoalTurrPAlert : zNMEGoalCommon { - float32 tmr_shootDelay; + float32 tmr_shootDelay; - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Resume(); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Resume(); + int32 Enter(); }; struct Attack_0 @@ -3473,125 +3474,124 @@ struct Attack_0 struct Speed_0 { - float32 spd_emitBase; - float32 spd_emitRand; - float32 spd_outBase; - float32 spd_outRand; - float32 acc_emitaxis; - float32 acc_outward; - xVec3 acc_world; + float32 spd_emitBase; + float32 spd_emitRand; + float32 spd_outBase; + float32 spd_outRand; + float32 acc_emitaxis; + float32 acc_outward; + xVec3 acc_world; }; struct xFactoryInst : RyzMemData { - int32 itemType; - xFactoryInst* nextprod; - xFactoryInst* prevprod; + int32 itemType; + xFactoryInst* nextprod; + xFactoryInst* prevprod; }; struct zNMENavNet { - zMovePoint* nav_past; - zMovePoint* nav_curr; - zMovePoint* nav_dest; - zMovePoint* nav_lead; - xSpline3* spl_mvptspline; - float32 len_mvptspline; - float32 dst_curspline; - zNMECommon* nme_owner; + zMovePoint* nav_past; + zMovePoint* nav_curr; + zMovePoint* nav_dest; + zMovePoint* nav_lead; + xSpline3* spl_mvptspline; + float32 len_mvptspline; + float32 dst_curspline; + zNMECommon* nme_owner; - int32 MvptCycle(); + int32 MvptCycle(); }; struct zNMEGoalWander : zNMEGoalCommon { - int32 flg_wand; - float32 tmr_remain; - float32 rad_wand; - xVec3 pos_home; - float32 tmr_newdir; - xVec3 dir_cur; + int32 flg_wand; + float32 tmr_remain; + float32 rad_wand; + xVec3 pos_home; + float32 tmr_newdir; + xVec3 dir_cur; - void CalcNewDir(zNMECommon* npc); - void VerticalWander(zNMECommon* npc, float32 spd_dt, xVec3* vec_dest); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + void CalcNewDir(zNMECommon* npc); + void VerticalWander(zNMECommon* npc, float32 spd_dt, xVec3* vec_dest); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct NMETarget { - en_npctgt typ_target; - union - { - xEnt* ent_target; - xBase* bas_target; - xVec3 pos_target; - zMovePoint* nav_target; - }; - zNMECommon* npc_owner; + en_npctgt typ_target; + union + { + xEnt* ent_target; + xBase* bas_target; + xVec3 pos_target; + zMovePoint* nav_target; + }; + zNMECommon* npc_owner; }; struct zNMEGoalJellyAttack : zNMEGoalPushAnim { - int32 flg_attack; - zLightning* zap_lytnin[3]; + int32 flg_attack; + zLightning* zap_lytnin[3]; - void ZapperUpdate(); - void ZapperStart(); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + void ZapperUpdate(); + void ZapperStart(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct zNMEGoalSBBatDead : zNMEGoalDead { - - int32 Enter(); + int32 Enter(); }; struct zNMEPopper : zNMEStandard { - zMovePoint* nav_evade; - zMovePoint* nav_evadePrev; - NMECfgPopper* cfg_popper; - PopTop lid; - xGroup* grp_mvpt; - - zMovePoint* PickEvadePoint(zMovePoint* nav_from); - int32 PopMailDamage(NMEDamageInfo* dmgmail); - int32 TypeHandleMail(NMEMsg* mail); - float32 HealthRatio(); - en_vis VisionTarget(xEnt* ent); - void ProcessInvis(float32 dt); - void Process(float32 dt); - void BUpdate(xVec3* pos); - void Reset(); - void Setup(); - void Init(xEntAsset* asset); - xAnimTable* CreateAnimTable(xAnimTable* table); - uint32 AnimPick(int32 gid, en_npcgspot gspot); - void SelfSetup(); - int32 DfltVulnFlags(); - void CreateConfig(); + zMovePoint* nav_evade; + zMovePoint* nav_evadePrev; + NMECfgPopper* cfg_popper; + PopTop lid; + xGroup* grp_mvpt; + + zMovePoint* PickEvadePoint(zMovePoint* nav_from); + int32 PopMailDamage(NMEDamageInfo* dmgmail); + int32 TypeHandleMail(NMEMsg* mail); + float32 HealthRatio(); + en_vis VisionTarget(xEnt* ent); + void ProcessInvis(float32 dt); + void Process(float32 dt); + void BUpdate(xVec3* pos); + void Reset(); + void Setup(); + void Init(xEntAsset* asset); + xAnimTable* CreateAnimTable(xAnimTable* table); + uint32 AnimPick(int32 gid, en_npcgspot gspot); + void SelfSetup(); + int32 DfltVulnFlags(); + void CreateConfig(); }; struct xPsyche : RyzMemData { - xBase* clt_owner; - xPSYNote* cb_notice; - int32 flg_psyche; - xGoal* goallist; - xGoal* goalstak[5]; - float32 tmr_stack[1][5]; - int32 staktop; - xGoal* pendgoal; - en_pendtype pendtype; - int32 gid_safegoal; - void(*fun_remap)(int32*, en_trantype*); - void* userContext; - int32 cnt_transLastTimestep; - PSY_BRAIN_STATUS psystat; - xBase fakebase; + xBase* clt_owner; + xPSYNote* cb_notice; + int32 flg_psyche; + xGoal* goallist; + xGoal* goalstak[5]; + float32 tmr_stack[1][5]; + int32 staktop; + xGoal* pendgoal; + en_pendtype pendtype; + int32 gid_safegoal; + void (*fun_remap)(int32*, en_trantype*); + void* userContext; + int32 cnt_transLastTimestep; + PSY_BRAIN_STATUS psystat; + xBase fakebase; }; struct _anon5 @@ -3600,657 +3600,653 @@ struct _anon5 struct zNMEGoalMervZap : zNMEGoalLoopAnim { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); }; struct xEntMotionSplineData { - uint32 spline_id; - float32 speed; - float32 lean_modifier; + uint32 spline_id; + float32 speed; + float32 lean_modifier; }; struct NMECfgMervyn { - Health_0 health; - Ranges_0 ranges; - Battle_1 battle; - Proj proj; + Health_0 health; + Ranges_0 ranges; + Battle_1 battle; + Proj proj; }; struct xSphere { - xVec3 center; - float32 r; + xVec3 center; + float32 r; }; struct zNMEBuckotron : zNMECommon { - zNMESpawner* spawner; - float32 tmr_lamps; - int16 cnt_lampsync; - int8 idx_currLamp; - int8 unused; - - int32 Buck_SysMail(NMESysEvent* sysmail); - int32 TypeHandleMail(NMEMsg* mail); - void DuploNotice(en_smnote note, void* data); - void Reset(); - void ParseSpawnItem(xBase* baseitem); - void SetupSpawning(); - void Process(float32 dt); - void BUpdate(xVec3* pos); - void Setup(); - void Init(xEntAsset* asset); - int32 DfltVulnFlags(); - void SelfSetup(); - xAnimTable* CreateAnimTable(xAnimTable* table); + zNMESpawner* spawner; + float32 tmr_lamps; + int16 cnt_lampsync; + int8 idx_currLamp; + int8 unused; + + int32 Buck_SysMail(NMESysEvent* sysmail); + int32 TypeHandleMail(NMEMsg* mail); + void DuploNotice(en_smnote note, void* data); + void Reset(); + void ParseSpawnItem(xBase* baseitem); + void SetupSpawning(); + void Process(float32 dt); + void BUpdate(xVec3* pos); + void Setup(); + void Init(xEntAsset* asset); + int32 DfltVulnFlags(); + void SelfSetup(); + xAnimTable* CreateAnimTable(xAnimTable* table); }; struct zNMECritter : zNMECommon { - zNMENavNet privNavNet; + zNMENavNet privNavNet; - void Init(xEntAsset* entass); - zMovePoint* MvptFirstFollow(); - zNMENavNet* Gimme_NavNet(); + void Init(xEntAsset* entass); + zMovePoint* MvptFirstFollow(); + zNMENavNet* Gimme_NavNet(); }; struct xAnimTransition { - xAnimTransition* Next; - xAnimState* Dest; - uint32(*Conditional)(xAnimTransition*, xAnimSingle*, void*); - uint32(*Callback)(xAnimTransition*, xAnimSingle*, void*); - uint32 Flags; - uint32 UserFlags; - float32 SrcTime; - float32 DestTime; - uint16 Priority; - uint16 QueuePriority; - float32 BlendRecip; - uint16* BlendOffset; + xAnimTransition* Next; + xAnimState* Dest; + uint32 (*Conditional)(xAnimTransition*, xAnimSingle*, void*); + uint32 (*Callback)(xAnimTransition*, xAnimSingle*, void*); + uint32 Flags; + uint32 UserFlags; + float32 SrcTime; + float32 DestTime; + uint16 Priority; + uint16 QueuePriority; + float32 BlendRecip; + uint16* BlendOffset; }; struct xEntBoulder : xEnt { - xEntBoulderAsset* basset; - xShadowSimpleCache simpShadow_embedded; - xEntShadow entShadow_embedded; - xVec3 localCenter; - xVec3 vel; - xVec3 rotVec; - xVec3 force; - xVec3 instForce; - float32 angVel; - float32 timeToLive; - int32 hitpoints; - float32 fOOSphRadius; - iSndHandle currSndFX; - uint32 lastRolling; - uint32 rollingID; - uint8 collis_chk; - uint8 collis_pen; - uint8 pad1[2]; + xEntBoulderAsset* basset; + xShadowSimpleCache simpShadow_embedded; + xEntShadow entShadow_embedded; + xVec3 localCenter; + xVec3 vel; + xVec3 rotVec; + xVec3 force; + xVec3 instForce; + float32 angVel; + float32 timeToLive; + int32 hitpoints; + float32 fOOSphRadius; + iSndHandle currSndFX; + uint32 lastRolling; + uint32 rollingID; + uint8 collis_chk; + uint8 collis_pen; + uint8 pad1[2]; }; struct zLoopingSound { - iSndHandle handle; - uint8(*sndUpdateCB)(zLoopingSound*); - void* context; - float32 time; - xVec3 pos; - float32 volscale; - float32 pitch; + iSndHandle handle; + uint8 (*sndUpdateCB)(zLoopingSound*); + void* context; + float32 time; + xVec3 pos; + float32 volscale; + float32 pitch; }; struct zNMEArena { - int32 flg_arena; - xVec3 pos_arena; - float32 rad_arena; - zMovePoint* nav_arena; - zMovePoint* nav_refer_dest; - zMovePoint* nav_refer_curr; + int32 flg_arena; + xVec3 pos_arena; + float32 rad_arena; + zMovePoint* nav_arena; + zMovePoint* nav_refer_dest; + zMovePoint* nav_refer_curr; - zMovePoint* NextBestNav(zMovePoint* nav_from); - int32 Cycle(zNMECommon* npc, int32 peek); + zMovePoint* NextBestNav(zMovePoint* nav_from); + int32 Cycle(zNMECommon* npc, int32 peek); }; struct HAZTypical { - xMat3x3 mat_rotDelta; - float32 rad_min; - float32 rad_max; - float32 rad_cur; - xVec3 vel; + xMat3x3 mat_rotDelta; + float32 rad_min; + float32 rad_max; + float32 rad_cur; + xVec3 vel; }; struct PopGasEmitter { - en_npartyp useNPARtype; - float32 tym_lifespan; - xColor_tag colr_base; - float32 siz_base[2]; - xVec3 acc_base; - float32 spd_rotate; - uint8 pct_keep; - uint8 doDamage; - uint8 num_emit; - uint8 pct_accelSide; - union - { - FountainParm_0 fount; - GroundCoverParm cover; - PopRockTrailParm trail; - }; - - void PopRockTrail(xVec3* pos, xVec3* dir_emit); - void Fountain(xVec3* pos, xVec3* vel_drift); + en_npartyp useNPARtype; + float32 tym_lifespan; + xColor_tag colr_base; + float32 siz_base[2]; + xVec3 acc_base; + float32 spd_rotate; + uint8 pct_keep; + uint8 doDamage; + uint8 num_emit; + uint8 pct_accelSide; + union + { + FountainParm_0 fount; + GroundCoverParm cover; + PopRockTrailParm trail; + }; + + void PopRockTrail(xVec3* pos, xVec3* dir_emit); + void Fountain(xVec3* pos, xVec3* vel_drift); }; struct NMELaser { - RwRaster* rast_laser; - float32 radius[2]; - float32 uv_scroll[2]; - RwRGBA rgba[2]; - int32 flg_render; - float32 uv_base[2]; + RwRaster* rast_laser; + float32 radius[2]; + float32 uv_scroll[2]; + RwRGBA rgba[2]; + int32 flg_render; + float32 uv_base[2]; - void Render(xVec3* pos_src, xVec3* pos_tgt); + void Render(xVec3* pos_src, xVec3* pos_tgt); }; struct zNMEGoalDenEvade : zNMEGoalCommon { - xParabola* parab; - xFXRibbon* ribbon; - float32 tmr_leaping; - int8 cnt_skipRibbonJoint; - int8 status; - int8 padded[2]; + xParabola* parab; + xFXRibbon* ribbon; + float32 tmr_leaping; + int8 cnt_skipRibbonJoint; + int8 status; + int8 padded[2]; - int32 GoalHandleMail(NMEMsg* mail); - void RibbonLoop(zNMEDennis* npc); - int32 PathParabola(zNMEDennis* npc); - int32 UpdateAnim(zNMEDennis* npc, float32 dt); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 GoalHandleMail(NMEMsg* mail); + void RibbonLoop(zNMEDennis* npc); + int32 PathParabola(zNMEDennis* npc); + int32 UpdateAnim(zNMEDennis* npc, float32 dt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct zNMENeptune : zNMEBoss { - int32 pts_health[3]; - NMECfgNeptune* cfg_neptune; - float32 last_dt; - uint32 bossStage; - uint32 state; - float32 timer; - uint32 camState; - uint8 stateFrozen; - uint8 minionsActive; - uint32 stage2wait; - int32 gotPlayer; - int32 gotPlayerThisAttack; - int32 tauntEm; - uint32 beamParThisFrame; - int32 outrageCount; - uint32 gotNeptune; - float32 lightningDamageAfter; - uint8 tailAttackValid; - uint8 tailAttackRange; - uint8 tailAttackRight; - uint8 tailAttackToggle; - uint8 tailAttackKnocked; - uint8 pad0[3]; - float32 tailRepeatTimer; - xModelInstance* bossModel[5]; - xModelTag bossTag[13]; - xVec3 lastTag[13]; - xVec3 currTag[13]; - uint32 firstTag; - xModelTag playerMidSect[4]; - xVec3 playerMidHist[3]; - xEnt* collideBucket; - xEnt* collideDefend; - xEnt* collideBody; - xEnt* collidePOV; - uint8 bucketCollideActive; - uint8 pad1[3]; - int32 bucketInfl; - RwMatrixTag bucketSkinMat; - int32 defendLast; - xVec3 defendLastVec; - float32 cruiseTimer; - xEnt* entDestructFloor; - xEnt* entMrKrabs; - xEnt* entReflectors[5]; - xEnt* entMinions[6]; - xBase* baseBeamFlythru; - xJSPHeader* underFloorJSP; - xEnt* entCrowd[21][1]; - int32 crowdSlaveUpdate; - _zScript* deflectSFX; - xVec3 aim_pos; - xVec3 aim_dir; - xQuat aim_momentum; - xMat4x3 aim_mat; - xVec3 locked_aim_pos; - float32 locked_aim_lerp; - float32 aim_tooCloseLerp; - int32 povfire_shotcount; - zCamNeptune povcam; - zBossCam_Binary bosscam; - xVec3 bossPlayerTarget; - xVec3 bossBossTarget; - xVec3 firePitchStart[17]; - xVec3 firePitchDir[17]; - xVec3 fireTarget; - xVec3 fireFace; - xVec3 firePlayerLagVel[45]; - int32 firePlayerLagIdx; - float32 firePlayerLagDir; - float32 fireTimer; - float32 fireBeamEmit; - float32 fireSpiralTineEmit[2]; - xVec3 fireTipAvg[30]; - uint32 fireTipAvgCount; - uint32 fireTipAvgIdx; - float32 fireBeamGroundHit; - xVec3 fireBeamGroundLoc; - uint32 fireBeamParLaunched; - xVec3 fireBeamParPos; - xVec3 fireBeamParVel; - float32 ltTimer; - zLightning* ltBeam[1]; - zLightning* ltFeeler[12]; - xVec3 ltBeamTarget; - xVec3 ltFeelerTargets[24]; - zLightningRing ltRing[12]; - int32 ltRingStarted; - RwTexture* rwpovbeamtex; - xMat4x3 povBeamMat; - xVec3 povBeamHit; - float32 povBeamFade; - float32 povBucketFade; - float32 povTridentGlow; - float32 povBeamU; - uint32 povHitReflectors; - uint32 povStunnedMe; - uint16 povKrabsLockon; - uint16 povKrabsLockCloser; - float32 povKrabsLockDist; - xVec3 povStunTag; - uint8 povStunTagCalced; - uint8 povFirstReflect; - uint8 povBeamReflected; - uint8 povChargeSoundPlayed; - xVec3 povBeamReflectDir; - RwTexture* rwdecaltex; - int32 scorchCount; - zScorchDecal scorchList[16]; - float32 scorchEmit; - float32 scorchArea; - xFXCameraTexture scopeTex; - RpWorld* scopeWorld; - RpLight* scopeLight; - RpAtomic* scopeModel[2]; - RpAtomic* tridentModel; - xMat4x3 scopeCamMat; - float32 scopeCamFOV; - float32 scopeCamFOVLerp; - xModelInstance scopeCamModelInst[3]; - xModelBucket** scopeCamModelBucket[3]; - RwRaster* scopeOldRast; - xFXRibbon* tail_ribbon[2]; - float32 tail_bubcounter; - int32 tridentInfl[4]; - xModelInstance* blurTrident[8]; - int32 blurHistLast; - int32 blurHistTotal; - xQuat blurHistoryQuat[4][6]; - xVec3 blurHistoryTran[4][6]; - zNeptuneParTex parTex[3]; - zNeptuneParCol parCol[7]; - zNeptuneParSize parSize[8]; - int32 parStartTex[3]; - int32 parStartCol[7]; - int32 parStartSize[8]; - int32 parCountTex; - int32 parCountCol; - int32 parCountSize; - RwTexture* rwpartex; - zNeptuneParticle par[1024]; - int32 parCount; - zLoopingSound loopSnd[16]; - iSndHandle voSound; - float32 voRand; - float32 voTimer; - float32 voTableHintTimer; - int32 voTableHintCount; - int32 voDamageToggle; - int32 voPOVDamageToggle; - int32 voOutrageTauntToggle; - int32 voDodgeHoseToggle; - int32 voCruiseBubbleToggle; - - int32 TypeHandleMail(NMEMsg* mail); - void RenderHud(); - void RenderExtra(); - void Render(); - void PostProcess(float32 dt); - void Process(float32 dt); - void Reset(); - void Destroy(); - void Setup(); - uint8 BeamCollide(xRay3* beamray, int32* aimedAtKrabs, xVec3* reflectnorm); - void BossCamSetTargets(); - void PaintDecalOnPlayer(); - void FireFXUpdate(float32 dt); - void TailSwipeUpdate(); - void CollideLightning(RxObjSpace3DVertex* verts, uint32 numVerts); - void DefendCollideUpdate(); - void ParUpdate(float32 dt, uint8 updatelast); - void ScorchUpdate(float32 dt); - void ParEmitBunch(float32* emitVar, float32 emitRate, float32 dt, uint32(*emitCB)(zNeptuneParticle*, void*, float32), void* context); - void ParArrayInit(); - void FirePitchUpdate(); - void CamStateChange(uint32 newCamState, uint8 force_cut); - zLoopingSound* SndLoop3D(eSOUND soundEnum, xVec3* playpos, void* context); - void CommonReset(); - void Init(xEntAsset* entasset); - xAnimTable* CreateAnimTable(xAnimTable* table); - void CreateConfig(); - int32 WannaPoolShadow(); + int32 pts_health[3]; + NMECfgNeptune* cfg_neptune; + float32 last_dt; + uint32 bossStage; + uint32 state; + float32 timer; + uint32 camState; + uint8 stateFrozen; + uint8 minionsActive; + uint32 stage2wait; + int32 gotPlayer; + int32 gotPlayerThisAttack; + int32 tauntEm; + uint32 beamParThisFrame; + int32 outrageCount; + uint32 gotNeptune; + float32 lightningDamageAfter; + uint8 tailAttackValid; + uint8 tailAttackRange; + uint8 tailAttackRight; + uint8 tailAttackToggle; + uint8 tailAttackKnocked; + uint8 pad0[3]; + float32 tailRepeatTimer; + xModelInstance* bossModel[5]; + xModelTag bossTag[13]; + xVec3 lastTag[13]; + xVec3 currTag[13]; + uint32 firstTag; + xModelTag playerMidSect[4]; + xVec3 playerMidHist[3]; + xEnt* collideBucket; + xEnt* collideDefend; + xEnt* collideBody; + xEnt* collidePOV; + uint8 bucketCollideActive; + uint8 pad1[3]; + int32 bucketInfl; + RwMatrixTag bucketSkinMat; + int32 defendLast; + xVec3 defendLastVec; + float32 cruiseTimer; + xEnt* entDestructFloor; + xEnt* entMrKrabs; + xEnt* entReflectors[5]; + xEnt* entMinions[6]; + xBase* baseBeamFlythru; + xJSPHeader* underFloorJSP; + xEnt* entCrowd[21][1]; + int32 crowdSlaveUpdate; + _zScript* deflectSFX; + xVec3 aim_pos; + xVec3 aim_dir; + xQuat aim_momentum; + xMat4x3 aim_mat; + xVec3 locked_aim_pos; + float32 locked_aim_lerp; + float32 aim_tooCloseLerp; + int32 povfire_shotcount; + zCamNeptune povcam; + zBossCam_Binary bosscam; + xVec3 bossPlayerTarget; + xVec3 bossBossTarget; + xVec3 firePitchStart[17]; + xVec3 firePitchDir[17]; + xVec3 fireTarget; + xVec3 fireFace; + xVec3 firePlayerLagVel[45]; + int32 firePlayerLagIdx; + float32 firePlayerLagDir; + float32 fireTimer; + float32 fireBeamEmit; + float32 fireSpiralTineEmit[2]; + xVec3 fireTipAvg[30]; + uint32 fireTipAvgCount; + uint32 fireTipAvgIdx; + float32 fireBeamGroundHit; + xVec3 fireBeamGroundLoc; + uint32 fireBeamParLaunched; + xVec3 fireBeamParPos; + xVec3 fireBeamParVel; + float32 ltTimer; + zLightning* ltBeam[1]; + zLightning* ltFeeler[12]; + xVec3 ltBeamTarget; + xVec3 ltFeelerTargets[24]; + zLightningRing ltRing[12]; + int32 ltRingStarted; + RwTexture* rwpovbeamtex; + xMat4x3 povBeamMat; + xVec3 povBeamHit; + float32 povBeamFade; + float32 povBucketFade; + float32 povTridentGlow; + float32 povBeamU; + uint32 povHitReflectors; + uint32 povStunnedMe; + uint16 povKrabsLockon; + uint16 povKrabsLockCloser; + float32 povKrabsLockDist; + xVec3 povStunTag; + uint8 povStunTagCalced; + uint8 povFirstReflect; + uint8 povBeamReflected; + uint8 povChargeSoundPlayed; + xVec3 povBeamReflectDir; + RwTexture* rwdecaltex; + int32 scorchCount; + zScorchDecal scorchList[16]; + float32 scorchEmit; + float32 scorchArea; + xFXCameraTexture scopeTex; + RpWorld* scopeWorld; + RpLight* scopeLight; + RpAtomic* scopeModel[2]; + RpAtomic* tridentModel; + xMat4x3 scopeCamMat; + float32 scopeCamFOV; + float32 scopeCamFOVLerp; + xModelInstance scopeCamModelInst[3]; + xModelBucket** scopeCamModelBucket[3]; + RwRaster* scopeOldRast; + xFXRibbon* tail_ribbon[2]; + float32 tail_bubcounter; + int32 tridentInfl[4]; + xModelInstance* blurTrident[8]; + int32 blurHistLast; + int32 blurHistTotal; + xQuat blurHistoryQuat[4][6]; + xVec3 blurHistoryTran[4][6]; + zNeptuneParTex parTex[3]; + zNeptuneParCol parCol[7]; + zNeptuneParSize parSize[8]; + int32 parStartTex[3]; + int32 parStartCol[7]; + int32 parStartSize[8]; + int32 parCountTex; + int32 parCountCol; + int32 parCountSize; + RwTexture* rwpartex; + zNeptuneParticle par[1024]; + int32 parCount; + zLoopingSound loopSnd[16]; + iSndHandle voSound; + float32 voRand; + float32 voTimer; + float32 voTableHintTimer; + int32 voTableHintCount; + int32 voDamageToggle; + int32 voPOVDamageToggle; + int32 voOutrageTauntToggle; + int32 voDodgeHoseToggle; + int32 voCruiseBubbleToggle; + + int32 TypeHandleMail(NMEMsg* mail); + void RenderHud(); + void RenderExtra(); + void Render(); + void PostProcess(float32 dt); + void Process(float32 dt); + void Reset(); + void Destroy(); + void Setup(); + uint8 BeamCollide(xRay3* beamray, int32* aimedAtKrabs, xVec3* reflectnorm); + void BossCamSetTargets(); + void PaintDecalOnPlayer(); + void FireFXUpdate(float32 dt); + void TailSwipeUpdate(); + void CollideLightning(RxObjSpace3DVertex* verts, uint32 numVerts); + void DefendCollideUpdate(); + void ParUpdate(float32 dt, uint8 updatelast); + void ScorchUpdate(float32 dt); + void ParEmitBunch(float32* emitVar, float32 emitRate, float32 dt, + uint32 (*emitCB)(zNeptuneParticle*, void*, float32), void* context); + void ParArrayInit(); + void FirePitchUpdate(); + void CamStateChange(uint32 newCamState, uint8 force_cut); + zLoopingSound* SndLoop3D(eSOUND soundEnum, xVec3* playpos, void* context); + void CommonReset(); + void Init(xEntAsset* entasset); + xAnimTable* CreateAnimTable(xAnimTable* table); + void CreateConfig(); + int32 WannaPoolShadow(); }; struct zNMEGoalCritDying : zNMEGoalCommon { - xVec3 pos_bumper; - xVec3 pos_bumpin; - xVec3 pos_grindin; - float32 tmr_dying; - xFXRibbon* ribbon; - struct - { - int32 cnt_skipRibbonJoint : 8; - int32 unused : 24; - }; - - int32 GoalHandleMail(); - float32 CalcEndPoint(zNMECritter* npc, xVec3* pos_end, xVec3* dir_aim); - void RibbonUpdate(zNMECritter* npc); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + xVec3 pos_bumper; + xVec3 pos_bumpin; + xVec3 pos_grindin; + float32 tmr_dying; + xFXRibbon* ribbon; + struct + { + int32 cnt_skipRibbonJoint : 8; + int32 unused : 24; + }; + + int32 GoalHandleMail(); + float32 CalcEndPoint(zNMECritter* npc, xVec3* pos_end, xVec3* dir_aim); + void RibbonUpdate(zNMECritter* npc); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct zSurfacePropTexAnim { - uint16 mode; - float32 speed; - float32 frame; - uint32 group; - uint32 group_idx; - xBase* group_ptr; - RwTexture** txtr_animList; + uint16 mode; + float32 speed; + float32 frame; + uint32 group; + uint32 group_idx; + xBase* group_ptr; + RwTexture** txtr_animList; }; struct xBBox { - xVec3 center; - xBox box; + xVec3 center; + xBox box; }; struct zNMEGoalCommon : xGoal { - uint32 anid_played; - struct - { - int32 flg_npcgauto : 8; - int32 flg_npcgable : 16; - int32 bul_entered : 1; - int32 bul_resumed : 1; - int32 bul_unused : 6; - }; - struct - { - int32 flg_info : 16; - int32 flg_user : 16; - }; - - int32 CollReview(); - int32 GoalHandleMail(); - void Clear(); - int32 Enter(); - int32 Resume(); - int32 Process(en_trantype* trantyp, float32 dt, void* ctxt); + uint32 anid_played; + struct + { + int32 flg_npcgauto : 8; + int32 flg_npcgable : 16; + int32 bul_entered : 1; + int32 bul_resumed : 1; + int32 bul_unused : 6; + }; + struct + { + int32 flg_info : 16; + int32 flg_user : 16; + }; + + int32 CollReview(); + int32 GoalHandleMail(); + void Clear(); + int32 Enter(); + int32 Resume(); + int32 Process(en_trantype* trantyp, float32 dt, void* ctxt); }; struct zMODEnemy : zModule { - st_XORDEREDARRAY nmelist; - struct - { - int32 flg_doBackdoor : 1; - int32 flg_firstTimestep : 1; - int32 flg_available : 30; - }; - float32 tmr_doBeDifferent; - - void HudRender(); - void PostRender(); - void RenderToBuckets(); - void PostTimestep(float32 dt); - void Timestep(float32 dt); - void SceneReset(); - void ScenePostSetup(); - void SceneSetup(); - void ScenePostInit(); - void SceneFinish(); - void ScenePrepare(); - void ModulePrepUse(); + st_XORDEREDARRAY nmelist; + struct + { + int32 flg_doBackdoor : 1; + int32 flg_firstTimestep : 1; + int32 flg_available : 30; + }; + float32 tmr_doBeDifferent; + + void HudRender(); + void PostRender(); + void RenderToBuckets(); + void PostTimestep(float32 dt); + void Timestep(float32 dt); + void SceneReset(); + void ScenePostSetup(); + void SceneSetup(); + void ScenePostInit(); + void SceneFinish(); + void ScenePrepare(); + void ModulePrepUse(); }; struct zNMEGoalAfterlife : zNMEGoalDead { - - int32 GoalHandleMail(NMEMsg* mail); - int32 Enter(); + int32 GoalHandleMail(NMEMsg* mail); + int32 Enter(); }; struct zNMEGoalFlingNormal : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct HAZNyphToss : HAZLobber { - - void EndOfLifespan(zNMEHazard* haz); - void CollideResponse(zNMEHazard* haz, int32 flg_hazcolf, xSweptSphere* swdata, float32 tym_inFuture); - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); - void ScenePrepare(); + void EndOfLifespan(zNMEHazard* haz); + void CollideResponse(zNMEHazard* haz, int32 flg_hazcolf, xSweptSphere* swdata, + float32 tym_inFuture); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); + void ScenePrepare(); }; struct HAZNyphBoom : HAZBasic { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct HAZTuneFlyt : HAZBasic { - - void Render(zNMEHazard* haz); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); - void Cleanup(zNMEHazard* haz); + void Render(zNMEHazard* haz); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); + void Cleanup(zNMEHazard* haz); }; struct RwMatrixTag { - RwV3d right; - uint32 flags; - RwV3d up; - uint32 pad1; - RwV3d at; - uint32 pad2; - RwV3d pos; - uint32 pad3; + RwV3d right; + uint32 flags; + RwV3d up; + uint32 pad1; + RwV3d at; + uint32 pad2; + RwV3d pos; + uint32 pad3; }; struct zNMEGoalCritPatrol : zNMEGoalCommon { - float32 tmr_delay; - int32 flg_critpat; + float32 tmr_delay; + int32 flg_critpat; - void CritMoveSpline(float32 dt); - void CritMoveNormal(float32 dt); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + void CritMoveSpline(float32 dt); + void CritMoveNormal(float32 dt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct xCamScreen { - RwCamera* icam; - float32 fov; + RwCamera* icam; + float32 fov; - void create_frustum_planes(xVec4* frust_planes, xMat4x3& ltm, xVec2& view_offset, xVec2& view_window, float32 near_plane, float32 far_plane); + void create_frustum_planes(xVec4* frust_planes, xMat4x3& ltm, xVec2& view_offset, + xVec2& view_window, float32 near_plane, float32 far_plane); }; enum _enum_0 { - YJ_TOP, - YJ_CENTER, - YJ_BOTTOM + YJ_TOP, + YJ_CENTER, + YJ_BOTTOM }; struct zNMEMervyn : zNMEStandard { - xPsyche* psy_move; - NMECfgMervyn* cfg_mervyn; - NMEZapomatic gun_omatic; - zMervEngine engine; - MervLetMeKnow tellMeWhen; - float32 ang_blades; - zDustRingEmitter* dust_propwash; - int8 cnt_nextDustEmit; - int8 unused[3]; - - void UpdateGunnerStatus(); - int32 SafeToTaunt(); - int32 MervMailDamage(NMEDamageInfo* dmgmail); - int32 TypeHandleMail(NMEMsg* mail); - int32 ChkBowlingBall(xVec3* dir_NtoBall, float32* dst_NtoBall); - void BladesUpdate(float32 dt); - float32 HealthRatio(); - en_vis VisionTarget(xEnt* ent); - void RenderExtra(); - void HelioDustUpdate(float32 dt); - void NewTime(float32 dt); - void Process(float32 dt); - void DieTheGoodDeath(); - void BUpdate(); - void Reset(); - xAnimTable* CreateAnimTable(xAnimTable* table); - uint32 AnimPick(int32 gid, en_npcgspot gspot, xGoal* rawgoal); - void MervMainBrain(); - void SelfDestroy(); - void SelfSetup(); - void Setup(); - void Init(xEntAsset* asset); - int32 DfltVulnFlags(); - void CreateConfig(); + xPsyche* psy_move; + NMECfgMervyn* cfg_mervyn; + NMEZapomatic gun_omatic; + zMervEngine engine; + MervLetMeKnow tellMeWhen; + float32 ang_blades; + zDustRingEmitter* dust_propwash; + int8 cnt_nextDustEmit; + int8 unused[3]; + + void UpdateGunnerStatus(); + int32 SafeToTaunt(); + int32 MervMailDamage(NMEDamageInfo* dmgmail); + int32 TypeHandleMail(NMEMsg* mail); + int32 ChkBowlingBall(xVec3* dir_NtoBall, float32* dst_NtoBall); + void BladesUpdate(float32 dt); + float32 HealthRatio(); + en_vis VisionTarget(xEnt* ent); + void RenderExtra(); + void HelioDustUpdate(float32 dt); + void NewTime(float32 dt); + void Process(float32 dt); + void DieTheGoodDeath(); + void BUpdate(); + void Reset(); + xAnimTable* CreateAnimTable(xAnimTable* table); + uint32 AnimPick(int32 gid, en_npcgspot gspot, xGoal* rawgoal); + void MervMainBrain(); + void SelfDestroy(); + void SelfSetup(); + void Setup(); + void Init(xEntAsset* asset); + int32 DfltVulnFlags(); + void CreateConfig(); }; struct zStreamedSound { - int8* mAssetName; - float32 mCycleTime; - uint32 mFlags; - float32 mSoonestTimeToPlay; - iSndGroupHandle mSoundGroupHdl; + int8* mAssetName; + float32 mCycleTime; + uint32 mFlags; + float32 mSoonestTimeToPlay; + iSndGroupHandle mSoundGroupHdl; - void StopLastPlayedSound(); + void StopLastPlayedSound(); }; struct xModelInstance { - xModelInstance* Next; - xModelInstance* Parent; - xModelPool* Pool; - xAnimPlay* Anim; - RpAtomic* Data; - xModelPipe Pipe; - uint8 InFrustum; - uint8 TrueClip; - int8 sortBias; - uint8 modelpad; - float32 RedMultiplier; - float32 GreenMultiplier; - float32 BlueMultiplier; - float32 Alpha; - float32 FadeStart; - float32 FadeEnd; - xSurface* Surf; - xModelBucket** Bucket; - xModelInstance* BucketNext; - xLightKit* LightKit; - void* Object; - uint16 Flags; - uint8 BoneCount; - uint8 BoneIndex; - uint8* BoneRemap; - RwMatrixTag* Mat; - xVec3 Scale; - xBox animBound; - xBox combinedAnimBound; - uint32 modelID; - uint32 shadowID; - RpAtomic* shadowmapAtomic; - _class_20 anim_coll; + xModelInstance* Next; + xModelInstance* Parent; + xModelPool* Pool; + xAnimPlay* Anim; + RpAtomic* Data; + xModelPipe Pipe; + uint8 InFrustum; + uint8 TrueClip; + int8 sortBias; + uint8 modelpad; + float32 RedMultiplier; + float32 GreenMultiplier; + float32 BlueMultiplier; + float32 Alpha; + float32 FadeStart; + float32 FadeEnd; + xSurface* Surf; + xModelBucket** Bucket; + xModelInstance* BucketNext; + xLightKit* LightKit; + void* Object; + uint16 Flags; + uint8 BoneCount; + uint8 BoneIndex; + uint8* BoneRemap; + RwMatrixTag* Mat; + xVec3 Scale; + xBox animBound; + xBox combinedAnimBound; + uint32 modelID; + uint32 shadowID; + RpAtomic* shadowmapAtomic; + _class_20 anim_coll; }; struct node { - float32 t; + float32 t; }; struct NMEConfig : xListItem_0, xFactoryInst { - en_npctyp npcType; - struct - { - int32 flg_didInit : 1; - int32 flg_unused : 31; - }; + en_npctyp npcType; + struct + { + int32 flg_didInit : 1; + int32 flg_unused : 31; + }; }; struct SMSPStatus { - zMovePoint* sp; - int32 flg_stat; - zNMECommon* npc_prefer; + zMovePoint* sp; + int32 flg_stat; + zNMECommon* npc_prefer; }; struct zNMEGoalMervMove : zNMEGoalSentry { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct _anon6 @@ -4267,195 +4263,192 @@ struct _anon8 struct zNMENPCWrapper : base { - void(*fun_setup)(xEnt*); - void(*fun_reset)(xEnt*); - int32 colFreq; - uint8 flg_colCheck; - uint8 flg_penCheck; - uint16 flg_unusedCollFlags; - struct - { - int32 aflg_basenme : 8; - int32 flg_upward : 8; - int32 flg_xtrarend : 1; - int32 flg_inUpdate : 1; - int32 flg_newtime : 1; - int32 flg_postproc : 1; - int32 flg_profProc : 1; - int32 flg_hudrend : 1; - int32 flg_moreUnusedSpace : 10; - }; - - void InitFromNPCMgr(xEntAsset* asset); - void Init(xEntAsset* asset); - void PostInit(); - void PostSetup(); - void Load(); - void NewTime(); - void RenderExtra(); - void RenderHud(); - void Move(); - int32 ColFreqReset(); - void init(xEntAsset* asset); - void SelfSetup(); - void setup(); - void Reset(); - void Setup(); - void reset(); - void update_npc(float32 dt); - void Process(); - void update_bound(); - void change_bounds(); - uint8 system_event(); - void render_npc(); - void Render(); - void debug_render(); - void render_extra(); - void damage(); - void destroy(); - void Destroy(); - void scene_setup(); - void add_states(); - void add_transitions(); - int32 SysEvent(); - void BUpdate(); - void UpdateWrapper(float32 dt); - void NMEWrap_Init(xEntAsset* asset); - xAnimTable* CreateAnimTable(); - void SelfDestroy(); - void CollideReview(); + void (*fun_setup)(xEnt*); + void (*fun_reset)(xEnt*); + int32 colFreq; + uint8 flg_colCheck; + uint8 flg_penCheck; + uint16 flg_unusedCollFlags; + struct + { + int32 aflg_basenme : 8; + int32 flg_upward : 8; + int32 flg_xtrarend : 1; + int32 flg_inUpdate : 1; + int32 flg_newtime : 1; + int32 flg_postproc : 1; + int32 flg_profProc : 1; + int32 flg_hudrend : 1; + int32 flg_moreUnusedSpace : 10; + }; + + void InitFromNPCMgr(xEntAsset* asset); + void Init(xEntAsset* asset); + void PostInit(); + void PostSetup(); + void Load(); + void NewTime(); + void RenderExtra(); + void RenderHud(); + void Move(); + int32 ColFreqReset(); + void init(xEntAsset* asset); + void SelfSetup(); + void setup(); + void Reset(); + void Setup(); + void reset(); + void update_npc(float32 dt); + void Process(); + void update_bound(); + void change_bounds(); + uint8 system_event(); + void render_npc(); + void Render(); + void debug_render(); + void render_extra(); + void damage(); + void destroy(); + void Destroy(); + void scene_setup(); + void add_states(); + void add_transitions(); + int32 SysEvent(); + void BUpdate(); + void UpdateWrapper(float32 dt); + void NMEWrap_Init(xEntAsset* asset); + xAnimTable* CreateAnimTable(); + void SelfDestroy(); + void CollideReview(); }; struct zNMEGoalStunned : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct xAnimTable { - int8* Name; - xAnimTransition* TransitionList; - xAnimState* StateList; - uint32 AnimIndex; - uint32 MorphIndex; - uint32 UserFlags; + int8* Name; + xAnimTransition* TransitionList; + xAnimState* StateList; + uint32 AnimIndex; + uint32 MorphIndex; + uint32 UserFlags; }; struct RpGeometry { - RwObject object; - uint32 flags; - uint16 lockedSinceLastInst; - int16 refCount; - int32 numTriangles; - int32 numVertices; - int32 numMorphTargets; - int32 numTexCoordSets; - RpMaterialList matList; - RpTriangle* triangles; - RwRGBA* preLitLum; - RwTexCoords* texCoords[8]; - RpMeshHeader* mesh; - RwResEntry* repEntry; - RpMorphTarget* morphTarget; + RwObject object; + uint32 flags; + uint16 lockedSinceLastInst; + int16 refCount; + int32 numTriangles; + int32 numVertices; + int32 numMorphTargets; + int32 numTexCoordSets; + RpMaterialList matList; + RpTriangle* triangles; + RwRGBA* preLitLum; + RwTexCoords* texCoords[8]; + RpMeshHeader* mesh; + RwResEntry* repEntry; + RpMorphTarget* morphTarget; }; struct zNMEGoalMervNormal : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct zNMEGoalMervAware : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); }; struct zNMEGoalSlamBattle : zNMEGoalCommon { - en_alertslam alertslam; - float32 tmr_alertham; + en_alertslam alertslam; + float32 tmr_alertham; - float32 CalcLean(zNMESlammer* npc, float32 dt, xVec3* dir_dest); - int32 CanIAttackNow(zNMESlammer* npc, xVec3* pos_tgt); - void MoveEvade(zNMESlammer* npc, float32 dt); - int32 SubStateProcess(zNMESlammer* npc, float32 dt, int32& nextgoal, en_trantype& trantype); - int32 Chk_EarlyExit(zNMESlammer* npc, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Resume(); - int32 Enter(); + float32 CalcLean(zNMESlammer* npc, float32 dt, xVec3* dir_dest); + int32 CanIAttackNow(zNMESlammer* npc, xVec3* pos_tgt); + void MoveEvade(zNMESlammer* npc, float32 dt); + int32 SubStateProcess(zNMESlammer* npc, float32 dt, int32& nextgoal, en_trantype& trantype); + int32 Chk_EarlyExit(zNMESlammer* npc, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Resume(); + int32 Enter(); }; struct zNMETurBarrel : zNMETurret { - int32 pts_health; - struct - { - int32 flg_reacquire : 1; - int32 flg_unused : 31; - }; - xQuat quat_left; - xQuat quat_right; - NMECfgTBarrel* cfg_barrel; - - en_vis VisionTarget(xEnt* ent); - void CalcEndPoints(xMat3x3* mat_ref); - int32 TurBarMailDamage(NMEDamageInfo* dmgmail); - int32 TypeHandleMail(NMEMsg* mail); - void Process(float32 dt); - void BUpdate(xVec3* pos); - void Reset(); - void Init(xEntAsset* asset); - int32 DfltVulnFlags(); - xAnimTable* CreateAnimTable(xAnimTable* table); - uint32 AnimPick(int32 gid, en_npcgspot gspot); - void SelfSetup(); - void CreateConfig(); + int32 pts_health; + struct + { + int32 flg_reacquire : 1; + int32 flg_unused : 31; + }; + xQuat quat_left; + xQuat quat_right; + NMECfgTBarrel* cfg_barrel; + + en_vis VisionTarget(xEnt* ent); + void CalcEndPoints(xMat3x3* mat_ref); + int32 TurBarMailDamage(NMEDamageInfo* dmgmail); + int32 TypeHandleMail(NMEMsg* mail); + void Process(float32 dt); + void BUpdate(xVec3* pos); + void Reset(); + void Init(xEntAsset* asset); + int32 DfltVulnFlags(); + xAnimTable* CreateAnimTable(xAnimTable* table); + uint32 AnimPick(int32 gid, en_npcgspot gspot); + void SelfSetup(); + void CreateConfig(); }; struct emitterBase : xBase { - effectAsset* pEffectAsset; + effectAsset* pEffectAsset; - void SetIntensity(float32 intensity); + void SetIntensity(float32 intensity); }; struct Movement_0 { - float32 spd_rotate; - float32 spd_retarget; + float32 spd_rotate; + float32 spd_retarget; }; struct Parms { - float32 tym_lifespan; - float32 alf_master; - float32 tym_fade; + float32 tym_lifespan; + float32 alf_master; + float32 tym_fade; }; struct xLightKitLight { - uint32 type; - RwRGBAReal color; - float32 matrix[16]; - float32 radius; - float32 angle; - RpLight* platLight; + uint32 type; + RwRGBAReal color; + float32 matrix[16]; + float32 radius; + float32 angle; + RpLight* platLight; }; struct RpInterpolator { - int32 flags; - int16 startMorphTarget; - int16 endMorphTarget; - float32 time; - float32 recipTime; - float32 position; + int32 flags; + int16 startMorphTarget; + int16 endMorphTarget; + float32 time; + float32 recipTime; + float32 position; }; struct _anon9 @@ -4464,198 +4457,196 @@ struct _anon9 struct zMODHazard : zModule { - - void RenderGenerally(int32 doOpaqueStuff); - void Timestep(float32 dt); - void ScenePostInit(); - void SceneReset(); - void SceneFinish(); - void ScenePrepare(); - void ModulePrepUse(); - void Render(); - void PostRender(); + void RenderGenerally(int32 doOpaqueStuff); + void Timestep(float32 dt); + void ScenePostInit(); + void SceneReset(); + void SceneFinish(); + void ScenePrepare(); + void ModulePrepUse(); + void Render(); + void PostRender(); }; struct xBase { - uint32 id; - uint8 baseType; - uint8 linkCount; - uint16 baseFlags; - xLinkAsset* link; - void(*eventFunc)(xBase*, xBase*, uint32, float32*, xBase*, uint32); + uint32 id; + uint8 baseType; + uint8 linkCount; + uint16 baseFlags; + xLinkAsset* link; + void (*eventFunc)(xBase*, xBase*, uint32, float32*, xBase*, uint32); }; struct zNMEGoalFlingAttack : zNMEGoalCommon { - int32 idx_shot; + int32 idx_shot; - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct zDestructibleStateFXParams { - float32 timer; - uint32 flags; - zParEmitter* emitter; - uint32(*fn)(float32); + float32 timer; + uint32 flags; + zParEmitter* emitter; + uint32 (*fn)(float32); }; struct static_queue { - uint32 _first; - uint32 _size; - uint32 _max_size; - uint32 _max_size_mask; - unit_data* _buffer; + uint32 _first; + uint32 _size; + uint32 _max_size; + uint32 _max_size_mask; + unit_data* _buffer; }; struct Damage_1 { - float32 tym_invuln; + float32 tym_invuln; }; struct xShadowSimpleCache { - uint16 flags; - uint8 alpha; - uint8 pad; - uint32 collPriority; - xVec3 pos; - xVec3 at; - float32 tol_movement; - float32 radiusOptional; - xEnt* castOnEnt; - xShadowSimplePoly poly; - float32 envHeight; - float32 shadowHeight; - union - { - uint32 raster; - RwRaster* ptr_raster; - }; - float32 dydx; - float32 dydz; - xVec3 corner[4]; - void* collSkipsItem; + uint16 flags; + uint8 alpha; + uint8 pad; + uint32 collPriority; + xVec3 pos; + xVec3 at; + float32 tol_movement; + float32 radiusOptional; + xEnt* castOnEnt; + xShadowSimplePoly poly; + float32 envHeight; + float32 shadowHeight; + union + { + uint32 raster; + RwRaster* ptr_raster; + }; + float32 dydx; + float32 dydz; + xVec3 corner[4]; + void* collSkipsItem; }; struct xGroup : xBase { - xGroupAsset* asset; - xBase** item; - uint32 last_index; - int32 flg_group; + xGroupAsset* asset; + xBase** item; + uint32 last_index; + int32 flg_group; }; struct RwFrustumPlane { - RwPlane plane; - uint8 closestX; - uint8 closestY; - uint8 closestZ; - uint8 pad; + RwPlane plane; + uint8 closestX; + uint8 closestY; + uint8 closestZ; + uint8 pad; }; enum RxNodeDefEditable { - rxNODEDEFCONST, - rxNODEDEFEDITABLE, - rxNODEDEFEDITABLEFORCEENUMSIZEINT = 0x7fffffff + rxNODEDEFCONST, + rxNODEDEFEDITABLE, + rxNODEDEFEDITABLEFORCEENUMSIZEINT = 0x7fffffff }; struct zNMEGoalDentEvade : zNMEGoalCommon { - xParabola* parab; - xFXRibbon* ribbon; - float32 tmr_leaping; - int8 cnt_skipRibbonJoint; - int8 status; - int8 padded[2]; + xParabola* parab; + xFXRibbon* ribbon; + float32 tmr_leaping; + int8 cnt_skipRibbonJoint; + int8 status; + int8 padded[2]; - int32 GoalHandleMail(NMEMsg* mail); - void RibbonLoop(zNMEDenToo* npc); - int32 PathParabola(zNMEDenToo* npc); - int32 UpdateAnim(zNMEDenToo* npc, float32 dt); - void SplashLanding(zNMEDenToo* npc); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 GoalHandleMail(NMEMsg* mail); + void RibbonLoop(zNMEDenToo* npc); + int32 PathParabola(zNMEDenToo* npc); + int32 UpdateAnim(zNMEDenToo* npc, float32 dt); + void SplashLanding(zNMEDenToo* npc); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct zNMEGoalTurrBShoot : zNMEGoalPushAnim { - int32 idx_shot; + int32 idx_shot; - int32 BangBang(zNMETurBarrel* npc); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 BangBang(zNMETurBarrel* npc); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct xEntOpacity { - float32 delta_opacity; - float32 delta_opacity_2; + float32 delta_opacity; + float32 delta_opacity_2; }; struct RwV3d { - float32 x; - float32 y; - float32 z; + float32 x; + float32 y; + float32 z; }; struct zNMESettings : xDynAsset { - int8 allowDetect; - int8 allowPatrol; - int8 allowWander; - int8 reduceCollide; - int8 useNavSplines; - int8 pad[3]; - int8 allowChase; - int8 allowAttack; - int8 assumeLOS; - int8 assumeFOV; + int8 allowDetect; + int8 allowPatrol; + int8 allowWander; + int8 reduceCollide; + int8 useNavSplines; + int8 pad[3]; + int8 allowChase; + int8 allowAttack; + int8 assumeLOS; + int8 assumeFOV; }; struct xGrid { - uint8 ingrid_id; - uint8 pad[3]; - uint16 nx; - uint16 nz; - float32 minx; - float32 minz; - float32 maxx; - float32 maxz; - float32 csizex; - float32 csizez; - float32 inv_csizex; - float32 inv_csizez; - float32 maxr; - xGridBound** cells; - xGridBound* other; - int32 iter_active; + uint8 ingrid_id; + uint8 pad[3]; + uint16 nx; + uint16 nz; + float32 minx; + float32 minz; + float32 maxx; + float32 maxz; + float32 csizex; + float32 csizez; + float32 inv_csizex; + float32 inv_csizez; + float32 maxr; + xGridBound** cells; + xGridBound* other; + int32 iter_active; }; struct HAZZapBoom : HAZBasic { - - void Render(zNMEHazard* haz); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct RpMaterial { - RwTexture* texture; - RwRGBA color; - RxPipeline* pipeline; - RwSurfaceProperties surfaceProps; - int16 refCount; - int16 pad; + RwTexture* texture; + RwRGBA color; + RxPipeline* pipeline; + RwSurfaceProperties surfaceProps; + int16 refCount; + int16 pad; }; struct asset_type_0 @@ -4664,298 +4655,296 @@ struct asset_type_0 struct zNMEGoalPopEvade : zNMEGoalCommon { - float32 tmr_emitTrail; - float32 tmr_emitGround; - float32 tmr_emitFount; - xVec3 pos_lastTime; + float32 tmr_emitTrail; + float32 tmr_emitGround; + float32 tmr_emitFount; + xVec3 pos_lastTime; - void EvadeTrail(zNMECommon* npc, float32 dt); - void EmergeGround(zNMECommon* npc, float32 dt); - void EmergeFount(zNMECommon* npc, float32 dt); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + void EvadeTrail(zNMECommon* npc, float32 dt); + void EmergeGround(zNMECommon* npc, float32 dt); + void EmergeFount(zNMECommon* npc, float32 dt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct zNMEGoalDentAttack : zNMEGoalCommon { - int32 idx_shot; - int32 alt_throw; - xVec3 pos_tgtBasis; + int32 idx_shot; + int32 alt_throw; + xVec3 pos_tgtBasis; - int32 ThrowKnife_Toes(zNMEDenToo* npc, int32 idx); - void ThrowUpdate(zNMEDenToo* npc); - int32 NumKnivesToThrow(zNMEDenToo* npc); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 ThrowKnife_Toes(zNMEDenToo* npc, int32 idx); + void ThrowUpdate(zNMEDenToo* npc); + int32 NumKnivesToThrow(zNMEDenToo* npc); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; enum en_resp { - SPAWN_STAT_PATIENCE, - SPAWN_STAT_EMERGING, - SPAWN_STAT_FINALACT, - SPAWN_STAT_FORCE = 0x7fffffff + SPAWN_STAT_PATIENCE, + SPAWN_STAT_EMERGING, + SPAWN_STAT_FINALACT, + SPAWN_STAT_FORCE = 0x7fffffff }; struct HAZPuddle : HAZBasic { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct MeterData { - Flags_6 flags; - CfgInfo_0 cfginfo; - Status status; - TxtrXtra_0 txtrxtra; - RunTime_1 runtime; + Flags_6 flags; + CfgInfo_0 cfginfo; + Status status; + TxtrXtra_0 txtrxtra; + RunTime_1 runtime; - void RenderBars(float32 offset, int32 healthMax, int32 stage); - void RenderInner(float32 offset, int32 healthCurr, int32 healthMax, int32 stage); - void Render(); + void RenderBars(float32 offset, int32 healthMax, int32 stage); + void RenderInner(float32 offset, int32 healthCurr, int32 healthMax, int32 stage); + void Render(); }; struct zNMEDenToo : zNMEBoss { - int32 pts_health; - DenTooMeter denTooMeter; - NMECfgDenToo* cfg_dentoo; - float32 tmr_nextLeap; - int32 cnt_attacksTilEvade; - zMovePoint* nav_evade; - union - { - en_dentstage stageCurr; - int32 stageCurrNum; - }; - xModelBlur blur_jumpShort; - xModelBlur blur_jumpLong; - zStreamedSoundList oneLiners; - xGroup* grp_mvpt; - int32 flg_firstTimestep; - zBossCam_Binary cam_boss; - en_dtbcmode mod_camCurr; - en_dtbcmode mod_camWant; - float32 tmr_bobCycle; - - zMovePoint* PickEvade(zMovePoint* nav_from); - int32 DenMailSys(NMESysEvent* sysmail); - int32 DenMailDamage(NMEDamageInfo* dmgmail); - int32 TypeHandleMail(NMEMsg* mail); - void BossCamRepel(); - void BossCamSet(en_dtbcmode mod_desired, uint8 forceCut); - void RespondToHittingPlayer(); - en_vis VisionTarget(); - void RenderHud(); - void BUpdate(xVec3* pos); - void PostProcess(); - void Process(float32 dt); - int32 IsAlive(); - void Destroy(); - void Reset(); - void Setup(); - void Init(xEntAsset* asset); - xAnimTable* CreateAnimTable(xAnimTable* table); - uint32 AnimPick(int32 gid, en_npcgspot gspot); - zMovePoint* MvptFirstFollow(); - void SelfSetup(); - int32 DfltVulnFlags(); - void CreateConfig(); - int32 WannaPoolShadow(); + int32 pts_health; + DenTooMeter denTooMeter; + NMECfgDenToo* cfg_dentoo; + float32 tmr_nextLeap; + int32 cnt_attacksTilEvade; + zMovePoint* nav_evade; + union + { + en_dentstage stageCurr; + int32 stageCurrNum; + }; + xModelBlur blur_jumpShort; + xModelBlur blur_jumpLong; + zStreamedSoundList oneLiners; + xGroup* grp_mvpt; + int32 flg_firstTimestep; + zBossCam_Binary cam_boss; + en_dtbcmode mod_camCurr; + en_dtbcmode mod_camWant; + float32 tmr_bobCycle; + + zMovePoint* PickEvade(zMovePoint* nav_from); + int32 DenMailSys(NMESysEvent* sysmail); + int32 DenMailDamage(NMEDamageInfo* dmgmail); + int32 TypeHandleMail(NMEMsg* mail); + void BossCamRepel(); + void BossCamSet(en_dtbcmode mod_desired, uint8 forceCut); + void RespondToHittingPlayer(); + en_vis VisionTarget(); + void RenderHud(); + void BUpdate(xVec3* pos); + void PostProcess(); + void Process(float32 dt); + int32 IsAlive(); + void Destroy(); + void Reset(); + void Setup(); + void Init(xEntAsset* asset); + xAnimTable* CreateAnimTable(xAnimTable* table); + uint32 AnimPick(int32 gid, en_npcgspot gspot); + zMovePoint* MvptFirstFollow(); + void SelfSetup(); + int32 DfltVulnFlags(); + void CreateConfig(); + int32 WannaPoolShadow(); }; struct HAZShadowProps { - float32 alf_max; - float32 rad_doCast; - float32 rad_shadow; - float32 hyt_shadow; - int32 cacheFillFreq; - float32 fac_maxEarly; + float32 alf_max; + float32 rad_doCast; + float32 rad_shadow; + float32 hyt_shadow; + int32 cacheFillFreq; + float32 fac_maxEarly; }; struct DUMMY_PARSTRUCT { - xVec3 pos; - float32 size; - xVec3 vel; - DUMMY_PAREMITTER* emitter; - float32 tmr_remain; - float32 tym_lifespan; - float32 fac_abuse; - xColor_tag color; - uint8 uv_numCell; - uint8 uv_cell; - uint8 pct_keep; - uint8 padding; - float32 rot; - float32 rot_vel; + xVec3 pos; + float32 size; + xVec3 vel; + DUMMY_PAREMITTER* emitter; + float32 tmr_remain; + float32 tym_lifespan; + float32 fac_abuse; + xColor_tag color; + uint8 uv_numCell; + uint8 uv_cell; + uint8 pct_keep; + uint8 padding; + float32 rot; + float32 rot_vel; }; struct zMODSupple : zModule { - struct - { - int32 flg_doSlipFX : 1; - int32 flg_doJellySting : 1; - int32 flg_unused : 30; - }; - float32 tmr_slipGasEmit; - JellySting sting; + struct + { + int32 flg_doSlipFX : 1; + int32 flg_doJellySting : 1; + int32 flg_unused : 30; + }; + float32 tmr_slipGasEmit; + JellySting sting; - void StingerUpdate(); - void StingerPrepare(); - void Timestep(float32 dt); - void SceneReset(); - void ScenePostInit(); - void ScenePrepare(); - void ModulePrepUse(); + void StingerUpdate(); + void StingerPrepare(); + void Timestep(float32 dt); + void SceneReset(); + void ScenePostInit(); + void ScenePrepare(); + void ModulePrepUse(); }; struct zNMEGoalDentTaunt : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct zNMEGoalSpinBattle : zNMEGoalCommon { - float32 tmr_minAttack; - int8 cnt_skipBallChecks; - int8 cnt_skipPlyrChecks; - int8 cnt_skipNMEChecks; - int8 cnt_skipRibbonJoint; - int8 cnt_bubemit; - int8 unused[3]; - xFXRibbon* ribbon; - - void RibbonLoop(zNMESpinner* npc); - int32 ColChk_NMEDyn(zNMESpinner* npc); - int32 ColChk_BBall(zNMESpinner* npc); - int32 ColChk_Player(zNMESpinner* npc); - int32 PursueAndDestroy(zNMESpinner* npc, float32 dt); - int32 RetreatAndFinish(zNMESpinner* npc, float32 dt); - void StepAwayFromTheSponge(zNMESpinner* npc, float32 dt); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Resume(); - int32 Suspend(); - int32 Exit(); - int32 Enter(); + float32 tmr_minAttack; + int8 cnt_skipBallChecks; + int8 cnt_skipPlyrChecks; + int8 cnt_skipNMEChecks; + int8 cnt_skipRibbonJoint; + int8 cnt_bubemit; + int8 unused[3]; + xFXRibbon* ribbon; + + void RibbonLoop(zNMESpinner* npc); + int32 ColChk_NMEDyn(zNMESpinner* npc); + int32 ColChk_BBall(zNMESpinner* npc); + int32 ColChk_Player(zNMESpinner* npc); + int32 PursueAndDestroy(zNMESpinner* npc, float32 dt); + int32 RetreatAndFinish(zNMESpinner* npc, float32 dt); + void StepAwayFromTheSponge(zNMESpinner* npc, float32 dt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Resume(); + int32 Suspend(); + int32 Exit(); + int32 Enter(); }; enum en_stananim { - STAN_ANIM_UNKNOWN, - STAN_ANIM_IDLE, - STAN_ANIM_MOVE, - STAN_ANIM_ALERT, - STAN_ANIM_CHASE, - STAN_ANIM_FLEE, - STAN_ANIM_PANIC, - STAN_ANIM_SCARE_LOOP, - STAN_ANIM_SCARE_DONE, - STAN_ANIM_SPOOK_LOOP, - STAN_ANIM_NOTICE, - STAN_ANIM_TAUNT, - STAN_ANIM_VICTORY, - STAN_ANIM_DAMAGE, - STAN_ANIM_DEFEAT, - STAN_ANIM_PRAY, - STAN_ANIM_ATTACK, - STAN_ANIM_ATTACK_PREP, - STAN_ANIM_ATTACK_LOOP, - STAN_ANIM_ATTACK_DONE, - STAN_ANIM_STUN_PREP, - STAN_ANIM_STUN_LOOP, - STAN_ANIM_STUN_PICKUP, - STAN_ANIM_STUN_CARRY, - STAN_ANIM_TOSS_PREP, - STAN_ANIM_TOSS_LOOP, - STAN_ANIM_SPIN_PREP, - STAN_ANIM_SPIN_LOOP, - STAN_ANIM_SPIN_THROW, - STAN_ANIM_POP_UP, - STAN_ANIM_POP_DOWN, - STAN_ANIM_DEFLECT_PREP, - STAN_ANIM_DEFLECT_LOOP, - STAN_ANIM_DEFLECT_DONE, - STAN_ANIM_BOMBLEFT_PREP, - STAN_ANIM_BOMBLEFT_LOOP, - STAN_ANIM_BOMBLEFT_DONE, - STAN_ANIM_BOMBRYHT_PREP, - STAN_ANIM_BOMBRYHT_LOOP, - STAN_ANIM_BOMBRYHT_DONE, - STAN_ANIM_NOMORE, - STAN_ANIM_FORCE = 0x7fffffff + STAN_ANIM_UNKNOWN, + STAN_ANIM_IDLE, + STAN_ANIM_MOVE, + STAN_ANIM_ALERT, + STAN_ANIM_CHASE, + STAN_ANIM_FLEE, + STAN_ANIM_PANIC, + STAN_ANIM_SCARE_LOOP, + STAN_ANIM_SCARE_DONE, + STAN_ANIM_SPOOK_LOOP, + STAN_ANIM_NOTICE, + STAN_ANIM_TAUNT, + STAN_ANIM_VICTORY, + STAN_ANIM_DAMAGE, + STAN_ANIM_DEFEAT, + STAN_ANIM_PRAY, + STAN_ANIM_ATTACK, + STAN_ANIM_ATTACK_PREP, + STAN_ANIM_ATTACK_LOOP, + STAN_ANIM_ATTACK_DONE, + STAN_ANIM_STUN_PREP, + STAN_ANIM_STUN_LOOP, + STAN_ANIM_STUN_PICKUP, + STAN_ANIM_STUN_CARRY, + STAN_ANIM_TOSS_PREP, + STAN_ANIM_TOSS_LOOP, + STAN_ANIM_SPIN_PREP, + STAN_ANIM_SPIN_LOOP, + STAN_ANIM_SPIN_THROW, + STAN_ANIM_POP_UP, + STAN_ANIM_POP_DOWN, + STAN_ANIM_DEFLECT_PREP, + STAN_ANIM_DEFLECT_LOOP, + STAN_ANIM_DEFLECT_DONE, + STAN_ANIM_BOMBLEFT_PREP, + STAN_ANIM_BOMBLEFT_LOOP, + STAN_ANIM_BOMBLEFT_DONE, + STAN_ANIM_BOMBRYHT_PREP, + STAN_ANIM_BOMBRYHT_LOOP, + STAN_ANIM_BOMBRYHT_DONE, + STAN_ANIM_NOMORE, + STAN_ANIM_FORCE = 0x7fffffff }; struct base : xEnt, xFactoryInst { - int16 bound_bone; - uint16 sound_id_offset; - uint16 global_parameters_size; - uint16 local_parameters_size; - uint32 type; - xModelAssetParam* global_parameters; - xModelAssetParam* local_parameters; - union - { - xMovePoint* movepoint; - uint32 movepoint_asset_id; - }; - xEntNPCAssetIN* npc_asset; - xModelAssetInfo* model_asset; - float32 shadow_strength; - float32 shadow_cache_fudge_factor; - xVec3 bound_offset; + int16 bound_bone; + uint16 sound_id_offset; + uint16 global_parameters_size; + uint16 local_parameters_size; + uint32 type; + xModelAssetParam* global_parameters; + xModelAssetParam* local_parameters; + union + { + xMovePoint* movepoint; + uint32 movepoint_asset_id; + }; + xEntNPCAssetIN* npc_asset; + xModelAssetInfo* model_asset; + float32 shadow_strength; + float32 shadow_cache_fudge_factor; + xVec3 bound_offset; }; struct xJSPHeader { - int8 idtag[4]; - uint32 version; - uint32 jspNodeCount; - RpClump* clump; - xClumpCollBSPTree* colltree; - xJSPNodeInfo* jspNodeList; - uint32 stripVecCount; - RwV3d* stripVecList; - uint16 vertDataFlags; - uint16 vertDataStride; - xJSPNodeTree* nodetree; - xJSPNodeLight* nodelight; + int8 idtag[4]; + uint32 version; + uint32 jspNodeCount; + RpClump* clump; + xClumpCollBSPTree* colltree; + xJSPNodeInfo* jspNodeList; + uint32 stripVecCount; + RwV3d* stripVecList; + uint16 vertDataFlags; + uint16 vertDataStride; + xJSPNodeTree* nodetree; + xJSPNodeLight* nodelight; }; struct zShrapnelAsset { - int32 fassetCount; - uint32 shrapnelID; - void(*initCB)(zShrapnelAsset*, xModelInstance*, xVec3*, void(*)(zFrag*, zFragAsset*)); + int32 fassetCount; + uint32 shrapnelID; + void (*initCB)(zShrapnelAsset*, xModelInstance*, xVec3*, void (*)(zFrag*, zFragAsset*)); }; struct NMEPSClt { - void(*notify)(void*, NMEMsg*); - void* notedata; - int32 flg_filter; - NMEPSClt* next; + void (*notify)(void*, NMEMsg*); + void* notedata; + int32 flg_filter; + NMEPSClt* next; }; struct RwTexture { - RwRaster* raster; - RwTexDictionary* dict; - RwLLLink lInDictionary; - int8 name[32]; - int8 mask[32]; - uint32 filterAddressing; - int32 refCount; + RwRaster* raster; + RwTexDictionary* dict; + RwLLLink lInDictionary; + int8 name[32]; + int8 mask[32]; + uint32 filterAddressing; + int32 refCount; }; struct zParEmitter : xParEmitter @@ -4964,337 +4953,330 @@ struct zParEmitter : xParEmitter struct Health_0 { - int32 pts_healthMax; + int32 pts_healthMax; }; struct zNMEFlinger : zNMEStandard { - xPsyche* psy_move; - NMECfgFlinger* cfg_flinger; - FlingLetMeKnow tellMeWhen; - - void WoundedInput(en_npcgol gid, NMEDamageInfo* dmgmail); - int32 FlingMailDamage(NMEDamageInfo* dmgmail); - int32 TypeHandleMail(NMEMsg* mail); - float32 HealthRatio(); - en_vis VisionTarget(xEnt* ent, en_defcon defcon); - void Process(float32 dt); - void Reset(); - xAnimTable* CreateAnimTable(xAnimTable* table); - uint32 AnimPick(int32 gid, en_npcgspot gspot); - void FlingMainBrain(); - void SelfDestroy(); - void SelfSetup(); - void Setup(); - void BUpdate(xVec3* pos); - void Init(xEntAsset* asset); - int32 DfltVulnFlags(); - void CreateConfig(); + xPsyche* psy_move; + NMECfgFlinger* cfg_flinger; + FlingLetMeKnow tellMeWhen; + + void WoundedInput(en_npcgol gid, NMEDamageInfo* dmgmail); + int32 FlingMailDamage(NMEDamageInfo* dmgmail); + int32 TypeHandleMail(NMEMsg* mail); + float32 HealthRatio(); + en_vis VisionTarget(xEnt* ent, en_defcon defcon); + void Process(float32 dt); + void Reset(); + xAnimTable* CreateAnimTable(xAnimTable* table); + uint32 AnimPick(int32 gid, en_npcgspot gspot); + void FlingMainBrain(); + void SelfDestroy(); + void SelfSetup(); + void Setup(); + void BUpdate(xVec3* pos); + void Init(xEntAsset* asset); + int32 DfltVulnFlags(); + void CreateConfig(); }; struct zNMEGoalEvilPat : zNMEGoalCommon { - - void GlyphStart(); - int32 GoalHandleMail(NMEMsg* msg); - int32 Process(en_trantype* trantype); - int32 Exit(); - int32 Enter(); + void GlyphStart(); + int32 GoalHandleMail(NMEMsg* msg); + int32 Process(en_trantype* trantype); + int32 Exit(); + int32 Enter(); }; struct zNMEGoalFogAttack : zNMEGoalLoopAnim { - float32 tmr_attack; - struct - { - uint32 bul_startedBreath : 1; - uint32 bul_unused : 31; - }; + float32 tmr_attack; + struct + { + uint32 bul_startedBreath : 1; + uint32 bul_unused : 31; + }; - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct zNMEZapper : zNMEStandard { - xPsyche* psy_move; - NMECfgZapper* cfg_zapper; - NMEZapomatic gun_omatic; - zMervEngine engine; - ZapLetMeKnow tellMeWhen; - float32 tmr_emitExahust; - - int32 SafeToTaunt(); - int32 ZapMailDamage(NMEDamageInfo* dmgmail); - int32 TypeHandleMail(NMEMsg* mail); - void JetEngine(float32 dt); - float32 HealthRatio(); - en_vis VisionTarget(xEnt* ent); - void RenderExtra(); - void NewTime(float32 dt); - void Process(float32 dt); - void BUpdate(); - void Reset(); - xAnimTable* CreateAnimTable(xAnimTable* table); - uint32 AnimPick(int32 gid, en_npcgspot gspot); - void ZapMainBrain(); - void SelfDestroy(); - void SelfSetup(); - void Setup(); - void Init(xEntAsset* asset); - int32 DfltVulnFlags(); - void CreateConfig(); + xPsyche* psy_move; + NMECfgZapper* cfg_zapper; + NMEZapomatic gun_omatic; + zMervEngine engine; + ZapLetMeKnow tellMeWhen; + float32 tmr_emitExahust; + + int32 SafeToTaunt(); + int32 ZapMailDamage(NMEDamageInfo* dmgmail); + int32 TypeHandleMail(NMEMsg* mail); + void JetEngine(float32 dt); + float32 HealthRatio(); + en_vis VisionTarget(xEnt* ent); + void RenderExtra(); + void NewTime(float32 dt); + void Process(float32 dt); + void BUpdate(); + void Reset(); + xAnimTable* CreateAnimTable(xAnimTable* table); + uint32 AnimPick(int32 gid, en_npcgspot gspot); + void ZapMainBrain(); + void SelfDestroy(); + void SelfSetup(); + void Setup(); + void Init(xEntAsset* asset); + int32 DfltVulnFlags(); + void CreateConfig(); }; struct xJSPNodeInfo { - int32 originalMatIndex; - uint16 nodeFlags; - int16 sortOrder; + int32 originalMatIndex; + uint16 nodeFlags; + int16 sortOrder; }; struct RwRaster { - RwRaster* parent; - uint8* cpPixels; - uint8* palette; - int32 width; - int32 height; - int32 depth; - int32 stride; - int16 nOffsetX; - int16 nOffsetY; - uint8 cType; - uint8 cFlags; - uint8 privateFlags; - uint8 cFormat; - uint8* originalPixels; - int32 originalWidth; - int32 originalHeight; - int32 originalStride; + RwRaster* parent; + uint8* cpPixels; + uint8* palette; + int32 width; + int32 height; + int32 depth; + int32 stride; + int16 nOffsetX; + int16 nOffsetY; + uint8 cType; + uint8 cFlags; + uint8 privateFlags; + uint8 cFormat; + uint8* originalPixels; + int32 originalWidth; + int32 originalHeight; + int32 originalStride; }; struct UVAModelInfo { - xVec2 offset_vel; - uint32 flg_uvam; - RpAtomic* model; - RwTexCoords* uv; - int32 uvsize; - xVec2 offset; + xVec2 offset_vel; + uint32 flg_uvam; + RpAtomic* model; + RwTexCoords* uv; + int32 uvsize; + xVec2 offset; - int32 Init(RpAtomic* model, uint32 flg_uvamCaller); + int32 Init(RpAtomic* model, uint32 flg_uvamCaller); }; struct zNMEGoalBuckBirthing : zNMEGoalPushAnim { - - void BubsieSudsie(zNMEBuckotron* npc); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + void BubsieSudsie(zNMEBuckotron* npc); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct zNMEGoalFlingMove : zNMEGoalSentry { - - void FiddleThrottle(zNMEFlinger* npc, float32 dt); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + void FiddleThrottle(zNMEFlinger* npc, float32 dt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct zNMEGoalFogBattle : zNMEGoalCommon { - en_battlefog battlefog; - struct - { - int32 lastFoot : 8; - int32 flg_taunting : 1; - int32 flg_needHopFX : 1; - int32 flg_unused : 22; - }; - xVec3 pos_evade; - float32 tmr_evade; - - void HoppingFXUpdate(zNMEFogger* npc); - void BoundingFXUpdate(zNMEFogger* npc); - int32 CheckSpot(zNMEFogger* npc, xVec3* pos_tgt); - int32 MoveEvadePos(zNMEFogger* npc, xVec3* pos, float32 dt); - int32 CalcEvadePos(zNMEFogger* npc, xVec3* pos); - float32 RevisePrediction(zNMEFogger* npc, xVec3* pos_tgt, xVec3* dir_tgt); - float32 PredictPlyrPos(zNMEFogger* npc, xVec3* pos_plyr, xVec3* dir_plyr); - int32 SubStateUpdate(zNMEFogger* npc, float32 dt, int32& nextgoal, en_trantype& trantype); - int32 CheckSituation(zNMEFogger* npc, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Resume(); - int32 Enter(); + en_battlefog battlefog; + struct + { + int32 lastFoot : 8; + int32 flg_taunting : 1; + int32 flg_needHopFX : 1; + int32 flg_unused : 22; + }; + xVec3 pos_evade; + float32 tmr_evade; + + void HoppingFXUpdate(zNMEFogger* npc); + void BoundingFXUpdate(zNMEFogger* npc); + int32 CheckSpot(zNMEFogger* npc, xVec3* pos_tgt); + int32 MoveEvadePos(zNMEFogger* npc, xVec3* pos, float32 dt); + int32 CalcEvadePos(zNMEFogger* npc, xVec3* pos); + float32 RevisePrediction(zNMEFogger* npc, xVec3* pos_tgt, xVec3* dir_tgt); + float32 PredictPlyrPos(zNMEFogger* npc, xVec3* pos_plyr, xVec3* dir_plyr); + int32 SubStateUpdate(zNMEFogger* npc, float32 dt, int32& nextgoal, en_trantype& trantype); + int32 CheckSituation(zNMEFogger* npc, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Resume(); + int32 Enter(); }; enum zGlobalDemoType { - zDT_NONE, - zDT_E3, - zDT_PUBLICITY, - zDT_OPM, - zDT_LAST + zDT_NONE, + zDT_E3, + zDT_PUBLICITY, + zDT_OPM, + zDT_LAST }; struct xQCData { - int8 xmin; - int8 ymin; - int8 zmin; - int8 zmin_dup; - int8 xmax; - int8 ymax; - int8 zmax; - int8 zmax_dup; - xVec3 min; - xVec3 max; + int8 xmin; + int8 ymin; + int8 zmin; + int8 zmin_dup; + int8 xmax; + int8 ymax; + int8 zmax; + int8 zmax_dup; + xVec3 min; + xVec3 max; }; struct zNMEGoalIdle : zNMEGoalCommon { - - int32 GoalHandleMail(NMEMsg* msg); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Resume(); - int32 Suspend(); - int32 Exit(); - int32 Enter(); + int32 GoalHandleMail(NMEMsg* msg); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Resume(); + int32 Suspend(); + int32 Exit(); + int32 Enter(); }; struct RwRGBA { - uint8 red; - uint8 green; - uint8 blue; - uint8 alpha; + uint8 red; + uint8 green; + uint8 blue; + uint8 alpha; }; struct NMECyl { - float32 rad_cone; - RwRGBA rgba_top; - RwRGBA rgba_bot; - RwRaster* rast_cone; - float32 uv_tip[2]; - float32 uv_slice[2]; + float32 rad_cone; + RwRGBA rgba_top; + RwRGBA rgba_bot; + RwRaster* rast_cone; + float32 uv_tip[2]; + float32 uv_slice[2]; }; struct xSpline3 { - uint16 type; - uint16 flags; - uint32 N; - uint32 allocN; - xVec3* points; - float32* time; - xVec3* p12; - xVec3* bctrl; - float32* knot; - xCoef3* coef; - uint32 arcSample; - float32* arcLength; + uint16 type; + uint16 flags; + uint32 N; + uint32 allocN; + xVec3* points; + float32* time; + xVec3* p12; + xVec3* bctrl; + float32* knot; + xCoef3* coef; + uint32 arcSample; + float32* arcLength; }; struct xMemPool { - void* FreeList; - uint16 NextOffset; - uint16 Flags; - void* UsedList; - void(*InitCB)(xMemPool*, void*); - void* Buffer; - uint16 Size; - uint16 NumRealloc; - uint32 Total; + void* FreeList; + uint16 NextOffset; + uint16 Flags; + void* UsedList; + void (*InitCB)(xMemPool*, void*); + void* Buffer; + uint16 Size; + uint16 NumRealloc; + uint32 Total; }; struct zNMEGoalDEVAnimView : zNMEGoalCommon { - uint32 origAnimFlags; - uint32 animWeMolested; - float32 ang_facing; + uint32 origAnimFlags; + uint32 animWeMolested; + float32 ang_facing; - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct zNMEGoalBuckDead : zNMEGoalDead { - - int32 GoalHandleMail(); - int32 Enter(); + int32 GoalHandleMail(); + int32 Enter(); }; struct xEntCollis { - uint8 chk; - uint8 pen; - uint8 env_sidx; - uint8 env_eidx; - uint8 npc_sidx; - uint8 npc_eidx; - uint8 dyn_sidx; - uint8 dyn_eidx; - uint8 stat_sidx; - uint8 stat_eidx; - uint8 idx; - xCollis colls[18]; - void(*post)(xEnt*, xScene*, float32, xEntCollis*); - uint32(*depenq)(xEnt*, xEnt*, xScene*, float32, xCollis*); + uint8 chk; + uint8 pen; + uint8 env_sidx; + uint8 env_eidx; + uint8 npc_sidx; + uint8 npc_eidx; + uint8 dyn_sidx; + uint8 dyn_eidx; + uint8 stat_sidx; + uint8 stat_eidx; + uint8 idx; + xCollis colls[18]; + void (*post)(xEnt*, xScene*, float32, xEntCollis*); + uint32 (*depenq)(xEnt*, xEnt*, xScene*, float32, xCollis*); }; struct zNMEGoalZapZap : zNMEGoalLoopAnim { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct iFogParams { - RwFogType type; - float32 start; - float32 stop; - float32 density; - RwRGBA fogcolor; - RwRGBA bgcolor; - uint8* table; + RwFogType type; + float32 start; + float32 stop; + float32 density; + RwRGBA fogcolor; + RwRGBA bgcolor; + uint8* table; }; struct zBossCam_Binary : xCam { - zPlayer* owner; - xVec3 cam_loc; - xQuat cam_dir; - void(*fun_moveover)(zBossCam_Binary*, float32, void*); - void* ctxt_moveover; - config_2 cfg; - int32 camera; - xVec3* s1; - xVec3* s2; - float32 s2_radius; - xVec2 stick_offset; + zPlayer* owner; + xVec3 cam_loc; + xQuat cam_dir; + void (*fun_moveover)(zBossCam_Binary*, float32, void*); + void* ctxt_moveover; + config_2 cfg; + int32 camera; + xVec3* s1; + xVec3* s2; + float32 s2_radius; + xVec2 stick_offset; }; enum en_npcburst { - NME_BURST_BALL, - NME_BURST_OILBUB, - NME_BURST_TUBEBONK, - NME_BURST_NOMORE, - NME_BURST_FORCE = 0x7fffffff + NME_BURST_BALL, + NME_BURST_OILBUB, + NME_BURST_TUBEBONK, + NME_BURST_NOMORE, + NME_BURST_FORCE = 0x7fffffff }; struct zNMEGoalDentDead : zNMEGoalDead { - - int32 Exit(); - int32 Enter(); + int32 Exit(); + int32 Enter(); }; struct callback_0 @@ -5303,48 +5285,46 @@ struct callback_0 struct zNMETurTurner : zNMETurret { - - int32 TypeHandleMail(NMEMsg* mail); - void Process(float32 dt); - void Reset(); - xAnimTable* CreateAnimTable(xAnimTable* table); - void SelfSetup(); + int32 TypeHandleMail(NMEMsg* mail); + void Process(float32 dt); + void Reset(); + xAnimTable* CreateAnimTable(xAnimTable* table); + void SelfSetup(); }; struct ptank_pool__color_mat_uv2 : ptank_pool { - xColor_tag* color; - xMat4x3* mat; - xVec2* uv; + xColor_tag* color; + xMat4x3* mat; + xVec2* uv; }; struct zMODStanEnemy : zModule { - - void ScenePostInit(); - void ScenePrepare(); + void ScenePostInit(); + void ScenePrepare(); }; struct zNMEGoalSentry : zNMEGoalCommon { - float32 tmr_delay; - xVec3 pos_from; - float32 dst_interpNorm; - struct - { - int32 flg_sentry : 16; - int32 flg_doRot : 1; - int32 flg_dfltAccel : 1; - int32 flg_ignoreDelay : 1; - int32 flg_unused : 13; - }; - void(*fun_tellbody)(zNMEGoalSentry*, en_sentell, zNMECommon*); - - void SentryMoveSpline(zNMECommon* npc, float32 dt); - void SentryMoveNormal(zNMECommon* npc, float32 dt); - void DoOnArriveStuff(zNMECommon* npc); - void Sentry_Update(zNMEStandard* npc, float32 dt); - void Clear(); + float32 tmr_delay; + xVec3 pos_from; + float32 dst_interpNorm; + struct + { + int32 flg_sentry : 16; + int32 flg_doRot : 1; + int32 flg_dfltAccel : 1; + int32 flg_ignoreDelay : 1; + int32 flg_unused : 13; + }; + void (*fun_tellbody)(zNMEGoalSentry*, en_sentell, zNMECommon*); + + void SentryMoveSpline(zNMECommon* npc, float32 dt); + void SentryMoveNormal(zNMECommon* npc, float32 dt); + void DoOnArriveStuff(zNMECommon* npc); + void Sentry_Update(zNMEStandard* npc, float32 dt); + void Clear(); }; struct _anon10 @@ -5353,185 +5333,185 @@ struct _anon10 struct StreakInfo { - float32 freq; - float32 alf_fade; - float32 alf_start; - uint32 idx_useTxtr; - xColor_tag rgba_left; - xColor_tag rgba_right; - int32 taper; + float32 freq; + float32 alf_fade; + float32 alf_start; + uint32 idx_useTxtr; + xColor_tag rgba_left; + xColor_tag rgba_right; + int32 taper; }; enum RwFogType { - rwFOGTYPENAFOGTYPE, - rwFOGTYPELINEAR, - rwFOGTYPEEXPONENTIAL, - rwFOGTYPEEXPONENTIAL2, - rwFOGTYPEFORCEENUMSIZEINT = 0x7fffffff + rwFOGTYPENAFOGTYPE, + rwFOGTYPELINEAR, + rwFOGTYPEEXPONENTIAL, + rwFOGTYPEEXPONENTIAL2, + rwFOGTYPEFORCEENUMSIZEINT = 0x7fffffff }; struct effectAsset : xDynAsset { - float32 time; - float32 intensity; - uint32 id; - uint8 priority; - uint8 type; - uint8 rumbleInPause; - uint8 pad; - float32 param1; - float32 param2; - float32 shakeMagnitude; - float32 shakeCycleMax; - float32 shakeRotationalMagnitude; - uint8 shakeY; + float32 time; + float32 intensity; + uint32 id; + uint8 priority; + uint8 type; + uint8 rumbleInPause; + uint8 pad; + float32 param1; + float32 param2; + float32 shakeMagnitude; + float32 shakeCycleMax; + float32 shakeRotationalMagnitude; + uint8 shakeY; }; struct Evade_0 { - float32 spd_evade; - float32 tym_evadeMin; - float32 tym_evadeMax; + float32 spd_evade; + float32 tym_evadeMin; + float32 tym_evadeMax; }; struct ExplodeCollideData { - zNMECommon* npc_from; - float32 spd_explode; - xBound bound; - NMEMsg msgdata; + zNMECommon* npc_from; + float32 spd_explode; + xBound bound; + NMEMsg msgdata; - uint8 __cl(xEnt& ent); + uint8 __cl(xEnt& ent); }; struct RwCamera { - RwObjectHasFrame object; - RwCameraProjection projectionType; - RwCamera*(*beginUpdate)(RwCamera*); - RwCamera*(*endUpdate)(RwCamera*); - RwMatrixTag viewMatrix; - RwRaster* frameBuffer; - RwRaster* zBuffer; - RwV2d viewWindow; - RwV2d recipViewWindow; - RwV2d viewOffset; - float32 nearPlane; - float32 farPlane; - float32 fogPlane; - float32 zScale; - float32 zShift; - RwFrustumPlane frustumPlanes[6]; - RwBBox frustumBoundBox; - RwV3d frustumCorners[8]; + RwObjectHasFrame object; + RwCameraProjection projectionType; + RwCamera* (*beginUpdate)(RwCamera*); + RwCamera* (*endUpdate)(RwCamera*); + RwMatrixTag viewMatrix; + RwRaster* frameBuffer; + RwRaster* zBuffer; + RwV2d viewWindow; + RwV2d recipViewWindow; + RwV2d viewOffset; + float32 nearPlane; + float32 farPlane; + float32 fogPlane; + float32 zScale; + float32 zShift; + RwFrustumPlane frustumPlanes[6]; + RwBBox frustumBoundBox; + RwV3d frustumCorners[8]; }; struct NMECSplashData { - pointer_asset* ass_ptr; - xVec3 pos_splash; - float32 rad_splash; - float32 tym_duration; - en_typeSplash typ_splash; + pointer_asset* ass_ptr; + xVec3 pos_splash; + float32 rad_splash; + float32 tym_duration; + en_typeSplash typ_splash; }; struct xSurface : xBase { - uint32 idx; - uint32 type; - union - { - uint32 mat_idx; - xEnt* ent; - void* obj; - }; - float32 friction; - uint8 state; - uint8 pad[3]; - void* moprops; + uint32 idx; + uint32 type; + union + { + uint32 mat_idx; + xEnt* ent; + void* obj; + }; + float32 friction; + uint8 state; + uint8 pad[3]; + void* moprops; }; struct zNMETongueSpin : zNMECommon { - zNMEFrogfish* npc_bossman; - uint32 anid_played; - eTongueSpinState state; - float32 tmr_stunned; - float32 attackTimer; - float32 popupTimer; - uint8 flgHitPlayer; - uint8 attackSoundPlayed; - uint8 locationChosen; - int8 cnt_skipPlyrChecks; - int8 cntBubemit; - int8 cntSkipRibbonJoint; - xFXRibbon* ribbon; - xVec3 vel; - float32 knockbackTimer; - iSndHandle burrowSndHandle; - iSndHandle spinSndHandle; - - int32 WannaPoolShadow(); - int32 MakeIceCreamSplat(xVec3* splatPos); - void FXUpdate(float32 dt, float32 tym_animPlusTime, float32 tym_animDur, float32 tym_animCurr); - void RibbonLoop(); - void DoCapsuleTests(); - int32 TongueSpinMailDamage(NMEDamageInfo* dmgmail); - int32 TypeHandleMail(NMEMsg* mail); - int32 ColChk_Player(); - int32 ColChk_PlayerJump(); - void KnockMeBack(); - uint8 PickRandomPointInArena(xVec3* pos, uint8 fNearPlayer); - void EnterState(eTongueSpinState newState); - int32 DfltVulnFlags(); - void Reset(); - void Process(float32 dt); - void BUpdate(xVec3* pos); - void Setup(); - void Init(xEntAsset* asset); - void SelfSetup(); - xAnimTable* CreateAnimTable(xAnimTable* table); + zNMEFrogfish* npc_bossman; + uint32 anid_played; + eTongueSpinState state; + float32 tmr_stunned; + float32 attackTimer; + float32 popupTimer; + uint8 flgHitPlayer; + uint8 attackSoundPlayed; + uint8 locationChosen; + int8 cnt_skipPlyrChecks; + int8 cntBubemit; + int8 cntSkipRibbonJoint; + xFXRibbon* ribbon; + xVec3 vel; + float32 knockbackTimer; + iSndHandle burrowSndHandle; + iSndHandle spinSndHandle; + + int32 WannaPoolShadow(); + int32 MakeIceCreamSplat(xVec3* splatPos); + void FXUpdate(float32 dt, float32 tym_animPlusTime, float32 tym_animDur, float32 tym_animCurr); + void RibbonLoop(); + void DoCapsuleTests(); + int32 TongueSpinMailDamage(NMEDamageInfo* dmgmail); + int32 TypeHandleMail(NMEMsg* mail); + int32 ColChk_Player(); + int32 ColChk_PlayerJump(); + void KnockMeBack(); + uint8 PickRandomPointInArena(xVec3* pos, uint8 fNearPlayer); + void EnterState(eTongueSpinState newState); + int32 DfltVulnFlags(); + void Reset(); + void Process(float32 dt); + void BUpdate(xVec3* pos); + void Setup(); + void Init(xEntAsset* asset); + void SelfSetup(); + xAnimTable* CreateAnimTable(xAnimTable* table); }; struct zNeptuneParTex { - float32 tnext; - float32 tx; - float32 ty; - float32 tsize; + float32 tnext; + float32 tx; + float32 ty; + float32 tsize; }; struct RpTie { - RwLLLink lAtomicInWorldSector; - RpAtomic* apAtom; - RwLLLink lWorldSectorInAtomic; - RpWorldSector* worldSector; + RwLLLink lAtomicInWorldSector; + RpAtomic* apAtom; + RwLLLink lWorldSectorInAtomic; + RpWorldSector* worldSector; }; struct NMECfgDennis { - Health_3 health; - Ranges_2 ranges; - Attack_3 attack; - Battle_6 battle; + Health_3 health; + Ranges_2 ranges; + Attack_3 attack; + Battle_6 battle; }; enum xSndEffect { - xSndEffect_NONE, - xSndEffect_CAVE, - xSndEffect_MAX_TYPES + xSndEffect_NONE, + xSndEffect_CAVE, + xSndEffect_MAX_TYPES }; struct rxHeapBlockHeader { - rxHeapBlockHeader* prev; - rxHeapBlockHeader* next; - uint32 size; - rxHeapFreeBlock* freeEntry; - uint32 pad[4]; + rxHeapBlockHeader* prev; + rxHeapBlockHeader* next; + uint32 size; + rxHeapFreeBlock* freeEntry; + uint32 pad[4]; }; struct _anon11 @@ -5540,124 +5520,123 @@ struct _anon11 struct zNMESpinner : zNMEStandard { - NMECfgSpinner* cfg_spinner; - zNMEArena arena; - xVec3 vel_physics; - int32 flg_useBigRadius; - - float32 HealthRatio(); - en_vis VisionTarget(xEnt* ent, en_defcon defcon); - int32 SpinMailDamage(NMEDamageInfo* dmgmail); - int32 TypeHandleMail(NMEMsg* mail); - void CollideReview(); - void Type_AddYourMove(float32 dt); - void Process(float32 dt); - void BUpdate(xVec3* pos); - xAnimTable* CreateAnimTable(xAnimTable* table); - uint32 AnimPick(int32 gid, en_npcgspot gspot); - void SelfSetup(); - void Reset(); - void Setup(); - void Init(xEntAsset* entass); - uint8 ColPenFlags(); - uint8 ColChkFlags(); - int32 DfltVulnFlags(); - void CreateConfig(); - zNMEArena* Gimme_NMEArena(); + NMECfgSpinner* cfg_spinner; + zNMEArena arena; + xVec3 vel_physics; + int32 flg_useBigRadius; + + float32 HealthRatio(); + en_vis VisionTarget(xEnt* ent, en_defcon defcon); + int32 SpinMailDamage(NMEDamageInfo* dmgmail); + int32 TypeHandleMail(NMEMsg* mail); + void CollideReview(); + void Type_AddYourMove(float32 dt); + void Process(float32 dt); + void BUpdate(xVec3* pos); + xAnimTable* CreateAnimTable(xAnimTable* table); + uint32 AnimPick(int32 gid, en_npcgspot gspot); + void SelfSetup(); + void Reset(); + void Setup(); + void Init(xEntAsset* entass); + uint8 ColPenFlags(); + uint8 ColChkFlags(); + int32 DfltVulnFlags(); + void CreateConfig(); + zNMEArena* Gimme_NMEArena(); }; struct zNMEGoalZapMove : zNMEGoalSentry { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct xParabola { - xVec3 initPos; - xVec3 initVel; - float32 gravity; - float32 minTime; - float32 maxTime; + xVec3 initPos; + xVec3 initVel; + float32 gravity; + float32 minTime; + float32 maxTime; }; struct zNeptuneParticle { - xVec3 pos; - float32 lifetime; - xVec3 vel; - float32 liferate; - uint8 updtype; - uint8 texidx; - uint8 colidx; - uint8 sizeidx; - uint32 collide; - uint32 userdata[10]; + xVec3 pos; + float32 lifetime; + xVec3 vel; + float32 liferate; + uint8 updtype; + uint8 texidx; + uint8 colidx; + uint8 sizeidx; + uint32 collide; + uint32 userdata[10]; }; struct zNMEGoalTikiDying : zNMEGoalCommon { - float32 tmr_dying; + float32 tmr_dying; - int32 Exit(); - int32 Enter(); + int32 Exit(); + int32 Enter(); }; enum en_zapatak { - ZAP_ATAK_WARMUP, - ZAP_ATAK_FULLON, - ZAP_ATAK_RECYCLE, - ZAP_ATAK_NOMORE + ZAP_ATAK_WARMUP, + ZAP_ATAK_FULLON, + ZAP_ATAK_RECYCLE, + ZAP_ATAK_NOMORE }; struct xCamCoordCylinder { - xVec3 origin; - float32 dist; - float32 height; - float32 theta; + xVec3 origin; + float32 dist; + float32 height; + float32 theta; }; struct SparkyCurve { - float32 time; - xColor_tag color; - float32 scale; + float32 time; + xColor_tag color; + float32 scale; }; struct xEntFrame { - xMat4x3 mat; - xMat4x3 oldmat; - xVec3 oldvel; - xRot oldrot; - xRot drot; - xRot rot; - xVec3 dvel; - xVec3 vel; - uint32 mode; - xVec3 dpos; + xMat4x3 mat; + xMat4x3 oldmat; + xVec3 oldvel; + xRot oldrot; + xRot drot; + xRot rot; + xVec3 dvel; + xVec3 vel; + uint32 mode; + xVec3 dpos; }; struct RxObjSpace3DVertex { - RwV3d objVertex; - RxColorUnion c; - RwV3d objNormal; - float32 u; - float32 v; + RwV3d objVertex; + RxColorUnion c; + RwV3d objNormal; + float32 u; + float32 v; }; struct NMEPSData { - NMEPSClt* cltblob; - NMEPSClt* cltfree; - st_XORDEREDARRAY cltlist; - NMEMsg* msgblob; - NMEMsg* msgfree; - st_XORDEREDARRAY quelist; + NMEPSClt* cltblob; + NMEPSClt* cltfree; + st_XORDEREDARRAY cltlist; + NMEMsg* msgblob; + NMEMsg* msgfree; + st_XORDEREDARRAY quelist; }; struct _anon12 @@ -5666,55 +5645,54 @@ struct _anon12 struct zNMEGoalPopAttack : zNMEGoalLoopAnim { - int32 idx_shot; + int32 idx_shot; - void PopGunUpdate(zNMEPopper* npc); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + void PopGunUpdate(zNMEPopper* npc); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct zNMEGoalLoopAnim : zNMEGoalCommon { - int32 flg_loopanim; - uint32 anid_stage[3]; - int32 cnt_loop; - uint32 origAnimFlags; - uint32 animWeMolested; + int32 flg_loopanim; + uint32 anid_stage[3]; + int32 cnt_loop; + uint32 origAnimFlags; + uint32 animWeMolested; - void ValidateStages(); - void UseDefaultAnims(zNMECommon* npc); - en_loopstat GoalLoop_Process(zNMECommon* npc, float32 dt); - int32 Exit(); - int32 Enter(); - int32 Process(en_trantype* trantyp, float32 dt, void* ctxt); + void ValidateStages(); + void UseDefaultAnims(zNMECommon* npc); + en_loopstat GoalLoop_Process(zNMECommon* npc, float32 dt); + int32 Exit(); + int32 Enter(); + int32 Process(en_trantype* trantyp, float32 dt, void* ctxt); }; struct zNMEGoalFlingBattle : zNMEGoalCommon { - float32 tmr_tossDelay; + float32 tmr_tossDelay; - int32 SubStateUpdate(zNMEFlinger* npc, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 SubStateUpdate(zNMEFlinger* npc, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct zNMEGoalTikiHide : zNMEGoalCommon { - - int32 Exit(); - int32 Enter(); + int32 Exit(); + int32 Enter(); }; struct zPlatFMRunTime { - uint32 flags; - float32 tmrs[13]; - float32 ttms[13]; - float32 atms[13]; - float32 dtms[13]; - float32 vms[13]; - float32 dss[13]; - float32 total_change[13]; + uint32 flags; + float32 tmrs[13]; + float32 ttms[13]; + float32 atms[13]; + float32 dtms[13]; + float32 vms[13]; + float32 dss[13]; + float32 total_change[13]; }; struct xParSys @@ -5731,57 +5709,56 @@ struct _anon13 struct RxIoSpec { - uint32 numClustersOfInterest; - RxClusterRef* clustersOfInterest; - RxClusterValidityReq* inputRequirements; - uint32 numOutputs; - RxOutputSpec* outputs; + uint32 numClustersOfInterest; + RxClusterRef* clustersOfInterest; + RxClusterValidityReq* inputRequirements; + uint32 numOutputs; + RxOutputSpec* outputs; }; struct RpHAnimHierarchy { - int32 flags; - int32 numNodes; - RwMatrixTag* pMatrixArray; - void* pMatrixArrayUnaligned; - RpHAnimNodeInfo* pNodeInfo; - RwFrame* parentFrame; - RpHAnimHierarchy* parentHierarchy; - int32 rootParentOffset; - RtAnimInterpolator* currentAnim; + int32 flags; + int32 numNodes; + RwMatrixTag* pMatrixArray; + void* pMatrixArrayUnaligned; + RpHAnimNodeInfo* pNodeInfo; + RwFrame* parentFrame; + RpHAnimHierarchy* parentHierarchy; + int32 rootParentOffset; + RtAnimInterpolator* currentAnim; }; struct zNMEGoalPatCarry : zNMEGoalCommon { - - float32 CalcPlayerLean(zNMEStandard* npc, float32 dt); - void TowerOfPisa(zNMEStandard* npc, float32 dt); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + float32 CalcPlayerLean(zNMEStandard* npc, float32 dt); + void TowerOfPisa(zNMEStandard* npc, float32 dt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct zNMEGoalTurrBTurn : zNMEGoalCommon { - int32 idx_shot; - float32 tmr_reloading; - struct - { - int32 turnState : 8; - int32 flg_goLeft : 1; - int32 flg_doReload : 1; - int32 flg_unused : 22; - }; + int32 idx_shot; + float32 tmr_reloading; + struct + { + int32 turnState : 8; + int32 flg_goLeft : 1; + int32 flg_doReload : 1; + int32 flg_unused : 22; + }; - int32 QRotTowards(xMat3x3* mat, xQuat* qfrom, xQuat* qdest, float32 dt, float32 spd); - en_rotinf RotateUpdate(float32 dt); - int32 SubStateUpdate(zNMETurBarrel* npc, float32 dt, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 QRotTowards(xMat3x3* mat, xQuat* qfrom, xQuat* qdest, float32 dt, float32 spd); + en_rotinf RotateUpdate(float32 dt); + int32 SubStateUpdate(zNMETurBarrel* npc, float32 dt, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct zNMEAsset : xDynAsset { - xEntAsset ent_asset; + xEntAsset ent_asset; }; struct _anon14 @@ -5790,46 +5767,46 @@ struct _anon14 enum en_dbcmode { - DEN_CAMMOD_UNKNOWN, - DEN_CAMMOD_NORMAL, - DEN_CAMMOD_BINARY, - DEN_CAMMOD_NOMORE + DEN_CAMMOD_UNKNOWN, + DEN_CAMMOD_NORMAL, + DEN_CAMMOD_BINARY, + DEN_CAMMOD_NOMORE }; struct xAnimPlay { - xAnimPlay* Next; - uint16 NumSingle; - uint16 BoneCount; - xAnimSingle* Single; - void* Object; - xAnimTable* Table; - xMemPool* Pool; - xModelInstance* ModelInst; - void(*BeforeAnimMatrices)(xAnimPlay*, xQuat*, xVec3*, int32); + xAnimPlay* Next; + uint16 NumSingle; + uint16 BoneCount; + xAnimSingle* Single; + void* Object; + xAnimTable* Table; + xMemPool* Pool; + xModelInstance* ModelInst; + void (*BeforeAnimMatrices)(xAnimPlay*, xQuat*, xVec3*, int32); }; struct FogBreathEmitter { - en_npartyp useNPARtype; - float32 tym_lifespan; - xColor_tag colr_base; - float32 siz_base[2]; - xVec3 acc_base; - float32 spd_rotate; - int8 pct_keep; - int8 doDamage; - int8 unused1; - int8 unused2; - Volume volume; + en_npartyp useNPARtype; + float32 tym_lifespan; + xColor_tag colr_base; + float32 siz_base[2]; + xVec3 acc_base; + float32 spd_rotate; + int8 pct_keep; + int8 doDamage; + int8 unused1; + int8 unused2; + Volume volume; - void SpewVolume(xVec3* pos, xMat3x3* axis); + void SpewVolume(xVec3* pos, xMat3x3* axis); }; struct PopRockTrailParm { - float32 spd_emitBase; - float32 spd_emitRand; + float32 spd_emitBase; + float32 spd_emitRand; }; struct _anon15 @@ -5842,865 +5819,864 @@ struct _anon16 struct HAZFrogFishBlob : HAZLobber { - - void ReconBlob(zNMEHazard* haz); - void EndOfLifespan(zNMEHazard* haz); - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void ReconBlob(zNMEHazard* haz); + void EndOfLifespan(zNMEHazard* haz); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct PlasmaParticle { - xVec3 pos; - float32 size; - xVec3 vel; - PlasmaEmitter* emitter; - float32 tmr_remain; - float32 tym_lifespan; - float32 fac_abuse; - xColor_tag color; - float32 rot; - float32 rot_vel; - uint8 uv_numCell; - uint8 uv_cell; - uint8 pct_keep; - uint8 pad1; - int32 unused; + xVec3 pos; + float32 size; + xVec3 vel; + PlasmaEmitter* emitter; + float32 tmr_remain; + float32 tym_lifespan; + float32 fac_abuse; + xColor_tag color; + float32 rot; + float32 rot_vel; + uint8 uv_numCell; + uint8 uv_cell; + uint8 pct_keep; + uint8 pad1; + int32 unused; }; struct xUpdateCullGroup { - uint32 active; - uint16 startIndex; - uint16 endIndex; - xGroup* groupObject; + uint32 active; + uint16 startIndex; + uint16 endIndex; + xGroup* groupObject; }; enum en_xEventTags { - eEventUnknown, - eEventEnable, - eEventDisable, - eEventVisible, - eEventInvisible, - eEventEnterPlayer, - eEventExitPlayer, - eEventTouchPlayer, - eEventControlOff, - eEventControlOn, - eEventReset, - eEventIncrement, - eEventDecrement, - eEventOpen, - eEventClose, - eEventToggle, - eEventTeleportPlayer, - eEventOutOfBounds, - eEventRun, - eEventStop, - eEventExpired, - eEventMove, - eEventDestroy, - eEventPause, - eEventPlay, - eEventPlayOne, - eEventPlayMaybe, - eEventRoomStart, - eEventInvalidate, - eEventTilt, - eEventUntilt, - eEventArrive, - eEventMount, - eEventDismount, - eEventBreak, - eEventPickup, - eEventDeath, - eEventKill, - eEventOn, - eEventOff, - eEventNPCPatrolOn, - eEventNPCPatrolOff, - eEventNPCWanderOn, - eEventNPCWanderOff, - eEventNPCDetectOn, - eEventNPCDetectOff, - eEventNPCChaseOn, - eEventNPCChaseOff, - eEventNPCGoToSleep, - eEventNPCWakeUp, - eEventNPCRespawn, - eEventPlayerDeath, - eEventGiveChance, - eEventGiveShinyObjects, - eEventGiveHealth, - eEventPress, - eEventUnpress, - eEventArriveHalfway, - eEventHit, - eEventButtonPressAction, - eEventEvaluate, - eEventTrue, - eEventFalse, - eEventPadPressX, - eEventPadPressSquare, - eEventPadPressO, - eEventPadPressTriangle, - eEventPadPressL1, - eEventPadPressL2, - eEventPadPressR1, - eEventPadPressR2, - eEventPadPressStart, - eEventPadPressSelect, - eEventPadPressUp, - eEventPadPressDown, - eEventPadPressRight, - eEventPadPressLeft, - eEventFontBackdropOn, - eEventFontBackdropOff, - eEventUISelect, - eEventUIUnselect, - eEventUIFocusOn, - eEventUIFocusOff, - eEventCollisionOn, - eEventCollisionOff, - eEventCollision_Visible_On, - eEventCollision_Visible_Off, - eEventSceneBegin, - eEventSceneEnd, - eEventRoomBegin, - eEventRoomEnd, - eEventLobMasterShoot, - eEventLobMasterReset, - eEventFallToDeath, - eEventUIFocusOn_Select, - eEventUIFocusOff_Unselect, - eEventDispatcher_PadCfg_PresetA, - eEventDispatcher_PadCfg_PresetB, - eEventDispatcher_PadCfg_PresetC, - eEventDispatcher_PadCfg_PresetD, - eEventDispatcher_PadVibrateOn, - eEventDispatcher_PadVibrateOff, - eEventDispatcher_SoundMono, - eEventDispatcher_SoundStereo, - eEventDispatcher_SoundMasterIncrease, - eEventDispatcher_SoundMasterDecrease, - eEventDispatcher_SoundMusicIncrease, - eEventDispatcher_SoundMusicDecrease, - eEventDispatcher_SoundSFXIncrease, - eEventDispatcher_SoundSFXDecrease, - eEventDispatcher_IntroState_Sony, - eEventDispatcher_IntroState_Publisher, - eEventDispatcher_IntroState_Developer, - eEventDispatcher_IntroState_License, - eEventDispatcher_IntroState_Count, - eEventDispatcher_TitleState_Start, - eEventDispatcher_TitleState_Attract, - eEventDispatcher_TitleState_Count, - eEventDispatcher_LoadState_SelectMemCard, - eEventDispatcher_LoadState_SelectSlot, - eEventDispatcher_LoadState_Loading, - eEventDispatcher_LoadState_Count, - eEventDispatcher_OptionsState_Options, - eEventDispatcher_OptionsState_Count, - eEventDispatcher_SaveState_SelectMemCard, - eEventDispatcher_SaveState_SelectSlot, - eEventDispatcher_SaveState_Saving, - eEventDispatcher_SaveState_Count, - eEventDispatcher_PauseState_Pause, - eEventDispatcher_PauseState_Options, - eEventDispatcher_PauseState_Count, - eEventDispatcher_GameState_FirstTime, - eEventDispatcher_GameState_Play, - eEventDispatcher_GameState_LoseChance, - eEventDispatcher_GameState_GameOver, - eEventDispatcher_GameState_SceneSwitch, - eEventDispatcher_GameState_Dead, - eEventDispatcher_SetIntroState_Sony, - eEventDispatcher_SetIntroState_Publisher, - eEventDispatcher_SetIntroState_Developer, - eEventDispatcher_SetIntroState_License, - eEventDispatcher_SetIntroState_Count, - eEventDispatcher_SetTitleState_Start, - eEventDispatcher_SetTitleState_Attract, - eEventDispatcher_SetTitleState_Count, - eEventDispatcher_SetLoadState_SelectMemCard, - eEventDispatcher_SetLoadState_SelectSlot, - eEventDispatcher_SetLoadState_Loading, - eEventDispatcher_SetLoadState_Count, - eEventDispatcher_SetOptionsState_Options, - eEventDispatcher_SetOptionsState_Count, - eEventDispatcher_SetSaveState_SelectMemCard, - eEventDispatcher_SetSaveState_SelectSlot, - eEventDispatcher_SetSaveState_Saving, - eEventDispatcher_SetSaveState_Count, - eEventDispatcher_SetPauseState_Pause, - eEventDispatcher_SetPauseState_Options, - eEventDispatcher_SetPauseState_Count, - eEventDispatcher_SetGameState_FirstTime, - eEventDispatcher_SetGameState_Play, - eEventDispatcher_SetGameState_LoseChance, - eEventDispatcher_SetGameState_GameOver, - eEventDispatcher_SetGameState_SceneSwitch, - eEventDispatcher_SetGameState_Dead, - eEventDigup, - eEventDispatcher_GameState_Exit, - eEventDispatcher_SetGameState_Exit, - eEventLobMasterShootFromWidget, - eEventDispatcher_SLBack, - eEventDispatcher_SLCancel, - eEventDispatcher_SLRetry, - eEventDispatcher_SLSelectCard, - eEventDispatcher_SLSelectSlot, - eEventDispatcher_SLOkay, - eEventVilHurtBoss, - eEventAttack, - eEventAttackOn, - eEventAttackOff, - eEventDrop, - eEventUIAddChar, - eEventUIDelChar, - eEventUIStringEmpty, - eEventUIStringFull, - eEventUISendStringAsCheat, - eEventUISetMaxChars, - eEventUICheatOK, - eEventUICheatBad, - eEventVilReport_StartingChase, - eEventVilReport_StartingAttack, - eEventVilReport_StartingRetreat, - eEventPreload, - eEventDone, - eEventArcto, - eEventDigupReaction, - eEventDispatcher_StoreCheckPoint, - eEventAnimPlay, - eEventAnimPlayLoop, - eEventAnimStop, - eEventAnimPause, - eEventAnimResume, - eEventAnimTogglePause, - eEventAnimPlayRandom, - eEventAnimPlayMaybe, - eEventSetSpeed, - eEventAccelerate, - eEventMoveToTarget, - eEventSwingerFollow, - eEventImpact, - eEventStartTimer, - eEventFinishedTimer, - eEventUIReset, - eEventSetScaleFactor, - eEventEnterEntity, - eEventExitEntity, - eEventEnterEntityFLAG, - eEventExitEntityFLAG, - eEventDrivenby, - eEventFollowTarget, - eEventFaceTarget, - eEventWatchTarget, - eEventCarChangeLaneRight, - eEventCarChangeLaneLeft, - eEventCarStart, - eEventCarSetSwerveMode, - eEventIncreaseSpeed, - eEventDecreaseSpeed, - eEventStartMoving, - eEventStopMoving, - eEventSwoosh, - eEventTurretDestroyed, - eEventNPCSpeakStop, - eEventStartRumbleEffect, - eEventNavigateTo, - eEventNPCSpeakStart, - eEventNPCAlert, - eEventNPCPatrolDelay, - eEventNPCScrambleActionEnd, - eEventVilFakeChaseOff, - eEventBossMMPushButton, - eEventVilReport_DecayComplete, - eEventVilGuardWidget, - eEventTextureAnimateOn, - eEventTextureAnimateOff, - eEventTextureAnimateToggle, - eEventColorEffectOn, - eEventColorEffectOff, - eEventColorEffectToggle, - eEventSetTextureAnimGroup, - eEventSetTextureAnimSpeed, - eEventTextureAnimateStep, - eEventEmit, - eEventEmitted, - eEventTranslucentOn, - eEventTranslucentOff, - eEventTranslucentToggle, - eEventZipLineEnvDamage, - eEventVilGangTalkOff, - eEventGivePowerUp, - eEventRaceTimerReset, - eEventFireCruiseBubble, - eEventCarSuccessAnimPlay, - eEventCarFailureAnimPlay, - eEventDisableGroupContents, - eEventNPCCharge, - eEventOccludeOn, - eEventOccludeOff, - eEventRaceTimerPause, - eEventRaceTimerResume, - eEventRaceTimerSetBestTime, - eEventRaceTimerWarning1, - eEventRaceTimerWarning2, - eEventRaceTimerWarning3, - eEventRingChallengeStart, - eEventCarStop, - eEventRingChallengeRun, - eEventRingChallengeReset, - eEventRingChallengeSuccess, - eEventRingChallengeFailed, - eEventFormationChanged, - eEventChargeResume, - eEventChargePause, - eEventNPCChargeStop, - eEventNPCChargeCompleted, - eEventFormationChargeStart, - eEventSituationPlayerSuccess, - eEventSituationPlayerFailure, - eEventDispatcher_ShowHud, - eEventDispatcher_HideHud, - eEventDispatcher_FadeOut, - eEventSetRain, - eEventSetSnow, - eEventScriptNoop, - eEventScriptReset, - eEventWaitForInput, - eEventPlayMovie, - eEventCelebrationAnimPlay, - eEventDispatcher_SetGameState_GameStats, - eEventMusicNewSong, - eEventForward, - eEventReverse, - eEventDeprecatedRumbleTest, - eEventDeprecatedRumbleLight, - eEventDeprecatedRumbleMedium, - eEventDeprecatedRumbleHeavy, - eEventDispatcherScreenAdjustON, - eEventDispatcherScreenAdjustOFF, - eEventSetSkyDome, - eEventConnectToChild, - eEventDuploWaveBegin, - eEventDuploWaveComplete, - eEventDuploNPCBorn, - eEventDuploNPCKilled, - eEventDuploExpiredMaxNPC, - eEventDuploPause, - eEventDuploResume, - eEventSetGoo, - eEventNPCScript_ScriptBegin, - eEventNPCScript_ScriptEnd, - eEventNPCScript_ScriptReady, - eEventNPCScript_Halt, - eEventNPCScript_SetPos, - eEventNPCScript_SetDir, - eEventNPCScript_LookNormal, - eEventNPCScript_LookAlert, - eEventNPCScript_FaceWidget, - eEventNPCScript_FaceWidgetDone, - eEventNPCScript_GotoWidget, - eEventNPCScript_GotoWidgetDone, - eEventNPCScript_AttackWidget, - eEventNPCScript_AttackWidgetDone, - eEventNPCScript_FollowWidget, - eEventNPCScript_PlayAnim, - eEventNPCScript_PlayAnimDone, - eEventNPCScript_LeadPlayer, - eEventSetText, - eEventStartConversation, - eEventEndConversation, - eEventSwitch, - eEventAddText, - eEventClearText, - eEventOpenTBox, - eEventCloseTBox, - eEventTalkBox_OnSignal0, - eEventTalkBox_OnSignal1, - eEventTalkBox_OnSignal2, - eEventTalkBox_OnSignal3, - eEventTalkBox_OnSignal4, - eEventTalkBox_OnSignal5, - eEventTalkBox_OnSignal6, - eEventTalkBox_OnSignal7, - eEventTalkBox_OnSignal8, - eEventTalkBox_OnSignal9, - eEventTalkBox_StopWait, - eEventTalkBox_OnStart, - eEventTalkBox_OnStop, - eEventHit_Melee, - eEventHit_BubbleBounce, - eEventHit_BubbleBash, - eEventHit_BubbleBowl, - eEventHit_PatrickSlam, - eEventHit_Throw, - eEventHit_PaddleLeft, - eEventHit_PaddleRight, - eEventTaskBox_Initiate, - eEventTaskBox_SetSuccess, - eEventTaskBox_SetFailure, - eEventTaskBox_OnAccept, - eEventTaskBox_OnDecline, - eEventTaskBox_OnComplete, - eEventGenerateBoulder, - eEventLaunchBoulderAtWidget, - eEventLaunchBoulderAtPoint, - eEventLaunchBoulderAtPlayer, - eEventDuploSuperDuperDone, - eEventDuploDuperIsDoner, - eEventBusStopSwitchChr, - eEventGroupUpdateTogether, - eEventSetUpdateDistance, - eEventTranslLocalX, - eEventTranslLocalY, - eEventTranslLocalZ, - eEventTranslWorldX, - eEventTranslWorldY, - eEventTranslWorldZ, - eEventRotLocalX, - eEventRotLocalY, - eEventRotLocalZ, - eEventRotWorldX, - eEventRotWorldY, - eEventRotWorldZ, - eEventTranslLocalXDone, - eEventTranslLocalYDone, - eEventTranslLocalZDone, - eEventTranslWorldXDone, - eEventTranslWorldYDone, - eEventTranslWorldZDone, - eEventRotLocalXDone, - eEventRotLocalYDone, - eEventRotLocalZDone, - eEventRotWorldXDone, - eEventRotWorldYDone, - eEventRotWorldZDone, - eEventCount1, - eEventCount2, - eEventCount3, - eEventCount4, - eEventCount5, - eEventCount6, - eEventCount7, - eEventCount8, - eEventCount9, - eEventCount10, - eEventCount11, - eEventCount12, - eEventCount13, - eEventCount14, - eEventCount15, - eEventCount16, - eEventCount17, - eEventCount18, - eEventCount19, - eEventCount20, - eEventSetState, - eEventEnterSpongeBob, - eEventEnterPatrick, - eEventEnterSandyUNUSED, - eEventExitSpongeBob, - eEventExitPatrick, - eEventExitSandyUNUSED, - eEventNPCSpecial_PlatformSnap, - eEventNPCSpecial_PlatformFall, - eEventGooSetWarb, - eEventGooSetFreezeDuration, - eEventGooMelt, - eEventSetStateRange, - eEventSetStateDelay, - eEventSetTransitionDelay, - eEventNPCFightOn, - eEventNPCFightOff, - eEventNPCSplineOKOn, - eEventNPCSplineOKOff, - eEventNPCKillQuietly, - eEventHitHead, - eEventHitUpperBody, - eEventHitLeftArm, - eEventHitRightArm, - eEventHitLeftLeg, - eEventHitRightLeg, - eEventHitLowerBody, - eEventGiveCurrLevelSocks, - eEventGiveCurrLevelPickup, - eEventSetCurrLevelSocks, - eEventSetCurrLevelPickup, - eEventTalkBox_OnYes, - eEventTalkBox_OnNo, - eEventHit_Cruise, - eEventDuploKillKids, - eEventTalkBox_OnSignal10, - eEventTalkBox_OnSignal11, - eEventTalkBox_OnSignal12, - eEventTalkBox_OnSignal13, - eEventTalkBox_OnSignal14, - eEventTalkBox_OnSignal15, - eEventTalkBox_OnSignal16, - eEventTalkBox_OnSignal17, - eEventTalkBox_OnSignal18, - eEventTalkBox_OnSignal19, - eEventSpongeballOn, - eEventSpongeballOff, - eEventLaunchShrapnel, - eEventNPCHPIncremented, - eEventNPCHPDecremented, - eEventNPCSetActiveOn, - eEventNPCSetActiveOff, - eEventPlrSwitchCharacter, - eEventLevelBegin, - eEventSceneReset, - eEventSceneEnter, - eEventSituationDestroyedTiki, - eEventSituationDestroyedRobot, - eEventSituationSeeWoodTiki, - eEventSituationSeeLoveyTiki, - eEventSituationSeeShhhTiki, - eEventSituationSeeThunderTiki, - eEventSituationSeeStoneTiki, - eEventSituationSeeFodder, - eEventSituationSeeHammer, - eEventSituationSeeTarTar, - eEventSituationSeeGLove, - eEventSituationSeeMonsoon, - eEventSituationSeeSleepyTime, - eEventSituationSeeArf, - eEventSituationSeeTubelets, - eEventSituationSeeSlick, - eEventSituationSeeKingJellyfish, - eEventSituationSeePrawn, - eEventSituationSeeDutchman, - eEventSituationSeeSandyBossUNUSED, - eEventSituationSeePatrickBoss, - eEventSituationSeeSpongeBobBoss, - eEventSituationSeeRobotPlankton, - eEventUIChangeTexture, - eEventNPCCheerForMe, - eEventFastVisible, - eEventFastInvisible, - eEventZipLineMount, - eEventZipLineDismount, - eEventTarget, - eEventFire, - eEventCameraFXShake, - eEventBulletTime, - eEventThrown, - eEventNPCPatrol, - eEventEnterCruise, - eEventExitCruise, - eEventCruiseFired, - eEventCruiseDied, - eEventCruiseAddLife, - eEventCruiseSetLife, - eEventCruiseResetLife, - eEventCameraCollideOff, - eEventCameraCollideOn, - eEventOnSliding, - eEventOffSliding, - eEventTimerSet, - eEventTimerAdd, - eEventNPCForceConverseStart, - eEventMakeASplash, - eEventCreditsStart, - eEventCreditsStop, - eEventCreditsEnded, - eEventBubbleWipe, - eEventSetLightKit, - eEventSetOpacity, - eEventDispatcher_SetSoundEffect, - eEventScale, - eEventSetReference, - eEventWarpSetWorld, - eEventWarpSetTask, - eEventWarpGo, - eEventSetCount, - eEventGetDashSpeed, - eEventDashTrip, - eEventDashBurst, - eEventDashFast, - eEventDashNormal, - eEventDashSlow, - eEventTakeSocks, - eEventDispatcherAssert, - eEventBorn, - eEventPlatPause, - eEventPlatUnpause, - eEventStoreOptions, - eEventRestoreOptions, - eEventUISetMotion, - eEventUIMotionFinished, - eEventUIMotionLoop, - eEventDestructibleLaunch, - eEventDestructibleRespawn, - eEventKaboomStart, - eEventKaboomStop, - eEventNPCAttack, - eEventNPCDefend, - eEventTrainCarSpeed, - eEventTrainJunctOut1, - eEventTrainJunctOut2, - eEventTrainJunctSwitch, - eEventTrainJunctPassed, - eEventTrainCarDetach, - eEventTrainCarExplode, - eEventNet_InitNetAPI, - eEventNet_UpdateConnection, - eEventNet_UpdateOnlineTask, - eEventNet_UpdateUserList, - eEventNet_CheckForNewContent, - eEventNet_SelectDevice, - eEventNet_SelectContent, - eEventNet_VerifyContent, - eEventNet_RemoveContent, - eEventNet_SelectDeviceAfterRemove, - eEventNet_ConfirmUseContentIdx, - eEventNet_ConfirmNoUseContentIdx, - eEventNet_NoContentInstalled, - eEventNet_NoContentAvailable, - eEventNet_NewContentAvailable, - eEventSceneEnableDraw, - eEventSceneDisableDraw, - eEventLightningStart, - eEventLightningStop, - eEventChangeBossUIStage, - eEventStaticCameraStart, - eEventStaticCameraEnd, - eEventSetCameraStartOrientation, - eEventNMESetMovepointPath, - eEventNMEScareBegin, - eEventNMEScareSkip, - eEventNMESetMovepointGroup, - eEventVentSetStateIdle, - eEventVentSetStateWarn, - eEventVentSetStateDamage, - eEventVentSetStateOff, - eEventWaterhoseStart, - eEventWaterhoseStop, - eEventWaterhoseSetLength, - eEventCarried, - eEventExplode, - eEventJumpTo, - eEventJumpOnSpawn, - eEventPlayerHit, - eEventStartFade, - eEventFadeDownDone, - eEventFadeUpDone, - eEventBounce, - eEventLaunchNPC, - eEventUpgradePowerUp, - eEventBulletStreak, - eEventSetFollowCameraOrientation, - eEventHDRFade, - eEventStart, - eEventSuccess, - eEventFailure, - eEventEnableRestore, - eEventDisableRestore, - eEventNPCSpawn, - eEventSpawnDone, - eEventSpawnedNPCKilled, - eEventSpawnedNPCNoHealth, - eEventSpawnedNPCAllKilled, - eEventSpawnedNPCAllNoHealth, - eEventDashTimerSet, - eEventDashNotOutOfTime, - eEventDashOutOfTime, - eEventForceSceneReset, - eEventNPCActive, - eEventNPCInactive, - eEventDuplicatorActive, - eEventDuplicatorInactive, - eEventDashEnterTunnel, - eEventDashExitTunnel, - eEventStopRumbleEffect, - eEventDashChaseLasersOn, - eEventDashChaseLasersOff, - eEventJumpRandomOnSpawn, - eEventHit_Cartwheel, - eEventUIVisible_FocusOn_Select, - eEventUIFocusOff_Unselect_Invisible, - eEventCopyReference, - eEventUIMotionFinishedIn, - eEventUIMotionFinishedOut, - eEventUISignalActivateScreen, - eEventUISignalDeactivateScreen, - eEventUISignalActivatedScreen, - eEventUISignalSwitchScreens, - eEventUISignalStartFadeOut, - eEventUISignalStartFadeIn, - eEventUISignalScreenMotionInDone, - eEventUISignalScreenMotionOutDone, - eEventUISignalMainBoxInDone, - eEventUISignalMainBoxOutDone, - eEventUIResetMotion, - eEventUIEnableHDR, - eEventUIDisableHDR, - eEventUIBrighten, - eEventUIUnbrighten, - eEventUISignalDeactivatedScreen, - eEventNPCDetectAlways, - eEventNPCDetectNever, - eEventNPCDetectNormal, - eEventNPCFightDefault, - eEventCameraCollidePartial, - eEventMusicTempSong, - eEvaluateCounterValue, - eEventCount0, - eEventRotToAbsoluteX, - eEventRotToAbsoluteY, - eEventRotToAbsoluteZ, - eEventTriggerAnim, - eEventTriggeredAnimDone, - eEventUISignalMore, - eEventUISignalNoMore, - eEventUISignalLess, - eEventUISignalNoLess, - eEventUISignalUp, - eEventUISignalDown, - eEventUISignalSyncToCurrent, - eEventUISignalEffect, - eEventFreezePlayer, - eEventUnfreezePlayer, - eEventUISignalMapStart, - eEventUISignalMapEnd, - eEventTransToAbsoluteX, - eEventTransToAbsoluteY, - eEventTransToAbsoluteZ, - eEventJSPVisibilityIncrement, - eEventJSPVisibilityDecrement, - eEventEnterCamera, - eEventExitCamera, - eEventPadPressE, - eEventSetDashJumpParameters, - eEventViperFacePlayer, - eEventViperFaceMovement, - eEventRequestStart, - eEventUIAutoMenuRun, - eEventUIAutoMenuRunUp, - eEventUIAutoMenuRunDown, - eEventUIAutoMenuRunLeft, - eEventUIAutoMenuRunRight, - eEventIncrementSuccess, - eEventDecrementSuccess, - eEventIncrementFailed, - eEventDecrementFailed, - eEventMusicTempSongStop, - eEventNPCScrambleActionBegin, - eEventNPCScrambleAlert, - eEventNPCSetTurretAttackRadius, - eEventGooFreezeStart, - eEventGooMeltStart, - eEventNPCNotice, - eEventBossStageSet, - eEventBossStageBegan, - eEventBossStageEnded, - eEventBossStageBeganA, - eEventBossStageEndedA, - eEventBossStageBeganB, - eEventBossStageEndedB, - eEventBossStageBeganC, - eEventBossStageEndedC, - eEventVisibilityCullOn, - eEventVisibilityCullOff, - eEventRBandCameraStart, - eEventRBandCameraEnd, - eEventMindyStart, - eEventMindyEnd, - eEventFlamethrowerStart, - eEventFlamethrowerStop, - eEventFlamethrowerSetLength, - eEventNPCTakeNoDamageOn, - eEventNPCTakeNoDamageOff, - eEventStaticCameraStartFOVFilter, - eEventStaticCameraRestoreFOV, - eEventUIXboxDemoExitToLauncher, - eEventSpawn, - eEventSpawned, - eEventCreditsSetDest, - eEventAllowAttractMode, - eEventDisallowAttractMode, - eEventRocketAttack, - eEventCollisionReset, - eEventAutoSave, - eEventOpenBonus, - eEventFlagLevel, - eEventLevelEnd, - eEventNet_GetLocalContentDevice, - eEventDispatcher_PauseGame_Safe, - eEventOverrideFreqency, - eEventResetFrequency, - eEventSetShotDelay, - eEventSetShotsInGroup, - eEventDispatcher_UserSelectYes, - eEventDispatcher_UserSelectNo, - eEventDispatcher_UserSelectBack, - eEventLaunchFireWorks, - eEventDispatcher_UserSelectionReset, - eEventSetAsBounceBack, - eEventUIResetUnlockables, - eEventUISysMessageWaitResponse, - eEventUISysMessageWaitConfirm, - eEventUISysMessageConfirm, - eEventUISysMessageAccept, - eEventUISysMessageDecline, - eEventSetAsBounceBack_Cancel, - eEventDispatcher_PauseGame, - eEventPattyWagonStartEngine, - eEventPattyWagonStopEngine, - eEventSpawnBubblesOn, - eEventSpawnBubblesOff, - eEventNet_XBLiveToggleSignIn, - eEventNet_XBLiveManageFriends, - eEventApplyOnResetOn, - eEventApplyOnResetOff, - eEventSnapTo, - eEventThrow, - eEventFirstZipLine, - eEventFirstLedgeGrab, - eEventFirstIncredimeterPickup, - eEventUISparkTrail, - eEventUIGetBattleScenes, - eEventUIBattleScenesAvailable, - eEventUIBattleScenesNotAvailable, - eEventNet_XBLiveToggleAppearOnline, - eEventSys_ReturnPrevScreen, - eEventSys_Nope, - eEventDispatcher_SubtitlesOn, - eEventDispatcher_SubtitlesOff, - eEventUISetBoxMapping, - eEventTBoxPlayerEjected, - eEventDamagePlayer, - eEventFirstHealthPickup, - eEventTokenPickupComplete, - eEventDispatcher_LoadSavePromptDead, - eEventUIFlipVisibility, - eEventNet_XBLiveRebootToDashboard, - eEventFirstPowerupPoint, - eEventCount + eEventUnknown, + eEventEnable, + eEventDisable, + eEventVisible, + eEventInvisible, + eEventEnterPlayer, + eEventExitPlayer, + eEventTouchPlayer, + eEventControlOff, + eEventControlOn, + eEventReset, + eEventIncrement, + eEventDecrement, + eEventOpen, + eEventClose, + eEventToggle, + eEventTeleportPlayer, + eEventOutOfBounds, + eEventRun, + eEventStop, + eEventExpired, + eEventMove, + eEventDestroy, + eEventPause, + eEventPlay, + eEventPlayOne, + eEventPlayMaybe, + eEventRoomStart, + eEventInvalidate, + eEventTilt, + eEventUntilt, + eEventArrive, + eEventMount, + eEventDismount, + eEventBreak, + eEventPickup, + eEventDeath, + eEventKill, + eEventOn, + eEventOff, + eEventNPCPatrolOn, + eEventNPCPatrolOff, + eEventNPCWanderOn, + eEventNPCWanderOff, + eEventNPCDetectOn, + eEventNPCDetectOff, + eEventNPCChaseOn, + eEventNPCChaseOff, + eEventNPCGoToSleep, + eEventNPCWakeUp, + eEventNPCRespawn, + eEventPlayerDeath, + eEventGiveChance, + eEventGiveShinyObjects, + eEventGiveHealth, + eEventPress, + eEventUnpress, + eEventArriveHalfway, + eEventHit, + eEventButtonPressAction, + eEventEvaluate, + eEventTrue, + eEventFalse, + eEventPadPressX, + eEventPadPressSquare, + eEventPadPressO, + eEventPadPressTriangle, + eEventPadPressL1, + eEventPadPressL2, + eEventPadPressR1, + eEventPadPressR2, + eEventPadPressStart, + eEventPadPressSelect, + eEventPadPressUp, + eEventPadPressDown, + eEventPadPressRight, + eEventPadPressLeft, + eEventFontBackdropOn, + eEventFontBackdropOff, + eEventUISelect, + eEventUIUnselect, + eEventUIFocusOn, + eEventUIFocusOff, + eEventCollisionOn, + eEventCollisionOff, + eEventCollision_Visible_On, + eEventCollision_Visible_Off, + eEventSceneBegin, + eEventSceneEnd, + eEventRoomBegin, + eEventRoomEnd, + eEventLobMasterShoot, + eEventLobMasterReset, + eEventFallToDeath, + eEventUIFocusOn_Select, + eEventUIFocusOff_Unselect, + eEventDispatcher_PadCfg_PresetA, + eEventDispatcher_PadCfg_PresetB, + eEventDispatcher_PadCfg_PresetC, + eEventDispatcher_PadCfg_PresetD, + eEventDispatcher_PadVibrateOn, + eEventDispatcher_PadVibrateOff, + eEventDispatcher_SoundMono, + eEventDispatcher_SoundStereo, + eEventDispatcher_SoundMasterIncrease, + eEventDispatcher_SoundMasterDecrease, + eEventDispatcher_SoundMusicIncrease, + eEventDispatcher_SoundMusicDecrease, + eEventDispatcher_SoundSFXIncrease, + eEventDispatcher_SoundSFXDecrease, + eEventDispatcher_IntroState_Sony, + eEventDispatcher_IntroState_Publisher, + eEventDispatcher_IntroState_Developer, + eEventDispatcher_IntroState_License, + eEventDispatcher_IntroState_Count, + eEventDispatcher_TitleState_Start, + eEventDispatcher_TitleState_Attract, + eEventDispatcher_TitleState_Count, + eEventDispatcher_LoadState_SelectMemCard, + eEventDispatcher_LoadState_SelectSlot, + eEventDispatcher_LoadState_Loading, + eEventDispatcher_LoadState_Count, + eEventDispatcher_OptionsState_Options, + eEventDispatcher_OptionsState_Count, + eEventDispatcher_SaveState_SelectMemCard, + eEventDispatcher_SaveState_SelectSlot, + eEventDispatcher_SaveState_Saving, + eEventDispatcher_SaveState_Count, + eEventDispatcher_PauseState_Pause, + eEventDispatcher_PauseState_Options, + eEventDispatcher_PauseState_Count, + eEventDispatcher_GameState_FirstTime, + eEventDispatcher_GameState_Play, + eEventDispatcher_GameState_LoseChance, + eEventDispatcher_GameState_GameOver, + eEventDispatcher_GameState_SceneSwitch, + eEventDispatcher_GameState_Dead, + eEventDispatcher_SetIntroState_Sony, + eEventDispatcher_SetIntroState_Publisher, + eEventDispatcher_SetIntroState_Developer, + eEventDispatcher_SetIntroState_License, + eEventDispatcher_SetIntroState_Count, + eEventDispatcher_SetTitleState_Start, + eEventDispatcher_SetTitleState_Attract, + eEventDispatcher_SetTitleState_Count, + eEventDispatcher_SetLoadState_SelectMemCard, + eEventDispatcher_SetLoadState_SelectSlot, + eEventDispatcher_SetLoadState_Loading, + eEventDispatcher_SetLoadState_Count, + eEventDispatcher_SetOptionsState_Options, + eEventDispatcher_SetOptionsState_Count, + eEventDispatcher_SetSaveState_SelectMemCard, + eEventDispatcher_SetSaveState_SelectSlot, + eEventDispatcher_SetSaveState_Saving, + eEventDispatcher_SetSaveState_Count, + eEventDispatcher_SetPauseState_Pause, + eEventDispatcher_SetPauseState_Options, + eEventDispatcher_SetPauseState_Count, + eEventDispatcher_SetGameState_FirstTime, + eEventDispatcher_SetGameState_Play, + eEventDispatcher_SetGameState_LoseChance, + eEventDispatcher_SetGameState_GameOver, + eEventDispatcher_SetGameState_SceneSwitch, + eEventDispatcher_SetGameState_Dead, + eEventDigup, + eEventDispatcher_GameState_Exit, + eEventDispatcher_SetGameState_Exit, + eEventLobMasterShootFromWidget, + eEventDispatcher_SLBack, + eEventDispatcher_SLCancel, + eEventDispatcher_SLRetry, + eEventDispatcher_SLSelectCard, + eEventDispatcher_SLSelectSlot, + eEventDispatcher_SLOkay, + eEventVilHurtBoss, + eEventAttack, + eEventAttackOn, + eEventAttackOff, + eEventDrop, + eEventUIAddChar, + eEventUIDelChar, + eEventUIStringEmpty, + eEventUIStringFull, + eEventUISendStringAsCheat, + eEventUISetMaxChars, + eEventUICheatOK, + eEventUICheatBad, + eEventVilReport_StartingChase, + eEventVilReport_StartingAttack, + eEventVilReport_StartingRetreat, + eEventPreload, + eEventDone, + eEventArcto, + eEventDigupReaction, + eEventDispatcher_StoreCheckPoint, + eEventAnimPlay, + eEventAnimPlayLoop, + eEventAnimStop, + eEventAnimPause, + eEventAnimResume, + eEventAnimTogglePause, + eEventAnimPlayRandom, + eEventAnimPlayMaybe, + eEventSetSpeed, + eEventAccelerate, + eEventMoveToTarget, + eEventSwingerFollow, + eEventImpact, + eEventStartTimer, + eEventFinishedTimer, + eEventUIReset, + eEventSetScaleFactor, + eEventEnterEntity, + eEventExitEntity, + eEventEnterEntityFLAG, + eEventExitEntityFLAG, + eEventDrivenby, + eEventFollowTarget, + eEventFaceTarget, + eEventWatchTarget, + eEventCarChangeLaneRight, + eEventCarChangeLaneLeft, + eEventCarStart, + eEventCarSetSwerveMode, + eEventIncreaseSpeed, + eEventDecreaseSpeed, + eEventStartMoving, + eEventStopMoving, + eEventSwoosh, + eEventTurretDestroyed, + eEventNPCSpeakStop, + eEventStartRumbleEffect, + eEventNavigateTo, + eEventNPCSpeakStart, + eEventNPCAlert, + eEventNPCPatrolDelay, + eEventNPCScrambleActionEnd, + eEventVilFakeChaseOff, + eEventBossMMPushButton, + eEventVilReport_DecayComplete, + eEventVilGuardWidget, + eEventTextureAnimateOn, + eEventTextureAnimateOff, + eEventTextureAnimateToggle, + eEventColorEffectOn, + eEventColorEffectOff, + eEventColorEffectToggle, + eEventSetTextureAnimGroup, + eEventSetTextureAnimSpeed, + eEventTextureAnimateStep, + eEventEmit, + eEventEmitted, + eEventTranslucentOn, + eEventTranslucentOff, + eEventTranslucentToggle, + eEventZipLineEnvDamage, + eEventVilGangTalkOff, + eEventGivePowerUp, + eEventRaceTimerReset, + eEventFireCruiseBubble, + eEventCarSuccessAnimPlay, + eEventCarFailureAnimPlay, + eEventDisableGroupContents, + eEventNPCCharge, + eEventOccludeOn, + eEventOccludeOff, + eEventRaceTimerPause, + eEventRaceTimerResume, + eEventRaceTimerSetBestTime, + eEventRaceTimerWarning1, + eEventRaceTimerWarning2, + eEventRaceTimerWarning3, + eEventRingChallengeStart, + eEventCarStop, + eEventRingChallengeRun, + eEventRingChallengeReset, + eEventRingChallengeSuccess, + eEventRingChallengeFailed, + eEventFormationChanged, + eEventChargeResume, + eEventChargePause, + eEventNPCChargeStop, + eEventNPCChargeCompleted, + eEventFormationChargeStart, + eEventSituationPlayerSuccess, + eEventSituationPlayerFailure, + eEventDispatcher_ShowHud, + eEventDispatcher_HideHud, + eEventDispatcher_FadeOut, + eEventSetRain, + eEventSetSnow, + eEventScriptNoop, + eEventScriptReset, + eEventWaitForInput, + eEventPlayMovie, + eEventCelebrationAnimPlay, + eEventDispatcher_SetGameState_GameStats, + eEventMusicNewSong, + eEventForward, + eEventReverse, + eEventDeprecatedRumbleTest, + eEventDeprecatedRumbleLight, + eEventDeprecatedRumbleMedium, + eEventDeprecatedRumbleHeavy, + eEventDispatcherScreenAdjustON, + eEventDispatcherScreenAdjustOFF, + eEventSetSkyDome, + eEventConnectToChild, + eEventDuploWaveBegin, + eEventDuploWaveComplete, + eEventDuploNPCBorn, + eEventDuploNPCKilled, + eEventDuploExpiredMaxNPC, + eEventDuploPause, + eEventDuploResume, + eEventSetGoo, + eEventNPCScript_ScriptBegin, + eEventNPCScript_ScriptEnd, + eEventNPCScript_ScriptReady, + eEventNPCScript_Halt, + eEventNPCScript_SetPos, + eEventNPCScript_SetDir, + eEventNPCScript_LookNormal, + eEventNPCScript_LookAlert, + eEventNPCScript_FaceWidget, + eEventNPCScript_FaceWidgetDone, + eEventNPCScript_GotoWidget, + eEventNPCScript_GotoWidgetDone, + eEventNPCScript_AttackWidget, + eEventNPCScript_AttackWidgetDone, + eEventNPCScript_FollowWidget, + eEventNPCScript_PlayAnim, + eEventNPCScript_PlayAnimDone, + eEventNPCScript_LeadPlayer, + eEventSetText, + eEventStartConversation, + eEventEndConversation, + eEventSwitch, + eEventAddText, + eEventClearText, + eEventOpenTBox, + eEventCloseTBox, + eEventTalkBox_OnSignal0, + eEventTalkBox_OnSignal1, + eEventTalkBox_OnSignal2, + eEventTalkBox_OnSignal3, + eEventTalkBox_OnSignal4, + eEventTalkBox_OnSignal5, + eEventTalkBox_OnSignal6, + eEventTalkBox_OnSignal7, + eEventTalkBox_OnSignal8, + eEventTalkBox_OnSignal9, + eEventTalkBox_StopWait, + eEventTalkBox_OnStart, + eEventTalkBox_OnStop, + eEventHit_Melee, + eEventHit_BubbleBounce, + eEventHit_BubbleBash, + eEventHit_BubbleBowl, + eEventHit_PatrickSlam, + eEventHit_Throw, + eEventHit_PaddleLeft, + eEventHit_PaddleRight, + eEventTaskBox_Initiate, + eEventTaskBox_SetSuccess, + eEventTaskBox_SetFailure, + eEventTaskBox_OnAccept, + eEventTaskBox_OnDecline, + eEventTaskBox_OnComplete, + eEventGenerateBoulder, + eEventLaunchBoulderAtWidget, + eEventLaunchBoulderAtPoint, + eEventLaunchBoulderAtPlayer, + eEventDuploSuperDuperDone, + eEventDuploDuperIsDoner, + eEventBusStopSwitchChr, + eEventGroupUpdateTogether, + eEventSetUpdateDistance, + eEventTranslLocalX, + eEventTranslLocalY, + eEventTranslLocalZ, + eEventTranslWorldX, + eEventTranslWorldY, + eEventTranslWorldZ, + eEventRotLocalX, + eEventRotLocalY, + eEventRotLocalZ, + eEventRotWorldX, + eEventRotWorldY, + eEventRotWorldZ, + eEventTranslLocalXDone, + eEventTranslLocalYDone, + eEventTranslLocalZDone, + eEventTranslWorldXDone, + eEventTranslWorldYDone, + eEventTranslWorldZDone, + eEventRotLocalXDone, + eEventRotLocalYDone, + eEventRotLocalZDone, + eEventRotWorldXDone, + eEventRotWorldYDone, + eEventRotWorldZDone, + eEventCount1, + eEventCount2, + eEventCount3, + eEventCount4, + eEventCount5, + eEventCount6, + eEventCount7, + eEventCount8, + eEventCount9, + eEventCount10, + eEventCount11, + eEventCount12, + eEventCount13, + eEventCount14, + eEventCount15, + eEventCount16, + eEventCount17, + eEventCount18, + eEventCount19, + eEventCount20, + eEventSetState, + eEventEnterSpongeBob, + eEventEnterPatrick, + eEventEnterSandyUNUSED, + eEventExitSpongeBob, + eEventExitPatrick, + eEventExitSandyUNUSED, + eEventNPCSpecial_PlatformSnap, + eEventNPCSpecial_PlatformFall, + eEventGooSetWarb, + eEventGooSetFreezeDuration, + eEventGooMelt, + eEventSetStateRange, + eEventSetStateDelay, + eEventSetTransitionDelay, + eEventNPCFightOn, + eEventNPCFightOff, + eEventNPCSplineOKOn, + eEventNPCSplineOKOff, + eEventNPCKillQuietly, + eEventHitHead, + eEventHitUpperBody, + eEventHitLeftArm, + eEventHitRightArm, + eEventHitLeftLeg, + eEventHitRightLeg, + eEventHitLowerBody, + eEventGiveCurrLevelSocks, + eEventGiveCurrLevelPickup, + eEventSetCurrLevelSocks, + eEventSetCurrLevelPickup, + eEventTalkBox_OnYes, + eEventTalkBox_OnNo, + eEventHit_Cruise, + eEventDuploKillKids, + eEventTalkBox_OnSignal10, + eEventTalkBox_OnSignal11, + eEventTalkBox_OnSignal12, + eEventTalkBox_OnSignal13, + eEventTalkBox_OnSignal14, + eEventTalkBox_OnSignal15, + eEventTalkBox_OnSignal16, + eEventTalkBox_OnSignal17, + eEventTalkBox_OnSignal18, + eEventTalkBox_OnSignal19, + eEventSpongeballOn, + eEventSpongeballOff, + eEventLaunchShrapnel, + eEventNPCHPIncremented, + eEventNPCHPDecremented, + eEventNPCSetActiveOn, + eEventNPCSetActiveOff, + eEventPlrSwitchCharacter, + eEventLevelBegin, + eEventSceneReset, + eEventSceneEnter, + eEventSituationDestroyedTiki, + eEventSituationDestroyedRobot, + eEventSituationSeeWoodTiki, + eEventSituationSeeLoveyTiki, + eEventSituationSeeShhhTiki, + eEventSituationSeeThunderTiki, + eEventSituationSeeStoneTiki, + eEventSituationSeeFodder, + eEventSituationSeeHammer, + eEventSituationSeeTarTar, + eEventSituationSeeGLove, + eEventSituationSeeMonsoon, + eEventSituationSeeSleepyTime, + eEventSituationSeeArf, + eEventSituationSeeTubelets, + eEventSituationSeeSlick, + eEventSituationSeeKingJellyfish, + eEventSituationSeePrawn, + eEventSituationSeeDutchman, + eEventSituationSeeSandyBossUNUSED, + eEventSituationSeePatrickBoss, + eEventSituationSeeSpongeBobBoss, + eEventSituationSeeRobotPlankton, + eEventUIChangeTexture, + eEventNPCCheerForMe, + eEventFastVisible, + eEventFastInvisible, + eEventZipLineMount, + eEventZipLineDismount, + eEventTarget, + eEventFire, + eEventCameraFXShake, + eEventBulletTime, + eEventThrown, + eEventNPCPatrol, + eEventEnterCruise, + eEventExitCruise, + eEventCruiseFired, + eEventCruiseDied, + eEventCruiseAddLife, + eEventCruiseSetLife, + eEventCruiseResetLife, + eEventCameraCollideOff, + eEventCameraCollideOn, + eEventOnSliding, + eEventOffSliding, + eEventTimerSet, + eEventTimerAdd, + eEventNPCForceConverseStart, + eEventMakeASplash, + eEventCreditsStart, + eEventCreditsStop, + eEventCreditsEnded, + eEventBubbleWipe, + eEventSetLightKit, + eEventSetOpacity, + eEventDispatcher_SetSoundEffect, + eEventScale, + eEventSetReference, + eEventWarpSetWorld, + eEventWarpSetTask, + eEventWarpGo, + eEventSetCount, + eEventGetDashSpeed, + eEventDashTrip, + eEventDashBurst, + eEventDashFast, + eEventDashNormal, + eEventDashSlow, + eEventTakeSocks, + eEventDispatcherAssert, + eEventBorn, + eEventPlatPause, + eEventPlatUnpause, + eEventStoreOptions, + eEventRestoreOptions, + eEventUISetMotion, + eEventUIMotionFinished, + eEventUIMotionLoop, + eEventDestructibleLaunch, + eEventDestructibleRespawn, + eEventKaboomStart, + eEventKaboomStop, + eEventNPCAttack, + eEventNPCDefend, + eEventTrainCarSpeed, + eEventTrainJunctOut1, + eEventTrainJunctOut2, + eEventTrainJunctSwitch, + eEventTrainJunctPassed, + eEventTrainCarDetach, + eEventTrainCarExplode, + eEventNet_InitNetAPI, + eEventNet_UpdateConnection, + eEventNet_UpdateOnlineTask, + eEventNet_UpdateUserList, + eEventNet_CheckForNewContent, + eEventNet_SelectDevice, + eEventNet_SelectContent, + eEventNet_VerifyContent, + eEventNet_RemoveContent, + eEventNet_SelectDeviceAfterRemove, + eEventNet_ConfirmUseContentIdx, + eEventNet_ConfirmNoUseContentIdx, + eEventNet_NoContentInstalled, + eEventNet_NoContentAvailable, + eEventNet_NewContentAvailable, + eEventSceneEnableDraw, + eEventSceneDisableDraw, + eEventLightningStart, + eEventLightningStop, + eEventChangeBossUIStage, + eEventStaticCameraStart, + eEventStaticCameraEnd, + eEventSetCameraStartOrientation, + eEventNMESetMovepointPath, + eEventNMEScareBegin, + eEventNMEScareSkip, + eEventNMESetMovepointGroup, + eEventVentSetStateIdle, + eEventVentSetStateWarn, + eEventVentSetStateDamage, + eEventVentSetStateOff, + eEventWaterhoseStart, + eEventWaterhoseStop, + eEventWaterhoseSetLength, + eEventCarried, + eEventExplode, + eEventJumpTo, + eEventJumpOnSpawn, + eEventPlayerHit, + eEventStartFade, + eEventFadeDownDone, + eEventFadeUpDone, + eEventBounce, + eEventLaunchNPC, + eEventUpgradePowerUp, + eEventBulletStreak, + eEventSetFollowCameraOrientation, + eEventHDRFade, + eEventStart, + eEventSuccess, + eEventFailure, + eEventEnableRestore, + eEventDisableRestore, + eEventNPCSpawn, + eEventSpawnDone, + eEventSpawnedNPCKilled, + eEventSpawnedNPCNoHealth, + eEventSpawnedNPCAllKilled, + eEventSpawnedNPCAllNoHealth, + eEventDashTimerSet, + eEventDashNotOutOfTime, + eEventDashOutOfTime, + eEventForceSceneReset, + eEventNPCActive, + eEventNPCInactive, + eEventDuplicatorActive, + eEventDuplicatorInactive, + eEventDashEnterTunnel, + eEventDashExitTunnel, + eEventStopRumbleEffect, + eEventDashChaseLasersOn, + eEventDashChaseLasersOff, + eEventJumpRandomOnSpawn, + eEventHit_Cartwheel, + eEventUIVisible_FocusOn_Select, + eEventUIFocusOff_Unselect_Invisible, + eEventCopyReference, + eEventUIMotionFinishedIn, + eEventUIMotionFinishedOut, + eEventUISignalActivateScreen, + eEventUISignalDeactivateScreen, + eEventUISignalActivatedScreen, + eEventUISignalSwitchScreens, + eEventUISignalStartFadeOut, + eEventUISignalStartFadeIn, + eEventUISignalScreenMotionInDone, + eEventUISignalScreenMotionOutDone, + eEventUISignalMainBoxInDone, + eEventUISignalMainBoxOutDone, + eEventUIResetMotion, + eEventUIEnableHDR, + eEventUIDisableHDR, + eEventUIBrighten, + eEventUIUnbrighten, + eEventUISignalDeactivatedScreen, + eEventNPCDetectAlways, + eEventNPCDetectNever, + eEventNPCDetectNormal, + eEventNPCFightDefault, + eEventCameraCollidePartial, + eEventMusicTempSong, + eEvaluateCounterValue, + eEventCount0, + eEventRotToAbsoluteX, + eEventRotToAbsoluteY, + eEventRotToAbsoluteZ, + eEventTriggerAnim, + eEventTriggeredAnimDone, + eEventUISignalMore, + eEventUISignalNoMore, + eEventUISignalLess, + eEventUISignalNoLess, + eEventUISignalUp, + eEventUISignalDown, + eEventUISignalSyncToCurrent, + eEventUISignalEffect, + eEventFreezePlayer, + eEventUnfreezePlayer, + eEventUISignalMapStart, + eEventUISignalMapEnd, + eEventTransToAbsoluteX, + eEventTransToAbsoluteY, + eEventTransToAbsoluteZ, + eEventJSPVisibilityIncrement, + eEventJSPVisibilityDecrement, + eEventEnterCamera, + eEventExitCamera, + eEventPadPressE, + eEventSetDashJumpParameters, + eEventViperFacePlayer, + eEventViperFaceMovement, + eEventRequestStart, + eEventUIAutoMenuRun, + eEventUIAutoMenuRunUp, + eEventUIAutoMenuRunDown, + eEventUIAutoMenuRunLeft, + eEventUIAutoMenuRunRight, + eEventIncrementSuccess, + eEventDecrementSuccess, + eEventIncrementFailed, + eEventDecrementFailed, + eEventMusicTempSongStop, + eEventNPCScrambleActionBegin, + eEventNPCScrambleAlert, + eEventNPCSetTurretAttackRadius, + eEventGooFreezeStart, + eEventGooMeltStart, + eEventNPCNotice, + eEventBossStageSet, + eEventBossStageBegan, + eEventBossStageEnded, + eEventBossStageBeganA, + eEventBossStageEndedA, + eEventBossStageBeganB, + eEventBossStageEndedB, + eEventBossStageBeganC, + eEventBossStageEndedC, + eEventVisibilityCullOn, + eEventVisibilityCullOff, + eEventRBandCameraStart, + eEventRBandCameraEnd, + eEventMindyStart, + eEventMindyEnd, + eEventFlamethrowerStart, + eEventFlamethrowerStop, + eEventFlamethrowerSetLength, + eEventNPCTakeNoDamageOn, + eEventNPCTakeNoDamageOff, + eEventStaticCameraStartFOVFilter, + eEventStaticCameraRestoreFOV, + eEventUIXboxDemoExitToLauncher, + eEventSpawn, + eEventSpawned, + eEventCreditsSetDest, + eEventAllowAttractMode, + eEventDisallowAttractMode, + eEventRocketAttack, + eEventCollisionReset, + eEventAutoSave, + eEventOpenBonus, + eEventFlagLevel, + eEventLevelEnd, + eEventNet_GetLocalContentDevice, + eEventDispatcher_PauseGame_Safe, + eEventOverrideFreqency, + eEventResetFrequency, + eEventSetShotDelay, + eEventSetShotsInGroup, + eEventDispatcher_UserSelectYes, + eEventDispatcher_UserSelectNo, + eEventDispatcher_UserSelectBack, + eEventLaunchFireWorks, + eEventDispatcher_UserSelectionReset, + eEventSetAsBounceBack, + eEventUIResetUnlockables, + eEventUISysMessageWaitResponse, + eEventUISysMessageWaitConfirm, + eEventUISysMessageConfirm, + eEventUISysMessageAccept, + eEventUISysMessageDecline, + eEventSetAsBounceBack_Cancel, + eEventDispatcher_PauseGame, + eEventPattyWagonStartEngine, + eEventPattyWagonStopEngine, + eEventSpawnBubblesOn, + eEventSpawnBubblesOff, + eEventNet_XBLiveToggleSignIn, + eEventNet_XBLiveManageFriends, + eEventApplyOnResetOn, + eEventApplyOnResetOff, + eEventSnapTo, + eEventThrow, + eEventFirstZipLine, + eEventFirstLedgeGrab, + eEventFirstIncredimeterPickup, + eEventUISparkTrail, + eEventUIGetBattleScenes, + eEventUIBattleScenesAvailable, + eEventUIBattleScenesNotAvailable, + eEventNet_XBLiveToggleAppearOnline, + eEventSys_ReturnPrevScreen, + eEventSys_Nope, + eEventDispatcher_SubtitlesOn, + eEventDispatcher_SubtitlesOff, + eEventUISetBoxMapping, + eEventTBoxPlayerEjected, + eEventDamagePlayer, + eEventFirstHealthPickup, + eEventTokenPickupComplete, + eEventDispatcher_LoadSavePromptDead, + eEventUIFlipVisibility, + eEventNet_XBLiveRebootToDashboard, + eEventFirstPowerupPoint, + eEventCount }; struct zNMEDriver { - xEnt* ent_driver; - float32 tym_mount; - xMat4x3 mat_parLast; - xMat4x3 mat_ownerLast; - struct - { - int32 flg_inContact : 1; - int32 flg_matchOrient : 1; - int32 flg_unused : 30; - }; + xEnt* ent_driver; + float32 tym_mount; + xMat4x3 mat_parLast; + xMat4x3 mat_ownerLast; + struct + { + int32 flg_inContact : 1; + int32 flg_matchOrient : 1; + int32 flg_unused : 30; + }; - void WheelTurnsYou_C(xMat4x3* mat_owner); - void ReviewCollide(xEntCollis* npccol); + void WheelTurnsYou_C(xMat4x3* mat_owner); + void ReviewCollide(xEntCollis* npccol); }; struct _anon17 @@ -6709,164 +6685,163 @@ struct _anon17 struct HAZIceCreamSplat : HAZBasic { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct pointer_asset : xDynAsset { - xVec3 loc; - float32 yaw; - float32 pitch; - float32 roll; + xVec3 loc; + float32 yaw; + float32 pitch; + float32 roll; }; struct zGlobalSettings { - uint16 AnalogMin; - uint16 AnalogMax; - float32 SundaeTime; - float32 SundaeMult; - uint32 InitialShinyCount; - uint32 InitialSpatulaCount; - int32 ShinyValuePurple; - int32 ShinyValueBlue; - int32 ShinyValueGreen; - int32 ShinyValueYellow; - int32 ShinyValueRed; - int32 ShinyValueCombo0; - int32 ShinyValueCombo1; - int32 ShinyValueCombo2; - int32 ShinyValueCombo3; - int32 ShinyValueCombo4; - int32 ShinyValueCombo5; - int32 ShinyValueCombo6; - int32 ShinyValueCombo7; - int32 ShinyValueCombo8; - int32 ShinyValueCombo9; - int32 ShinyValueCombo10; - int32 ShinyValueCombo11; - int32 ShinyValueCombo12; - int32 ShinyValueCombo13; - int32 ShinyValueCombo14; - int32 ShinyValueCombo15; - float32 ComboTimer; - uint32 Initial_Specials; - uint32 TakeDamage; - float32 DamageTimeHit; - float32 DamageTimeSurface; - float32 DamageTimeEGen; - float32 DamageSurfKnock; - float32 DamageGiveHealthKnock; - uint32 CheatSpongeball; - uint32 CheatPlayerSwitch; - uint32 CheatAlwaysPortal; - uint32 CheatFlyToggle; - uint32 FriendlySelectMode; - float32 RotMatchMaxAngle; - float32 RotMatchMatchTime; - float32 RotMatchRelaxTime; - float32 Gravity; - float32 BBashTime; - float32 BBashHeight; - float32 BBashDelay; - float32 BBashCVTime; - float32 BBounceSpeed; - float32 BBashGauntletDelay; - float32 BBashGauntletBlastRadius; - float32 BSpinMinFrame; - float32 BSpinMaxFrame; - float32 BSpinRadius; - float32 BSpinReach; - float32 BSpinReachUpgrade; - float32 CartwheelDamageSize; - float32 BubbleBowlTimeDelay; - float32 BubbleBowlLaunchPosLeft; - float32 BubbleBowlLaunchPosUp; - float32 BubbleBowlLaunchPosAt; - float32 BubbleBowlLaunchVelLeft; - float32 BubbleBowlLaunchVelUp; - float32 BubbleBowlLaunchVelAt; - float32 BubbleBowlPercentIncrease; - float32 BubbleBowlMinSpeed; - float32 BubbleBowlMinRecoverTime; - float32 SlideAccelVelMin; - float32 SlideAccelVelMax; - float32 SlideAccelStart; - float32 SlideAccelEnd; - float32 SlideAccelPlayerFwd; - float32 SlideAccelPlayerBack; - float32 SlideAccelPlayerSide; - float32 SlideVelMaxStart; - float32 SlideVelMaxEnd; - float32 SlideVelMaxIncTime; - float32 SlideVelMaxIncAccel; - float32 SlideAirHoldTime; - float32 SlideAirSlowTime; - float32 SlideAirDblHoldTime; - float32 SlideAirDblSlowTime; - float32 SlideVelDblBoost; - uint8 SlideApplyPhysics; - uint8 PowerUp[10]; - uint8 InitialPowerUp[10]; - uint8 AttractModeDuringGameplay; + uint16 AnalogMin; + uint16 AnalogMax; + float32 SundaeTime; + float32 SundaeMult; + uint32 InitialShinyCount; + uint32 InitialSpatulaCount; + int32 ShinyValuePurple; + int32 ShinyValueBlue; + int32 ShinyValueGreen; + int32 ShinyValueYellow; + int32 ShinyValueRed; + int32 ShinyValueCombo0; + int32 ShinyValueCombo1; + int32 ShinyValueCombo2; + int32 ShinyValueCombo3; + int32 ShinyValueCombo4; + int32 ShinyValueCombo5; + int32 ShinyValueCombo6; + int32 ShinyValueCombo7; + int32 ShinyValueCombo8; + int32 ShinyValueCombo9; + int32 ShinyValueCombo10; + int32 ShinyValueCombo11; + int32 ShinyValueCombo12; + int32 ShinyValueCombo13; + int32 ShinyValueCombo14; + int32 ShinyValueCombo15; + float32 ComboTimer; + uint32 Initial_Specials; + uint32 TakeDamage; + float32 DamageTimeHit; + float32 DamageTimeSurface; + float32 DamageTimeEGen; + float32 DamageSurfKnock; + float32 DamageGiveHealthKnock; + uint32 CheatSpongeball; + uint32 CheatPlayerSwitch; + uint32 CheatAlwaysPortal; + uint32 CheatFlyToggle; + uint32 FriendlySelectMode; + float32 RotMatchMaxAngle; + float32 RotMatchMatchTime; + float32 RotMatchRelaxTime; + float32 Gravity; + float32 BBashTime; + float32 BBashHeight; + float32 BBashDelay; + float32 BBashCVTime; + float32 BBounceSpeed; + float32 BBashGauntletDelay; + float32 BBashGauntletBlastRadius; + float32 BSpinMinFrame; + float32 BSpinMaxFrame; + float32 BSpinRadius; + float32 BSpinReach; + float32 BSpinReachUpgrade; + float32 CartwheelDamageSize; + float32 BubbleBowlTimeDelay; + float32 BubbleBowlLaunchPosLeft; + float32 BubbleBowlLaunchPosUp; + float32 BubbleBowlLaunchPosAt; + float32 BubbleBowlLaunchVelLeft; + float32 BubbleBowlLaunchVelUp; + float32 BubbleBowlLaunchVelAt; + float32 BubbleBowlPercentIncrease; + float32 BubbleBowlMinSpeed; + float32 BubbleBowlMinRecoverTime; + float32 SlideAccelVelMin; + float32 SlideAccelVelMax; + float32 SlideAccelStart; + float32 SlideAccelEnd; + float32 SlideAccelPlayerFwd; + float32 SlideAccelPlayerBack; + float32 SlideAccelPlayerSide; + float32 SlideVelMaxStart; + float32 SlideVelMaxEnd; + float32 SlideVelMaxIncTime; + float32 SlideVelMaxIncAccel; + float32 SlideAirHoldTime; + float32 SlideAirSlowTime; + float32 SlideAirDblHoldTime; + float32 SlideAirDblSlowTime; + float32 SlideVelDblBoost; + uint8 SlideApplyPhysics; + uint8 PowerUp[10]; + uint8 InitialPowerUp[10]; + uint8 AttractModeDuringGameplay; }; struct zNMEGoalDenBattle : zNMEGoalCommon { - float32 tmr_tossDelay; + float32 tmr_tossDelay; - int32 ChkExitCases(zNMEDennis* npc, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 ChkExitCases(zNMEDennis* npc, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct _class_1 { - RwTexture* asset; - uint32 units; - xVec2 size; - xVec2 isize; - int32 prev; + RwTexture* asset; + uint32 units; + xVec2 size; + xVec2 isize; + int32 prev; }; enum en_npcdmg { - DMGTYP_UNDECIDED, - DMGTYP_ABOVE, - DMGTYP_BELOW, - DMGTYP_SIDE, - DMGTYP_INSTAKILL, - DMGTYP_WOUNDEVENT, - DMGTYP_KILLEVENT, - DMGTYP_NMEATTACK, - DMGTYP_HITBYTOSS, - DMGTYP_NMEKNOCKED, - DMGTYP_ROPE, - DMGTYP_CRUISEBUBBLE, - DMGTYP_FRIENDLYFIRE, - DMGTYP_REFLECTED, - DMGTYP_BOULDER, - DMGTYP_BUBBOWL, - DMGTYP_THUNDER_TIKI_EXPLOSION, - DMGTYP_DAMAGE_SURFACE, - DMGTYP_BUNGEED, - DMGTYP_SURFACE, - DMGTYP_CARTWHEEL, - DMGTYP_CARSMASH, - DMGTYP_SLIDE, - DMGTYP_EXPLOSION, - DMGTYP_BBOWLZAP, - DMGTYP_NOMORE, - DMGTYP_FORCEINT = 0x7fffffff + DMGTYP_UNDECIDED, + DMGTYP_ABOVE, + DMGTYP_BELOW, + DMGTYP_SIDE, + DMGTYP_INSTAKILL, + DMGTYP_WOUNDEVENT, + DMGTYP_KILLEVENT, + DMGTYP_NMEATTACK, + DMGTYP_HITBYTOSS, + DMGTYP_NMEKNOCKED, + DMGTYP_ROPE, + DMGTYP_CRUISEBUBBLE, + DMGTYP_FRIENDLYFIRE, + DMGTYP_REFLECTED, + DMGTYP_BOULDER, + DMGTYP_BUBBOWL, + DMGTYP_THUNDER_TIKI_EXPLOSION, + DMGTYP_DAMAGE_SURFACE, + DMGTYP_BUNGEED, + DMGTYP_SURFACE, + DMGTYP_CARTWHEEL, + DMGTYP_CARSMASH, + DMGTYP_SLIDE, + DMGTYP_EXPLOSION, + DMGTYP_BBOWLZAP, + DMGTYP_NOMORE, + DMGTYP_FORCEINT = 0x7fffffff }; struct HAZMisc : HAZTypical { - void* ptr; + void* ptr; }; struct _anon18 @@ -6875,30 +6850,30 @@ struct _anon18 struct zDustRingEmitter { - config_type_1* cfg; - activity_data_0* data; + config_type_1* cfg; + activity_data_0* data; }; struct zScorchDecal { - RpAtomic* atomic; - xMat4x3* driver; - float32 area; - float32 timer; + RpAtomic* atomic; + xMat4x3* driver; + float32 area; + float32 timer; }; struct zFrag { - zFragType type; - zFragInfo info; - float32 delay; - float32 alivetime; - float32 lifetime; - void(*update)(zFrag*, float32); - void(*destroy)(zFrag*); - xModelInstance* parent[2]; - zFrag* prev; - zFrag* next; + zFragType type; + zFragInfo info; + float32 delay; + float32 alivetime; + float32 lifetime; + void (*update)(zFrag*, float32); + void (*destroy)(zFrag*); + xModelInstance* parent[2]; + zFrag* prev; + zFrag* next; }; struct xCurveAsset @@ -6907,27 +6882,27 @@ struct xCurveAsset struct zFragLightningAsset : zFragAsset { - zFragLocation start; - zFragLocation end; - uint32 startParentID; - uint32 endParentID; + zFragLocation start; + zFragLocation end; + uint32 startParentID; + uint32 endParentID; }; enum zFragLocType { - eFragLocBone, - eFragLocBoneUpdated, - eFragLocBoneLocal, - eFragLocBoneLocalUpdated, - eFragLocTag, - eFragLocTagUpdated, - eFragLocCount, - eFragLocForceSize = 0x7fffffff + eFragLocBone, + eFragLocBoneUpdated, + eFragLocBoneLocal, + eFragLocBoneLocalUpdated, + eFragLocTag, + eFragLocTagUpdated, + eFragLocCount, + eFragLocForceSize = 0x7fffffff }; struct zFragGroup { - zFrag* list[21]; + zFrag* list[21]; }; struct _anon19 @@ -6936,46 +6911,46 @@ struct _anon19 struct xVec4 { - float32 x; - float32 y; - float32 z; - float32 w; + float32 x; + float32 y; + float32 z; + float32 w; }; struct zNMECritBasic : zNMECritter { - - int32 TypeHandleMail(NMEMsg* mail); - void Process(float32 dt); - void Reset(); - xAnimTable* CreateAnimTable(xAnimTable* table); - void SelfSetup(); + int32 TypeHandleMail(NMEMsg* mail); + void Process(float32 dt); + void Reset(); + xAnimTable* CreateAnimTable(xAnimTable* table); + void SelfSetup(); }; enum en_hazrc { - HAZ_RC_FAILED, - HAZ_RC_SUCCESS, - HAZ_RC_NOMORE, - HAZ_RC_FORCE = 0x7fffffff + HAZ_RC_FAILED, + HAZ_RC_SUCCESS, + HAZ_RC_NOMORE, + HAZ_RC_FORCE = 0x7fffffff }; struct zPlayer : zEnt { - xVec3 trigLastFramePos; - int32 zPlayerFlags; - uint32 lorezModelID; - xModelInstance* lorezModel; - xModelInstance* hirezModel; + xVec3 trigLastFramePos; + int32 zPlayerFlags; + uint32 lorezModelID; + xModelInstance* lorezModel; + xModelInstance* hirezModel; - void PostRenderCleanup(); - void RenderCustomUI(); - void zPlayerEventCB(xBase* from, xBase* to, uint32 toEvent, float32* toParam, xBase* toParamWidget, uint32 toParamWidgetID); - uint32 TalkDoneCheck(xAnimTransition* tran); - uint32 TalkCheck(xAnimTransition* tran); - uint8 AllowInteraction(); - void AttackHit(); - xEnt* GetGrabbed(); + void PostRenderCleanup(); + void RenderCustomUI(); + void zPlayerEventCB(xBase* from, xBase* to, uint32 toEvent, float32* toParam, + xBase* toParamWidget, uint32 toParamWidgetID); + uint32 TalkDoneCheck(xAnimTransition* tran); + uint32 TalkCheck(xAnimTransition* tran); + uint8 AllowInteraction(); + void AttackHit(); + xEnt* GetGrabbed(); }; struct _anon20 @@ -6984,49 +6959,48 @@ struct _anon20 struct HAZSpawnBall : HAZLobber { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct SMDepot { - st_XORDEREDARRAY spawners; + st_XORDEREDARRAY spawners; }; struct NMECfgTBarrel { - Health_6 health; - Ranges_4 ranges; - Movement_0 move; - LobParm lobparm; - Attack_2 attack; + Health_6 health; + Ranges_4 ranges; + Movement_0 move; + LobParm lobparm; + Attack_2 attack; }; struct Firework { - struct - { - en_fwstate fwstate : 8; - en_fwstyle fwstyle : 8; - int32 flg_firework : 16; - }; - float32 tym_lifespan; - float32 tmr_remain; - xVec3 pos; - xVec3 vel; + struct + { + en_fwstate fwstate : 8; + en_fwstyle fwstyle : 8; + int32 flg_firework : 16; + }; + float32 tym_lifespan; + float32 tmr_remain; + xVec3 pos; + xVec3 vel; }; struct xAnimEffect { - xAnimEffect* Next; - uint16 Flags; - uint16 Probability; - float32 StartTime; - float32 EndTime; - uint32(*Callback)(uint32, xAnimActiveEffect*, xAnimSingle*, void*); + xAnimEffect* Next; + uint16 Flags; + uint16 Probability; + float32 StartTime; + float32 EndTime; + uint32 (*Callback)(uint32, xAnimActiveEffect*, xAnimSingle*, void*); }; struct _anon21 @@ -7035,108 +7009,106 @@ struct _anon21 enum _enum_1 { - EX_UP, - EX_CENTER, - EX_DOWN, - MAX_EX + EX_UP, + EX_CENTER, + EX_DOWN, + MAX_EX }; struct zNMEGoalPushAnim : zNMEGoalCommon { - int32 flg_pushanim; + int32 flg_pushanim; - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Resume(); - int32 Exit(); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Resume(); + int32 Exit(); + int32 Enter(); }; struct xRay3 { - xVec3 origin; - xVec3 dir; - float32 min_t; - float32 max_t; - int32 flags; + xVec3 origin; + xVec3 dir; + float32 min_t; + float32 max_t; + int32 flags; }; struct xPEEntBone { - uint8 flags; - uint8 type; - uint8 bone; - uint8 pad1; - xVec3 offset; - float32 radius; - float32 deflection; + uint8 flags; + uint8 type; + uint8 bone; + uint8 pad1; + xVec3 offset; + float32 radius; + float32 deflection; }; struct zMODSpawner : zModule { - - void SceneFinish(); - void ScenePrepare(); + void SceneFinish(); + void ScenePrepare(); }; struct HAZSlamWaveSM : HAZBasic { - - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct RwTexCoords { - float32 u; - float32 v; + float32 u; + float32 v; }; enum eMindyState { - eOutofRange, - eInRange, - eTalking, - eFinishedTalking + eOutofRange, + eInRange, + eTalking, + eFinishedTalking }; struct _tagxPad { - uint8 value[22]; - uint8 last_value[22]; - uint32 on; - uint32 pressed; - uint32 released; - _tagPadAnalog analog1; - _tagPadAnalog analog2; - _tagPadState state; - uint32 flags; - int16 port; - int16 slot; - _tagiPad context; - float32 al2d_timer; - float32 ar2d_timer; - float32 d_timer; - float32 up_tmr[22]; - float32 down_tmr[22]; - analog_data analog[2]; + uint8 value[22]; + uint8 last_value[22]; + uint32 on; + uint32 pressed; + uint32 released; + _tagPadAnalog analog1; + _tagPadAnalog analog2; + _tagPadState state; + uint32 flags; + int16 port; + int16 slot; + _tagiPad context; + float32 al2d_timer; + float32 ar2d_timer; + float32 d_timer; + float32 up_tmr[22]; + float32 down_tmr[22]; + analog_data analog[2]; }; struct NMECfgFlinger { - Health_9 health; - Ranges_6 ranges; - Battle_0 battle; - Attack_1 attack; + Health_9 health; + Ranges_6 ranges; + Battle_0 battle; + Attack_1 attack; }; struct zFragAsset { - zFragType type; - uint32 id; - uint32 parentID[2]; - float32 lifetime; - float32 delay; + zFragType type; + uint32 id; + uint32 parentID[2]; + float32 lifetime; + float32 delay; }; struct _anon22 @@ -7153,123 +7125,122 @@ struct _anon24 struct zNPCMgr : RyzMemData { - st_XORDEREDARRAY npclist; - xFactory* npcFactory; - xBase selfbase; - int32 flg_createForAnim; - base* firstAllocList[104]; + st_XORDEREDARRAY npclist; + xFactory* npcFactory; + xBase selfbase; + int32 flg_createForAnim; + base* firstAllocList[104]; }; struct RwBBox { - RwV3d sup; - RwV3d inf; + RwV3d sup; + RwV3d inf; }; struct xModelPool { - xModelPool* Next; - uint32 NumMatrices; - xModelInstance* List; + xModelPool* Next; + uint32 NumMatrices; + xModelInstance* List; }; struct zMODParFX : zModule { - int32 gameExtrasFlags; - int32 isSpecialDay; - int32 month; - int32 day; + int32 gameExtrasFlags; + int32 isSpecialDay; + int32 month; + int32 day; - void Timestep(); - void SceneReset(); - void SceneFinish(); - void ScenePrepare(); + void Timestep(); + void SceneReset(); + void SceneFinish(); + void ScenePrepare(); }; enum en_smnpcstat { - SM_NPC_DEAD, - SM_NPC_READY, - SM_NPC_PENDING, - SM_NPC_SPAWNED, - SM_NPC_ACTIVE, - SM_NPC_NOMORE, - SM_NPC_FORCE = 0x7fffffff + SM_NPC_DEAD, + SM_NPC_READY, + SM_NPC_PENDING, + SM_NPC_SPAWNED, + SM_NPC_ACTIVE, + SM_NPC_NOMORE, + SM_NPC_FORCE = 0x7fffffff }; struct zPlayerLassoInfo { - float32 dist; - xEnt* swingTarget; - xEnt* releasedSwing; - zLasso lasso; + float32 dist; + xEnt* swingTarget; + xEnt* releasedSwing; + zLasso lasso; }; struct ThrowSide { - float32 spd_proj; - int32 num_salvo; - float32 dst_spreadHorz; + float32 spd_proj; + int32 num_salvo; + float32 dst_spreadHorz; }; struct CfgInfo_0 { - int32 stageHealth[4]; - int8* str_texture; - float32 tym_fadeIn; - float32 tym_fadeOut; + int32 stageHealth[4]; + int8* str_texture; + float32 tym_fadeIn; + float32 tym_fadeOut; }; struct RpClump { - RwObject object; - RwLinkList atomicList; - RwLinkList lightList; - RwLinkList cameraList; - RwLLLink inWorldLink; - RpClump*(*callback)(RpClump*, void*); + RwObject object; + RwLinkList atomicList; + RwLinkList lightList; + RwLinkList cameraList; + RwLLLink inWorldLink; + RpClump* (*callback)(RpClump*, void*); }; struct xLinkAsset { - uint16 srcEvent; - uint16 dstEvent; - uint32 dstAssetID; - float32 param[4]; - uint32 paramWidgetAssetID; - uint32 chkAssetID; + uint16 srcEvent; + uint16 dstEvent; + uint32 dstAssetID; + float32 param[4]; + uint32 paramWidgetAssetID; + uint32 chkAssetID; }; struct zNMEGoalMervBomb : zNMEGoalCommon { - struct - { - int32 flg_leftside : 1; - int32 flg_bomb : 31; - }; - int32 idx_shot; + struct + { + int32 flg_leftside : 1; + int32 flg_bomb : 31; + }; + int32 idx_shot; - void PickTarget(zNMEMervyn* npc, xVec3* tgt, xVec3* src); - int32 BombsAway(zNMEMervyn* npc); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + void PickTarget(zNMEMervyn* npc, xVec3* tgt, xVec3* src); + int32 BombsAway(zNMEMervyn* npc); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct zNMETurPopup : zNMETurret { - - int32 TypeHandleMail(NMEMsg* mail); - void Process(float32 dt); - void Reset(); - xAnimTable* CreateAnimTable(xAnimTable* table); - void SelfSetup(); + int32 TypeHandleMail(NMEMsg* mail); + void Process(float32 dt); + void Reset(); + xAnimTable* CreateAnimTable(xAnimTable* table); + void SelfSetup(); }; struct BlurData { - Flags_4 flags; - Parms parms; - config_data cfg_blur; + Flags_4 flags; + Parms parms; + config_data cfg_blur; }; struct xParGroup @@ -7286,68 +7257,68 @@ struct _anon26 struct RpLight { - RwObjectHasFrame object; - float32 radius; - RwRGBAReal color; - float32 minusCosAngle; - RwLinkList WorldSectorsInLight; - RwLLLink inWorld; - uint16 lightFrame; - uint16 pad; + RwObjectHasFrame object; + float32 radius; + RwRGBAReal color; + float32 minusCosAngle; + RwLinkList WorldSectorsInLight; + RwLLLink inWorld; + uint16 lightFrame; + uint16 pad; }; struct RpWorld { - RwObject object; - uint32 flags; - RpWorldRenderOrder renderOrder; - RpMaterialList matList; - RpSector* rootSector; - int32 numTexCoordSets; - int32 numClumpsInWorld; - RwLLLink* currentClumpLink; - RwLinkList clumpList; - RwLinkList lightList; - RwLinkList directionalLightList; - RwV3d worldOrigin; - RwBBox boundingBox; - RpWorldSector*(*renderCallBack)(RpWorldSector*); - RxPipeline* pipeline; + RwObject object; + uint32 flags; + RpWorldRenderOrder renderOrder; + RpMaterialList matList; + RpSector* rootSector; + int32 numTexCoordSets; + int32 numClumpsInWorld; + RwLLLink* currentClumpLink; + RwLinkList clumpList; + RwLinkList lightList; + RwLinkList directionalLightList; + RwV3d worldOrigin; + RwBBox boundingBox; + RpWorldSector* (*renderCallBack)(RpWorldSector*); + RxPipeline* pipeline; }; struct HAZCollide : HAZTypical { - xVec3 pos_collide; - xVec3 dir_normal; - xParabola* parabinfo; - struct - { - int32 flg_collide : 8; - int32 flg_result : 8; - int32 flg_unused : 16; - }; - int32 cnt_skipcol; - en_hazcol idx_rotateCol; + xVec3 pos_collide; + xVec3 dir_normal; + xParabola* parabinfo; + struct + { + int32 flg_collide : 8; + int32 flg_result : 8; + int32 flg_unused : 16; + }; + int32 cnt_skipcol; + en_hazcol idx_rotateCol; }; struct xCutsceneData { - uint32 DataType; - uint32 AssetID; - uint32 ChunkSize; - union - { - uint32 FileOffset; - void* DataPtr; - }; + uint32 DataType; + uint32 AssetID; + uint32 ChunkSize; + union + { + uint32 FileOffset; + void* DataPtr; + }; }; struct xScriptAsset : xBaseAsset { - float32 scaleFactor; - uint32 eventCount; - uint8 loop; - uint8 pad[3]; + float32 scaleFactor; + uint32 eventCount; + uint8 loop; + uint8 pad[3]; }; struct _anon27 @@ -7356,50 +7327,49 @@ struct _anon27 struct DynNMEInfo { - int8* nam_nmeAssetType; - int32(*fun_dynassValidate)(xDynAsset*, uint32); - xEnt*(*fun_nmeCreate)(xDynAsset*, uint32); - uint32 hash_nmeAssetType; + int8* nam_nmeAssetType; + int32 (*fun_dynassValidate)(xDynAsset*, uint32); + xEnt* (*fun_nmeCreate)(xDynAsset*, uint32); + uint32 hash_nmeAssetType; }; struct zNMEGoalScareWait : zNMEGoalDead { - - void AbortAbort(); - int32 GoalHandleMail(NMEMsg* msg); - int32 Enter(); + void AbortAbort(); + int32 GoalHandleMail(NMEMsg* msg); + int32 Enter(); }; struct NMECfgPopper { - Health_5 health; - Ranges_3 ranges; - Attack_4 attack; - SimpShot simpshot; - ToeToe toetoe; - ShotGun shotgun; - PopGun popgun; - Battle_4 battle; - Evade_1 evade; + Health_5 health; + Ranges_3 ranges; + Attack_4 attack; + SimpShot simpshot; + ToeToe toetoe; + ShotGun shotgun; + PopGun popgun; + Battle_4 battle; + Evade_1 evade; }; struct zScene : xScene { - _zPortal* pendingPortal; - int32 num_base; - xBase** base; - uint32 num_update_base; - xBase** update_base; - int32 baseCount[141]; - xBase* baseList[141]; - _zEnv* zen; - zSceneParameters* parameters; - uint8 enableDrawing; + _zPortal* pendingPortal; + int32 num_base; + xBase** base; + uint32 num_update_base; + xBase** update_base; + int32 baseCount[141]; + xBase* baseList[141]; + _zEnv* zen; + zSceneParameters* parameters; + uint8 enableDrawing; }; struct CfgInfo_1 { - config_type_1 dustConfig; + config_type_1 dustConfig; }; struct HAZNotify @@ -7408,9 +7378,9 @@ struct HAZNotify struct xModelAssetParam { - uint32 HashID; - uint8 WordLength; - uint8 String[3]; + uint32 HashID; + uint8 WordLength; + uint8 String[3]; }; struct _anon28 @@ -7423,97 +7393,94 @@ struct _anon29 struct zNMEGoalDead : zNMEGoalCommon { - en_diehow stylinDyin; - uint16 old_moreFlags; - int16 notUsed; + en_diehow stylinDyin; + uint16 old_moreFlags; + int16 notUsed; - void SendDeathNotice(zNMECommon* npc); - int32 Exit(); - int32 Enter(); + void SendDeathNotice(zNMECommon* npc); + int32 Exit(); + int32 Enter(); }; struct HAZGolfJunk : HAZBasic { - - void Render(zNMEHazard* haz); - en_hazrc Configure(zNMEHazard* haz); + void Render(zNMEHazard* haz); + en_hazrc Configure(zNMEHazard* haz); }; struct NMEBlinker { - float32 tmr_uvcell; - int32 idx_uvcell; + float32 tmr_uvcell; + int32 idx_uvcell; }; struct zNMEGoalMervBattle : zNMEGoalCommon { - float32 tmr_tossDelay; + float32 tmr_tossDelay; - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 ChkExitCases(zNMEMervyn* npc, int32& nextgoal, en_trantype& trantype); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 ChkExitCases(zNMEMervyn* npc, int32& nextgoal, en_trantype& trantype); + int32 Enter(); }; struct BarMeter : hud_element { - model_widget* bar; - model_widget* barNotch; - font_meter_widget* barMeter; - float32 sizeOfActualBar; - xVec3 notchLocation; - xVec3 fontLocation; - text_widget* minValueText; - text_widget* maxValueText; - TextureScroller* textureScroller; - widget* barPartsWidgets[5]; - xLightKit* hudLightKit; - int32 defaultMinValue; - int32 defaultMaxValue; - int32* valueToWatch; - int32* minValueToWatch; - int32* maxValueToWatch; - int32 lastValue; - uint8 firstTimeUpdate; - - void reset(); - void hide(); - void show(); - void update(); + model_widget* bar; + model_widget* barNotch; + font_meter_widget* barMeter; + float32 sizeOfActualBar; + xVec3 notchLocation; + xVec3 fontLocation; + text_widget* minValueText; + text_widget* maxValueText; + TextureScroller* textureScroller; + widget* barPartsWidgets[5]; + xLightKit* hudLightKit; + int32 defaultMinValue; + int32 defaultMaxValue; + int32* valueToWatch; + int32* minValueToWatch; + int32* maxValueToWatch; + int32 lastValue; + uint8 firstTimeUpdate; + + void reset(); + void hide(); + void show(); + void update(); }; struct HAZGolfBoom : HAZBasic { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct zFootstepsData { - uint32 particle_emitter; - uint32 sound; - uint32 texture; - float32 duration; + uint32 particle_emitter; + uint32 sound; + uint32 texture; + float32 duration; }; struct CfgInfo_2 { - int8* str_texture; - curve_node_0* curvedata; - int32 curvedata_size; - float32 lifetime; - float32 pivot; - config_type_0 ignore_local_ribcfg; + int8* str_texture; + curve_node_0* curvedata; + int32 curvedata_size; + float32 lifetime; + float32 pivot; + config_type_0 ignore_local_ribcfg; }; struct HAZDroplet : HAZBasic { - - void Render(zNMEHazard* haz); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct _anon30 @@ -7522,13 +7489,13 @@ struct _anon30 struct zNMEGoalScare : zNMEGoalLoopAnim { - xParabola* parab; + xParabola* parab; - int32 PathParabola(); - int32 UpdateAnim(float32 dt); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 PathParabola(); + int32 UpdateAnim(float32 dt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct _anon31 @@ -7545,26 +7512,26 @@ struct _anon33 struct NMECfgZapper { - Health_1 health; - Ranges_1 ranges; - Battle_3 battle; + Health_1 health; + Ranges_1 ranges; + Battle_3 battle; }; struct Emit_0 { - int32 num_emitBase; - int32 num_emitRand; - float32 rad_emitBase; - float32 rad_emitRand; + int32 num_emitBase; + int32 num_emitRand; + float32 rad_emitBase; + float32 rad_emitRand; }; struct zMODConfig : zModule { - xFactory* cfgFactory; + xFactory* cfgFactory; - void SceneFinish(); - void ScenePrepare(); - void ModulePrepUse(); + void SceneFinish(); + void ScenePrepare(); + void ModulePrepUse(); }; struct _anon34 @@ -7577,35 +7544,35 @@ struct _anon35 enum en_bucklife { - BL_STAT_ALIVE, - BL_STAT_DYING, - BL_STAT_DEAD + BL_STAT_ALIVE, + BL_STAT_DYING, + BL_STAT_DEAD }; struct Detect { - float32 rad_outerLimit; + float32 rad_outerLimit; }; struct zNMEShrapnelTableEntry { - en_npctyp nmeType; - int8* name; - zShrapnelAsset* data; + en_npctyp nmeType; + int8* name; + zShrapnelAsset* data; }; struct xClumpCollBSPTree { - int32 numBranchNodes; - xClumpCollBSPBranchNode* branchNodes; - int32 numTriangles; - xClumpCollBSPTriangle* triangles; + int32 numBranchNodes; + xClumpCollBSPBranchNode* branchNodes; + int32 numTriangles; + xClumpCollBSPTriangle* triangles; }; struct Life_1 { - float32 tym_lifeBase; - float32 tym_lifeRand; + float32 tym_lifeBase; + float32 tym_lifeRand; }; struct _anon36 @@ -7614,25 +7581,25 @@ struct _anon36 struct zRewardsMgr { - zRewardsQ rewardsQ[20]; - float32 comboTime; - float32 comboTimer; - uint32 numCratesDestroyed; - uint32 numEnemiesDefeated; - uint32 lastComboManlinessPoints; - uint32 lastComboIndex; - float32 spawnTimer; - uint8 playerDead; - zEntPickup* enemyManlinessPoints[20][5]; + zRewardsQ rewardsQ[20]; + float32 comboTime; + float32 comboTimer; + uint32 numCratesDestroyed; + uint32 numEnemiesDefeated; + uint32 lastComboManlinessPoints; + uint32 lastComboIndex; + float32 spawnTimer; + uint8 playerDead; + zEntPickup* enemyManlinessPoints[20][5]; - void ParseValuesFromIni(xIniFile* ini); - void IncManlinessPoints(uint32 points, uint8 set); + void ParseValuesFromIni(xIniFile* ini); + void IncManlinessPoints(uint32 points, uint8 set); }; struct BoxInfo { - xVec3 dim_bound; - xVec3 vec_offset; + xVec3 dim_bound; + xVec3 vec_offset; }; struct _anon37 @@ -7645,35 +7612,35 @@ struct _anon38 struct zNMEGoalMervWound : zNMEGoalCommon { - float32 tmr_inPain; + float32 tmr_inPain; - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct zLedgeGrabParams { - float32 animGrab; - float32 zdist; - xVec3 tranTable[60]; - int32 tranCount; - xEnt* optr; - xMat4x3 omat; - float32 y0det; - float32 dydet; - float32 r0det; - float32 drdet; - float32 thdet; - float32 rtime; - float32 ttime; - float32 tmr; - xVec3 spos; - xVec3 epos; - xVec3 tpos; - int32 nrays; - int32 rrand; - float32 startrot; - float32 endrot; + float32 animGrab; + float32 zdist; + xVec3 tranTable[60]; + int32 tranCount; + xEnt* optr; + xMat4x3 omat; + float32 y0det; + float32 dydet; + float32 r0det; + float32 drdet; + float32 thdet; + float32 rtime; + float32 ttime; + float32 tmr; + xVec3 spos; + xVec3 epos; + xVec3 tpos; + int32 nrays; + int32 rrand; + float32 startrot; + float32 endrot; }; struct _anon39 @@ -7682,69 +7649,69 @@ struct _anon39 struct xFactory : RyzMemData { - XGOFTypeInfo* infopool; - st_XORDEREDARRAY infolist; - xFactoryInst* products; - RyzMemGrow growContextData; + XGOFTypeInfo* infopool; + st_XORDEREDARRAY infolist; + xFactoryInst* products; + RyzMemGrow growContextData; }; struct PlasmaEmitter { - en_npartyp useNPARtype; - float32 tym_lifespan; - xColor_tag colr_base; - float32 siz_base[2]; - xVec3 acc_base; - float32 spd_rotate; - uint8 pct_keep; - uint8 doDamage; - uint8 num_emit; - uint8 pct_accelSide; - FountainParm_1 fount; + en_npartyp useNPARtype; + float32 tym_lifespan; + xColor_tag colr_base; + float32 siz_base[2]; + xVec3 acc_base; + float32 spd_rotate; + uint8 pct_keep; + uint8 doDamage; + uint8 num_emit; + uint8 pct_accelSide; + FountainParm_1 fount; - void ArcWelder(xVec3* pos, xVec3* dir_axis, float32 pct_spdRamp, int32 num_emitOverride); + void ArcWelder(xVec3* pos, xVec3* dir_axis, float32 pct_spdRamp, int32 num_emitOverride); }; struct zMervEngine { - zNMECommon* mOwnerNPC; - eState mState; - int32 mSndPlayResult; + zNMECommon* mOwnerNPC; + eState mState; + int32 mSndPlayResult; }; struct zLightning { - uint32 type; - uint32 flags; - _class_9 func; - uint32 numStrips; - float32 alphaRamp; - xColor_tag color; - float32 time_left; - float32 time_total; - zLightning* nextBranch; - zLightning* prevBranch; - float32 parentSegment; - float32 lastParentSegment; - float32 segmentsPerMeter; - float32 branchSpeed; - int32 damage; - float32 knockBackSpeed; - RwRaster* mainTexture; - RwRaster* branchTexture; - float32 sparkTimer; - xVec3 collisionPoint; - float32 genTime; - uint8 randomizeBranchEndPoint; - uint8 collisionEnabled; - iSndHandle sndHandle; - xEnt* followStart; - xVec3 followStartOffset; - xEnt* followEnd; - xVec3 followEndOffset; - void(*renderCB)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); - void* context; - float32 weightParam[12]; + uint32 type; + uint32 flags; + _class_9 func; + uint32 numStrips; + float32 alphaRamp; + xColor_tag color; + float32 time_left; + float32 time_total; + zLightning* nextBranch; + zLightning* prevBranch; + float32 parentSegment; + float32 lastParentSegment; + float32 segmentsPerMeter; + float32 branchSpeed; + int32 damage; + float32 knockBackSpeed; + RwRaster* mainTexture; + RwRaster* branchTexture; + float32 sparkTimer; + xVec3 collisionPoint; + float32 genTime; + uint8 randomizeBranchEndPoint; + uint8 collisionEnabled; + iSndHandle sndHandle; + xEnt* followStart; + xVec3 followStartOffset; + xEnt* followEnd; + xVec3 followEndOffset; + void (*renderCB)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); + void* context; + float32 weightParam[12]; }; struct _anon40 @@ -7753,163 +7720,163 @@ struct _anon40 struct NMECfgNeptune { - int32 stageHealth[3]; - float32 tailattack_rad; - float32 tailattack_height; - float32 tailattack_time; - float32 tailattack_kbvel; - float32 tailattack_kbtime; - float32 tailattack_ribstarttime; - float32 tailattack_ribstoptime; - float32 tailattack_bubstarttime; - float32 tailattack_bubstoptime; - float32 tailattack_bubspeed; - float32 tailattack_bubdensity; - float32 tailattack_bubscale; - float32 player_safe_dist; - float32 player_safe_vel; - float32 stun_duration; - float32 stun_neardist; - float32 stun_bucketscale; - float32 defend_cruiseTime; - float32 defend_cruiseDist; - float32 defend_min_duration; - float32 defend_spinCenter; - float32 defend_scale; - float32 taunt_blurstart; - float32 taunt_blurend; - float32 turn_rate; - float32 safety_time; - uint8 minion_state; - float32 poke_dist; - float32 outrageCam_dist; - float32 outrageCam_height; - float32 outrageCam_lerptime; - float32 fire_angle_dot; - float32 fire_target_height[3]; - float32 fire_track_factor; - float32 fire_track_mindist; - float32 fire_damageRadBeam; - float32 fire_damageRadLightning; - xVec3 aim_center; - xVec3 aim_rest; - float32 aim_anglerate; - float32 aim_slerprate; - uint32 aim_slerpfirst; - float32 aim_tooCloseMin; - float32 aim_tooCloseMax; - xVec3 projPOVTag[3]; - NMENeptuneIndexedTag bossTagInit[13]; - xVec3 playerMidSectInit[4]; - xVec3 bossStage2_safeLoc; - xVec3 scope_camtag; - xVec3 scope_center; - xVec3 scope_posadjust; - float32 scope_scaleadjust; - uint32 scope_drawtrident; - float32 scope_zoomViewMin; - float32 scope_zoomViewMax; - float32 scope_zoomDistMin; - float32 scope_zoomOutTime; - float32 tridentblur_alphaStart; - float32 tridentblur_alphaEnd; - float32 tridentblur_colorStart; - float32 tridentblur_colorEnd; - float32 tridentblur_timeIncrement; - uint32 fire_tipAvgNum; - float32 fire_colHeight; - float32 fire_beamEmitRate; - float32 fire_beamSpeedMin; - float32 fire_beamSpeedMax; - float32 fire_beamSpreadDist; - float32 fire_beamSpreadTime; - float32 fire_beamFrontDist; - float32 fire_beamFrontStartDist; - float32 fire_beamFrontEndDist; - float32 fire_beamFrontDelay; - float32 fire_beamFrontTime; - float32 fire_spiralEmitRate; - float32 fire_spiralSpeedMin; - float32 fire_spiralSpeedMax; - float32 fire_spiralRadiusRate; - float32 fire_spiralRadiusTarget; - float32 fire_spiralRotMin; - float32 fire_spiralRotMax; - int32 fire_spiralSign; - float32 fire_ltTimeBeamEnd; - float32 fire_ltTimeFeelerStart; - float32 fire_ltTimeFeelerEnd; - float32 fire_ltTimeRingStart; - float32 fire_ltRingLerpRate; - float32 fire_ltDamageDelay; - float32 fire_ltDamageAfter; - float32 pov_fadeTime; - float32 pov_damageDelay; - float32 pov_damageRad; - float32 pov_krabsTargetTime; - float32 pov_krabsTargetRad; - xVec3 pov_krabsTargetPoint; - xVec3 pov_reflectorTargetPoint; - float32 pov_kbmaxvel; - float32 pov_kbminvel; - float32 pov_kbmaxtime; - float32 pov_kbmindist; - float32 pov_kbmaxdist; - uint32 pov_kbalways; - float32 pov_pokeDist; - float32 pov_stunModelSwapTime; - float32 pov_stunAimLerp; - float32 pov_stunTridentRot; - float32 pov_stunAnimTranTime; - float32 pov_missFlyStopDelay; - float32 pov_missFlyStopTime[5]; - float32 pov_missFlySoundTime[5]; - float32 pov_glowStart; - float32 pov_glowMax; - float32 pov_glowMin; - float32 pov_glowFadeTime; - float32 snd_lightningVol; - float32 snd_lightningFade; - float32 snd_hoseVol; - float32 snd_hoseFadeDown; - float32 snd_hoseFadeUp; - float32 snd_hoseCenterBias; - float32 snd_povAttackVol; - float32 snd_povReflectVol; - float32 snd_povChargeTime; - float32 snd_povChargeVol; - float32 snd_povBeamStunVol; - float32 snd_povBucketStunVol; - float32 snd_povBucketStunFadeStart; - float32 snd_povBucketStunFadeEnd; - float32 snd_ringVol; - float32 snd_ringFade; - float32 snd_ringEarDist; - float32 snd_ringDopplerPitchMax; - float32 snd_ringDopplerPitchMin; - float32 snd_ringDopplerDist; - NMECfgNeptuneAttack stageAtk[3]; - float32 tailleft_angles[8]; - float32 tailright_angles[8]; + int32 stageHealth[3]; + float32 tailattack_rad; + float32 tailattack_height; + float32 tailattack_time; + float32 tailattack_kbvel; + float32 tailattack_kbtime; + float32 tailattack_ribstarttime; + float32 tailattack_ribstoptime; + float32 tailattack_bubstarttime; + float32 tailattack_bubstoptime; + float32 tailattack_bubspeed; + float32 tailattack_bubdensity; + float32 tailattack_bubscale; + float32 player_safe_dist; + float32 player_safe_vel; + float32 stun_duration; + float32 stun_neardist; + float32 stun_bucketscale; + float32 defend_cruiseTime; + float32 defend_cruiseDist; + float32 defend_min_duration; + float32 defend_spinCenter; + float32 defend_scale; + float32 taunt_blurstart; + float32 taunt_blurend; + float32 turn_rate; + float32 safety_time; + uint8 minion_state; + float32 poke_dist; + float32 outrageCam_dist; + float32 outrageCam_height; + float32 outrageCam_lerptime; + float32 fire_angle_dot; + float32 fire_target_height[3]; + float32 fire_track_factor; + float32 fire_track_mindist; + float32 fire_damageRadBeam; + float32 fire_damageRadLightning; + xVec3 aim_center; + xVec3 aim_rest; + float32 aim_anglerate; + float32 aim_slerprate; + uint32 aim_slerpfirst; + float32 aim_tooCloseMin; + float32 aim_tooCloseMax; + xVec3 projPOVTag[3]; + NMENeptuneIndexedTag bossTagInit[13]; + xVec3 playerMidSectInit[4]; + xVec3 bossStage2_safeLoc; + xVec3 scope_camtag; + xVec3 scope_center; + xVec3 scope_posadjust; + float32 scope_scaleadjust; + uint32 scope_drawtrident; + float32 scope_zoomViewMin; + float32 scope_zoomViewMax; + float32 scope_zoomDistMin; + float32 scope_zoomOutTime; + float32 tridentblur_alphaStart; + float32 tridentblur_alphaEnd; + float32 tridentblur_colorStart; + float32 tridentblur_colorEnd; + float32 tridentblur_timeIncrement; + uint32 fire_tipAvgNum; + float32 fire_colHeight; + float32 fire_beamEmitRate; + float32 fire_beamSpeedMin; + float32 fire_beamSpeedMax; + float32 fire_beamSpreadDist; + float32 fire_beamSpreadTime; + float32 fire_beamFrontDist; + float32 fire_beamFrontStartDist; + float32 fire_beamFrontEndDist; + float32 fire_beamFrontDelay; + float32 fire_beamFrontTime; + float32 fire_spiralEmitRate; + float32 fire_spiralSpeedMin; + float32 fire_spiralSpeedMax; + float32 fire_spiralRadiusRate; + float32 fire_spiralRadiusTarget; + float32 fire_spiralRotMin; + float32 fire_spiralRotMax; + int32 fire_spiralSign; + float32 fire_ltTimeBeamEnd; + float32 fire_ltTimeFeelerStart; + float32 fire_ltTimeFeelerEnd; + float32 fire_ltTimeRingStart; + float32 fire_ltRingLerpRate; + float32 fire_ltDamageDelay; + float32 fire_ltDamageAfter; + float32 pov_fadeTime; + float32 pov_damageDelay; + float32 pov_damageRad; + float32 pov_krabsTargetTime; + float32 pov_krabsTargetRad; + xVec3 pov_krabsTargetPoint; + xVec3 pov_reflectorTargetPoint; + float32 pov_kbmaxvel; + float32 pov_kbminvel; + float32 pov_kbmaxtime; + float32 pov_kbmindist; + float32 pov_kbmaxdist; + uint32 pov_kbalways; + float32 pov_pokeDist; + float32 pov_stunModelSwapTime; + float32 pov_stunAimLerp; + float32 pov_stunTridentRot; + float32 pov_stunAnimTranTime; + float32 pov_missFlyStopDelay; + float32 pov_missFlyStopTime[5]; + float32 pov_missFlySoundTime[5]; + float32 pov_glowStart; + float32 pov_glowMax; + float32 pov_glowMin; + float32 pov_glowFadeTime; + float32 snd_lightningVol; + float32 snd_lightningFade; + float32 snd_hoseVol; + float32 snd_hoseFadeDown; + float32 snd_hoseFadeUp; + float32 snd_hoseCenterBias; + float32 snd_povAttackVol; + float32 snd_povReflectVol; + float32 snd_povChargeTime; + float32 snd_povChargeVol; + float32 snd_povBeamStunVol; + float32 snd_povBucketStunVol; + float32 snd_povBucketStunFadeStart; + float32 snd_povBucketStunFadeEnd; + float32 snd_ringVol; + float32 snd_ringFade; + float32 snd_ringEarDist; + float32 snd_ringDopplerPitchMax; + float32 snd_ringDopplerPitchMin; + float32 snd_ringDopplerDist; + NMECfgNeptuneAttack stageAtk[3]; + float32 tailleft_angles[8]; + float32 tailright_angles[8]; }; struct ptank_pool__pos_color_size_uv2 : ptank_pool { - xVec3* pos; - xColor_tag* color; - xVec2* size; - xVec2* uv; + xVec3* pos; + xColor_tag* color; + xVec2* size; + xVec2* uv; }; struct RxPacket { - uint16 flags; - uint16 numClusters; - RxPipeline* pipeline; - uint32* inputToClusterSlot; - uint32* slotsContinue; - RxPipelineCluster** slotClusterRefs; - RxCluster clusters[1]; + uint16 flags; + uint16 numClusters; + RxPipeline* pipeline; + uint32* inputToClusterSlot; + uint32* slotsContinue; + RxPipelineCluster** slotClusterRefs; + RxCluster clusters[1]; }; struct _anon41 @@ -7918,57 +7885,57 @@ struct _anon41 struct OrientEmitter { - en_npartyp useNPARtype; - Flags_2 flags; - RunTime_3 run; - Size_2 size; - Damage_0 dmg; - Life_1 life; - Emit_1 emit; - Speed_2 speed; - CurveInfo_2 curve; + en_npartyp useNPARtype; + Flags_2 flags; + RunTime_3 run; + Size_2 size; + Damage_0 dmg; + Life_1 life; + Emit_1 emit; + Speed_2 speed; + CurveInfo_2 curve; - void EmitRing(xVec3* pos_center, xVec3* dir_axis, float32 rad_emitCaller, float32 pct_spdRamp, int32 num_emitCaller); + void EmitRing(xVec3* pos_center, xVec3* dir_axis, float32 rad_emitCaller, float32 pct_spdRamp, + int32 num_emitCaller); }; enum en_dentstage { - DENT_STAGE_UNKNOWN, - DENT_STAGE_INTRO, - DENT_STAGE_A, - DENT_STAGE_B, - DENT_STAGE_C, - DENT_STAGE_OUTRO, - DENT_STAGE_NOMORE + DENT_STAGE_UNKNOWN, + DENT_STAGE_INTRO, + DENT_STAGE_A, + DENT_STAGE_B, + DENT_STAGE_C, + DENT_STAGE_OUTRO, + DENT_STAGE_NOMORE }; struct zNMEGoalFlingBoing : zNMEGoalCommon { - float32 tmr_minBoing; - struct - { - int32 flg_toldMoverIgnore : 1; - int32 flg_otherstuf : 31; - }; + float32 tmr_minBoing; + struct + { + int32 flg_toldMoverIgnore : 1; + int32 flg_otherstuf : 31; + }; - int32 GoalHandleMail(NMEMsg* mail); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 GoalHandleMail(NMEMsg* mail); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct zNMEGoalTurrTReady : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); }; struct xCamBlend : xCam { - xCam* src; - xCam* dst; - float32 time; + xCam* src; + xCam* dst; + float32 time; - void destroy(); + void destroy(); }; struct _anon42 @@ -7981,55 +7948,55 @@ struct _anon43 struct HAZSndTable { - HAZSndGrpEntry grpEntry[1]; + HAZSndGrpEntry grpEntry[1]; }; struct NMECfgSlammer { - Health_2 health; - Chase chase; - Wedge wedge; - Predict predict; - LegacyBattle legacy_battle; + Health_2 health; + Chase chase; + Wedge wedge; + Predict predict; + LegacyBattle legacy_battle; }; struct ToeToe { - float32 dst_short; - float32 dst_long; + float32 dst_short; + float32 dst_long; }; struct Physics { - float32 acc_grav; - float32 spd_maxFall; + float32 acc_grav; + float32 spd_maxFall; }; struct zNMEHazardType { - en_haztyp typ_hazard; - RpAtomic* rawModel; - zShrapnelAsset* shrapass; - UVAModelInfo* uvAnimInfo; - HAZShadowProps* shadProps; - RwRaster* rast_shadow; - HAZSndTable* sndTable; - struct - { - int32 flg_warnedOfBadConfigure : 1; - int32 flg_warnedOfNoOwner : 1; - int32 flg_unusedFlags : 30; - }; - - void CloneRenderPrep(); - void CloneRender(); - void CloneRenderDone(); + en_haztyp typ_hazard; + RpAtomic* rawModel; + zShrapnelAsset* shrapass; + UVAModelInfo* uvAnimInfo; + HAZShadowProps* shadProps; + RwRaster* rast_shadow; + HAZSndTable* sndTable; + struct + { + int32 flg_warnedOfBadConfigure : 1; + int32 flg_warnedOfNoOwner : 1; + int32 flg_unusedFlags : 30; + }; + + void CloneRenderPrep(); + void CloneRender(); + void CloneRenderDone(); }; struct RwPlane { - RwV3d normal; - float32 distance; + RwV3d normal; + float32 distance; }; struct zNMEGoalAware : zNMEGoalCommon @@ -8038,57 +8005,57 @@ struct zNMEGoalAware : zNMEGoalCommon struct xEntMotionMPData { - uint32 flags; - uint32 mp_id; - float32 speed; + uint32 flags; + uint32 mp_id; + float32 speed; }; struct Ranges_0 { - float32 rad_tooclose; - float32 rad_zap; - float32 rad_zapgrey; - float32 rad_lob; - float32 rad_lobgrey; - float32 rad_aware; - float32 rad_awaregrey; + float32 rad_tooclose; + float32 rad_zap; + float32 rad_zapgrey; + float32 rad_lob; + float32 rad_lobgrey; + float32 rad_aware; + float32 rad_awaregrey; }; struct zModule { - struct - { - int32 flg_skipRuntime : 1; - int32 flg_updateWhenPaused : 1; - int32 flg_updateInCinematic : 1; - int32 flg_needHUDRender : 1; - int32 flg_notused : 28; - }; - int32 modID; - - void ModulePrepUse(); - void HudRender(); - void PostRender(); - void Render(); - void RenderToBuckets(); - void PostTimestep(); - void Timestep(); - void SceneReset(); - void ScenePostSetup(); - void SceneSetup(); - void ScenePostInit(); - void SceneInit(); - void SceneFinish(); - void ScenePrepare(); + struct + { + int32 flg_skipRuntime : 1; + int32 flg_updateWhenPaused : 1; + int32 flg_updateInCinematic : 1; + int32 flg_needHUDRender : 1; + int32 flg_notused : 28; + }; + int32 modID; + + void ModulePrepUse(); + void HudRender(); + void PostRender(); + void Render(); + void RenderToBuckets(); + void PostTimestep(); + void Timestep(); + void SceneReset(); + void ScenePostSetup(); + void SceneSetup(); + void ScenePostInit(); + void SceneInit(); + void SceneFinish(); + void ScenePrepare(); }; struct zNMEGoalPopBattle : zNMEGoalCommon { - float32 tmr_tossDelay; + float32 tmr_tossDelay; - int32 ChkTranCases(zNMEPopper* npc, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 ChkTranCases(zNMEPopper* npc, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct _anon44 @@ -8101,124 +8068,123 @@ struct _anon45 struct PS2DemoGlobals { - uint16 language; - uint16 aspect; - uint16 play_mode; - uint16 inactive_timeout; - uint16 gameplay_timeout; - sceDemoEndReason exit_code; - struct - { - uint32 FMV_playing : 1; - uint32 more_padding : 31; - }; - float32 bail_timer; - float32 inactive_timer; - float32 gameplay_timer; - int8 subdir[16]; - uint16 quit; - uint16 vmode; + uint16 language; + uint16 aspect; + uint16 play_mode; + uint16 inactive_timeout; + uint16 gameplay_timeout; + sceDemoEndReason exit_code; + struct + { + uint32 FMV_playing : 1; + uint32 more_padding : 31; + }; + float32 bail_timer; + float32 inactive_timer; + float32 gameplay_timer; + int8 subdir[16]; + uint16 quit; + uint16 vmode; }; struct Battle_0 { - float32 tym_reload; - float32 spd_move; - float32 acc_move; + float32 tym_reload; + float32 spd_move; + float32 acc_move; }; struct zCamNeptune : xCam { - config_0 cfg; - uint32 lastFlyThru; + config_0 cfg; + uint32 lastFlyThru; - void destroy(); - void update(); - void start(); - void create(); - void* __ct(); + void destroy(); + void update(); + void start(); + void create(); + void* __ct(); }; struct zEnt : xEnt { - xAnimTable* atbl; + xAnimTable* atbl; }; struct zNMEGoalDenDead : zNMEGoalDead { - - int32 Exit(); - int32 Enter(); + int32 Exit(); + int32 Enter(); }; struct rwPDS_HICloneArray { - float32 mat1X; - float32 mat1Y; - int32 cloneFlag; - float32 mat1W; - float32 mat2X; - float32 mat2Y; - int32 UNUSED1; - float32 mat2W; - float32 mat3X; - float32 mat3Y; - int32 UNUSED2; - float32 mat3W; - float32 mat4X; - float32 mat4Y; - float32 mat4Z; - float32 mat4W; - float32 colScale[4]; - RwV3d lmat1; - float32 lmatposX; - RwV3d lmat2; - float32 lmatposY; - RwV3d lmat3; - float32 lmatposZ; - float32 bonusLt0_color[3]; - int32 UNUSED3; - RwV3d bonusLt0_dir; - float32 bonusLt0_rad; - float32 bonusLt1_color[3]; - int32 UNUSED4; - RwV3d bonusLt1_dir; - float32 bonusLt1_rad; + float32 mat1X; + float32 mat1Y; + int32 cloneFlag; + float32 mat1W; + float32 mat2X; + float32 mat2Y; + int32 UNUSED1; + float32 mat2W; + float32 mat3X; + float32 mat3Y; + int32 UNUSED2; + float32 mat3W; + float32 mat4X; + float32 mat4Y; + float32 mat4Z; + float32 mat4W; + float32 colScale[4]; + RwV3d lmat1; + float32 lmatposX; + RwV3d lmat2; + float32 lmatposY; + RwV3d lmat3; + float32 lmatposZ; + float32 bonusLt0_color[3]; + int32 UNUSED3; + RwV3d bonusLt0_dir; + float32 bonusLt0_rad; + float32 bonusLt1_color[3]; + int32 UNUSED4; + RwV3d bonusLt1_dir; + float32 bonusLt1_rad; }; struct _zScript : xBase { - xScriptAsset* tasset; - xScriptEventAsset* current; - uint8 state; - uint8 pad[3]; - float32 time; - float32 scaleFactor; + xScriptAsset* tasset; + xScriptEventAsset* current; + uint8 state; + uint8 pad[3]; + float32 time; + float32 scaleFactor; }; struct RxOutputSpec { - int8* name; - RxClusterValid* outputClusters; - RxClusterValid allOtherClusters; + int8* name; + RxClusterValid* outputClusters; + RxClusterValid allOtherClusters; }; struct ztaskbox : xBase { - _class_25 flag; - asset_type_0* asset; - state_enum state; - callback_0* cb; - ztaskbox* current; + _class_25 flag; + asset_type_0* asset; + state_enum state; + callback_0* cb; + ztaskbox* current; - void cb_dispatch(xBase* to, uint32 event); - void load(xBase& data, xDynAsset& asset); - void init(); + void cb_dispatch(xBase* to, uint32 event); + void load(xBase& data, xDynAsset& asset); + void init(); }; struct Health_1 { - int32 pts_healthMax; + int32 pts_healthMax; }; struct _anon46 @@ -8227,121 +8193,122 @@ struct _anon46 struct SparkyEmitter { - en_npartyp useNPARtype; - Flags_0 flags; - RunTime_0 run; - Size_0 size; - Damage_3 dmg; - Life_2 life; - Emit_2 emit; - Speed_0 speed; - CurveInfo_0 curve; + en_npartyp useNPARtype; + Flags_0 flags; + RunTime_0 run; + Size_0 size; + Damage_3 dmg; + Life_2 life; + Emit_2 emit; + Speed_0 speed; + CurveInfo_0 curve; - void DenSeaItRain(xVec3* pos_beg, xVec3* pos_end, xVec3* vel_drift, float32 rad_emitCaller, float32 fac_spdRamp, int32 num_emitCaller); - void EmitInDir(xVec3* pos, xVec3* vel, int32 num_emitCaller); - void EmitRing(xVec3* pos_center, xVec3* dir_axis, float32 rad_emitCaller, float32 fac_spdRamp, int32 num_emitCaller); - void EmitOnAxis(xVec3* pos_center, xVec3* dir_axis); + void DenSeaItRain(xVec3* pos_beg, xVec3* pos_end, xVec3* vel_drift, float32 rad_emitCaller, + float32 fac_spdRamp, int32 num_emitCaller); + void EmitInDir(xVec3* pos, xVec3* vel, int32 num_emitCaller); + void EmitRing(xVec3* pos_center, xVec3* dir_axis, float32 rad_emitCaller, float32 fac_spdRamp, + int32 num_emitCaller); + void EmitOnAxis(xVec3* pos_center, xVec3* dir_axis); }; struct LobParm { - en_haztyp haztype; - float32 spd_proj; - float32 rad_lob; + en_haztyp haztype; + float32 spd_proj; + float32 rad_lob; }; enum en_haztyp { - HAZ_TYP_UNKNOWN, - HAZ_TYP_EXPLODE, - HAZ_TYP_IMPACT, - HAZ_TYP_IMPACTWET, - HAZ_TYP_IMPACTBOOM, - HAZ_TYP_DAZED, - HAZ_TYP_SPAWNBALL_XX, - HAZ_TYP_SPAWNBALL_GG, - HAZ_TYP_SPAWNBALL_TR, - HAZ_TYP_SPAWNBALL_PT, - HAZ_TYP_SPAWNGROW, - HAZ_TYP_BUCKOBOOM_V1, - HAZ_TYP_TIKIBOOM, - HAZ_TYP_SLAMWAVE_V1, - HAZ_TYP_SLAMWAVE_V2, - HAZ_TYP_SLAMWAVE_V3, - HAZ_TYP_FLING_V1, - HAZ_TYP_FLING_V2, - HAZ_TYP_FLING_V3, - HAZ_TYP_FLING_FROGFISH, - HAZ_TYP_SPITPUDDLE_V1, - HAZ_TYP_SPITPUDDLE_V2, - HAZ_TYP_SPITPUDDLE_V3, - HAZ_TYP_ICECREAMSPLAT, - HAZ_TYP_SPITSTEAM, - HAZ_TYP_SPITSPLASH, - HAZ_TYP_POPPER_V1, - HAZ_TYP_POPPER_V2, - HAZ_TYP_POPPER_V3, - HAZ_TYP_MERVBOMB_V1, - HAZ_TYP_MERVBOMB_V2, - HAZ_TYP_MERVBOMB_V3, - HAZ_TYP_MERVLET_V1, - HAZ_TYP_MERVLET_V2, - HAZ_TYP_MERVLET_V3, - HAZ_TYP_ZAPBALL_V1, - HAZ_TYP_ZAPBALL_V2, - HAZ_TYP_ZAPBOOM_V1, - HAZ_TYP_ZAPBOOM_V2, - HAZ_TYP_TURBALL_V1, - HAZ_TYP_TURBALL_V2, - HAZ_TYP_TURBALL_V3, - HAZ_TYP_TURBOOM, - HAZ_TYP_GOLFBALL, - HAZ_TYP_GOLFBOOM, - HAZ_TYP_GOLFJUNK_A, - HAZ_TYP_GOLFJUNK_B, - HAZ_TYP_GOLFJUNK_C, - HAZ_TYP_GOLFJUNK_D, - HAZ_TYP_GOLFJUNK_E, - HAZ_TYP_DENNIS_KNIFE, - HAZ_TYP_DENNIS_KNIFEBOOM, - HAZ_TYP_TUNEBORN, - HAZ_TYP_TUNEBANG, - HAZ_TYP_TUNEBOOM, - HAZ_TYP_TUNEFLYT, - HAZ_TYP_SWIMWAKE, - HAZ_TYP_BOWWAVE, - HAZ_TYP_SPLASH_RING, - HAZ_TYP_SPLISH_DROP, - HAZ_TYP_VISSPLASH_WAVE, - HAZ_TYP_VISSPLASH_DROP, - HAZ_TYP_VISSPLASH_WATER, - HAZ_TYP_VISSPLASH_CHOC, - HAZ_TYP_VISSPLASH_LAVA, - HAZ_TYP_VISSPLASH_BILE, - HAZ_TYP_VISSPLASH_OIL, - HAZ_TYP_VISSPLASH_SAUCE, - HAZ_TYP_VISSPLASH_TOXIC, - HAZ_TYP_REFLECT_V1, - HAZ_TYP_PLYRBANG_V1, - HAZ_TYP_POWERUP_EXPLOSION_V1, - HAZ_TYP_NOMORE, - HAZ_TYP_FORCE = 0x7fffffff + HAZ_TYP_UNKNOWN, + HAZ_TYP_EXPLODE, + HAZ_TYP_IMPACT, + HAZ_TYP_IMPACTWET, + HAZ_TYP_IMPACTBOOM, + HAZ_TYP_DAZED, + HAZ_TYP_SPAWNBALL_XX, + HAZ_TYP_SPAWNBALL_GG, + HAZ_TYP_SPAWNBALL_TR, + HAZ_TYP_SPAWNBALL_PT, + HAZ_TYP_SPAWNGROW, + HAZ_TYP_BUCKOBOOM_V1, + HAZ_TYP_TIKIBOOM, + HAZ_TYP_SLAMWAVE_V1, + HAZ_TYP_SLAMWAVE_V2, + HAZ_TYP_SLAMWAVE_V3, + HAZ_TYP_FLING_V1, + HAZ_TYP_FLING_V2, + HAZ_TYP_FLING_V3, + HAZ_TYP_FLING_FROGFISH, + HAZ_TYP_SPITPUDDLE_V1, + HAZ_TYP_SPITPUDDLE_V2, + HAZ_TYP_SPITPUDDLE_V3, + HAZ_TYP_ICECREAMSPLAT, + HAZ_TYP_SPITSTEAM, + HAZ_TYP_SPITSPLASH, + HAZ_TYP_POPPER_V1, + HAZ_TYP_POPPER_V2, + HAZ_TYP_POPPER_V3, + HAZ_TYP_MERVBOMB_V1, + HAZ_TYP_MERVBOMB_V2, + HAZ_TYP_MERVBOMB_V3, + HAZ_TYP_MERVLET_V1, + HAZ_TYP_MERVLET_V2, + HAZ_TYP_MERVLET_V3, + HAZ_TYP_ZAPBALL_V1, + HAZ_TYP_ZAPBALL_V2, + HAZ_TYP_ZAPBOOM_V1, + HAZ_TYP_ZAPBOOM_V2, + HAZ_TYP_TURBALL_V1, + HAZ_TYP_TURBALL_V2, + HAZ_TYP_TURBALL_V3, + HAZ_TYP_TURBOOM, + HAZ_TYP_GOLFBALL, + HAZ_TYP_GOLFBOOM, + HAZ_TYP_GOLFJUNK_A, + HAZ_TYP_GOLFJUNK_B, + HAZ_TYP_GOLFJUNK_C, + HAZ_TYP_GOLFJUNK_D, + HAZ_TYP_GOLFJUNK_E, + HAZ_TYP_DENNIS_KNIFE, + HAZ_TYP_DENNIS_KNIFEBOOM, + HAZ_TYP_TUNEBORN, + HAZ_TYP_TUNEBANG, + HAZ_TYP_TUNEBOOM, + HAZ_TYP_TUNEFLYT, + HAZ_TYP_SWIMWAKE, + HAZ_TYP_BOWWAVE, + HAZ_TYP_SPLASH_RING, + HAZ_TYP_SPLISH_DROP, + HAZ_TYP_VISSPLASH_WAVE, + HAZ_TYP_VISSPLASH_DROP, + HAZ_TYP_VISSPLASH_WATER, + HAZ_TYP_VISSPLASH_CHOC, + HAZ_TYP_VISSPLASH_LAVA, + HAZ_TYP_VISSPLASH_BILE, + HAZ_TYP_VISSPLASH_OIL, + HAZ_TYP_VISSPLASH_SAUCE, + HAZ_TYP_VISSPLASH_TOXIC, + HAZ_TYP_REFLECT_V1, + HAZ_TYP_PLYRBANG_V1, + HAZ_TYP_POWERUP_EXPLOSION_V1, + HAZ_TYP_NOMORE, + HAZ_TYP_FORCE = 0x7fffffff }; struct HAZGolfBall : HAZLobber { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); - void ScenePrepare(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); + void ScenePrepare(); }; struct HAZTypeRecord { - en_haztyp typ_haz; - zNMEHazardType* cb_haz; + en_haztyp typ_haz; + zNMEHazardType* cb_haz; }; struct _anon47 @@ -8350,25 +8317,25 @@ struct _anon47 struct zGlobals : xGlobals { - uint32 playerTag; - uint32 playerLoaded; - uint32 playerLoadOrder[8]; - uint8 invertJoystick; - zPlayerGlobals player; - zAssetPickupTable* pickupTable; - zCutsceneMgr* cmgr; - zCutsceneMgr* DisabledCutsceneDoneMgr; - int8 startDebugMode[32]; - uint32 noMovies; - uint32 boundUpdateTime; - uint8 draw_player_after_fx; - zGlobalDemoType demoType; + uint32 playerTag; + uint32 playerLoaded; + uint32 playerLoadOrder[8]; + uint8 invertJoystick; + zPlayerGlobals player; + zAssetPickupTable* pickupTable; + zCutsceneMgr* cmgr; + zCutsceneMgr* DisabledCutsceneDoneMgr; + int8 startDebugMode[32]; + uint32 noMovies; + uint32 boundUpdateTime; + uint8 draw_player_after_fx; + zGlobalDemoType demoType; }; struct zFragSoundAsset : zFragAsset { - uint32 assetID; - zFragLocation source; + uint32 assetID; + zFragLocation source; }; struct _anon48 @@ -8381,42 +8348,42 @@ struct _anon49 struct zNMEGoalFlingFlee : zNMEGoalCommon { - float32 tmr_minFlee; - struct - { - int32 flg_toldMoverIgnore : 1; - int32 flg_otherstuf : 31; - }; + float32 tmr_minFlee; + struct + { + int32 flg_toldMoverIgnore : 1; + int32 flg_otherstuf : 31; + }; - int32 GoalHandleMail(NMEMsg* mail); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 GoalHandleMail(NMEMsg* mail); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct _class_2 { - en_haztyp haztype; - float32 spdProj; - float32 dstMinRange; - float32 tymLeadTarget; - xVec3 vecOffsetLaunch; - float32 tymReload; - float32 radMin; - float32 radMax; + en_haztyp haztype; + float32 spdProj; + float32 dstMinRange; + float32 tymLeadTarget; + xVec3 vecOffsetLaunch; + float32 tymReload; + float32 radMin; + float32 radMax; }; struct xGridBound { - void* data; - uint16 gx; - uint16 gz; - uint8 oversize; - uint8 deleted; - uint8 gpad; - uint8 pad; - xGrid* grid; - xGridBound** head; - xGridBound* next; + void* data; + uint16 gx; + uint16 gz; + uint8 oversize; + uint8 deleted; + uint8 gpad; + uint8 pad; + xGrid* grid; + xGridBound** head; + xGridBound* next; }; struct _anon50 @@ -8425,18 +8392,17 @@ struct _anon50 struct HAZTurBoom : HAZBasic { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct sound_queue { - iSndHandle _playing[5]; - int32 head; - int32 tail; + iSndHandle _playing[5]; + int32 head; + int32 tail; }; enum iSndHandle @@ -8445,45 +8411,45 @@ enum iSndHandle struct RpUserDataArray { - int8* name; - RpUserDataFormat format; - int32 numElements; - void* data; + int8* name; + RpUserDataFormat format; + int32 numElements; + void* data; }; struct NMEStunInfo { - float32 tym_stuntime; - en_carystat carrystate; - int32 allowStun; + float32 tym_stuntime; + en_carystat carrystate; + int32 allowStun; }; enum eTongueSpinState { - ezTONGUESPIN_STATE_HIDDEN, - ezTONGUESPIN_STATE_BURROW, - ezTONGUESPIN_STATE_POPUP, - ezTONGUESPIN_STATE_ATTACK, - ezTONGUESPIN_STATE_ATTACK_WAIT, - ezTONGUESPIN_STATE_POPDOWN, - ezTONGUESPIN_STATE_TAUNT, - ezTONGUESPIN_STATE_DAMAGE, - ezTONGUESPIN_STATE_STUN, - ezTONGUESPIN_STATE_DEAD + ezTONGUESPIN_STATE_HIDDEN, + ezTONGUESPIN_STATE_BURROW, + ezTONGUESPIN_STATE_POPUP, + ezTONGUESPIN_STATE_ATTACK, + ezTONGUESPIN_STATE_ATTACK_WAIT, + ezTONGUESPIN_STATE_POPDOWN, + ezTONGUESPIN_STATE_TAUNT, + ezTONGUESPIN_STATE_DAMAGE, + ezTONGUESPIN_STATE_STUN, + ezTONGUESPIN_STATE_DEAD }; struct tier_queue { - uint32 first; - uint32 _size; - uint32 wrap_mask; - tier_queue_allocator* alloc; - uint8 blocks[32]; + uint32 first; + uint32 _size; + uint32 wrap_mask; + tier_queue_allocator* alloc; + uint8 blocks[32]; }; struct zFragShrapnel { - zFragShrapnelAsset* fasset; + zFragShrapnelAsset* fasset; }; struct _anon51 @@ -8496,202 +8462,199 @@ struct _anon52 struct HAZMachoBowlExplosion : HAZBasic { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; enum en_npcstreak { - NME_STRK_BASICWHITE, - NME_STRK_JELLYPINK, - NME_STRK_SLAMHORZ, - NME_STRK_SLAMVERT, - NME_STRK_NOMORE, - NME_STRK_FORCE = 0x7fffffff + NME_STRK_BASICWHITE, + NME_STRK_JELLYPINK, + NME_STRK_SLAMHORZ, + NME_STRK_SLAMVERT, + NME_STRK_NOMORE, + NME_STRK_FORCE = 0x7fffffff }; struct _class_3 { - struct - { - uint8 invisible : 1; - uint8 ethereal : 1; - uint8 merge : 1; - uint8 word_break : 1; - uint8 word_end : 1; - uint8 line_break : 1; - uint8 stop : 1; - uint8 tab : 1; - }; - struct - { - uint8 insert : 1; - uint8 dynamic : 1; - uint8 page_break : 1; - uint8 stateful : 1; - uint8 japanese_break : 1; - }; - uint16 dummy : 3; + struct + { + uint8 invisible : 1; + uint8 ethereal : 1; + uint8 merge : 1; + uint8 word_break : 1; + uint8 word_end : 1; + uint8 line_break : 1; + uint8 stop : 1; + uint8 tab : 1; + }; + struct + { + uint8 insert : 1; + uint8 dynamic : 1; + uint8 page_break : 1; + uint8 stateful : 1; + uint8 japanese_break : 1; + }; + uint16 dummy : 3; }; struct CurveInfo_0 { - SparkyCurve* curveData; - int32 curveSize; - float32 alf_master; - float32 scl_master; + SparkyCurve* curveData; + int32 curveSize; + float32 alf_master; + float32 scl_master; }; struct curve_node_0 { - float32 time; - xColor_tag color; - float32 scale; + float32 time; + xColor_tag color; + float32 scale; }; struct trail_emitter { - int32 type; - xVec3 loc; - float32 emitted; - int32 glare_id; - float32 streak_delay; - float32 streaks_emitted; - float32 spark_delay; - float32 sparks_emitted; - presence_volume* presence; - iSndHandle tracking_sound; + int32 type; + xVec3 loc; + float32 emitted; + int32 glare_id; + float32 streak_delay; + float32 streaks_emitted; + float32 spark_delay; + float32 sparks_emitted; + presence_volume* presence; + iSndHandle tracking_sound; }; struct BattleCollideData { - zNMEGoalSpinBattle* goal_battle; - zNMESpinner* npc; - xBound bound; + zNMEGoalSpinBattle* goal_battle; + zNMESpinner* npc; + xBound bound; - uint8 __cl(xEnt& ent); + uint8 __cl(xEnt& ent); }; struct zNMEGoalSpooked : zNMEGoalCommon { - float32 tmr_nextturn; - float32 tmr_spooked; - xVec3 dir_desire; + float32 tmr_nextturn; + float32 tmr_spooked; + xVec3 dir_desire; - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct meter_widget : widget { - meter_asset* res; - float32 value; - float32 min_value; - float32 max_value; - float32 inc_value; - float32 end_value; - float32 inc_accel; - float32 ping_delay; - sound_queue pings; + meter_asset* res; + float32 value; + float32 min_value; + float32 max_value; + float32 inc_value; + float32 end_value; + float32 inc_accel; + float32 ping_delay; + sound_queue pings; }; struct xCutsceneMgrAsset : xBaseAsset { - uint32 cutsceneAssetID; - uint32 flags; - float32 interpSpeed; - uint32 uSubtitlesID; - float32 startTime[15]; - float32 endTime[15]; - uint32 emitID[15]; + uint32 cutsceneAssetID; + uint32 flags; + float32 interpSpeed; + uint32 uSubtitlesID; + float32 startTime[15]; + float32 endTime[15]; + uint32 emitID[15]; }; enum en_GOALSTATE { - GOAL_STAT_UNKNOWN, - GOAL_STAT_PROCESS, - GOAL_STAT_ENTER, - GOAL_STAT_EXIT, - GOAL_STAT_SUSPEND, - GOAL_STAT_RESUME, - GOAL_STAT_PAUSED, - GOAL_STAT_DONE, - GOAL_STAT_NOMORE, - GOAL_STAT_FORCE = 0x7fffffff + GOAL_STAT_UNKNOWN, + GOAL_STAT_PROCESS, + GOAL_STAT_ENTER, + GOAL_STAT_EXIT, + GOAL_STAT_SUSPEND, + GOAL_STAT_RESUME, + GOAL_STAT_PAUSED, + GOAL_STAT_DONE, + GOAL_STAT_NOMORE, + GOAL_STAT_FORCE = 0x7fffffff }; struct zNMEGoalWaiting : zNMEGoalLoopAnim { - float32 tmr_waiting; + float32 tmr_waiting; - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Resume(); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Resume(); + int32 Enter(); }; struct xIsect { - uint32 flags; - float32 penned; - float32 contained; - float32 lapped; - xVec3 point; - xVec3 norm; - float32 dist; + uint32 flags; + float32 penned; + float32 contained; + float32 lapped; + xVec3 point; + xVec3 norm; + float32 dist; }; struct zNMEGoalTurrBIdle : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); }; struct xCoef { - float32 a[4]; + float32 a[4]; }; struct xCam { - xMat4x3 mat; - float32 fov; - int32 flags; - uint32 owner; - xCamGroup* group; - analog_data analog; - float32 motion_factor; - xCamCoordType coord_type; - xCamOrientType orient_type; - _class_11 coord; - _class_16 orient; - xCamConfigCommon cfg_common; - int32 group_index; - int32 group_flags; - xCamBlend* blender; - - void destroy(); - xCam* get_next(); - xCamConfigFollow* config_follow(); - void scene_exit(); - void scene_enter(); + xMat4x3 mat; + float32 fov; + int32 flags; + uint32 owner; + xCamGroup* group; + analog_data analog; + float32 motion_factor; + xCamCoordType coord_type; + xCamOrientType orient_type; + _class_11 coord; + _class_16 orient; + xCamConfigCommon cfg_common; + int32 group_index; + int32 group_flags; + xCamBlend* blender; + + void destroy(); + xCam* get_next(); + xCamConfigFollow* config_follow(); + void scene_exit(); + void scene_enter(); }; struct xQuat { - xVec3 v; - float32 s; + xVec3 v; + float32 s; }; struct zNMEGoalBuckRunning : zNMEGoalCommon { - - int32 GoalHandleMail(NMEMsg* msg); - int32 Exit(); - int32 Enter(); + int32 GoalHandleMail(NMEMsg* msg); + int32 Exit(); + int32 Enter(); }; struct _anon53 @@ -8700,203 +8663,199 @@ struct _anon53 struct PuffEmitter { - en_npartyp useNPARtype; - float32 tym_lifespan; - xColor_tag colr_base; - float32 siz_base[2]; - xVec3 acc_base; - float32 spd_rotate; - int8 pct_keep; - int8 doDamage; - int8 num_emit; - int8 unused; - union - { - PropWashParm wash; - ImpactRingParm ring; - FootstrokeParm stroke; - }; - - void Footstroke(xVec3* pos, xVec3* dir_emit); - void RoundRing(xVec3* pos, float32 radius, xVec3* vel_drift); - void ImpactRing(xVec3* pos, xVec3* vel_drift); - void PropWash(xVec3* pos, xVec3* vel_drift); + en_npartyp useNPARtype; + float32 tym_lifespan; + xColor_tag colr_base; + float32 siz_base[2]; + xVec3 acc_base; + float32 spd_rotate; + int8 pct_keep; + int8 doDamage; + int8 num_emit; + int8 unused; + union + { + PropWashParm wash; + ImpactRingParm ring; + FootstrokeParm stroke; + }; + + void Footstroke(xVec3* pos, xVec3* dir_emit); + void RoundRing(xVec3* pos, float32 radius, xVec3* vel_drift); + void ImpactRing(xVec3* pos, xVec3* vel_drift); + void PropWash(xVec3* pos, xVec3* vel_drift); }; struct HAZPopRock : HAZLobber { - - void EndOfLifespan(zNMEHazard* haz); - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void EndOfLifespan(zNMEHazard* haz); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct ptank_pool__pos_color_size_rot : ptank_pool { - xVec3* pos; - xColor_tag* color; - xVec2* size; - float32* rot; + xVec3* pos; + xColor_tag* color; + xVec2* size; + float32* rot; }; struct zNMEGoalNotice : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt); + int32 Enter(); }; struct zNMEGoalTikiDead : zNMEGoalCommon { - float32 tmr_resurrect; + float32 tmr_resurrect; - int32 Exit(); - int32 Enter(); + int32 Exit(); + int32 Enter(); }; struct Restore { - uint8 chkby; - uint8 penby; - uint8 padpad[2]; - union - { - en_npcgol gid_compare; - int32 gid_COMPARE; - }; + uint8 chkby; + uint8 penby; + uint8 padpad[2]; + union + { + en_npcgol gid_compare; + int32 gid_COMPARE; + }; }; struct xAnimTransitionList { - xAnimTransitionList* Next; - xAnimTransition* T; + xAnimTransitionList* Next; + xAnimTransition* T; }; struct zFragExplosion { - zFragExplosionAsset* fasset; - trail_emitter trail; - xVec3 initPos; + zFragExplosionAsset* fasset; + trail_emitter trail; + xVec3 initPos; }; struct config_0 { - xVec3 viewPoint; - float32 targetHeight; - float32 povfov; + xVec3 viewPoint; + float32 targetHeight; + float32 povfov; }; struct zMODSupport : zModule { - - void Timestep(); - void SceneReset(); - void ScenePostInit(); - void SceneFinish(); - void ScenePrepare(); + void Timestep(); + void SceneReset(); + void ScenePostInit(); + void SceneFinish(); + void ScenePrepare(); }; enum en_allow { - ALLOW_NEVER, - ALLOW_NORMAL, - ALLOW_ALWAYS, - ALLOW_NOMORE + ALLOW_NEVER, + ALLOW_NORMAL, + ALLOW_ALWAYS, + ALLOW_NOMORE }; struct xDestructibleAssetAttachedAnimList { - uint32 nanimations; - uint32* animationIDs; + uint32 nanimations; + uint32* animationIDs; }; struct zNMEAssetBucketOTron : zNMEAsset { - uint32 aid_spawnGroup; - en_spawnmode spawnMode; - float32 spawnDelay; - int32 flg_buckass; - int32 maxSpawn; + uint32 aid_spawnGroup; + en_spawnmode spawnMode; + float32 spawnDelay; + int32 flg_buckass; + int32 maxSpawn; }; enum eShellState { - eShellClosed, - eShellOpening, - eShellOpened, - eShellClosing + eShellClosed, + eShellOpening, + eShellOpened, + eShellClosing }; struct zNMEGoalSlamAttack : zNMEGoalPushAnim { - xVec3 pos_lastVert; - xVec3 pos_oldVert; - struct - { - int32 flg_hitTarget : 1; - int32 flg_hitPlayer : 1; - int32 flg_didEffect : 1; - int32 flg_needWave : 1; - int32 flg_unused : 28; - }; - xFXRibbon* ribhorz; - xFXRibbon* ribvert; - int32 cnt_skipRibbonJoint; - - void RibbonHorz(zNMESlammer* npc, xFXRibbon* rib, RibData* ribhelp); - void RibbonStep(zNMESlammer* npc); - void DoCapsuleTests(zNMESlammer* npc); - int32 WaveChecks(zNMESlammer* npc); - int32 ChkPrelimTran(zNMESlammer* npc, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + xVec3 pos_lastVert; + xVec3 pos_oldVert; + struct + { + int32 flg_hitTarget : 1; + int32 flg_hitPlayer : 1; + int32 flg_didEffect : 1; + int32 flg_needWave : 1; + int32 flg_unused : 28; + }; + xFXRibbon* ribhorz; + xFXRibbon* ribvert; + int32 cnt_skipRibbonJoint; + + void RibbonHorz(zNMESlammer* npc, xFXRibbon* rib, RibData* ribhelp); + void RibbonStep(zNMESlammer* npc); + void DoCapsuleTests(zNMESlammer* npc); + int32 WaveChecks(zNMESlammer* npc); + int32 ChkPrelimTran(zNMESlammer* npc, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct HAZTuneBoom : HAZBasic { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct xScene { - uint32 sceneID; - uint16 flags; - uint16 num_trigs; - uint16 num_stats; - uint16 num_dyns; - uint16 num_npcs; - uint16 num_act_ents; - float32 gravity; - float32 drag; - float32 friction; - uint16 num_ents_allocd; - uint16 num_trigs_allocd; - uint16 num_stats_allocd; - uint16 num_dyns_allocd; - uint16 num_npcs_allocd; - xEnt** trigs; - xEnt** stats; - xEnt** dyns; - xEnt** npcs; - xEnt** act_ents; - xEnv* env; - xMemPool mempool; - xBase*(*resolvID)(uint32); - int8*(*base2Name)(xBase*); - int8*(*id2Name)(uint32); + uint32 sceneID; + uint16 flags; + uint16 num_trigs; + uint16 num_stats; + uint16 num_dyns; + uint16 num_npcs; + uint16 num_act_ents; + float32 gravity; + float32 drag; + float32 friction; + uint16 num_ents_allocd; + uint16 num_trigs_allocd; + uint16 num_stats_allocd; + uint16 num_dyns_allocd; + uint16 num_npcs_allocd; + xEnt** trigs; + xEnt** stats; + xEnt** dyns; + xEnt** npcs; + xEnt** act_ents; + xEnv* env; + xMemPool mempool; + xBase* (*resolvID)(uint32); + int8* (*base2Name)(xBase*); + int8* (*id2Name)(uint32); }; struct zFragShrapnelAsset : zFragAsset { - uint32 shrapnelID; - zShrapnelAsset* shrapAsset; + uint32 shrapnelID; + zShrapnelAsset* shrapAsset; }; struct _anon54 @@ -8905,66 +8864,65 @@ struct _anon54 struct zSimpleMgr { - xSphere worldBound; - float32 noRenderDist; - float32 lodDist0; - float32 fadeDist; - uint32 flags; - xModelBucket** lodBucket[2]; - RpAtomic* lodAtomic[2]; - RwMatrixTag* mat; - xModelInstance* model; - zEntSimpleObj* ent; - xLightKit* lkit; + xSphere worldBound; + float32 noRenderDist; + float32 lodDist0; + float32 fadeDist; + uint32 flags; + xModelBucket** lodBucket[2]; + RpAtomic* lodAtomic[2]; + RwMatrixTag* mat; + xModelInstance* model; + zEntSimpleObj* ent; + xLightKit* lkit; }; struct HAZSlamWaveMD : HAZBasic { - - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct Damage_2 { - float32 rad_collide; - float32 pam_collide[2]; - uint8 alf_collide; - uint8 unused[3]; + float32 rad_collide; + float32 pam_collide[2]; + uint8 alf_collide; + uint8 unused[3]; }; struct iAnimSKBHeader { - uint32 Magic; - void* ExtractedData; - uint16 BoneCount; - uint16 TimeCount; - uint32 KeyCount; - float32 Scale[3]; + uint32 Magic; + void* ExtractedData; + uint16 BoneCount; + uint16 TimeCount; + uint32 KeyCount; + float32 Scale[3]; }; enum _zPlayerWallJumpState { - k_WALLJUMP_NOT, - k_WALLJUMP_LAUNCH, - k_WALLJUMP_FLIGHT, - k_WALLJUMP_LAND, - k_WALLJUMP_STUCK, - k_WALLJUMP_FALL + k_WALLJUMP_NOT, + k_WALLJUMP_LAUNCH, + k_WALLJUMP_FLIGHT, + k_WALLJUMP_LAND, + k_WALLJUMP_STUCK, + k_WALLJUMP_FALL }; struct xCamCoordSphere { - xVec3 origin; - float32 dist; - xQuat dir; + xVec3 origin; + float32 dist; + xQuat dir; }; struct zFragBone { - int32 index; - xVec3 offset; + int32 index; + xVec3 offset; }; struct _anon55 @@ -8973,16 +8931,15 @@ struct _anon55 struct ZapLetMeKnow : xPSYNote { - xPsyche* psy_zapper; + xPsyche* psy_zapper; - void Notice(xGoal* goal); + void Notice(xGoal* goal); }; struct zNMEGoalZapAware : zNMEGoalCommon { - - int32 ChkTheSituation(zNMEZapper* npc, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 ChkTheSituation(zNMEZapper* npc, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); }; struct _anon56 @@ -8991,61 +8948,61 @@ struct _anon56 struct zSurfacePropUVFX { - int32 mode; - float32 rot; - float32 rot_spd; - float32 minmax_timer[2]; - xVec3 trans; - xVec3 trans_spd; - xVec3 scale; - xVec3 scale_spd; - xVec3 min; - xVec3 max; - xVec3 minmax_spd; + int32 mode; + float32 rot; + float32 rot_spd; + float32 minmax_timer[2]; + xVec3 trans; + xVec3 trans_spd; + xVec3 scale; + xVec3 scale_spd; + xVec3 min; + xVec3 max; + xVec3 minmax_spd; }; struct zDestructibleStateFXList { - uint32 nfx; - zDestructibleStateFXParams* fxParams; + uint32 nfx; + zDestructibleStateFXParams* fxParams; }; struct zNeptuneParCol { - float32 tnext; - uint8 r; - uint8 g; - uint8 b; - uint8 a; - float32 tsub; - float32 tmul; + float32 tnext; + uint8 r; + uint8 g; + uint8 b; + uint8 a; + float32 tsub; + float32 tmul; }; struct zNMEAssetMindy : zNMEAsset { - uint32 taskBoxID; - float32 clamOpenDistance; - float32 clamCloseDistance; - uint32 textBoxID; - uint32 primaryCharacter; - uint32 secondaryTaskBoxID; + uint32 taskBoxID; + float32 clamOpenDistance; + float32 clamCloseDistance; + uint32 textBoxID; + uint32 primaryCharacter; + uint32 secondaryTaskBoxID; }; struct presence_volume { - float32 knockback; - xVec3 center; - float32 radius; - float32 damage_player; - float32 damage_npc; - float32 damage_other; + float32 knockback; + xVec3 center; + float32 radius; + float32 damage_player; + float32 damage_npc; + float32 damage_other; }; struct zFragExplosionAsset : zFragAsset { - uint32 type; - zFragLocation loc; - uint32 flags; + uint32 type; + zFragLocation loc; + uint32 flags; }; struct _anon57 @@ -9054,80 +9011,80 @@ struct _anon57 struct RtAnimInterpolator { - RtAnimAnimation* pCurrentAnim; - float32 currentTime; - void* pNextFrame; - RtAnimInterpolator*(*pAnimCallBack)(RtAnimInterpolator*, void*); - void* pAnimCallBackData; - float32 animCallBackTime; - RtAnimInterpolator*(*pAnimLoopCallBack)(RtAnimInterpolator*, void*); - void* pAnimLoopCallBackData; - int32 maxInterpKeyFrameSize; - int32 currentInterpKeyFrameSize; - int32 currentAnimKeyFrameSize; - int32 numNodes; - int32 isSubInterpolator; - int32 offsetInParent; - RtAnimInterpolator* parentAnimation; - void(*keyFrameApplyCB)(void*, void*); - void(*keyFrameBlendCB)(void*, void*, void*, float32); - void(*keyFrameInterpolateCB)(void*, void*, void*, float32, void*); - void(*keyFrameAddCB)(void*, void*, void*); + RtAnimAnimation* pCurrentAnim; + float32 currentTime; + void* pNextFrame; + RtAnimInterpolator* (*pAnimCallBack)(RtAnimInterpolator*, void*); + void* pAnimCallBackData; + float32 animCallBackTime; + RtAnimInterpolator* (*pAnimLoopCallBack)(RtAnimInterpolator*, void*); + void* pAnimLoopCallBackData; + int32 maxInterpKeyFrameSize; + int32 currentInterpKeyFrameSize; + int32 currentAnimKeyFrameSize; + int32 numNodes; + int32 isSubInterpolator; + int32 offsetInParent; + RtAnimInterpolator* parentAnimation; + void (*keyFrameApplyCB)(void*, void*); + void (*keyFrameBlendCB)(void*, void*, void*, float32); + void (*keyFrameInterpolateCB)(void*, void*, void*, float32, void*); + void (*keyFrameAddCB)(void*, void*, void*); }; struct zNMEGoalTurrTTurn : zNMEGoalCommon { - float32 tmr_shootDelay; + float32 tmr_shootDelay; - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Resume(); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Resume(); + int32 Enter(); }; struct zFragParticleAsset : zFragAsset { - zFragLocation source; - zFragLocation vel; - xParEmitterCustomSettings emit; - uint32 flags; - uint32 parEmitterID; - zParEmitter* parEmitter; + zFragLocation source; + zFragLocation vel; + xParEmitterCustomSettings emit; + uint32 flags; + uint32 parEmitterID; + zParEmitter* parEmitter; }; struct xColor_tag { - uint8 r; - uint8 g; - uint8 b; - uint8 a; - RwRGBA rgba; + uint8 r; + uint8 g; + uint8 b; + uint8 a; + RwRGBA rgba; }; struct RpWorldSector { - int32 type; - RpTriangle* triangles; - RwV3d* vertices; - RpVertexNormal* normals; - RwTexCoords* texCoords[8]; - RwRGBA* preLitLum; - RwResEntry* repEntry; - RwLinkList collAtomicsInWorldSector; - RwLinkList lightsInWorldSector; - RwBBox boundingBox; - RwBBox tightBoundingBox; - RpMeshHeader* mesh; - RxPipeline* pipeline; - uint16 matListWindowBase; - uint16 numVertices; - uint16 numTriangles; - uint16 pad; + int32 type; + RpTriangle* triangles; + RwV3d* vertices; + RpVertexNormal* normals; + RwTexCoords* texCoords[8]; + RwRGBA* preLitLum; + RwResEntry* repEntry; + RwLinkList collAtomicsInWorldSector; + RwLinkList lightsInWorldSector; + RwBBox boundingBox; + RwBBox tightBoundingBox; + RpMeshHeader* mesh; + RxPipeline* pipeline; + uint16 matListWindowBase; + uint16 numVertices; + uint16 numTriangles; + uint16 pad; }; struct RwSphere { - RwV3d center; - float32 radius; + RwV3d center; + float32 radius; }; struct _anon58 @@ -9136,33 +9093,32 @@ struct _anon58 struct Health_2 { - int32 pts_healthMax; + int32 pts_healthMax; }; struct zNMEGoalLimbo : zNMEGoalDead { - - int32 GoalHandleMail(NMEMsg* mail); - int32 Enter(); + int32 GoalHandleMail(NMEMsg* mail); + int32 Enter(); }; struct FloatAndVoid { - union - { - float32 f; - void* v; - }; + union + { + float32 f; + void* v; + }; }; struct zNMEGoalMervBowl : zNMEGoalCommon { - float32 tmr_linger; - float32 tmr_repelMin; + float32 tmr_linger; + float32 tmr_repelMin; - int32 RepelBowlBall(float32 dt); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 RepelBowlBall(float32 dt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct _anon59 @@ -9175,41 +9131,39 @@ struct _anon60 struct zNMEGoalSpinAware : zNMEGoalCommon { - - int32 ChkTranCases(zNMESpinner* npc, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 ChkTranCases(zNMESpinner* npc, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct xJSPNodeTreeLeaf { - int32 nodeIndex; - int32 leafCount; - RwBBox box; + int32 nodeIndex; + int32 leafCount; + RwBBox box; }; struct st_XORDEREDARRAY { - void** list; - int32 cnt; - int32 max; - int32 warnlvl; + void** list; + int32 cnt; + int32 max; + int32 warnlvl; }; struct zNMETurret : zNMECommon { - - zMovePoint* MvptFirstTarget(); - xAnimTable* CreateAnimTable(xAnimTable* table); - void Init(xEntAsset* asset); + zMovePoint* MvptFirstTarget(); + xAnimTable* CreateAnimTable(xAnimTable* table); + void Init(xEntAsset* asset); }; struct xClumpCollBSPBranchNode { - uint32 leftInfo; - uint32 rightInfo; - float32 leftValue; - float32 rightValue; + uint32 leftInfo; + uint32 rightInfo; + float32 leftValue; + float32 rightValue; }; struct _anon61 @@ -9218,161 +9172,161 @@ struct _anon61 struct ptank_pool__pos_color_size_rot_uv2 : ptank_pool { - xVec3* pos; - xColor_tag* color; - xVec2* size; - xVec2* uv; - float32* rot; + xVec3* pos; + xColor_tag* color; + xVec2* size; + xVec2* uv; + float32* rot; }; enum en_npctgt { - NME_TGT_NONE, - NME_TGT_PLYR, - NME_TGT_ENT, - NME_TGT_BASE, - NME_TGT_POS, - NME_TGT_MVPT, - NME_TGT_NOMORE, - NME_TGT_FORCEINT = 0x7fffffff + NME_TGT_NONE, + NME_TGT_PLYR, + NME_TGT_ENT, + NME_TGT_BASE, + NME_TGT_POS, + NME_TGT_MVPT, + NME_TGT_NOMORE, + NME_TGT_FORCEINT = 0x7fffffff }; struct RwStreamFile { - union - { - void* fpFile; - void* constfpFile; - }; + union + { + void* fpFile; + void* constfpFile; + }; }; struct RxCluster { - uint16 flags; - uint16 stride; - void* data; - void* currentData; - uint32 numAlloced; - uint32 numUsed; - RxPipelineCluster* clusterRef; - uint32 attributes; + uint16 flags; + uint16 stride; + void* data; + void* currentData; + uint32 numAlloced; + uint32 numUsed; + RxPipelineCluster* clusterRef; + uint32 attributes; }; struct ExhaustParticle { - xVec3 pos; - float32 size; - xVec3 vel; - ExhaustEmitter* emitter; - float32 tym_lifespan; - float32 tmr_remain; - float32 fac_abuse; - float32 rot; - xVec3 acc_emitaxis; - int8 idx_curvNode; - uint8 uv_numCell; - uint8 uv_cell; - int8 unused; + xVec3 pos; + float32 size; + xVec3 vel; + ExhaustEmitter* emitter; + float32 tym_lifespan; + float32 tmr_remain; + float32 fac_abuse; + float32 rot; + xVec3 acc_emitaxis; + int8 idx_curvNode; + uint8 uv_numCell; + uint8 uv_cell; + int8 unused; }; struct UpdateInfo_0 { - int32 frq_dustEmit; - float32 fac_force; + int32 frq_dustEmit; + float32 fac_force; }; struct rxHeapSuperBlockDescriptor { - void* start; - uint32 size; - rxHeapSuperBlockDescriptor* next; + void* start; + uint32 size; + rxHeapSuperBlockDescriptor* next; }; struct ExplodeCollChkData { - zNMECommon* npc_orig; - xBound bound; + zNMECommon* npc_orig; + xBound bound; - uint8 __cl(xEnt& ent); + uint8 __cl(xEnt& ent); }; enum eDirection { - eDIRECTION_X, - eDIRECTION_Y + eDIRECTION_X, + eDIRECTION_Y }; enum eFFBossStage { - ezFFBOSS_STAGE_A, - ezFFBOSS_STAGE_B, - ezFFBOSS_STAGE_C, - ezFFBOSS_STAGE_INTRO, - ezFFBOSS_STAGE_OUTRO, - exFFBOSS_STAGE_NOMORE + ezFFBOSS_STAGE_A, + ezFFBOSS_STAGE_B, + ezFFBOSS_STAGE_C, + ezFFBOSS_STAGE_INTRO, + ezFFBOSS_STAGE_OUTRO, + exFFBOSS_STAGE_NOMORE }; struct _tagLightningAdd { - uint32 type; - float32 setup_degrees; - float32 move_degrees; - float32 rot_radius; - xVec3* start; - xVec3* end; - int16 total_points; - int16 end_points; - float32 time; - float32 arc_height; - float32 thickness; - float32 segmentsPerMeter; - xColor_tag color; - float32 rand_radius; - uint32 flags; - float32 zeus_normal_offset; - float32 zeus_back_offset; - float32 zeus_side_offset; - float32 branchSpeed; - uint32 mainTexture; - uint32 branchTexture; - int32 damage; - float32 knockBackSpeed; - xEnt* followStart; - xEnt* followEnd; - iSndHandle sndHandle; - uint8 collisionEnabled; - uint8 isMain; + uint32 type; + float32 setup_degrees; + float32 move_degrees; + float32 rot_radius; + xVec3* start; + xVec3* end; + int16 total_points; + int16 end_points; + float32 time; + float32 arc_height; + float32 thickness; + float32 segmentsPerMeter; + xColor_tag color; + float32 rand_radius; + uint32 flags; + float32 zeus_normal_offset; + float32 zeus_back_offset; + float32 zeus_side_offset; + float32 branchSpeed; + uint32 mainTexture; + uint32 branchTexture; + int32 damage; + float32 knockBackSpeed; + xEnt* followStart; + xEnt* followEnd; + iSndHandle sndHandle; + uint8 collisionEnabled; + uint8 isMain; }; struct xParEmitter : xBase { - xParEmitterAsset* tasset; - xParGroup* group; - xParEmitterPropsAsset* prop; - uint8 rate_mode; - xVec3 last_emit_position; - xVec3 last_emit_velocity; - float32 rate; - float32 rate_time; - float32 rate_fraction; - float32 rate_fraction_cull; - uint8 emit_flags; - uint8 emit_pad[3]; - uint8 rot[3]; - xModelTag tag; - float32 oocull_distance_sqr; - float32 distance_to_cull_sqr; - void* attachTo; - xParSys* parSys; - xBase* emit_volume; - xVec3 last_attach_loc; + xParEmitterAsset* tasset; + xParGroup* group; + xParEmitterPropsAsset* prop; + uint8 rate_mode; + xVec3 last_emit_position; + xVec3 last_emit_velocity; + float32 rate; + float32 rate_time; + float32 rate_fraction; + float32 rate_fraction_cull; + uint8 emit_flags; + uint8 emit_pad[3]; + uint8 rot[3]; + xModelTag tag; + float32 oocull_distance_sqr; + float32 distance_to_cull_sqr; + void* attachTo; + xParSys* parSys; + xBase* emit_volume; + xVec3 last_attach_loc; }; struct Flags_0 { - int8 doDamage; - int8 useLinear; - int8 unused[2]; + int8 doDamage; + int8 useLinear; + int8 unused[2]; }; struct _anon62 @@ -9381,46 +9335,44 @@ struct _anon62 struct HAZTikiBoom : HAZBasic { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct HAZMervlet : HAZLobber { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); - void ScenePrepare(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); + void ScenePrepare(); }; struct xJSPNodeTree { - int32 numBranchNodes; - xJSPNodeTreeBranch* branchNodes; - int32 numLeafNodes; - xJSPNodeTreeLeaf* leafNodes; + int32 numBranchNodes; + xJSPNodeTreeBranch* branchNodes; + int32 numLeafNodes; + xJSPNodeTreeLeaf* leafNodes; }; enum RxClusterValid { - rxCLVALID_NOCHANGE, - rxCLVALID_VALID, - rxCLVALID_INVALID, - rxCLUSTERVALIDFORCEENUMSIZEINT = 0x7fffffff + rxCLVALID_NOCHANGE, + rxCLVALID_VALID, + rxCLVALID_INVALID, + rxCLUSTERVALIDFORCEENUMSIZEINT = 0x7fffffff }; struct xScriptEventAsset { - float32 time; - uint32 widget; - uint32 paramEvent; - float32 param[4]; - uint32 paramWidget; + float32 time; + uint32 widget; + uint32 paramEvent; + float32 param[4]; + uint32 paramWidget; }; struct _anon63 @@ -9429,70 +9381,70 @@ struct _anon63 enum eSOUND { - eSOUND_Outrage, - eSOUND_Damage, - eSOUND_TailLeft, - eSOUND_TailRight, - eSOUND_DefendLoop, - eSOUND_StunLoop, - eSOUND_FireClick, - eSOUND_Recover, - eSOUND_Taunt, - eSOUND_FireCharge, - eSOUND_FireHoseLoop, - eSOUND_FireLightningLoop, - eSOUND_FireRingLoop, - eSOUND_PovCharge, - eSOUND_PovAttack, - eSOUND_PovReflect, - eSOUND_PovStunLoop, - eSOUND_PovBucketLoop, - eSOUND_VO_PatHintTable1, - eSOUND_VO_PatHintTable2, - eSOUND_VO_PatHintTable3, - eSOUND_VO_PatHintDodge1, - eSOUND_VO_PatHintDodge2, - eSOUND_VO_PatHintWave1, - eSOUND_VO_PatDamage1, - eSOUND_VO_PlankDamage1, - eSOUND_VO_PlankTauntDmg1, - eSOUND_VO_PlankTauntDmg2, - eSOUND_VO_PlankTauntDmg3, - eSOUND_VO_PlankTaunt1, - eSOUND_VO_NepTauntDmg1, - eSOUND_VO_NepTaunt1, - eSOUND_VO_NepTaunt2, - eSOUND_VO_NepTaunt3, - eSOUND_MAX + eSOUND_Outrage, + eSOUND_Damage, + eSOUND_TailLeft, + eSOUND_TailRight, + eSOUND_DefendLoop, + eSOUND_StunLoop, + eSOUND_FireClick, + eSOUND_Recover, + eSOUND_Taunt, + eSOUND_FireCharge, + eSOUND_FireHoseLoop, + eSOUND_FireLightningLoop, + eSOUND_FireRingLoop, + eSOUND_PovCharge, + eSOUND_PovAttack, + eSOUND_PovReflect, + eSOUND_PovStunLoop, + eSOUND_PovBucketLoop, + eSOUND_VO_PatHintTable1, + eSOUND_VO_PatHintTable2, + eSOUND_VO_PatHintTable3, + eSOUND_VO_PatHintDodge1, + eSOUND_VO_PatHintDodge2, + eSOUND_VO_PatHintWave1, + eSOUND_VO_PatDamage1, + eSOUND_VO_PlankDamage1, + eSOUND_VO_PlankTauntDmg1, + eSOUND_VO_PlankTauntDmg2, + eSOUND_VO_PlankTauntDmg3, + eSOUND_VO_PlankTaunt1, + eSOUND_VO_NepTauntDmg1, + eSOUND_VO_NepTaunt1, + eSOUND_VO_NepTaunt2, + eSOUND_VO_NepTaunt3, + eSOUND_MAX }; struct PuffParticle { - xVec3 pos; - float32 size; - xVec3 vel; - PuffEmitter* emitter; - float32 tmr_remain; - float32 tym_lifespan; - float32 fac_abuse; - xColor_tag color; - float32 rot; - float32 rot_vel; - uint8 uv_numCell; - uint8 uv_cell; - uint8 pct_keep; - uint8 padding; - int32 unused; + xVec3 pos; + float32 size; + xVec3 vel; + PuffEmitter* emitter; + float32 tmr_remain; + float32 tym_lifespan; + float32 fac_abuse; + xColor_tag color; + float32 rot; + float32 rot_vel; + uint8 uv_numCell; + uint8 uv_cell; + uint8 pct_keep; + uint8 padding; + int32 unused; }; struct NMECfgDenToo { - Health_8 health; - Ranges_5 ranges; - Attack_0 attack; - ThrowSide throwSide; - ThrowToes throwToes; - Battle_2 battle; + Health_8 health; + Ranges_5 ranges; + Attack_0 attack; + ThrowSide throwSide; + ThrowToes throwToes; + Battle_2 battle; }; struct _anon64 @@ -9501,29 +9453,28 @@ struct _anon64 struct ThrowToes { - float32 spd_proj; - int32 num_salvo; - float32 dst_nearTgt; - float32 dst_farTgt; - float32 hyt_elevate; + float32 spd_proj; + int32 num_salvo; + float32 dst_nearTgt; + float32 dst_farTgt; + float32 hyt_elevate; }; struct Emit_1 { - int32 num_emitBase; - int32 num_emitRand; - float32 rad_emitBase; - float32 rad_emitRand; + int32 num_emitBase; + int32 num_emitRand; + float32 rad_emitBase; + float32 rad_emitRand; }; struct zNMEGoalDenDamage : zNMEGoalCommon { - - int32 GoalHandleMail(NMEMsg* mail); - int32 ChkExistence(zNMEDennis* npc, float32 dt, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 GoalHandleMail(NMEMsg* mail); + int32 ChkExistence(zNMEDennis* npc, float32 dt, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct _anon65 @@ -9532,150 +9483,147 @@ struct _anon65 struct zNMEGoalPopWound : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); }; struct block_data { - uint8 prev; - uint8 next; - uint16 flags; - void* data; + uint8 prev; + uint8 next; + uint16 flags; + void* data; }; struct xCylinder { - xVec3 center; - float32 r; - float32 h; + xVec3 center; + float32 r; + float32 h; }; struct xRot { - xVec3 axis; - float32 angle; + xVec3 axis; + float32 angle; }; struct RpSector { - int32 type; + int32 type; }; struct HAZWaveRing : HAZBasic { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct NMECfgFogger { - Health_7 health; - Battle_7 battle; - Evade_0 evade; + Health_7 health; + Battle_7 battle; + Evade_0 evade; }; struct Terminate { - float32 hyt_fallToDeath; + float32 hyt_fallToDeath; }; struct HAZExplode : HAZBasic { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct OrientParticle { - xVec3 pos; - float32 size; - xVec3 vel; - OrientEmitter* emitter; - float32 tym_lifespan; - float32 tmr_remain; - float32 fac_abuse; - float32 rot; - xVec3 acc_emitaxis; - int8 idx_curvNode; - uint8 uv_numCell; - uint8 uv_cell; - int8 unused; - xVec3 dir_emitAxis; - int32 padding; - xVec3 dir_emitPerp; - int32 padtoo; + xVec3 pos; + float32 size; + xVec3 vel; + OrientEmitter* emitter; + float32 tym_lifespan; + float32 tmr_remain; + float32 fac_abuse; + float32 rot; + xVec3 acc_emitaxis; + int8 idx_curvNode; + uint8 uv_numCell; + uint8 uv_cell; + int8 unused; + xVec3 dir_emitAxis; + int32 padding; + xVec3 dir_emitPerp; + int32 padtoo; }; struct zNMECfgFrogfish { - _class_23 health; - _class_0 attackA; - _class_2 attackC; - _class_6 arena; - _class_13 fall; - _class_18 jumpToStand; - _class_21 turn; - _class_24 shake; + _class_23 health; + _class_0 attackA; + _class_2 attackC; + _class_6 arena; + _class_13 fall; + _class_18 jumpToStand; + _class_21 turn; + _class_24 shake; }; enum type_enum { - TYPE_INVALID = 0xffffffff, - TYPE_WARBLE, - TYPE_LENS, - TYPE_RIPPLE, - TYPE_SHOCKWAVE, - TYPE_HEAT_SHIMMER, - TYPE_STATIC_LENS, - MAX_TYPE + TYPE_INVALID = 0xffffffff, + TYPE_WARBLE, + TYPE_LENS, + TYPE_RIPPLE, + TYPE_SHOCKWAVE, + TYPE_HEAT_SHIMMER, + TYPE_STATIC_LENS, + MAX_TYPE }; struct xJSPNodeLight { - RpAtomic* atomic; - int32 lightCount; - RpTie dummyTie; - RpWorldSector dummySector; - xJSPMiniLightTie dummyLightTie[16]; + RpAtomic* atomic; + int32 lightCount; + RpTie dummyTie; + RpWorldSector dummySector; + xJSPMiniLightTie dummyLightTie[16]; }; struct ztextbox : xBase { - _class_7 flag; - asset_type_1* asset; - xtextbox tb; - int8* segments[16]; - uint32 segments_size; - ztextbox* next; - ztextbox* prev; - RwRaster* bgtex; + _class_7 flag; + asset_type_1* asset; + xtextbox tb; + int8* segments[16]; + uint32 segments_size; + ztextbox* next; + ztextbox* prev; + RwRaster* bgtex; - void render_all(); - void update_all(); - void load(xBase& data, xDynAsset& asset); - void init(); + void render_all(); + void update_all(); + void load(xBase& data, xDynAsset& asset); + void init(); }; struct xEntERData { - xVec3 a; - xVec3 b; - xVec3 dir; - float32 et; - float32 wet; - float32 rt; - float32 wrt; - float32 p; - float32 brt; - float32 ert; - int32 state; + xVec3 a; + xVec3 b; + xVec3 dir; + float32 et; + float32 wet; + float32 rt; + float32 wrt; + float32 p; + float32 brt; + float32 ert; + int32 state; }; struct _anon66 @@ -9684,19 +9632,19 @@ struct _anon66 struct HAZBasic : zNMEHazardType { - - void RenderShadowSimple(zNMEHazard* haz, float32 custRadius); - void RenderShadowComplex(zNMEHazard* haz, float32 custRadius); - void DisperseBubWake(zNMEHazard* haz, float32 rad, xVec3* vel, uint32 num_bub); - void Stuff_CollRespDflt(zNMEHazard* haz, xSweptSphere* swdata, float32 tym_inFuture); - void CollideResponse(zNMEHazard* haz, int32 flg_hazcolf, xSweptSphere* swdata, float32 tymInFuture); - void Stuff_Render(zNMEHazard* haz, float32 customShadowRadius); - void Stuff_Cleanup(zNMEHazard* haz); - void ScenePrepare(); - void SceneFinish(); - void ScenePostInit(); - void Cleanup(zNMEHazard* haz); - void Render(zNMEHazard* haz); + void RenderShadowSimple(zNMEHazard* haz, float32 custRadius); + void RenderShadowComplex(zNMEHazard* haz, float32 custRadius); + void DisperseBubWake(zNMEHazard* haz, float32 rad, xVec3* vel, uint32 num_bub); + void Stuff_CollRespDflt(zNMEHazard* haz, xSweptSphere* swdata, float32 tym_inFuture); + void CollideResponse(zNMEHazard* haz, int32 flg_hazcolf, xSweptSphere* swdata, + float32 tymInFuture); + void Stuff_Render(zNMEHazard* haz, float32 customShadowRadius); + void Stuff_Cleanup(zNMEHazard* haz); + void ScenePrepare(); + void SceneFinish(); + void ScenePostInit(); + void Cleanup(zNMEHazard* haz); + void Render(zNMEHazard* haz); }; struct zReactiveAnimationData @@ -9705,114 +9653,114 @@ struct zReactiveAnimationData struct XCSNNosey { - void* userdata; - int32 flg_nosey; + void* userdata; + int32 flg_nosey; }; struct ExhaustCurve { - float32 time; - xColor_tag color; - float32 scale; + float32 time; + xColor_tag color; + float32 scale; }; struct zHitDecalData { - uint32 texture; - float32 x_size; - float32 y_size; + uint32 texture; + float32 x_size; + float32 y_size; }; struct xParEmitterAsset : xBaseAsset { - uint8 emit_flags; - uint8 emit_type; - uint16 pad; - uint32 propID; - union - { - xPECircle e_circle; - xPESphere e_sphere; - xPERect e_rect; - xPELine e_line; - xPEVolume e_volume; - xPEOffsetPoint e_offsetp; - xPEVCyl e_vcyl; - xPEEntBone e_entbone; - xPEEntBound e_entbound; - }; - uint32 attachToID; - xVec3 pos; - xVec3 vel; - float32 vel_angle_variation; - uint32 cull_mode; - float32 cull_dist_sqr; + uint8 emit_flags; + uint8 emit_type; + uint16 pad; + uint32 propID; + union + { + xPECircle e_circle; + xPESphere e_sphere; + xPERect e_rect; + xPELine e_line; + xPEVolume e_volume; + xPEOffsetPoint e_offsetp; + xPEVCyl e_vcyl; + xPEEntBone e_entbone; + xPEEntBound e_entbound; + }; + uint32 attachToID; + xVec3 pos; + xVec3 vel; + float32 vel_angle_variation; + uint32 cull_mode; + float32 cull_dist_sqr; }; struct Ranges_1 { - float32 rad_tooclose; - float32 rad_zap; - float32 rad_zapgrey; - float32 rad_aware; - float32 rad_awaregrey; + float32 rad_tooclose; + float32 rad_zap; + float32 rad_zapgrey; + float32 rad_aware; + float32 rad_awaregrey; }; struct zNMEGoalPatrol : zNMEGoalCommon { - int32 flg_patrol; - float32 tmr_wait; - xVec3 pos_midpnt[4]; - int32 idx_midpnt; + int32 flg_patrol; + float32 tmr_wait; + xVec3 pos_midpnt[4]; + int32 idx_midpnt; - void MoveAutoSmooth(zNMECommon* npc, float32 dt); - void CalcSmoothPoints(zNMECommon* npc); - void Chk_AutoSmooth(zNMECommon* npc); - void MoveSpline(zNMECommon* npc, float32 dt); - void MoveNormal(zNMECommon* npc, float32 dt); - void DoOnArriveStuff(zNMECommon* npc); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Resume(); - int32 Exit(); - int32 Enter(); + void MoveAutoSmooth(zNMECommon* npc, float32 dt); + void CalcSmoothPoints(zNMECommon* npc); + void Chk_AutoSmooth(zNMECommon* npc); + void MoveSpline(zNMECommon* npc, float32 dt); + void MoveNormal(zNMECommon* npc, float32 dt); + void DoOnArriveStuff(zNMECommon* npc); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Resume(); + int32 Exit(); + int32 Enter(); }; struct meter_asset : asset { - float32 start_value; - float32 min_value; - float32 max_value; - float32 increment_time; - float32 decrement_time; - _class_12 sound; + float32 start_value; + float32 min_value; + float32 max_value; + float32 increment_time; + float32 decrement_time; + _class_12 sound; }; struct zNMEGoalTikiIdle : zNMEGoalCommon { - float32 tmr_wait; + float32 tmr_wait; - int32 Enter(); + int32 Enter(); }; struct RwFrame { - RwObject object; - RwLLLink inDirtyListLink; - RwMatrixTag modelling; - RwMatrixTag ltm; - RwLinkList objectList; - RwFrame* child; - RwFrame* next; - RwFrame* root; + RwObject object; + RwLLLink inDirtyListLink; + RwMatrixTag modelling; + RwMatrixTag ltm; + RwLinkList objectList; + RwFrame* child; + RwFrame* next; + RwFrame* root; }; enum en_plyrpup { - ePowerupLevelDisabled, - ePowerupLevelNormal, - ePowerupLevelLevelMax, - ePowerupLevelHealthMax, - ePowerupLevelCount + ePowerupLevelDisabled, + ePowerupLevelNormal, + ePowerupLevelLevelMax, + ePowerupLevelHealthMax, + ePowerupLevelCount }; struct _anon67 @@ -9821,21 +9769,21 @@ struct _anon67 struct Health_3 { - int32 pts_healthMax; + int32 pts_healthMax; }; struct NMEShadParms { - SimpShadParm simpshad; - FullShadParm fullshad; - ShadowRadii shadrad; + SimpShadParm simpshad; + FullShadParm fullshad; + ShadowRadii shadrad; }; struct xPECircle { - float32 radius; - float32 deflection; - xVec3 dir; + float32 radius; + float32 deflection; + xVec3 dir; }; struct _anon68 @@ -9844,147 +9792,146 @@ struct _anon68 struct xDestructibleAsset { - uint32 id; - uint32 nstates; - uint32 hit_points; - uint32 hit_filter; - uint32 launch_flag; - uint32 behaviour; - uint32 flags; - uint32 soundgroupidleID; - float32 respawn; - uint8 target_priority; - xDestructibleAssetState* states; + uint32 id; + uint32 nstates; + uint32 hit_points; + uint32 hit_filter; + uint32 launch_flag; + uint32 behaviour; + uint32 flags; + uint32 soundgroupidleID; + float32 respawn; + uint8 target_priority; + xDestructibleAssetState* states; }; struct xEntMotionMechData { - uint8 type; - uint8 flags; - uint8 sld_axis; - uint8 rot_axis; - uint8 scale_axis; - float32 sld_dist; - float32 sld_tm; - float32 sld_acc_tm; - float32 sld_dec_tm; - float32 rot_dist; - float32 rot_tm; - float32 rot_acc_tm; - float32 rot_dec_tm; - float32 ret_delay; - float32 post_ret_delay; - float32 scale_amount; - float32 scale_duration; + uint8 type; + uint8 flags; + uint8 sld_axis; + uint8 rot_axis; + uint8 scale_axis; + float32 sld_dist; + float32 sld_tm; + float32 sld_acc_tm; + float32 sld_dec_tm; + float32 rot_dist; + float32 rot_tm; + float32 rot_acc_tm; + float32 rot_dec_tm; + float32 ret_delay; + float32 post_ret_delay; + float32 scale_amount; + float32 scale_duration; }; struct xGlobals { - xCamera oldSkoolCamera; - xCamGroup* cam; - xCamScreen* screen; - xVec4 frustplane[12]; - _tagxPad* pad0; - _tagxPad* pad1; - _tagxPad* pad2; - _tagxPad* pad3; - _tagxPad* pad[4]; - int32 profile; - int8 profFunc[128][6]; - xUpdateCullMgr* updateMgr; - int32 sceneFirst; - int8 sceneStart[32]; - RpWorld* currWorld; - iFogParams fog; - iFogParams fogA; - iFogParams fogB; - long32 fog_t0; - long32 fog_t1; - int32 option_vibration; - int32 option_subtitles; - uint32 slowdown; - float32 update_dt; - int16 ForceCinematic; - int16 ForceAllCinematics; - int32 useHIPHOP; - uint8 NoMusic; - uint8 NoCutscenes; - uint8 NoPadCheck; - int8 currentActivePad; - uint8 firstStartPressed; - uint8 fromLauncher; - uint8 FlashWIP; - uint8 inLoadingScreen; - uint8 LoadingScene; - uint8 InitializingLoadingScreen; - uint8 ForceMono; - uint32 minVSyncCnt; - uint8 dontShowPadMessageDuringLoadingOrCutScene; - uint8 autoSaveFeature; - int32 asyncLoadingScreen; - int32 asyncLoadingFlags; - int8 fromLauncherUser[32]; - zPlayer* ___player_ent_dont_use_directly; - zScene* sceneCur; - zScene* scenePreload; - PS2DemoGlobals* PS2demo; - int8 watermark[127]; - uint8 watermarkAlpha; - float32 watermarkSize; + xCamera oldSkoolCamera; + xCamGroup* cam; + xCamScreen* screen; + xVec4 frustplane[12]; + _tagxPad* pad0; + _tagxPad* pad1; + _tagxPad* pad2; + _tagxPad* pad3; + _tagxPad* pad[4]; + int32 profile; + int8 profFunc[128][6]; + xUpdateCullMgr* updateMgr; + int32 sceneFirst; + int8 sceneStart[32]; + RpWorld* currWorld; + iFogParams fog; + iFogParams fogA; + iFogParams fogB; + long32 fog_t0; + long32 fog_t1; + int32 option_vibration; + int32 option_subtitles; + uint32 slowdown; + float32 update_dt; + int16 ForceCinematic; + int16 ForceAllCinematics; + int32 useHIPHOP; + uint8 NoMusic; + uint8 NoCutscenes; + uint8 NoPadCheck; + int8 currentActivePad; + uint8 firstStartPressed; + uint8 fromLauncher; + uint8 FlashWIP; + uint8 inLoadingScreen; + uint8 LoadingScene; + uint8 InitializingLoadingScreen; + uint8 ForceMono; + uint32 minVSyncCnt; + uint8 dontShowPadMessageDuringLoadingOrCutScene; + uint8 autoSaveFeature; + int32 asyncLoadingScreen; + int32 asyncLoadingFlags; + int8 fromLauncherUser[32]; + zPlayer* ___player_ent_dont_use_directly; + zScene* sceneCur; + zScene* scenePreload; + PS2DemoGlobals* PS2demo; + int8 watermark[127]; + uint8 watermarkAlpha; + float32 watermarkSize; }; struct Attack_1 { - en_haztyp haztype; - float32 spd_proj; - float32 dst_minRange; - float32 tym_leadTarget; - xVec3 vec_offsetLaunch; + en_haztyp haztype; + float32 spd_proj; + float32 dst_minRange; + float32 tym_leadTarget; + xVec3 vec_offsetLaunch; }; struct Status { - int32 healthCurr[4]; + int32 healthCurr[4]; }; enum en_hazsnd { - HAZ_SND_FLIGHT, - HAZ_SND_NOMORE + HAZ_SND_FLIGHT, + HAZ_SND_NOMORE }; struct zNMEGoalBuckDying : zNMEGoalCommon { - - int32 GoalHandleMail(); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 GoalHandleMail(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct Movement_1 { - float32 spd_move; - float32 acc_move; - float32 dst_deviant; - float32 spd_turnrate; + float32 spd_move; + float32 acc_move; + float32 dst_deviant; + float32 spd_turnrate; }; struct jot { - substr s; - _class_3 flag; - uint16 context_size; - void* context; - basic_rect bounds; - basic_rect render_bounds; - callback_1* cb; - tag_type* tag; + substr s; + _class_3 flag; + uint16 context_size; + void* context; + basic_rect bounds; + basic_rect render_bounds; + callback_1* cb; + tag_type* tag; }; struct xCutsceneModelHack { - xModelPipe* pipe; + xModelPipe* pipe; }; struct zAssetPickupTable @@ -9997,44 +9944,43 @@ struct _anon69 struct SparkyParticle { - xVec3 pos; - float32 size; - xVec3 vel; - SparkyEmitter* emitter; - float32 tym_lifespan; - float32 tmr_remain; - float32 fac_abuse; - int8 idx_curvNode; - uint8 uv_numCell; - uint8 uv_cell; - int8 unused; - xVec3 acc_emitaxis; - int32 useme; + xVec3 pos; + float32 size; + xVec3 vel; + SparkyEmitter* emitter; + float32 tym_lifespan; + float32 tmr_remain; + float32 fac_abuse; + int8 idx_curvNode; + uint8 uv_numCell; + uint8 uv_cell; + int8 unused; + xVec3 acc_emitaxis; + int32 useme; }; struct zNMEGoalPopNormal : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); }; struct _class_4 { - union - { - HAZTypical typical; - HAZCollide collide; - HAZLob lobdata; - HAZBang bang; - HAZMisc misctyp; - }; + union + { + HAZTypical typical; + HAZCollide collide; + HAZLob lobdata; + HAZBang bang; + HAZMisc misctyp; + }; }; struct xListItem_1 { - int32 flg_travFilter; - xGoal* next; - xGoal* prev; + int32 flg_travFilter; + xGoal* next; + xGoal* prev; }; struct HAZBallistic : HAZLobber @@ -10043,69 +9989,68 @@ struct HAZBallistic : HAZLobber struct ShotGun { - float32 dst_farout; - float32 rad_ud; - float32 rad_lr; + float32 dst_farout; + float32 rad_ud; + float32 rad_lr; }; struct Speed_1 { - float32 spd_emitBase; - float32 spd_emitRand; - float32 spd_outBase; - float32 spd_outRand; - float32 acc_emitaxis; - float32 acc_outward; - xVec3 acc_world; + float32 spd_emitBase; + float32 spd_emitRand; + float32 spd_outBase; + float32 spd_outRand; + float32 acc_emitaxis; + float32 acc_outward; + xVec3 acc_world; }; struct NMERuntime { - struct - { - int32 flg_enableWander : 1; - int32 flg_enablePatrol : 1; - int32 flg_enableDetect : 1; - int32 flg_activeOn : 1; - int32 flg_takeNoDamage : 1; - int32 flg_unused : 27; - }; - union - { - en_allow overrideDetect; - int32 alignmeproperly; - }; - union - { - en_allow overrideAttack; - int32 alignmeproperlyToo; - }; - OriginalBackupData orig; - Restore restore; + struct + { + int32 flg_enableWander : 1; + int32 flg_enablePatrol : 1; + int32 flg_enableDetect : 1; + int32 flg_activeOn : 1; + int32 flg_takeNoDamage : 1; + int32 flg_unused : 27; + }; + union + { + en_allow overrideDetect; + int32 alignmeproperly; + }; + union + { + en_allow overrideAttack; + int32 alignmeproperlyToo; + }; + OriginalBackupData orig; + Restore restore; }; struct xBox { - xVec3 upper; - xVec3 lower; + xVec3 upper; + xVec3 lower; }; struct xMat3x3 { - xVec3 right; - int32 flags; - xVec3 up; - uint32 pad1; - xVec3 at; - uint32 pad2; + xVec3 right; + int32 flags; + xVec3 up; + uint32 pad1; + xVec3 at; + uint32 pad2; }; struct HAZPlyrBang : HAZBasic { - - void Render(zNMEHazard* haz); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct _anon70 @@ -10114,13 +10059,13 @@ struct _anon70 struct EmitContext { - xVec3 tip; - xVec3 dir; - xVec3 oldtip; - xVec3 tine; - xVec3 fbasisX; - xVec3 fbasisY; - int16 basis[6]; + xVec3 tip; + xVec3 dir; + xVec3 oldtip; + xVec3 tine; + xVec3 fbasisX; + xVec3 fbasisY; + int16 basis[6]; }; struct xPlatformAsset @@ -10129,63 +10074,61 @@ struct xPlatformAsset struct zFragParticle { - zFragParticleAsset* fasset; + zFragParticleAsset* fasset; }; enum en_dtbcmode { - DENT_CAMMOD_UNKNOWN, - DENT_CAMMOD_NORMAL, - DENT_CAMMOD_BINARY, - DENT_CAMMOD_NOMORE + DENT_CAMMOD_UNKNOWN, + DENT_CAMMOD_NORMAL, + DENT_CAMMOD_BINARY, + DENT_CAMMOD_NOMORE }; struct xCoef3 { - xCoef x; - xCoef y; - xCoef z; + xCoef x; + xCoef y; + xCoef z; }; struct zFragShockwaveAsset : zFragAsset { - uint32 modelInfoID; - float32 birthRadius; - float32 deathRadius; - float32 birthVelocity; - float32 deathVelocity; - float32 birthSpin; - float32 deathSpin; - float32 birthColor[4]; - float32 deathColor[4]; + uint32 modelInfoID; + float32 birthRadius; + float32 deathRadius; + float32 birthVelocity; + float32 deathVelocity; + float32 birthSpin; + float32 deathSpin; + float32 birthColor[4]; + float32 deathColor[4]; }; struct zNeptuneParticleBeamUser { - xVec3 velStart; - xVec3 velEnd; - float32 velRate; + xVec3 velStart; + xVec3 velEnd; + float32 velRate; }; struct zMODCritter : zModule { - - void ScenePostInit(); - void ScenePrepare(); + void ScenePostInit(); + void ScenePrepare(); }; struct zNMEGoalTaunt : zNMEGoalLoopAnim { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct tri_data_0 { - uint32 index; - float32 r; - float32 d; + uint32 index; + float32 r; + float32 d; }; struct _anon71 @@ -10198,37 +10141,36 @@ struct _anon72 struct zNMEGoalDEVHero : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct TextureScroller { - model_widget* m_pModelWidget; - uint16* m_aMoveIndices; - uint16 m_moveCount; - eDirection m_dir : 8; - uint8 m_pad1; - float32 m_prevOffset; - float32 m_finalOffset; - float32 m_initialOffset; + model_widget* m_pModelWidget; + uint16* m_aMoveIndices; + uint16 m_moveCount; + eDirection m_dir : 8; + uint8 m_pad1; + float32 m_prevOffset; + float32 m_finalOffset; + float32 m_initialOffset; }; struct config_type_1 { - float32 radius_inner; - float32 radius_outer; - float32 intensity; - float32 alpha; - float32 rate_scale; + float32 radius_inner; + float32 radius_outer; + float32 intensity; + float32 alpha; + float32 rate_scale; }; struct zCutsceneMgr : xCutsceneMgr { - uint8 pausedMusic; - uint8 sendDoneForDisabledCutscene; + uint8 pausedMusic; + uint8 sendDoneForDisabledCutscene; }; struct zReactiveGenre @@ -10237,30 +10179,30 @@ struct zReactiveGenre struct zNMEGoalTikiCount : zNMEGoalCommon { - float32 tmr_count; - int32 beingCarried; + float32 tmr_count; + int32 beingCarried; - int32 Enter(); + int32 Enter(); }; struct xParEmitterPropsAsset : xBaseAsset { - uint32 parSysID; - union - { - xParInterp rate; - xParInterp value[1]; - }; - xParInterp life; - xParInterp size_birth; - xParInterp size_death; - xParInterp color_birth[4]; - xParInterp color_death[4]; - xParInterp vel_scale; - xParInterp vel_angle; - xVec3 vel; - uint32 emit_limit; - float32 emit_limit_reset_time; + uint32 parSysID; + union + { + xParInterp rate; + xParInterp value[1]; + }; + xParInterp life; + xParInterp size_birth; + xParInterp size_death; + xParInterp color_birth[4]; + xParInterp color_death[4]; + xParInterp vel_scale; + xParInterp vel_angle; + xVec3 vel; + uint32 emit_limit; + float32 emit_limit_reset_time; }; struct _anon73 @@ -10277,174 +10219,174 @@ struct _anon75 struct zNMEGoalZapWound : zNMEGoalCommon { - float32 tmr_inPain; + float32 tmr_inPain; - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct RwV2d { - float32 x; - float32 y; + float32 x; + float32 y; }; struct zPlayerGlobals { - xEntShadow entShadow_embedded; - xShadowSimpleCache simpShadow_embedded; - zGlobalSettings g; - zPlayerSettings* s; - zPlayerSettings sb; - zPlayerSettings patrick; - zPlayerSettings spongepat; - xLightKit* pPlayerLightKit; - xModelInstance* model_spongebob; - xModelInstance* model_patrick; - xModelInstance* model_spongepat; - xModelInstance* model_car; - uint32 Visible; - int32 Speed; - float32 SpeedMult; - int32 Sneak; - int32 Teeter; - float32 SlipFadeTimer; - int32 Slide; - float32 SlideTimer; - int32 Stepping; - int32 JumpState; - int32 LastJumpState; - float32 JumpTimer; - float32 LookAroundTimer; - uint32 LookAroundRand; - uint32 LastProjectile; - float32 DecelRun; - float32 DecelRunSpeed; - float32 HotsauceTimer; - float32 LeanLerp; - float32 ScareTimer; - xBase* ScareSource; - float32 CowerTimer; - float32 DamageTimer; - float32 SundaeTimer; - float32 ControlOffTimer; - float32 HelmetTimer; - uint32 WorldDisguise; - uint32 Bounced; - float32 FallDeathTimer; - float32 HeadbuttVel; - float32 HeadbuttTimer; - uint32 DoMeleeCheck; - float32 ForceSlipperyTimer; - float32 ForceSlipperyFriction; - float32 ShockRadius; - float32 ShockRadiusOld; - float32 Face_ScareTimer; - uint32 Face_ScareRandom; - uint32 Face_Event; - float32 Face_EventTimer; - float32 Face_PantTimer; - uint32 Face_AnimSpecific; - uint32 IdleRand; - float32 IdleMinorTimer; - float32 IdleMajorTimer; - float32 IdleSitTimer; - int32 Transparent; - zEnt* FireTarget; - uint32 PlayerIsFrozen; - uint32 ControlOff; - uint32 ControlOnEvent; - uint32 AutoMoveSpeed; - float32 AutoMoveDist; - xVec3 AutoMoveTarget; - xBase* AutoMoveObject; - zEnt* Diggable; - float32 DigTimer; - zPlayerCarryInfo carry; - zPlayerLassoInfo lassoInfo; - xModelTag BubbleWandTag[2]; - xModelInstance* model_wand; - xEntBoulder* bubblebowl[2]; - float32 bbowlInitVel; - zEntHangable* HangFound; - zEntHangable* HangEnt; - zEntHangable* HangEntLast; - xVec3 HangPivot; - xVec3 HangVel; - float32 HangLength; - xVec3 HangStartPos; - float32 HangStartLerp; - xModelTag HangPawTag[4]; - float32 HangPawOffset; - float32 HangElapsed; - float32 Jump_CurrGravity; - float32 Jump_HoldTimer; - float32 Jump_ChangeTimer; - int32 Jump_CanDouble; - int32 Jump_CanFloat; - int32 Jump_SpringboardStart; - zPlatform* Jump_Springboard; - int32 CanJump; - int32 CanBubbleSpin; - int32 CanBubbleBounce; - int32 CanBubbleBash; - int32 IsJumping; - int32 IsDJumping; - int32 IsBubbleSpinning; - int32 IsBubbleBouncing; - int32 IsBubbleBashing; - int32 IsBubbleBowling; - int32 WasDJumping; - _zPlayerWallJumpState WallJumpState; - int32 cheat_mode; - zRewardsMgr* rewardsMgr; - uint32 ManlinessPointsCurrentRange; - uint32 InvManlinessPoints; - uint32 InvManlinessPointsMultiplier; - uint32 InvGoofyGoober; - uint32 InvTreasureChest[20]; - uint32 InvTreasureChestMax[20]; - uint32 InvTreasureChestCurrentLevel; - uint32 InvLevelPickups[20]; - uint32 InvLevelPickupsCurrentLevel; - uint32 InvTreasureChestTotal; - uint32 InvTreasureChestOpened; - uint32 CurrentSkillLevel; - uint32 InitialUnusedSkillPoints; - int16 CurrentUnusedSkillPoints; - int16 CurrentSpentSkillPoints; - xModelTag BubbleTag; - xEntDrive drv; - xSurface* floor_surf; - xVec3 floor_norm; - int32 slope; - xCollis earc_coll; - xSphere head_sph; - xModelTag center_tag; - xModelTag head_tag; - uint32 TongueFlags[2]; - xVec3 RootUp; - xVec3 RootUpTarget; - zCheckPoint checkpoint; - uint32 SlideTrackSliding; - uint32 SlideTrackCount; - xEnt* SlideTrackEnt[161]; - uint32 SlideNotGroundedSinceSlide; - xVec3 SlideTrackDir; - xVec3 SlideTrackVel; - float32 SlideTrackDecay; - float32 SlideTrackLean; - float32 SlideTrackLand; - uint8* sb_model_indices; - xModelInstance* sb_models[11]; - uint32 currentPlayer; - xVec3 PredictRotate; - xVec3 PredictTranslate; - float32 PredictAngV; - xVec3 PredictCurrDir; - float32 PredictCurrVel; - float32 KnockBackTimer; - float32 KnockIntoAirTimer; + xEntShadow entShadow_embedded; + xShadowSimpleCache simpShadow_embedded; + zGlobalSettings g; + zPlayerSettings* s; + zPlayerSettings sb; + zPlayerSettings patrick; + zPlayerSettings spongepat; + xLightKit* pPlayerLightKit; + xModelInstance* model_spongebob; + xModelInstance* model_patrick; + xModelInstance* model_spongepat; + xModelInstance* model_car; + uint32 Visible; + int32 Speed; + float32 SpeedMult; + int32 Sneak; + int32 Teeter; + float32 SlipFadeTimer; + int32 Slide; + float32 SlideTimer; + int32 Stepping; + int32 JumpState; + int32 LastJumpState; + float32 JumpTimer; + float32 LookAroundTimer; + uint32 LookAroundRand; + uint32 LastProjectile; + float32 DecelRun; + float32 DecelRunSpeed; + float32 HotsauceTimer; + float32 LeanLerp; + float32 ScareTimer; + xBase* ScareSource; + float32 CowerTimer; + float32 DamageTimer; + float32 SundaeTimer; + float32 ControlOffTimer; + float32 HelmetTimer; + uint32 WorldDisguise; + uint32 Bounced; + float32 FallDeathTimer; + float32 HeadbuttVel; + float32 HeadbuttTimer; + uint32 DoMeleeCheck; + float32 ForceSlipperyTimer; + float32 ForceSlipperyFriction; + float32 ShockRadius; + float32 ShockRadiusOld; + float32 Face_ScareTimer; + uint32 Face_ScareRandom; + uint32 Face_Event; + float32 Face_EventTimer; + float32 Face_PantTimer; + uint32 Face_AnimSpecific; + uint32 IdleRand; + float32 IdleMinorTimer; + float32 IdleMajorTimer; + float32 IdleSitTimer; + int32 Transparent; + zEnt* FireTarget; + uint32 PlayerIsFrozen; + uint32 ControlOff; + uint32 ControlOnEvent; + uint32 AutoMoveSpeed; + float32 AutoMoveDist; + xVec3 AutoMoveTarget; + xBase* AutoMoveObject; + zEnt* Diggable; + float32 DigTimer; + zPlayerCarryInfo carry; + zPlayerLassoInfo lassoInfo; + xModelTag BubbleWandTag[2]; + xModelInstance* model_wand; + xEntBoulder* bubblebowl[2]; + float32 bbowlInitVel; + zEntHangable* HangFound; + zEntHangable* HangEnt; + zEntHangable* HangEntLast; + xVec3 HangPivot; + xVec3 HangVel; + float32 HangLength; + xVec3 HangStartPos; + float32 HangStartLerp; + xModelTag HangPawTag[4]; + float32 HangPawOffset; + float32 HangElapsed; + float32 Jump_CurrGravity; + float32 Jump_HoldTimer; + float32 Jump_ChangeTimer; + int32 Jump_CanDouble; + int32 Jump_CanFloat; + int32 Jump_SpringboardStart; + zPlatform* Jump_Springboard; + int32 CanJump; + int32 CanBubbleSpin; + int32 CanBubbleBounce; + int32 CanBubbleBash; + int32 IsJumping; + int32 IsDJumping; + int32 IsBubbleSpinning; + int32 IsBubbleBouncing; + int32 IsBubbleBashing; + int32 IsBubbleBowling; + int32 WasDJumping; + _zPlayerWallJumpState WallJumpState; + int32 cheat_mode; + zRewardsMgr* rewardsMgr; + uint32 ManlinessPointsCurrentRange; + uint32 InvManlinessPoints; + uint32 InvManlinessPointsMultiplier; + uint32 InvGoofyGoober; + uint32 InvTreasureChest[20]; + uint32 InvTreasureChestMax[20]; + uint32 InvTreasureChestCurrentLevel; + uint32 InvLevelPickups[20]; + uint32 InvLevelPickupsCurrentLevel; + uint32 InvTreasureChestTotal; + uint32 InvTreasureChestOpened; + uint32 CurrentSkillLevel; + uint32 InitialUnusedSkillPoints; + int16 CurrentUnusedSkillPoints; + int16 CurrentSpentSkillPoints; + xModelTag BubbleTag; + xEntDrive drv; + xSurface* floor_surf; + xVec3 floor_norm; + int32 slope; + xCollis earc_coll; + xSphere head_sph; + xModelTag center_tag; + xModelTag head_tag; + uint32 TongueFlags[2]; + xVec3 RootUp; + xVec3 RootUpTarget; + zCheckPoint checkpoint; + uint32 SlideTrackSliding; + uint32 SlideTrackCount; + xEnt* SlideTrackEnt[161]; + uint32 SlideNotGroundedSinceSlide; + xVec3 SlideTrackDir; + xVec3 SlideTrackVel; + float32 SlideTrackDecay; + float32 SlideTrackLean; + float32 SlideTrackLand; + uint8* sb_model_indices; + xModelInstance* sb_models[11]; + uint32 currentPlayer; + xVec3 PredictRotate; + xVec3 PredictTranslate; + float32 PredictAngV; + xVec3 PredictCurrDir; + float32 PredictCurrVel; + float32 KnockBackTimer; + float32 KnockIntoAirTimer; }; struct _anon76 @@ -10453,189 +10395,187 @@ struct _anon76 struct zNMEGoalFidget : zNMEGoalPushAnim { - - int32 Exit(); - int32 Enter(); + int32 Exit(); + int32 Enter(); }; struct zNMEGoalPatTwirl : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); }; struct xGroupAsset : xBaseAsset { - uint16 itemCount; - uint16 groupFlags; + uint16 itemCount; + uint16 groupFlags; }; struct Attack_2 { - float32 tym_reload; - int32 num_salvo; + float32 tym_reload; + int32 num_salvo; }; struct NMEBlastInfo { - xVec3 pos_blast; - float32 rad_blast; - float32 spd_expand; + xVec3 pos_blast; + float32 rad_blast; + float32 spd_expand; }; struct DUMMY_PAREMITTER { - en_npartyp useNPARtype; - float32 tym_lifespan; - xColor_tag colr_base; - float32 siz_base[2]; - xVec3 acc_base; - float32 spd_rotate; - uint8 pct_keep; - uint8 doDamage; - uint8 unused[2]; + en_npartyp useNPARtype; + float32 tym_lifespan; + xColor_tag colr_base; + float32 siz_base[2]; + xVec3 acc_base; + float32 spd_rotate; + uint8 pct_keep; + uint8 doDamage; + uint8 unused[2]; }; struct zSurfTextureAnim { - uint16 pad; - uint16 mode; - uint32 group; - float32 speed; + uint16 pad; + uint16 mode; + uint32 group; + float32 speed; }; struct xShadowCache { - xVec3 pos; - float32 radius; - int32 entCount; - int32 polyCount; - float32 polyRayDepth[5]; - uint16 castOnEnt; - uint16 castOnPoly; - uint32 pad; - xEnt* ent[16]; - xShadowPoly poly[256]; + xVec3 pos; + float32 radius; + int32 entCount; + int32 polyCount; + float32 polyRayDepth[5]; + uint16 castOnEnt; + uint16 castOnPoly; + uint32 pad; + xEnt* ent[16]; + xShadowPoly poly[256]; }; struct Battle_1 { - float32 spd_move; - float32 acc_move; - float32 spd_turn; + float32 spd_move; + float32 acc_move; + float32 spd_turn; }; enum en_npctyp { - NPC_TYPE_UNKNOWN, - NME_TYPE_UNKNOWN = 0, - NPC_TYPE_BASIC, - NPC_TYPE_COMMON, - NPC_TYPE_MELEE, - NPC_TYPE_MELEE_BOT, - NPC_TYPE_MINE, - NPC_TYPE_ORACLE, - NPC_TYPE_TURRET, - NPC_TYPE_SPIN_TURRET, - NPC_TYPE_SHOOTER, - NPC_TYPE_VIOLET_GUN, - NPC_TYPE_SECURITY_BIRD, - NPC_TYPE_FIRE_STREAMER, - NPC_TYPE_WATER_STREAMER, - NPC_TYPE_CAR, - NPC_TYPE_FRIENDLY, - NPC_TYPE_TANK, - NPC_TYPE_MELEE_SHIELDED, - NPC_TYPE_LOBBER, - NPC_TYPE_FLY_ROCKET, - NPC_TYPE_FLY_SHOOTER, - NPC_TYPE_FLY_LOBBER, - NPC_TYPE_VELOCIPOD, - NPC_TYPE_VELOCIPOD_DASH, - NPC_TYPE_MISSILE, - NPC_TYPE_HELIBOT, - NPC_TYPE_VIPER, - NPC_TYPE_BOT_LOB_WATER, - NPC_TYPE_BOT_LEAP, - NPC_TYPE_MONOPOD, - NPC_TYPE_INCREDIBALL, - NPC_TYPE_FROZONE, - NPC_TYPE_BOSS_OMNIDROID, - NPC_TYPE_BOSS_OMNIDROID10, - NPC_TYPE_BOSS_BOMB_CHOPPER, - PLAYER_TYPE_MR_INCREDIBLE_YOUNG, - PLAYER_TYPE_MR_INCREDIBLE_DISGUISED, - PLAYER_TYPE_MR_INCREDIBLE_OLD_FAT_BLUE, - PLAYER_TYPE_MR_INCREDIBLE_OLD_FAT_RED, - PLAYER_TYPE_MR_INCREDIBLE_OLD_FIT, - PLAYER_TYPE_ELASTI_GIRL_YOUNG, - PLAYER_TYPE_ELASTI_GIRL_OLD, - PLAYER_TYPE_DASH_REGULAR, - PLAYER_TYPE_DASH_COSTUMED, - PLAYER_TYPE_INCREDI_BALL, - PLAYER_TYPE_VIOLET, - NME_TYPE_COMMON, - NME_TYPE_TIKI, - NME_TYPE_TIKI_WOOD, - NME_TYPE_TIKI_LOVEY, - NME_TYPE_TIKI_QUIET, - NME_TYPE_TIKI_THUNDER, - NME_TYPE_TIKI_STONE, - NME_TYPE_FIRST_SEE_TYPE, - NME_TYPE_CRITTER = 0x35, - NME_TYPE_CRITBASIC, - NME_TYPE_CRITJELLY, - NME_TYPE_BUCKETJELLY, - NME_TYPE_TURRET, - NME_TYPE_TURBARREL_V1, - NME_TYPE_TURBARREL_V2, - NME_TYPE_TURBARREL_V3, - NME_TYPE_TURSPIRAL, - NME_TYPE_TURPOPUP, - NME_TYPE_TURTURNER, - NME_TYPE_TURTRACE, - NME_TYPE_TURARTY, - NME_TYPE_STANDARD, - NME_TYPE_FOGGER_V1, - NME_TYPE_FOGGER_V2, - NME_TYPE_FOGGER_V3, - NME_TYPE_SLAMMER_V1, - NME_TYPE_SLAMMER_V2, - NME_TYPE_SLAMMER_V3, - NME_TYPE_FLINGER_V1, - NME_TYPE_FLINGER_V2, - NME_TYPE_FLINGER_V3, - NME_TYPE_SPINNER_V1, - NME_TYPE_SPINNER_V2, - NME_TYPE_SPINNER_V3, - NME_TYPE_POPPER_V1, - NME_TYPE_POPPER_V2, - NME_TYPE_POPPER_V3, - NME_TYPE_ZAPPER_V1, - NME_TYPE_ZAPPER_V2, - NME_TYPE_ZAPPER_V3, - NME_TYPE_MERVYN_V1, - NME_TYPE_MERVYN_V2, - NME_TYPE_MERVYN_V3, - NME_TYPE_BUCKOTRON_V1, - NME_TYPE_BUCKOTRON_V2, - NME_TYPE_BUCKOTRON_V3, - NME_TYPE_BUCKOTRON_V4, - NME_TYPE_BUCKOTRON_V5, - NME_TYPE_BUCKOTRON_V6, - NME_TYPE_BUCKOTRON_V7, - NME_TYPE_LAST_SEE_TYPE = 0x5e, - NME_TYPE_FROGFISH, - NME_TYPE_DENNIS_V1, - NME_TYPE_DENNIS_V2, - NME_TYPE_NEPTUNE, - NME_TYPE_SBBAT, - NME_TYPE_TONGUESPIN, - NME_TYPE_MINDY, - NME_TYPE_SPONGEBOB, - NME_TYPE_PATRICK, - NPC_TYPE_NOMORE, - NPC_TYPE_FORCE = 0x7fffffff + NPC_TYPE_UNKNOWN, + NME_TYPE_UNKNOWN = 0, + NPC_TYPE_BASIC, + NPC_TYPE_COMMON, + NPC_TYPE_MELEE, + NPC_TYPE_MELEE_BOT, + NPC_TYPE_MINE, + NPC_TYPE_ORACLE, + NPC_TYPE_TURRET, + NPC_TYPE_SPIN_TURRET, + NPC_TYPE_SHOOTER, + NPC_TYPE_VIOLET_GUN, + NPC_TYPE_SECURITY_BIRD, + NPC_TYPE_FIRE_STREAMER, + NPC_TYPE_WATER_STREAMER, + NPC_TYPE_CAR, + NPC_TYPE_FRIENDLY, + NPC_TYPE_TANK, + NPC_TYPE_MELEE_SHIELDED, + NPC_TYPE_LOBBER, + NPC_TYPE_FLY_ROCKET, + NPC_TYPE_FLY_SHOOTER, + NPC_TYPE_FLY_LOBBER, + NPC_TYPE_VELOCIPOD, + NPC_TYPE_VELOCIPOD_DASH, + NPC_TYPE_MISSILE, + NPC_TYPE_HELIBOT, + NPC_TYPE_VIPER, + NPC_TYPE_BOT_LOB_WATER, + NPC_TYPE_BOT_LEAP, + NPC_TYPE_MONOPOD, + NPC_TYPE_INCREDIBALL, + NPC_TYPE_FROZONE, + NPC_TYPE_BOSS_OMNIDROID, + NPC_TYPE_BOSS_OMNIDROID10, + NPC_TYPE_BOSS_BOMB_CHOPPER, + PLAYER_TYPE_MR_INCREDIBLE_YOUNG, + PLAYER_TYPE_MR_INCREDIBLE_DISGUISED, + PLAYER_TYPE_MR_INCREDIBLE_OLD_FAT_BLUE, + PLAYER_TYPE_MR_INCREDIBLE_OLD_FAT_RED, + PLAYER_TYPE_MR_INCREDIBLE_OLD_FIT, + PLAYER_TYPE_ELASTI_GIRL_YOUNG, + PLAYER_TYPE_ELASTI_GIRL_OLD, + PLAYER_TYPE_DASH_REGULAR, + PLAYER_TYPE_DASH_COSTUMED, + PLAYER_TYPE_INCREDI_BALL, + PLAYER_TYPE_VIOLET, + NME_TYPE_COMMON, + NME_TYPE_TIKI, + NME_TYPE_TIKI_WOOD, + NME_TYPE_TIKI_LOVEY, + NME_TYPE_TIKI_QUIET, + NME_TYPE_TIKI_THUNDER, + NME_TYPE_TIKI_STONE, + NME_TYPE_FIRST_SEE_TYPE, + NME_TYPE_CRITTER = 0x35, + NME_TYPE_CRITBASIC, + NME_TYPE_CRITJELLY, + NME_TYPE_BUCKETJELLY, + NME_TYPE_TURRET, + NME_TYPE_TURBARREL_V1, + NME_TYPE_TURBARREL_V2, + NME_TYPE_TURBARREL_V3, + NME_TYPE_TURSPIRAL, + NME_TYPE_TURPOPUP, + NME_TYPE_TURTURNER, + NME_TYPE_TURTRACE, + NME_TYPE_TURARTY, + NME_TYPE_STANDARD, + NME_TYPE_FOGGER_V1, + NME_TYPE_FOGGER_V2, + NME_TYPE_FOGGER_V3, + NME_TYPE_SLAMMER_V1, + NME_TYPE_SLAMMER_V2, + NME_TYPE_SLAMMER_V3, + NME_TYPE_FLINGER_V1, + NME_TYPE_FLINGER_V2, + NME_TYPE_FLINGER_V3, + NME_TYPE_SPINNER_V1, + NME_TYPE_SPINNER_V2, + NME_TYPE_SPINNER_V3, + NME_TYPE_POPPER_V1, + NME_TYPE_POPPER_V2, + NME_TYPE_POPPER_V3, + NME_TYPE_ZAPPER_V1, + NME_TYPE_ZAPPER_V2, + NME_TYPE_ZAPPER_V3, + NME_TYPE_MERVYN_V1, + NME_TYPE_MERVYN_V2, + NME_TYPE_MERVYN_V3, + NME_TYPE_BUCKOTRON_V1, + NME_TYPE_BUCKOTRON_V2, + NME_TYPE_BUCKOTRON_V3, + NME_TYPE_BUCKOTRON_V4, + NME_TYPE_BUCKOTRON_V5, + NME_TYPE_BUCKOTRON_V6, + NME_TYPE_BUCKOTRON_V7, + NME_TYPE_LAST_SEE_TYPE = 0x5e, + NME_TYPE_FROGFISH, + NME_TYPE_DENNIS_V1, + NME_TYPE_DENNIS_V2, + NME_TYPE_NEPTUNE, + NME_TYPE_SBBAT, + NME_TYPE_TONGUESPIN, + NME_TYPE_MINDY, + NME_TYPE_SPONGEBOB, + NME_TYPE_PATRICK, + NPC_TYPE_NOMORE, + NPC_TYPE_FORCE = 0x7fffffff }; struct _anon77 @@ -10644,57 +10584,56 @@ struct _anon77 struct RpTriangle { - uint16 vertIndex[3]; - uint16 matIndex; + uint16 vertIndex[3]; + uint16 matIndex; }; struct Input { - en_plyrpup pup_plyr; - xVec3 dir_pushed; - float32 mag_pushed; + en_plyrpup pup_plyr; + xVec3 dir_pushed; + float32 mag_pushed; }; struct zNMECfgSBBat { - int32 placeholder; + int32 placeholder; }; struct xAnimMultiFile : xAnimMultiFileBase { - xAnimMultiFileEntry Files[1]; + xAnimMultiFileEntry Files[1]; }; struct RxPipelineCluster { - RxClusterDefinition* clusterRef; - uint32 creationAttributes; + RxClusterDefinition* clusterRef; + uint32 creationAttributes; }; struct inode : node { - float32 value[1]; + float32 value[1]; }; struct zMODMessage : zModule { - - void Timestep(float32 dt); - void SceneReset(); - void SceneFinish(); + void Timestep(float32 dt); + void SceneReset(); + void SceneFinish(); }; struct NMEScriptInfo { - uint32 aid_playanim; + uint32 aid_playanim; }; struct zFragDistortion { - zFragDistortionAsset* fasset; - xVec3 loc; - int32 type; - float32 repeat_time; + zFragDistortionAsset* fasset; + xVec3 loc; + int32 type; + float32 repeat_time; }; struct _anon78 @@ -10703,53 +10642,51 @@ struct _anon78 struct HAZTurBall : HAZLobber { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePrepare(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePrepare(); }; struct zNMEGoalTurrDead : zNMEGoalDead { - - int32 GoalHandleMail(NMEMsg* msg); - int32 Enter(); + int32 GoalHandleMail(NMEMsg* msg); + int32 Enter(); }; struct zFragLocInfo { - union - { - zFragBone bone; - xModelTag tag; - }; + union + { + zFragBone bone; + xModelTag tag; + }; }; struct _class_5 { - uint32 type; - color_type color; - uint32 texture; - float32 borderU; - float32 borderV; - float32 borderWidth; - float32 borderHeight; + uint32 type; + color_type color; + uint32 texture; + float32 borderU; + float32 borderV; + float32 borderWidth; + float32 borderHeight; }; struct UpdateInfo_1 { - int32 frq_ribJoint; - float32 alf_master; - float32 scl_master; + int32 frq_ribJoint; + float32 alf_master; + float32 scl_master; }; enum RxClusterValidityReq { - rxCLREQ_DONTWANT, - rxCLREQ_REQUIRED, - rxCLREQ_OPTIONAL, - rxCLUSTERVALIDITYREQFORCEENUMSIZEINT = 0x7fffffff + rxCLREQ_DONTWANT, + rxCLREQ_REQUIRED, + rxCLREQ_OPTIONAL, + rxCLUSTERVALIDITYREQFORCEENUMSIZEINT = 0x7fffffff }; struct _anon79 @@ -10762,42 +10699,42 @@ struct _anon80 struct zNMESoundTable { - iSndGroupHandle sndGroupHandle[10]; - int8* assetNames[10]; - float32 timer[10]; - float32 time[10]; - int32 flags[10]; + iSndGroupHandle sndGroupHandle[10]; + int8* assetNames[10]; + float32 timer[10]; + float32 time[10]; + int32 flags[10]; }; struct model_widget : widget { - uint32 mid; - xModelInstance* model; - float32 x_scale; - float32 y_scale; + uint32 mid; + xModelInstance* model; + float32 x_scale; + float32 y_scale; }; struct zNMEGoalDenAttack : zNMEGoalCommon { - int32 idx_shot; - xVec3 pos_tgtBasis; + int32 idx_shot; + xVec3 pos_tgtBasis; - int32 GolfBomb(zNMEDennis* npc); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 GolfBomb(zNMEDennis* npc); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct xPlane { - xVec3 norm; - float32 d; + xVec3 norm; + float32 d; }; struct Chase { - float32 spd_chase; - float32 acc_chase; - float32 spd_turnRate; + float32 spd_chase; + float32 acc_chase; + float32 spd_turnRate; }; struct xPSYNote @@ -10810,9 +10747,9 @@ struct _anon81 struct RwStreamMemory { - uint32 position; - uint32 nSize; - uint8* memBlock; + uint32 position; + uint32 nSize; + uint8* memBlock; }; struct _anon82 @@ -10825,29 +10762,29 @@ struct _anon83 struct zDestructibleState { - xModelInstance* model; - zShrapnelAsset* shrapnel; - zShrapnelAsset* shrapnelhit; - uint32 percent; - iSndGroupHandle sg_handle_idle; - iSndGroupHandle sg_handle_hit; - iSndGroupHandle sg_handle_hit_switch; - iSndHandle sh_handle_idle; - iSndHandle sh_handle_hit; - iSndHandle sh_handle_hit_switch; - uint32 sg_fx_id; - uint32 sg_fx_id_switch; - sphericalEmitter* rumbleHit; - sphericalEmitter* rumbleSwitch; - zDestructibleStateAttachedAnimList* animList; - zDestructibleStateFXList fxList; + xModelInstance* model; + zShrapnelAsset* shrapnel; + zShrapnelAsset* shrapnelhit; + uint32 percent; + iSndGroupHandle sg_handle_idle; + iSndGroupHandle sg_handle_hit; + iSndGroupHandle sg_handle_hit_switch; + iSndHandle sh_handle_idle; + iSndHandle sh_handle_hit; + iSndHandle sh_handle_hit_switch; + uint32 sg_fx_id; + uint32 sg_fx_id_switch; + sphericalEmitter* rumbleHit; + sphericalEmitter* rumbleSwitch; + zDestructibleStateAttachedAnimList* animList; + zDestructibleStateFXList fxList; }; struct RxClusterRef { - RxClusterDefinition* clusterDef; - RxClusterForcePresent forcePresent; - uint32 reserved; + RxClusterDefinition* clusterDef; + RxClusterForcePresent forcePresent; + uint32 reserved; }; struct _anon84 @@ -10856,15 +10793,15 @@ struct _anon84 struct xModelBucket { - RpAtomic* Data; - RpAtomic* OriginalData; - union - { - xModelInstance* List; - xModelBucket** BackRef; - }; - int32 ClipFlags; - xModelPipe Pipe; + RpAtomic* Data; + RpAtomic* OriginalData; + union + { + xModelInstance* List; + xModelBucket** BackRef; + }; + int32 ClipFlags; + xModelPipe Pipe; }; struct _anon85 @@ -10873,67 +10810,67 @@ struct _anon85 enum eFFOneLiner { - eFFOneLinerFFHit, - eFFOneLinerPatHit, - eFFOneLinerSBHintsAttack0, - eFFOneLinerSBHintsAttack1, - eFFOneLinerSBHintsAttack2, - eFFOneLinerSBHintsNow, - eFFOneLinerSBComment, - eFFOneLinerPatComment, - eFFOneLinerSBIntro, - eFFOneLinerPatIntro, - eFFOneLinerPatPhlegm, - eFFOneLinerNumSounds + eFFOneLinerFFHit, + eFFOneLinerPatHit, + eFFOneLinerSBHintsAttack0, + eFFOneLinerSBHintsAttack1, + eFFOneLinerSBHintsAttack2, + eFFOneLinerSBHintsNow, + eFFOneLinerSBComment, + eFFOneLinerPatComment, + eFFOneLinerSBIntro, + eFFOneLinerPatIntro, + eFFOneLinerPatPhlegm, + eFFOneLinerNumSounds }; enum en_diehow { - DIE_SILENT, - DIE_DUPLOONLY, - DIE_MUFFLED, - DIE_QUIETLY, - DIE_LOUDLY, - DIE_NORMAL, - DIE_NOMORE, - DIE_FORCE = 0x7fffffff + DIE_SILENT, + DIE_DUPLOONLY, + DIE_MUFFLED, + DIE_QUIETLY, + DIE_LOUDLY, + DIE_NORMAL, + DIE_NOMORE, + DIE_FORCE = 0x7fffffff }; struct zFragDistortionAsset : zFragAsset { - uint32 type; - zFragLocation loc; - uint32 flags; - float32 radius; - float32 duration; - float32 intensity; - float32 freq; - float32 repeat_delay; + uint32 type; + zFragLocation loc; + uint32 flags; + float32 radius; + float32 duration; + float32 intensity; + float32 freq; + float32 repeat_delay; }; struct HAZSndGrpEntry { - int8* nam_sndGrp; - int32 flg_hazSnd; - uint32 flg_sndPlay; - iSndGroupHandle sndGrpID; + int8* nam_sndGrp; + int32 flg_hazSnd; + uint32 flg_sndPlay; + iSndGroupHandle sndGrpID; }; struct xEntNPCAssetIN : xEntNPCAsset { - uint32 navigation_mesh_id; - uint32 settings; + uint32 navigation_mesh_id; + uint32 settings; }; struct tier_queue_allocator { - block_data* blocks; - uint32 _unit_size; - uint32 _block_size; - uint32 _block_size_shift; - uint32 _max_blocks; - uint32 _max_blocks_shift; - uint8 head; + block_data* blocks; + uint32 _unit_size; + uint32 _block_size; + uint32 _block_size_shift; + uint32 _max_blocks; + uint32 _max_blocks_shift; + uint8 head; }; struct _anon86 @@ -10942,25 +10879,25 @@ struct _anon86 struct zNMEGoalZapBattle : zNMEGoalCommon { - float32 tmr_tossDelay; + float32 tmr_tossDelay; - int32 ChkTheSituation(zNMEZapper* npc, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 ChkTheSituation(zNMEZapper* npc, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct xShadowPoly { - xVec4 vert[3]; + xVec4 vert[3]; }; struct HAZReflect : HAZLobber { - - void CollideResponse(zNMEHazard* haz, int32 flg_hazcolf, xSweptSphere* swdata, float32 tym_inFuture); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void CollideResponse(zNMEHazard* haz, int32 flg_hazcolf, xSweptSphere* swdata, + float32 tym_inFuture); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct _anon87 @@ -10969,24 +10906,24 @@ struct _anon87 struct _zPortal : xBase { - xPortalAsset* passet; + xPortalAsset* passet; }; enum _tagPadState { - ePad_Disabled, - ePad_DisabledError, - ePad_Enabled, - ePad_Missing, - ePad_Total + ePad_Disabled, + ePad_DisabledError, + ePad_Enabled, + ePad_Missing, + ePad_Total }; struct Volume { - int32 num_emit; - float32 spd_emitBase; - float32 spd_emitRand; - xVec3 vec_coneWeights; + int32 num_emit; + float32 spd_emitBase; + float32 spd_emitRand; + xVec3 vec_coneWeights; }; struct _anon88 @@ -10999,100 +10936,98 @@ struct _anon89 struct SpawnChkCollData { - int32 hitSomething; - xBound bnd_testSite; - int32 useCylTest; - float32 radiusSquare; + int32 hitSomething; + xBound bnd_testSite; + int32 useCylTest; + float32 radiusSquare; - uint8 __cl(xEnt& ent); + uint8 __cl(xEnt& ent); }; struct zNMEGoalDentDamage : zNMEGoalCommon { - - int32 GoalHandleMail(NMEMsg* mail); - int32 ChkExistence(zNMEDenToo* npc, float32 dt, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 GoalHandleMail(NMEMsg* mail); + int32 ChkExistence(zNMEDenToo* npc, float32 dt, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct xJSPNodeTreeBranch { - uint16 leftNode; - uint16 rightNode; - uint8 leftType; - uint8 rightType; - uint16 coord; - float32 leftValue; - float32 rightValue; + uint16 leftNode; + uint16 rightNode; + uint8 leftType; + uint8 rightType; + uint16 coord; + float32 leftValue; + float32 rightValue; }; struct HAZBowWave : HAZBasic { - - void Render(zNMEHazard* haz); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct xAnimPhysicsData { - xVec3* tranTable; - float32* yawTable; - int32 tranCount; + xVec3* tranTable; + float32* yawTable; + int32 tranCount; }; struct zNMEGoalFogAware : zNMEGoalCommon { - int32 lastFoot; + int32 lastFoot; - void FeetFXUpdate(zNMEFogger* npc); - int32 ChkTranCases(zNMEFogger* npc, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + void FeetFXUpdate(zNMEFogger* npc); + int32 ChkTranCases(zNMEFogger* npc, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct zPlayerCarryInfo { - xEnt* grabbed; - uint32 grabbedModelID; - xMat4x3 spin; - xEnt* throwTarget; - xEnt* flyingToTarget; - float32 minDist; - float32 maxDist; - float32 minHeight; - float32 maxHeight; - float32 maxCosAngle; - float32 throwMinDist; - float32 throwMaxDist; - float32 throwHammerMinDist; - float32 throwHammerMaxDist; - float32 throwMinHeight; - float32 throwMaxHeight; - float32 throwMaxStack; - float32 throwMaxCosAngle; - float32 throwTargetRotRate; - float32 targetRot; - uint32 grabTarget; - xVec3 grabOffset; - float32 grabLerpMin; - float32 grabLerpMax; - float32 grabLerpLast; - uint32 grabYclear; - float32 throwGravity; - float32 throwHeight; - float32 throwDistance; - float32 throwPowerAddDistance; - float32 fruitFloorDecayMin; - float32 fruitFloorDecayMax; - float32 fruitFloorBounce; - float32 fruitFloorFriction; - float32 fruitCeilingBounce; - float32 fruitWallBounce; - float32 fruitLifetime; - xEnt* patLauncher; + xEnt* grabbed; + uint32 grabbedModelID; + xMat4x3 spin; + xEnt* throwTarget; + xEnt* flyingToTarget; + float32 minDist; + float32 maxDist; + float32 minHeight; + float32 maxHeight; + float32 maxCosAngle; + float32 throwMinDist; + float32 throwMaxDist; + float32 throwHammerMinDist; + float32 throwHammerMaxDist; + float32 throwMinHeight; + float32 throwMaxHeight; + float32 throwMaxStack; + float32 throwMaxCosAngle; + float32 throwTargetRotRate; + float32 targetRot; + uint32 grabTarget; + xVec3 grabOffset; + float32 grabLerpMin; + float32 grabLerpMax; + float32 grabLerpLast; + uint32 grabYclear; + float32 throwGravity; + float32 throwHeight; + float32 throwDistance; + float32 throwPowerAddDistance; + float32 fruitFloorDecayMin; + float32 fruitFloorDecayMax; + float32 fruitFloorBounce; + float32 fruitFloorFriction; + float32 fruitCeilingBounce; + float32 fruitWallBounce; + float32 fruitLifetime; + xEnt* patLauncher; }; struct _anon90 @@ -11105,25 +11040,25 @@ struct _anon91 struct xSimpleObjAsset { - float32 animSpeed; - uint32 initAnimState; - uint8 collType; - uint8 flags; + float32 animSpeed; + uint32 initAnimState; + uint8 collType; + uint8 flags; }; struct xModelAssetInfo { - uint32 Magic; - uint32 NumModelInst; - uint32 AnimTableID; - uint32 CombatID; - uint32 BrainID; + uint32 Magic; + uint32 NumModelInst; + uint32 AnimTableID; + uint32 CombatID; + uint32 BrainID; }; struct RunTime_0 { - float32 acc_gravity; - float32 fac_damp; + float32 acc_gravity; + float32 fac_damp; }; struct _anon92 @@ -11132,9 +11067,9 @@ struct _anon92 struct RpMaterialList { - RpMaterial** materials; - int32 numMaterials; - int32 space; + RpMaterial** materials; + int32 numMaterials; + int32 space; }; struct _anon93 @@ -11143,31 +11078,31 @@ struct _anon93 struct zPlayerSettings { - _zPlayerType pcType; - float32 MoveSpeed[6]; - float32 AnimSneak[3]; - float32 AnimWalk[3]; - float32 AnimRun[3]; - float32 JumpGravity; - float32 GravSmooth; - float32 FloatSpeed; - float32 ButtsmashSpeed; - zJumpParam Jump; - zJumpParam Bounce; - zJumpParam Spring; - zJumpParam Wall; - zJumpParam Double; - zJumpParam SlideDouble; - zJumpParam SlideJump; - float32 WallJumpVelocity; - zLedgeGrabParams ledge; - float32 spin_damp_xz; - float32 spin_damp_y; - uint8 talk_anims; - uint8 talk_filter_size; - uint8 talk_filter[4]; - uint32 Health; - uint32 MaxHealth; + _zPlayerType pcType; + float32 MoveSpeed[6]; + float32 AnimSneak[3]; + float32 AnimWalk[3]; + float32 AnimRun[3]; + float32 JumpGravity; + float32 GravSmooth; + float32 FloatSpeed; + float32 ButtsmashSpeed; + zJumpParam Jump; + zJumpParam Bounce; + zJumpParam Spring; + zJumpParam Wall; + zJumpParam Double; + zJumpParam SlideDouble; + zJumpParam SlideJump; + float32 WallJumpVelocity; + zLedgeGrabParams ledge; + float32 spin_damp_xz; + float32 spin_damp_y; + uint8 talk_anims; + uint8 talk_filter_size; + uint8 talk_filter[4]; + uint32 Health; + uint32 MaxHealth; }; struct _anon94 @@ -11176,57 +11111,56 @@ struct _anon94 struct HAZBuckOBoom : HAZBasic { - - void Render(zNMEHazard* haz); - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct xEntDrive { - uint32 flags; - float32 otm; - float32 otmr; - float32 os; - float32 tm; - float32 tmr; - float32 s; - xEnt* old_driver; - xEnt* driver; - xEnt* driven; - xVec3 driven_pos_in_old_driver; - xVec3 driven_pos_in_driver; - xVec3 last_driven_pos; - float32 yaw_in_driver; - xVec3 dloc; - tri_data_1 tri; + uint32 flags; + float32 otm; + float32 otmr; + float32 os; + float32 tm; + float32 tmr; + float32 s; + xEnt* old_driver; + xEnt* driver; + xEnt* driven; + xVec3 driven_pos_in_old_driver; + xVec3 driven_pos_in_driver; + xVec3 last_driven_pos; + float32 yaw_in_driver; + xVec3 dloc; + tri_data_1 tri; }; struct zNeptuneParSize { - float32 tnext; - float32 size; - float32 tsub; - float32 dsize; + float32 tnext; + float32 size; + float32 tsub; + float32 dsize; }; struct _class_6 { - float32 centerX; - float32 centerZ; - float32 radius; - float32 stoppingRadius; - float32 innerRadius; + float32 centerX; + float32 centerZ; + float32 radius; + float32 stoppingRadius; + float32 innerRadius; }; struct Ranges_2 { - float32 rad_tooclose[2]; - float32 rad_lob; - float32 rad_lobgrey; - float32 rad_aware; - float32 rad_awaregrey; + float32 rad_tooclose[2]; + float32 rad_lob; + float32 rad_lobgrey; + float32 rad_aware; + float32 rad_awaregrey; }; struct _anon95 @@ -11235,68 +11169,67 @@ struct _anon95 struct zNMEGoalTurrBHurt : zNMEGoalCommon { - float32 tmr_hurted; + float32 tmr_hurted; - int32 GoalHandleMail(NMEMsg* mail); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 GoalHandleMail(NMEMsg* mail); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; struct zNMEGoalPatThrow : zNMEGoalCommon { - - int32 Enter(float32 dt); - int32 CollReview(); + int32 Enter(float32 dt); + int32 CollReview(); }; struct xDecalEmitter { - config_1 cfg; - _class_1 texture; - static_queue units; - curve_node_1* curve; - uint32 curve_size; - uint32 curve_index; - float32 ilife; + config_1 cfg; + _class_1 texture; + static_queue units; + curve_node_1* curve; + uint32 curve_size; + uint32 curve_index; + float32 ilife; }; struct Speed_2 { - float32 spd_emitBase; - float32 spd_emitRand; - float32 spd_outBase; - float32 spd_outRand; - float32 acc_emitaxis; - float32 acc_outward; - xVec3 acc_world; + float32 spd_emitBase; + float32 spd_emitRand; + float32 spd_outBase; + float32 spd_outRand; + float32 acc_emitaxis; + float32 acc_outward; + xVec3 acc_world; }; enum en_vis { - VIS_PREPARE_TO_DIE, - VIS_HORROR_FLIK, - VIS_OH_DEAR_GAHD, - VIS_GET_BACK_HERE, - VIS_I_SEEE_YOUUU, - VIS_GREY_AND_FOGGY, - VIS_LIKE_A_BIRDIE, - VIS_EARTHWORM_JIM, - VIS_NOBODY_AROUND, - VIS_NOMORE + VIS_PREPARE_TO_DIE, + VIS_HORROR_FLIK, + VIS_OH_DEAR_GAHD, + VIS_GET_BACK_HERE, + VIS_I_SEEE_YOUUU, + VIS_GREY_AND_FOGGY, + VIS_LIKE_A_BIRDIE, + VIS_EARTHWORM_JIM, + VIS_NOBODY_AROUND, + VIS_NOMORE }; enum en_sentell { - SENTRY_TELL_ARRIVED, - SENTRY_TELL_UNPAUSE, - SENTRY_TELL_NOMORE + SENTRY_TELL_ARRIVED, + SENTRY_TELL_UNPAUSE, + SENTRY_TELL_NOMORE }; struct xGridIterator { - xGridBound** listhead; - xGridBound* curcell; - uint32 delfound; + xGridBound** listhead; + xGridBound* curcell; + uint32 delfound; }; struct _anon96 @@ -11305,13 +11238,13 @@ struct _anon96 struct _class_7 { - struct - { - uint8 active : 1; - uint8 dirty : 1; - uint8 show_backdrop : 1; - uint8 skipFrame : 1; - }; + struct + { + uint8 active : 1; + uint8 dirty : 1; + uint8 show_backdrop : 1; + uint8 skipFrame : 1; + }; }; struct _anon97 @@ -11324,8 +11257,8 @@ struct RpSkin struct NMENeptuneIndexedTag { - xVec3 tagpos; - int32 modelIndex; + xVec3 tagpos; + int32 modelIndex; }; struct _anon98 @@ -11334,30 +11267,29 @@ struct _anon98 struct split_tag { - substr tag; - substr name; - substr action; - substr value; + substr tag; + substr name; + substr action; + substr value; }; struct zNMEGoalPopAware : zNMEGoalCommon { - - int32 ChkAware(zNMEPopper* npc, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 ChkAware(zNMEPopper* npc, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); }; enum eState { - eState_Off, - eState_Idle, - eState_Alert + eState_Off, + eState_Idle, + eState_Alert }; struct TxtrXtra_0 { - RwTexture* txtr_texture; - uint32 aid_texture; + RwTexture* txtr_texture; + uint32 aid_texture; }; struct _anon99 @@ -11366,8 +11298,8 @@ struct _anon99 struct xCutsceneBreak { - float32 Time; - int32 Index; + float32 Time; + int32 Index; }; struct _anon100 @@ -11380,38 +11312,38 @@ struct _anon101 struct xPESphere { - float32 radius; + float32 radius; }; struct text_widget : widget { - int8 text[256]; - xtextbox tb; + int8 text[256]; + xtextbox tb; }; struct color_type { - uint8 r; - uint8 g; - uint8 b; - uint8 a; + uint8 r; + uint8 g; + uint8 b; + uint8 a; }; struct zFragProjectile { - zFragProjectileAsset* fasset; - xModelInstance* model; - xParabola path; - float32 angVel; - float32 t; - float32 tColl; - int32 numBounces; - float32 scale; - float32 alpha; - float32 bounceC1; - float32 bounceC2; - xVec3 N; - xVec3 axis; + zFragProjectileAsset* fasset; + xModelInstance* model; + xParabola path; + float32 angVel; + float32 t; + float32 tColl; + int32 numBounces; + float32 scale; + float32 alpha; + float32 bounceC1; + float32 bounceC2; + xVec3 N; + xVec3 axis; }; struct activity_data_0 @@ -11420,63 +11352,63 @@ struct activity_data_0 struct xLightKit { - uint32 tagID; - uint32 groupID; - uint32 lightCount; - xLightKitLight* lightList; + uint32 tagID; + uint32 groupID; + uint32 lightCount; + xLightKitLight* lightList; }; struct render_context { - xVec3 loc; - xVec3 size; - xVec3 rot; - float32 r; - float32 g; - float32 b; - float32 a; + xVec3 loc; + xVec3 size; + xVec3 rot; + float32 r; + float32 g; + float32 b; + float32 a; }; struct RpMorphTarget { - RpGeometry* parentGeom; - RwSphere boundingSphere; - RwV3d* verts; - RwV3d* normals; + RpGeometry* parentGeom; + RwSphere boundingSphere; + RwV3d* verts; + RwV3d* normals; }; enum eNMESound { - eNMESound_Idle, - eNMESound_Taunt, - eNMESound_Attack, - eNMESound_Detect, - eNMESound_Death, - eNMESound_Ouch, - eNMESound_StunRecover, - eNMESound_Special1, - eNMESound_Special2, - eNMESound_Special3, - eNMESound_Max, - eNMESound_TikiStack = 0x7, - eNMESound_TikiFuse, - eNMESound_TikiShrink = 0x8, - eNMESound_TikiGrow, - eNMESound_DennisV2HitPlayer = 0x9, - eNMESound_MervEngineIdleL = 0, - eNMESound_MervEngineAlertL = 0x3, - eNMESound_MervBombLaunch = 0x2, - eNMESound_MervZapperEnergize = 0x7, - eNMESound_MervZapperLaserL, - eNMESound_MervZapperBlast + eNMESound_Idle, + eNMESound_Taunt, + eNMESound_Attack, + eNMESound_Detect, + eNMESound_Death, + eNMESound_Ouch, + eNMESound_StunRecover, + eNMESound_Special1, + eNMESound_Special2, + eNMESound_Special3, + eNMESound_Max, + eNMESound_TikiStack = 0x7, + eNMESound_TikiFuse, + eNMESound_TikiShrink = 0x8, + eNMESound_TikiGrow, + eNMESound_DennisV2HitPlayer = 0x9, + eNMESound_MervEngineIdleL = 0, + eNMESound_MervEngineAlertL = 0x3, + eNMESound_MervBombLaunch = 0x2, + eNMESound_MervZapperEnergize = 0x7, + eNMESound_MervZapperLaserL, + eNMESound_MervZapperBlast }; struct zJumpParam { - float32 PeakHeight; - float32 TimeGravChange; - float32 TimeHold; - float32 ImpulseVel; + float32 PeakHeight; + float32 TimeGravChange; + float32 TimeHold; + float32 ImpulseVel; }; struct _anon102 @@ -11485,101 +11417,100 @@ struct _anon102 struct xtextbox { - xfont font; - basic_rect bounds; - uint32 flags; - float32 line_space; - float32 tab_stop; - float32 left_indent; - float32 right_indent; - callback_1* cb; - void* context; - int8** texts; - uint32* text_sizes; - uint32 texts_size; - substr text; - uint32 text_hash; - - tag_type* find_format_tag(substr& s, int32& index); - void clear_layout_cache(); - tag_entry_list read_tag(substr& s); - void text_render(jot& j, xtextbox& tb, float32 x, float32 y); + xfont font; + basic_rect bounds; + uint32 flags; + float32 line_space; + float32 tab_stop; + float32 left_indent; + float32 right_indent; + callback_1* cb; + void* context; + int8** texts; + uint32* text_sizes; + uint32 texts_size; + substr text; + uint32 text_hash; + + tag_type* find_format_tag(substr& s, int32& index); + void clear_layout_cache(); + tag_entry_list read_tag(substr& s); + void text_render(jot& j, xtextbox& tb, float32 x, float32 y); }; struct FlingLetMeKnow : xPSYNote { - xPsyche* psy_flinger; + xPsyche* psy_flinger; }; enum en_msgdata { - NME_MDAT_BLANK, - NME_MDAT_SYSEVENT, - NME_MDAT_BLAST, - NME_MDAT_CHAT, - NME_MDAT_SPAWN, - NME_MDAT_TARGET, - NME_MDAT_DAMAGE, - NME_MDAT_STUN, - NME_MDAT_SCRIPT, - NME_MDAT_MOUNT, - NME_MDAT_AREANOTIFY, - NME_MDAT_NOMORE, - NME_MDAT_FORCE = 0x7fffffff + NME_MDAT_BLANK, + NME_MDAT_SYSEVENT, + NME_MDAT_BLAST, + NME_MDAT_CHAT, + NME_MDAT_SPAWN, + NME_MDAT_TARGET, + NME_MDAT_DAMAGE, + NME_MDAT_STUN, + NME_MDAT_SCRIPT, + NME_MDAT_MOUNT, + NME_MDAT_AREANOTIFY, + NME_MDAT_NOMORE, + NME_MDAT_FORCE = 0x7fffffff }; struct Battle_2 { - float32 tym_reload; - float32 tym_leapDelay; - int32 num_atakPerLeap; + float32 tym_reload; + float32 tym_leapDelay; + int32 num_atakPerLeap; }; struct zNMEGoalDenNormal : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct zLightningRing { - xMat4x3 mat; - zLightning* lt; - float32 rad; - xVec3 vel; - float32 radvel; - float32 startTime; - zLoopingSound* snd; + xMat4x3 mat; + zLightning* lt; + float32 rad; + xVec3 vel; + float32 radvel; + float32 startTime; + zLoopingSound* snd; }; enum ptank_group_type { - PGT_COLOR_MAT, - PGT_COLOR_MAT_UV2, - PGT_POS_COLOR_SIZE, - PGT_POS_COLOR_SIZE_UV2, - PGT_POS_COLOR_SIZE_ROT, - PGT_POS_COLOR_SIZE_ROT_UV2, - MAX_PGT + PGT_COLOR_MAT, + PGT_COLOR_MAT_UV2, + PGT_POS_COLOR_SIZE, + PGT_POS_COLOR_SIZE_UV2, + PGT_POS_COLOR_SIZE_ROT, + PGT_POS_COLOR_SIZE_ROT_UV2, + MAX_PGT }; struct zSurfaceProps { - zSurfAssetIN* asset; - uint32 texanim_flags; - zSurfacePropTexAnim texanim[2]; - uint32 uvfx_flags; - zSurfacePropUVFX uvfx[2]; - RwTexture* txtr_matFXDualMap; + zSurfAssetIN* asset; + uint32 texanim_flags; + zSurfacePropTexAnim texanim[2]; + uint32 uvfx_flags; + zSurfacePropUVFX uvfx[2]; + RwTexture* txtr_matFXDualMap; }; struct Battle_3 { - float32 spd_move; - float32 acc_move; - float32 spd_turn; + float32 spd_move; + float32 acc_move; + float32 spd_turn; }; struct _anon103 @@ -11596,81 +11527,81 @@ struct activity_data_1 struct Storage { - xVec3 pos_poofHere; - zMovePoint* nav_spawnReference; - zMovePoint* nav_firstMovepoint; + xVec3 pos_poofHere; + zMovePoint* nav_spawnReference; + zMovePoint* nav_firstMovepoint; }; struct Flags_1 { - int8 doDamage; - int8 useLinear; - int8 unused[2]; + int8 doDamage; + int8 useLinear; + int8 unused[2]; }; struct xMovePointAsset : xBaseAsset { - xVec3 pos; - uint16 wt; - uint8 on; - uint8 bezIndex; - uint8 flg_props; - uint8 pad; - uint16 numPoints; - float32 delay; - float32 zoneRadius; - float32 arenaRadius; + xVec3 pos; + uint16 wt; + uint8 on; + uint8 bezIndex; + uint8 flg_props; + uint8 pad; + uint16 numPoints; + float32 delay; + float32 zoneRadius; + float32 arenaRadius; }; struct RpVertexNormal { - int8 x; - int8 y; - int8 z; - uint8 pad; + int8 x; + int8 y; + int8 z; + uint8 pad; }; struct zFragProjectileAsset : zFragAsset { - uint32 modelInfoID; - RpAtomic* modelFile; - zFragLocation launch; - zFragLocation vel; - zFragLocation velPlusMinus; - zFragLocation rot; - zFragLocation rotPlusMinus; - float32 bounce; - int32 maxBounces; - uint32 flags; - uint32 childID; - zShrapnelAsset* child; - float32 minScale; - float32 maxScale; - uint32 scaleCurveID; - xCurveAsset* scaleCurve; - float32 gravity; + uint32 modelInfoID; + RpAtomic* modelFile; + zFragLocation launch; + zFragLocation vel; + zFragLocation velPlusMinus; + zFragLocation rot; + zFragLocation rotPlusMinus; + float32 bounce; + int32 maxBounces; + uint32 flags; + uint32 childID; + zShrapnelAsset* child; + float32 minScale; + float32 maxScale; + uint32 scaleCurveID; + xCurveAsset* scaleCurve; + float32 gravity; }; struct NMEMountInfo { - xEnt* ent_toMount; - xCollis* col_forMount; + xEnt* ent_toMount; + xCollis* col_forMount; }; enum RxClusterForcePresent { - rxCLALLOWABSENT, - rxCLFORCEPRESENT, - rxCLUSTERFORCEPRESENTFORCEENUMSIZEINT = 0x7fffffff + rxCLALLOWABSENT, + rxCLFORCEPRESENT, + rxCLUSTERFORCEPRESENTFORCEENUMSIZEINT = 0x7fffffff }; struct PopTop { - xEnt* ent_lid[2]; - float32 tmr_live[2]; + xEnt* ent_lid[2]; + float32 tmr_live[2]; - void LidUpdate(float32 dt); - xEnt* LidLocate(zMovePoint* mvpt); + void LidUpdate(float32 dt); + xEnt* LidLocate(zMovePoint* mvpt); }; struct _anon105 @@ -11679,10 +11610,9 @@ struct _anon105 struct HAZSlamWaveLG : HAZBasic { - - void Update(zNMEHazard* haz, float32 dt); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Update(zNMEHazard* haz, float32 dt); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct _anon106 @@ -11691,77 +11621,76 @@ struct _anon106 struct OrientCurve { - float32 time; - xColor_tag color; - float32 scale; + float32 time; + xColor_tag color; + float32 scale; }; struct _class_8 { - float32 t; - float32 u; - float32 v; + float32 t; + float32 u; + float32 v; }; struct zNMEGoalCritDead : zNMEGoalDead { - - int32 GoalHandleMail(); + int32 GoalHandleMail(); }; struct zSurfAssetIN : zSurfAssetBase { - uint8 dash_impact_type; - float32 dash_impact_throw_back; - float32 dash_spray_magnitude; - float32 dash_cool_rate; - float32 dash_cool_amount; - float32 dash_pass; - float32 dash_ramp_max_distance; - float32 dash_ramp_min_distance; - float32 dash_ramp_key_speed; - float32 dash_ramp_height; - uint32 dash_ramp_target_movepoint_id; - int32 damage_amount; - zHitSource damage_type; - zFootstepsData off_surface; - zFootstepsData on_surface; - zHitDecalData hit_decal_data[3]; - float32 off_surface_time; - uint8 swimmable_surface; - uint8 dash_fall; - uint8 need_button_press; - uint8 dash_attach; - uint8 footstep_decals; - uint8 pad1; - uint8 pad2; - uint8 pad3; - uint8 pad4; - uint8 driving_surface_type; + uint8 dash_impact_type; + float32 dash_impact_throw_back; + float32 dash_spray_magnitude; + float32 dash_cool_rate; + float32 dash_cool_amount; + float32 dash_pass; + float32 dash_ramp_max_distance; + float32 dash_ramp_min_distance; + float32 dash_ramp_key_speed; + float32 dash_ramp_height; + uint32 dash_ramp_target_movepoint_id; + int32 damage_amount; + zHitSource damage_type; + zFootstepsData off_surface; + zFootstepsData on_surface; + zHitDecalData hit_decal_data[3]; + float32 off_surface_time; + uint8 swimmable_surface; + uint8 dash_fall; + uint8 need_button_press; + uint8 dash_attach; + uint8 footstep_decals; + uint8 pad1; + uint8 pad2; + uint8 pad3; + uint8 pad4; + uint8 driving_surface_type; }; struct xDestructibleAssetState { - uint32 percent; - uint32 modelID; - uint32 shrapnelID; - uint32 shrapnelhitID; - uint32 soundgroupidleID; - uint32 soundgroupfxID; - uint32 soundgrouphitID; - uint32 soundgroupfxIDswitch; - uint32 soundgrouphitIDswitch; - uint32 rumbleIDhit; - uint32 rumbleIDswitch; - uint32 fx_flags; - xDestructibleAssetAttachedAnimList* animlist; + uint32 percent; + uint32 modelID; + uint32 shrapnelID; + uint32 shrapnelhitID; + uint32 soundgroupidleID; + uint32 soundgroupfxID; + uint32 soundgrouphitID; + uint32 soundgroupfxIDswitch; + uint32 soundgrouphitIDswitch; + uint32 rumbleIDhit; + uint32 rumbleIDswitch; + uint32 fx_flags; + xDestructibleAssetAttachedAnimList* animlist; }; struct PopGun { - float32 dst_farout; - float32 rad_ud; - float32 rad_lr; + float32 dst_farout; + float32 rad_ud; + float32 rad_lr; }; struct effect : emitterBase @@ -11770,39 +11699,39 @@ struct effect : emitterBase struct zEntPickup : zEnt { - zAssetPickup* p; - void* anim; - float32 animTime; - float32 timer; - float32 fx_scale; - xVec3 grab_pos; - float32 reward_timer; - xVec3 vel; - xVec3 droppos; - xBase* followTarget; - xVec3 followOffset; - xBase* dropParent; - xEnt* useThisEntPos; - xEntDrive drv; - xShadowSimpleCache simpShadow_embedded; - uint32 state; - uint32 updateIndex; - uint8 pickupFlags; - uint8 flyflags; - uint8 flg_opts; + zAssetPickup* p; + void* anim; + float32 animTime; + float32 timer; + float32 fx_scale; + xVec3 grab_pos; + float32 reward_timer; + xVec3 vel; + xVec3 droppos; + xBase* followTarget; + xVec3 followOffset; + xBase* dropParent; + xEnt* useThisEntPos; + xEntDrive drv; + xShadowSimpleCache simpShadow_embedded; + uint32 state; + uint32 updateIndex; + uint8 pickupFlags; + uint8 flyflags; + uint8 flg_opts; }; struct Proj { - en_haztyp haztype; - float32 spd_proj; + en_haztyp haztype; + float32 spd_proj; }; struct zFragLocation { - zFragLocType type; - zFragLocInfo info; - float32 rand_radius; + zFragLocType type; + zFragLocInfo info; + float32 rand_radius; }; struct _anon107 @@ -11815,57 +11744,57 @@ struct _anon108 struct DenTooMeter : BarMeter { - uint8 lastPaused; - TextureScroller denTooTexureScroller; + uint8 lastPaused; + TextureScroller denTooTexureScroller; - void update(); - void setup(); - void* __ct(); + void update(); + void setup(); + void* __ct(); }; struct substr { - int8* text; - uint32 size; + int8* text; + uint32 size; }; struct xEntMechData { - xBound original_bound; - xVec3 original_position; - xVec3 destination_position; - xVec3 direction; - float32 original_rotation; - float32 destination_rotation; - float32 sliding_speed; - float32 rotation_speed; - int32 state; - float32 sliding_forth_decel_time; - float32 rotation_forth_decel_time; - float32 sliding_back_decel_time; - float32 rotating_back_decel_time; - float32 scale_speed; - float32 current_scale; - float32* entity_rotation_angle; + xBound original_bound; + xVec3 original_position; + xVec3 destination_position; + xVec3 direction; + float32 original_rotation; + float32 destination_rotation; + float32 sliding_speed; + float32 rotation_speed; + int32 state; + float32 sliding_forth_decel_time; + float32 rotation_forth_decel_time; + float32 sliding_back_decel_time; + float32 rotating_back_decel_time; + float32 scale_speed; + float32 current_scale; + float32* entity_rotation_angle; }; struct KnockSettings { - float32 acc_grav; - float32 fac_elastic; - float32 mag_upward; - float32 spd_push; - float32 fac_dampen; - float32 tym_push; + float32 acc_grav; + float32 fac_elastic; + float32 mag_upward; + float32 spd_push; + float32 fac_dampen; + float32 tym_push; }; struct RxColorUnion { - union - { - RwRGBA preLitColor; - RwRGBA color; - }; + union + { + RwRGBA preLitColor; + RwRGBA color; + }; }; struct zEntHangable @@ -11874,8 +11803,8 @@ struct zEntHangable struct NMEChatInfo { - xVec3 pos_chat; - float32 tym_chat; + xVec3 pos_chat; + float32 tym_chat; }; struct _anon109 @@ -11884,87 +11813,87 @@ struct _anon109 struct _zEnv : xBase { - xEnvAsset* easset; + xEnvAsset* easset; }; enum en_nmesimp { - NME_SIMP_HAPPY, - NME_SIMP_DEAD, - NME_SIMP_IGNORANT, - NME_SIMP_WARYDETECT, - NME_SIMP_WARY, - NME_SIMP_WORRIED, - NME_SIMP_CONFUSED, - NME_SIMP_BIGBULLY, - NPC_STAT_NOMORE + NME_SIMP_HAPPY, + NME_SIMP_DEAD, + NME_SIMP_IGNORANT, + NME_SIMP_WARYDETECT, + NME_SIMP_WARY, + NME_SIMP_WORRIED, + NME_SIMP_CONFUSED, + NME_SIMP_BIGBULLY, + NPC_STAT_NOMORE }; struct NPARInfo { - void(*fun_initsys)(NPARMgmt*, xParticleBatchSystem*); - void(*fun_tweaks)(NPARMgmt*, int8*); - int8* nam_texture; - int32 flg_npar; + void (*fun_initsys)(NPARMgmt*, xParticleBatchSystem*); + void (*fun_tweaks)(NPARMgmt*, int8*); + int8* nam_texture; + int32 flg_npar; }; struct xVec2 { - float32 x; - float32 y; + float32 x; + float32 y; }; enum en_battlefog { - FOGGER_BATTLE_ARENA, - FOGGER_BATTLE_CHASE, - FOGGER_BATTLE_EVADE, - FOGGER_BATTLE_NOMORE, - FOGGER_BATTLE_FORCE = 0x7fffffff + FOGGER_BATTLE_ARENA, + FOGGER_BATTLE_CHASE, + FOGGER_BATTLE_EVADE, + FOGGER_BATTLE_NOMORE, + FOGGER_BATTLE_FORCE = 0x7fffffff }; enum xCamOrientType { - XCAM_ORIENT_INVALID = 0xffffffff, - XCAM_ORIENT_QUAT, - XCAM_ORIENT_EULER, - XCAM_ORIENT_MAX + XCAM_ORIENT_INVALID = 0xffffffff, + XCAM_ORIENT_QUAT, + XCAM_ORIENT_EULER, + XCAM_ORIENT_MAX }; struct RwMatrixWeights { - float32 w0; - float32 w1; - float32 w2; - float32 w3; + float32 w0; + float32 w1; + float32 w2; + float32 w3; }; struct _class_9 { - xVec3 endPoint[2]; - xVec3 endPointB; - xVec3 direction; - float32 length; - float32 scale; - float32 width; - float32 endParam[2]; - float32 endVel[2]; - float32 paramSpan[2]; + xVec3 endPoint[2]; + xVec3 endPointB; + xVec3 direction; + float32 length; + float32 scale; + float32 width; + float32 endParam[2]; + float32 endVel[2]; + float32 paramSpan[2]; }; struct _class_10 { - HAZFXRibbon ribdata; - HAZFXLightning lytdata; + HAZFXRibbon ribdata; + HAZFXLightning lytdata; }; enum RwStreamAccessType { - rwNASTREAMACCESS, - rwSTREAMREAD, - rwSTREAMWRITE, - rwSTREAMAPPEND, - rwSTREAMACCESSTYPEFORCEENUMSIZEINT = 0x7fffffff + rwNASTREAMACCESS, + rwSTREAMREAD, + rwSTREAMWRITE, + rwSTREAMAPPEND, + rwSTREAMACCESSTYPEFORCEENUMSIZEINT = 0x7fffffff }; struct _anon110 @@ -11973,61 +11902,60 @@ struct _anon110 struct animix { - float32 r; - float32 g; - float32 b; - float32 a; - float32 scale_x; - float32 scale_y; + float32 r; + float32 g; + float32 b; + float32 a; + float32 scale_x; + float32 scale_y; }; struct zNMEGoalTurrPDormant : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); }; struct NMECone { - float32 rad_cone; - RwRGBA rgba_top; - RwRGBA rgba_bot; - RwRaster* rast_cone; - float32 uv_tip[2]; - float32 uv_slice[2]; + float32 rad_cone; + RwRGBA rgba_top; + RwRGBA rgba_bot; + RwRaster* rast_cone; + float32 uv_tip[2]; + float32 uv_slice[2]; }; struct zFragFire { - zFragFireAsset* fasset; + zFragFireAsset* fasset; }; struct font_meter_widget : meter_widget { - font_context font; - font_context start_font; - int32 precision; - int8 buffer[12]; - int32 last_value; - xfont xf; + font_context font; + font_context start_font; + int32 precision; + int8 buffer[12]; + int32 last_value; + xfont xf; }; enum eFFBossLocation { - ezFFBOSS_LOC_OPPOSITE_PLAYER, - ezFFBOSS_LOC_SAME_SIDE_PLAYER, - ezFFBOSS_LOC_TONGUE, - ezFFBOSS_LOC_TONGUE_TRENCH, - exFFBOSS_LOC_NOMORE + ezFFBOSS_LOC_OPPOSITE_PLAYER, + ezFFBOSS_LOC_SAME_SIDE_PLAYER, + ezFFBOSS_LOC_TONGUE, + ezFFBOSS_LOC_TONGUE_TRENCH, + exFFBOSS_LOC_NOMORE }; enum texture_mode { - TM_DEFAULT, - TM_RANDOM, - TM_CYCLE, - MAX_TM, - FORCE_INT_TM = 0xffffffff + TM_DEFAULT, + TM_RANDOM, + TM_CYCLE, + MAX_TM, + FORCE_INT_TM = 0xffffffff }; struct zAssetPickup @@ -12036,44 +11964,44 @@ struct zAssetPickup struct Wedge { - float32 rad_wedge; - float32 hyt_wedge; - float32 dot_wedge; + float32 rad_wedge; + float32 hyt_wedge; + float32 dot_wedge; }; struct xCutsceneTime { - float32 StartTime; - float32 EndTime; - uint32 NumData; - uint32 ChunkIndex; + float32 StartTime; + float32 EndTime; + uint32 NumData; + uint32 ChunkIndex; }; struct PropWashParm { - float32 rad_ring; - float32 spd_outward; + float32 rad_ring; + float32 spd_outward; }; struct xClumpCollBSPTriangle { - _class_26 v; - uint8 flags; - uint8 detailed_info_cache_index; - uint16 matIndex; + _class_26 v; + uint8 flags; + uint8 detailed_info_cache_index; + uint16 matIndex; }; struct XGOFTypeInfo { - int32 tid; - xFactoryInst*(*creator)(int32, RyzMemGrow*, void*); - void(*destroyer)(xFactoryInst*); + int32 tid; + xFactoryInst* (*creator)(int32, RyzMemGrow*, void*); + void (*destroyer)(xFactoryInst*); }; struct TxtrXtra_1 { - RwTexture* txtr_texture; - uint32 aid_texture; + RwTexture* txtr_texture; + uint32 aid_texture; }; struct _anon111 @@ -12082,49 +12010,49 @@ struct _anon111 struct hoverData { - float32 tmr_hovBubDelay; - float32 tmr_hovBubEmit; + float32 tmr_hovBubDelay; + float32 tmr_hovBubEmit; }; struct Size_0 { - float32 width; - float32 height; + float32 width; + float32 height; }; struct xEnvAsset : xBaseAsset { - uint32 bspAssetID; - uint32 startCameraAssetID; - uint32 climateFlags; - float32 climateStrengthMin; - float32 climateStrengthMax; - uint32 bspLightKit; - uint32 objectLightKit; - uint32 flags; - uint32 bspCollisionAssetID; - uint32 bspFXAssetID; - uint32 bspCameraAssetID; - uint32 bspMapperID; - uint32 bspMapperCollisionID; - uint32 bspMapperFXID; - float32 loldHeight; - xVec3 minBounds; - xVec3 maxBounds; + uint32 bspAssetID; + uint32 startCameraAssetID; + uint32 climateFlags; + float32 climateStrengthMin; + float32 climateStrengthMax; + uint32 bspLightKit; + uint32 objectLightKit; + uint32 flags; + uint32 bspCollisionAssetID; + uint32 bspFXAssetID; + uint32 bspCameraAssetID; + uint32 bspMapperID; + uint32 bspMapperCollisionID; + uint32 bspMapperFXID; + float32 loldHeight; + xVec3 minBounds; + xVec3 maxBounds; }; struct _tagPadAnalog { - int8 x; - int8 y; + int8 x; + int8 y; }; struct CurveInfo_1 { - ExhaustCurve* curveData; - int32 curveSize; - float32 alf_master; - float32 scl_master; + ExhaustCurve* curveData; + int32 curveSize; + float32 alf_master; + float32 scl_master; }; struct xFFX @@ -12133,12 +12061,12 @@ struct xFFX struct xEntOrbitData { - xVec3 orig; - xVec3 c; - float32 a; - float32 b; - float32 p; - float32 w; + xVec3 orig; + xVec3 c; + float32 a; + float32 b; + float32 p; + float32 w; }; struct _anon112 @@ -12147,8 +12075,8 @@ struct _anon112 struct NMECfgSpinner { - Health_4 health; - Battle_5 battle; + Health_4 health; + Battle_5 battle; }; struct _anon113 @@ -12157,28 +12085,28 @@ struct _anon113 struct zFragFireAsset : zFragAsset { - zFragLocation loc; - uint32 flags; - float32 radius; - float32 scale; - float32 fuel; - float32 heat; - float32 damage; - float32 knockback; + zFragLocation loc; + uint32 flags; + float32 radius; + float32 scale; + float32 fuel; + float32 heat; + float32 damage; + float32 knockback; }; struct zNeptuneParticleGravBounceUser { - float32 gravity; - float32 bounceHeight; + float32 gravity; + float32 bounceHeight; }; struct zNMEGoalTikiPatrol : zNMEGoalCommon { - xVec3 dest_pos; - xVec3 vel; + xVec3 dest_pos; + xVec3 vel; - int32 Enter(); + int32 Enter(); }; struct _anon114 @@ -12187,67 +12115,66 @@ struct _anon114 struct zNMEGoalSlamAware : zNMEGoalCommon { - - int32 ChkTranCases(zNMESlammer* npc, int32& nextgoal, en_trantype& trantype); - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Enter(); + int32 ChkTranCases(zNMESlammer* npc, int32& nextgoal, en_trantype& trantype); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Enter(); }; enum en_turranim { - TURR_ANIM_UNKNOWN, - TURR_ANIM_INACTIVE, - TURR_ANIM_ACTIVE, - TURR_ANIM_SHOOT_ONCE, - TURR_ANIM_SHOOT_PREP, - TURR_ANIM_SHOOT_LOOP, - TURR_ANIM_SHOOT_DONE, - TURR_ANIM_TAUNT, - TURR_ANIM_RELOAD, - TURR_ANIM_DAMAGE, - TURR_ANIM_POPUP, - TURR_ANIM_POPDOWN, - TURR_ANIM_NOMORE, - TURR_ANIM_FORCE = 0x7fffffff + TURR_ANIM_UNKNOWN, + TURR_ANIM_INACTIVE, + TURR_ANIM_ACTIVE, + TURR_ANIM_SHOOT_ONCE, + TURR_ANIM_SHOOT_PREP, + TURR_ANIM_SHOOT_LOOP, + TURR_ANIM_SHOOT_DONE, + TURR_ANIM_TAUNT, + TURR_ANIM_RELOAD, + TURR_ANIM_DAMAGE, + TURR_ANIM_POPUP, + TURR_ANIM_POPDOWN, + TURR_ANIM_NOMORE, + TURR_ANIM_FORCE = 0x7fffffff }; struct RxNodeMethods { - int32(*nodeBody)(RxPipelineNode*, RxPipelineNodeParam*); - int32(*nodeInit)(RxNodeDefinition*); - void(*nodeTerm)(RxNodeDefinition*); - int32(*pipelineNodeInit)(RxPipelineNode*); - void(*pipelineNodeTerm)(RxPipelineNode*); - int32(*pipelineNodeConfig)(RxPipelineNode*, RxPipeline*); - uint32(*configMsgHandler)(RxPipelineNode*, uint32, uint32, void*); + int32 (*nodeBody)(RxPipelineNode*, RxPipelineNodeParam*); + int32 (*nodeInit)(RxNodeDefinition*); + void (*nodeTerm)(RxNodeDefinition*); + int32 (*pipelineNodeInit)(RxPipelineNode*); + void (*pipelineNodeTerm)(RxPipelineNode*); + int32 (*pipelineNodeConfig)(RxPipelineNode*, RxPipeline*); + uint32 (*configMsgHandler)(RxPipelineNode*, uint32, uint32, void*); }; struct HAZFXLightning { - zLightning* lytlist[4]; - int32 cnt_skipRibInsert; + zLightning* lytlist[4]; + int32 cnt_skipRibInsert; }; struct _class_11 { - union - { - xVec3 cart; - xCamCoordCylinder cylinder; - xCamCoordSphere sphere; - }; + union + { + xVec3 cart; + xCamCoordCylinder cylinder; + xCamCoordSphere sphere; + }; }; struct CFGSearch { - en_npctyp typ_search; - NMEConfig* match; + en_npctyp typ_search; + NMEConfig* match; }; struct xPERect { - float32 x_len; - float32 z_len; + float32 x_len; + float32 z_len; }; struct _anon115 @@ -12256,144 +12183,141 @@ struct _anon115 struct zNMEGoalCritIdle : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); }; struct callback_1 { - void(*render)(jot&, xtextbox&, float32, float32); - void(*layout_update)(jot&, xtextbox&, xtextbox&); - void(*render_update)(jot&, xtextbox&, xtextbox&); + void (*render)(jot&, xtextbox&, float32, float32); + void (*layout_update)(jot&, xtextbox&, xtextbox&); + void (*render_update)(jot&, xtextbox&, xtextbox&); }; enum eSNDCurrentPlayer { - eCurrentPlayerSpongeBob, - eCurrentPlayerPatrick, - eCurrentPlayerCar, - eCurrentPlayerSpongePat, - eCurrentPlayerCount + eCurrentPlayerSpongeBob, + eCurrentPlayerPatrick, + eCurrentPlayerCar, + eCurrentPlayerSpongePat, + eCurrentPlayerCount }; enum RwCameraProjection { - rwNACAMERAPROJECTION, - rwPERSPECTIVE, - rwPARALLEL, - rwCAMERAPROJECTIONFORCEENUMSIZEINT = 0x7fffffff + rwNACAMERAPROJECTION, + rwPERSPECTIVE, + rwPARALLEL, + rwCAMERAPROJECTIONFORCEENUMSIZEINT = 0x7fffffff }; struct zSceneParameters : xDynAsset { - uint32 idle03ExtraCount; - xAnimFile** idle03Extras; - uint32 idle04ExtraCount; - xAnimFile** idle04Extras; - uint8 bombCount; - uint8 extraIdleDelay; - uint8 hdrGlow; - uint8 hdrDarken; - uint32 uDefaultMusicHash; - uint32 flags; - float32 waterTileWidth; - float32 lodFadeDistance; - uint32 pad[4]; + uint32 idle03ExtraCount; + xAnimFile** idle03Extras; + uint32 idle04ExtraCount; + xAnimFile** idle04Extras; + uint8 bombCount; + uint8 extraIdleDelay; + uint8 hdrGlow; + uint8 hdrDarken; + uint32 uDefaultMusicHash; + uint32 flags; + float32 waterTileWidth; + float32 lodFadeDistance; + uint32 pad[4]; }; struct HAZTuneBorn : HAZBasic { - - void Render(zNMEHazard* haz); - en_hazrc Configure(zNMEHazard* haz); - void ScenePostInit(); + void Render(zNMEHazard* haz); + en_hazrc Configure(zNMEHazard* haz); + void ScenePostInit(); }; struct HAZImpact : HAZBasic { - - void Update(zNMEHazard* haz); - en_hazrc Configure(zNMEHazard* haz); + void Update(zNMEHazard* haz); + en_hazrc Configure(zNMEHazard* haz); }; enum zHitSource { - zHS_EVENT, - zHS_GENERAL, - zHS_PROJECTILE, - zHS_EXPLOSION, - zHS_LASER, - zHS_ENERGY, - zHS_FIRE, - zHS_SURFACE, - zHS_MELEE_HIGH, - zHS_MELEE_MID, - zHS_MELEE_LOW, - zHS_MELEE_UP, - zHS_MELEE_BACK, - zHS_MELEE_DIZZY, - zHS_THROW, - zHS_WATER, - zHS_DEATHPLANE, - zHS_INCREDI, - zHS_KNOCKBACK, - zHS_LASERBEAM, - zHS_INFINITE_FALL, - zHS_COUNT, - zHS_FORCE_INT = 0xffffffff + zHS_EVENT, + zHS_GENERAL, + zHS_PROJECTILE, + zHS_EXPLOSION, + zHS_LASER, + zHS_ENERGY, + zHS_FIRE, + zHS_SURFACE, + zHS_MELEE_HIGH, + zHS_MELEE_MID, + zHS_MELEE_LOW, + zHS_MELEE_UP, + zHS_MELEE_BACK, + zHS_MELEE_DIZZY, + zHS_THROW, + zHS_WATER, + zHS_DEATHPLANE, + zHS_INCREDI, + zHS_KNOCKBACK, + zHS_LASERBEAM, + zHS_INFINITE_FALL, + zHS_COUNT, + zHS_FORCE_INT = 0xffffffff }; enum RwStreamType { - rwNASTREAM, - rwSTREAMFILE, - rwSTREAMFILENAME, - rwSTREAMMEMORY, - rwSTREAMCUSTOM, - rwSTREAMTYPEFORCEENUMSIZEINT = 0x7fffffff + rwNASTREAM, + rwSTREAMFILE, + rwSTREAMFILENAME, + rwSTREAMMEMORY, + rwSTREAMCUSTOM, + rwSTREAMTYPEFORCEENUMSIZEINT = 0x7fffffff }; struct xFXCameraTexture { - RwCamera* cam; - RwRaster* raster; - RwRaster* bgraster; - RpWorld* world; - RwTexture* texture; - uint32 vert_buffer_used; - xColor_tag bgcolor; - RwCamera* oldcam; - RpWorld* oldworld; - float32 rcz; - float32 w; - float32 h; - RwRaster* zraster; - int32 max_tw; - int32 max_th; - float32 old_near_plane; - float32 old_far_plane; - float32 old_znear; - - void zbuffer_unmap(); + RwCamera* cam; + RwRaster* raster; + RwRaster* bgraster; + RpWorld* world; + RwTexture* texture; + uint32 vert_buffer_used; + xColor_tag bgcolor; + RwCamera* oldcam; + RpWorld* oldworld; + float32 rcz; + float32 w; + float32 h; + RwRaster* zraster; + int32 max_tw; + int32 max_th; + float32 old_near_plane; + float32 old_far_plane; + float32 old_znear; + + void zbuffer_unmap(); }; struct RunTime_1 { - RwRaster* rast_inner; - RwRaster* rast_outer; - RwRaster* rast_solid_bar; - RwRaster* rast_broken_bar; - RwRaster* rast_logo; + RwRaster* rast_inner; + RwRaster* rast_outer; + RwRaster* rast_solid_bar; + RwRaster* rast_broken_bar; + RwRaster* rast_logo; }; struct RtAnimAnimation { - RtAnimInterpolatorInfo* interpInfo; - int32 numFrames; - int32 flags; - float32 duration; - void* pFrames; - void* customData; + RtAnimInterpolatorInfo* interpInfo; + int32 numFrames; + int32 flags; + float32 duration; + void* pFrames; + void* customData; }; struct _anon116 @@ -12402,27 +12326,27 @@ struct _anon116 struct _class_12 { - uint32 start_increment; - uint32 increment; - uint32 start_decrement; - uint32 decrement; + uint32 start_increment; + uint32 increment; + uint32 start_decrement; + uint32 decrement; }; struct zNeptuneSortParticle { - zNeptuneF32orU32 x; - zNeptuneF32orU32 y; - zNeptuneF32orU32 z; - uint32 depthlife; + zNeptuneF32orU32 x; + zNeptuneF32orU32 y; + zNeptuneF32orU32 z; + uint32 depthlife; }; struct zNeptuneParType { - float32 lifetime; - uint8 updtype; - uint8 texidx; - uint8 colidx; - uint8 sizeidx; + float32 lifetime; + uint8 updtype; + uint8 texidx; + uint8 colidx; + uint8 sizeidx; }; struct _anon117 @@ -12431,14 +12355,14 @@ struct _anon117 struct NMECfgStandard { - Taunt taunt; - Detect detect; - Terminate terminate; + Taunt taunt; + Detect detect; + Terminate terminate; }; struct Health_4 { - int32 pts_healthMax; + int32 pts_healthMax; }; struct _anon118 @@ -12447,12 +12371,12 @@ struct _anon118 struct sphericalEmitterAsset : xDynAsset { - uint32 effectID; - float32 radius; - xVec3 position; - uint8 onlyRumbleOnY; - uint8 fallOff; - uint8 onlyOnFloor; + uint32 effectID; + float32 radius; + xVec3 position; + uint8 onlyRumbleOnY; + uint8 fallOff; + uint8 onlyOnFloor; }; struct _anon119 @@ -12461,17 +12385,17 @@ struct _anon119 struct zEntSimpleObj : zEnt { - xSimpleObjAsset* sasset; - uint32 sflags; - zReactiveAnimationData* reactiveAnimationData; - zReactiveGenre* reactGenre; - zSimpleMgr* smgrExtra; - void* anim; - float32 animTime; - RwMatrixTag* fastMatList; - zDestructible* destructible; - zSimpleMgr* smgr; - xEntOpacity opacity; + xSimpleObjAsset* sasset; + uint32 sflags; + zReactiveAnimationData* reactiveAnimationData; + zReactiveGenre* reactGenre; + zSimpleMgr* smgrExtra; + void* anim; + float32 animTime; + RwMatrixTag* fastMatList; + zDestructible* destructible; + zSimpleMgr* smgr; + xEntOpacity opacity; }; struct _anon120 @@ -12480,38 +12404,38 @@ struct _anon120 struct xUpdateCullMgr { - uint32 entCount; - uint32 entActive; - void** ent; - xUpdateCullEnt** mgr; - uint32 mgrCount; - uint32 mgrCurr; - xUpdateCullEnt* mgrList; - uint32 grpCount; - xUpdateCullGroup* grpList; - void(*activateCB)(void*); - void(*deactivateCB)(void*); + uint32 entCount; + uint32 entActive; + void** ent; + xUpdateCullEnt** mgr; + uint32 mgrCount; + uint32 mgrCurr; + xUpdateCullEnt* mgrList; + uint32 grpCount; + xUpdateCullGroup* grpList; + void (*activateCB)(void*); + void (*deactivateCB)(void*); }; struct font_context { - uint32 id; - int32 justify; - float32 w; - float32 h; - float32 space; - float32 drop_x; - float32 drop_y; - xColor_tag c; - xColor_tag drop_c; + uint32 id; + int32 justify; + float32 w; + float32 h; + float32 space; + float32 drop_x; + float32 drop_y; + xColor_tag c; + xColor_tag drop_c; }; struct Attack_3 { - float32 spd_proj; - int32 num_salvo; - float32 tym_shoot; - float32 dst_spreadHorz; + float32 spd_proj; + int32 num_salvo; + float32 tym_shoot; + float32 dst_spreadHorz; }; struct _anon121 @@ -12520,24 +12444,24 @@ struct _anon121 struct MervLetMeKnow : xPSYNote { - xPsyche* psy_mervyn; + xPsyche* psy_mervyn; }; struct RpHAnimNodeInfo { - int32 nodeID; - int32 nodeIndex; - int32 flags; - RwFrame* pFrame; + int32 nodeID; + int32 nodeIndex; + int32 flags; + RwFrame* pFrame; }; struct RwResEntry { - RwLLLink link; - int32 size; - void* owner; - RwResEntry** ownerRef; - void(*destroyNotify)(RwResEntry*); + RwLLLink link; + int32 size; + void* owner; + RwResEntry** ownerRef; + void (*destroyNotify)(RwResEntry*); }; struct _anon122 @@ -12546,177 +12470,177 @@ struct _anon122 enum en_nmevar { - NME_VAR_NONE, - NME_VAR_1, - NME_VAR_2, - NME_VAR_3, - NME_VAR_4, - NME_VAR_5, - NME_VAR_6, - NME_VAR_7, - NME_VAR_8, - NME_VAR_9, - NME_VAR_NOMORE, - NME_FORCE = 0x7fffffff + NME_VAR_NONE, + NME_VAR_1, + NME_VAR_2, + NME_VAR_3, + NME_VAR_4, + NME_VAR_5, + NME_VAR_6, + NME_VAR_7, + NME_VAR_8, + NME_VAR_9, + NME_VAR_NOMORE, + NME_FORCE = 0x7fffffff }; enum en_ZBASETYPE { - eBaseTypeUnknown, - eBaseTypeTrigger, - eBaseTypeVillain, - eBaseTypePlayer, - eBaseTypePickup, - eBaseTypeEnv, - eBaseTypePlatform, - eBaseTypeCamera, - eBaseTypeDoor, - eBaseTypeSavePoint, - eBaseTypeItem, - eBaseTypeStatic, - eBaseTypeDynamic, - eBaseTypeMovePoint, - eBaseTypeTimer, - eBaseTypeBubble, - eBaseTypePortal, - eBaseTypeGroup, - eBaseTypePendulum, - eBaseTypeSFX, - eBaseTypeFFX, - eBaseTypeVFX, - eBaseTypeCounter, - eBaseTypeHangable, - eBaseTypeButton, - eBaseTypeProj, - eBaseTypeSurface, - eBaseTypeDestructObj, - eBaseTypeHUD_image, - eBaseTypeVolume, - eBaseTypeDispatcher, - eBaseTypeCond, - eBaseTypeUI, - eBaseTypeUIFont, - eBaseTypeProjectileType, - eBaseTypeLobMaster, - eBaseTypeFog, - eBaseTypeLight, - eBaseTypeParticleEmitter, - eBaseTypeParticleSystem, - eBaseTypeCutsceneMgr, - eBaseTypeEGenerator, - eBaseTypeScript, - eBaseTypeNPC, - eBaseTypeHud, - eBaseTypeNPCProps, - eBaseTypeParticleEmitterProps, - eBaseTypeBoulder, - eBaseTypeCruiseBubble, - eBaseTypeTeleportBox, - eBaseTypeBusStop, - eBaseTypeTextBox, - eBaseTypeTalkBox, - eBaseTypeTaskBox, - eBaseTypeBoulderGenerator, - eBaseTypeNPCSettings, - eBaseTypeDiscoFloor, - eBaseTypeTaxi, - eBaseTypeHUD_model, - eBaseTypeHUD_font_meter, - eBaseTypeHUD_unit_meter, - eBaseTypeBungeeHook, - eBaseTypeCameraFly, - eBaseTypeTrackPhysics, - eBaseTypeZipLine, - eBaseTypeArena, - eBaseTypeDuplicator, - eBaseTypeLaserBeam, - eBaseTypeTurret, - eBaseTypeCameraTweak, - eBaseTypeSlideProps, - eBaseTypeHUD_text, - eBaseTypeReference, - eBaseTypeSpline, - eBaseTypeSoundGroup, - eBaseTypeSoundFX, - eBaseTypeKaboomMinigame, - eBaseTypeDestructibleAsset, - eBaseTypeFlameEmitter, - eBaseTypeGrapple, - eBaseTypeUIText, - eBaseTypeUIImage, - eBaseTypeUIModel, - eBaseTypeUIMotion, - eBaseTypeSceneSettingsAsset, - eBaseTypeTrainCar, - eBaseTypeTrainPathJunction, - eBaseTypeUIBox, - eBaseTypeNPCFormation, - eBaseTypeProjBomb, - eBaseTypeUIUserString, - eBaseTypeRumbleEffect, - eBaseTypeRumbleSphericalEmitter, - eBaseTypeRumbleBoxEmitter, - eBaseTypeUIImageWindow, - eBaseTypeSplinePath, - eBaseTypeOfficeMinigame, - eBaseTypeUIList, - eBaseTypeHangableObj, - eBaseTypeCar, - eBaseTypeWheel, - eBaseTypeLightning, - eBaseTypeLensFlareSource, - eBaseTypeLensFlareElement, - eBaseTypeStaticCameraAsset, - eBaseTypeSmokeEmitter, - eBaseTypeVentType, - eBaseTypeVent, - eBaseTypeWaterhose, - eBaseTypeRaceTimer, - eBaseTypeScreenFade, - eBaseTypeBulletMarkAsset, - eBaseTypeBulletTimeAsset, - eBaseTypeRingControl, - eBaseTypeRing, - eBaseTypeDashCameraSpline, - eBaseTypeWaterBody, - eBaseTypeProgressScript, - eBaseTypeTurn, - eBaseTypeLaunch, - eBaseTypeSpotlight, - eBaseTypeInPickup, - eBaseTypeNPCGroup, - eBaseTypeUIController, - eBaseTypeParticleGenerator, - eBaseTypeJSPExtraData, - eBaseTypeLift, - eBaseTypeUberLaser, - eBaseTypeNPCAdditionalObj, - eBaseTypeCameraRBandAsset, - eBaseTypeFlamethrower, - eBaseTypeRubbleGenerator, - eBaseTypeIcon, - eBaseTypeOmnidroidal, - eBaseTypeFunctionGenerator, - eBaseTypeGrass, - eBaseTypeNPCShield, - eBaseTypeCamPreset, - eBaseTypeSparkEmitter, - eBaseTypeTimedSplash, - eBaseTypeRubbleChunk, - eBaseTypeCount + eBaseTypeUnknown, + eBaseTypeTrigger, + eBaseTypeVillain, + eBaseTypePlayer, + eBaseTypePickup, + eBaseTypeEnv, + eBaseTypePlatform, + eBaseTypeCamera, + eBaseTypeDoor, + eBaseTypeSavePoint, + eBaseTypeItem, + eBaseTypeStatic, + eBaseTypeDynamic, + eBaseTypeMovePoint, + eBaseTypeTimer, + eBaseTypeBubble, + eBaseTypePortal, + eBaseTypeGroup, + eBaseTypePendulum, + eBaseTypeSFX, + eBaseTypeFFX, + eBaseTypeVFX, + eBaseTypeCounter, + eBaseTypeHangable, + eBaseTypeButton, + eBaseTypeProj, + eBaseTypeSurface, + eBaseTypeDestructObj, + eBaseTypeHUD_image, + eBaseTypeVolume, + eBaseTypeDispatcher, + eBaseTypeCond, + eBaseTypeUI, + eBaseTypeUIFont, + eBaseTypeProjectileType, + eBaseTypeLobMaster, + eBaseTypeFog, + eBaseTypeLight, + eBaseTypeParticleEmitter, + eBaseTypeParticleSystem, + eBaseTypeCutsceneMgr, + eBaseTypeEGenerator, + eBaseTypeScript, + eBaseTypeNPC, + eBaseTypeHud, + eBaseTypeNPCProps, + eBaseTypeParticleEmitterProps, + eBaseTypeBoulder, + eBaseTypeCruiseBubble, + eBaseTypeTeleportBox, + eBaseTypeBusStop, + eBaseTypeTextBox, + eBaseTypeTalkBox, + eBaseTypeTaskBox, + eBaseTypeBoulderGenerator, + eBaseTypeNPCSettings, + eBaseTypeDiscoFloor, + eBaseTypeTaxi, + eBaseTypeHUD_model, + eBaseTypeHUD_font_meter, + eBaseTypeHUD_unit_meter, + eBaseTypeBungeeHook, + eBaseTypeCameraFly, + eBaseTypeTrackPhysics, + eBaseTypeZipLine, + eBaseTypeArena, + eBaseTypeDuplicator, + eBaseTypeLaserBeam, + eBaseTypeTurret, + eBaseTypeCameraTweak, + eBaseTypeSlideProps, + eBaseTypeHUD_text, + eBaseTypeReference, + eBaseTypeSpline, + eBaseTypeSoundGroup, + eBaseTypeSoundFX, + eBaseTypeKaboomMinigame, + eBaseTypeDestructibleAsset, + eBaseTypeFlameEmitter, + eBaseTypeGrapple, + eBaseTypeUIText, + eBaseTypeUIImage, + eBaseTypeUIModel, + eBaseTypeUIMotion, + eBaseTypeSceneSettingsAsset, + eBaseTypeTrainCar, + eBaseTypeTrainPathJunction, + eBaseTypeUIBox, + eBaseTypeNPCFormation, + eBaseTypeProjBomb, + eBaseTypeUIUserString, + eBaseTypeRumbleEffect, + eBaseTypeRumbleSphericalEmitter, + eBaseTypeRumbleBoxEmitter, + eBaseTypeUIImageWindow, + eBaseTypeSplinePath, + eBaseTypeOfficeMinigame, + eBaseTypeUIList, + eBaseTypeHangableObj, + eBaseTypeCar, + eBaseTypeWheel, + eBaseTypeLightning, + eBaseTypeLensFlareSource, + eBaseTypeLensFlareElement, + eBaseTypeStaticCameraAsset, + eBaseTypeSmokeEmitter, + eBaseTypeVentType, + eBaseTypeVent, + eBaseTypeWaterhose, + eBaseTypeRaceTimer, + eBaseTypeScreenFade, + eBaseTypeBulletMarkAsset, + eBaseTypeBulletTimeAsset, + eBaseTypeRingControl, + eBaseTypeRing, + eBaseTypeDashCameraSpline, + eBaseTypeWaterBody, + eBaseTypeProgressScript, + eBaseTypeTurn, + eBaseTypeLaunch, + eBaseTypeSpotlight, + eBaseTypeInPickup, + eBaseTypeNPCGroup, + eBaseTypeUIController, + eBaseTypeParticleGenerator, + eBaseTypeJSPExtraData, + eBaseTypeLift, + eBaseTypeUberLaser, + eBaseTypeNPCAdditionalObj, + eBaseTypeCameraRBandAsset, + eBaseTypeFlamethrower, + eBaseTypeRubbleGenerator, + eBaseTypeIcon, + eBaseTypeOmnidroidal, + eBaseTypeFunctionGenerator, + eBaseTypeGrass, + eBaseTypeNPCShield, + eBaseTypeCamPreset, + eBaseTypeSparkEmitter, + eBaseTypeTimedSplash, + eBaseTypeRubbleChunk, + eBaseTypeCount }; struct _class_13 { - float32 duration; - float32 gravity; + float32 duration; + float32 gravity; }; enum en_rotinf { - ROTINF_TURNING, - ROTINF_ARRIVED, - ROTINF_ENDPOINT + ROTINF_TURNING, + ROTINF_ARRIVED, + ROTINF_ENDPOINT }; struct NURBS @@ -12725,10 +12649,10 @@ struct NURBS struct CurveInfo_2 { - OrientCurve* curveData; - int32 curveSize; - float32 alf_master; - float32 scl_master; + OrientCurve* curveData; + int32 curveSize; + float32 alf_master; + float32 scl_master; }; struct _anon123 @@ -12741,45 +12665,45 @@ struct _anon124 struct asset_type_1 : xDynAsset { - uint32 text; - basic_rect bounds; - uint32 font; - _class_14 size; - _class_19 space; - color_type color; - _class_22 inset; - _enum_3 xjustify; - _enum_0 yjustify; - _enum_1 expand; - float32 max_height; - _class_5 backdrop; - color_type shadowColor; - float32 shadowOffsetX; - float32 shadowOffsetY; + uint32 text; + basic_rect bounds; + uint32 font; + _class_14 size; + _class_19 space; + color_type color; + _class_22 inset; + _enum_3 xjustify; + _enum_0 yjustify; + _enum_1 expand; + float32 max_height; + _class_5 backdrop; + color_type shadowColor; + float32 shadowOffsetX; + float32 shadowOffsetY; }; struct xParInterp { - float32 val[2]; - uint32 interp; - float32 freq; - float32 oofreq; + float32 val[2]; + uint32 interp; + float32 freq; + float32 oofreq; }; struct iEnvMatOrder { - uint16 jspIndex; - uint16 nodeIndex; - int32 matGroup; - RpAtomic* atomic; - xJSPNodeInfo* nodeInfo; + uint16 jspIndex; + uint16 nodeIndex; + int32 matGroup; + RpAtomic* atomic; + xJSPNodeInfo* nodeInfo; }; struct RwObjectHasFrame { - RwObject object; - RwLLLink lFrame; - RwObjectHasFrame*(*sync)(RwObjectHasFrame*); + RwObject object; + RwLLLink lFrame; + RwObjectHasFrame* (*sync)(RwObjectHasFrame*); }; struct _anon125 @@ -12792,14 +12716,14 @@ struct _anon126 struct xModelBlur { - activity_data_1* activity; + activity_data_1* activity; - void render_enable(uint8 enabled); - void render_all(); - void update_all(float32 dt); - void reset_all(); - void scene_exit(); - void scene_enter(); + void render_enable(uint8 enabled); + void render_all(); + void update_all(float32 dt); + void reset_all(); + void scene_exit(); + void scene_enter(); }; struct _anon127 @@ -12812,30 +12736,30 @@ struct motive_node struct _class_14 { - float32 width; - float32 height; + float32 width; + float32 height; }; struct AnimDefStruct { - int8* name; - uint32 flags; - uint32 userFlags; + int8* name; + uint32 flags; + uint32 userFlags; }; struct NMEDestInfo { - xVec3 pos_there; - zMovePoint* nav_there; + xVec3 pos_there; + zMovePoint* nav_there; }; enum rxEmbeddedPacketState { - rxPKST_PACKETLESS, - rxPKST_UNUSED, - rxPKST_INUSE, - rxPKST_PENDING, - rxEMBEDDEDPACKETSTATEFORCEENUMSIZEINT = 0x7fffffff + rxPKST_PACKETLESS, + rxPKST_UNUSED, + rxPKST_INUSE, + rxPKST_PENDING, + rxEMBEDDEDPACKETSTATEFORCEENUMSIZEINT = 0x7fffffff }; struct _anon128 @@ -12844,204 +12768,204 @@ struct _anon128 struct xCamOrientEuler { - float32 yaw; - float32 pitch; - float32 roll; + float32 yaw; + float32 pitch; + float32 roll; }; struct sphericalEmitter : emitterBase { - sphericalEmitterAsset* pAsset; - float32 radiusSqrd; + sphericalEmitterAsset* pAsset; + float32 radiusSqrd; }; struct xEnv { - iEnv* geom; - iEnv ienv; - xLightKit* lightKit; + iEnv* geom; + iEnv ienv; + xLightKit* lightKit; }; struct xfont { - uint32 id; - float32 width; - float32 height; - float32 space; - xColor_tag color; - xColor_tag shadowColor; - float32 shadowOffsetX; - float32 shadowOffsetY; - basic_rect clip; + uint32 id; + float32 width; + float32 height; + float32 space; + xColor_tag color; + xColor_tag shadowColor; + float32 shadowOffsetX; + float32 shadowOffsetY; + basic_rect clip; - void restore_render_state(); - void set_render_state(RwRaster* raster); - void init(); + void restore_render_state(); + void set_render_state(RwRaster* raster); + void init(); }; struct JellySting { - int32 idx_curr; - zLightning* zap_lytnin[2]; + int32 idx_curr; + zLightning* zap_lytnin[2]; }; struct RunTime_2 { - float32 acc_gravity; - float32 fac_damp; - float32 spd_rotate; + float32 acc_gravity; + float32 fac_damp; + float32 spd_rotate; }; enum zFragType { - eFragInactive, - eFragGroup, - eFragShrapnel, - eFragParticle, - eFragProjectile, - eFragLightning, - eFragSound, - eFragShockwave, - eFragExplosion, - eFragDistortion, - eFragFire, - eFragCount, - eFragForceSize = 0x7fffffff + eFragInactive, + eFragGroup, + eFragShrapnel, + eFragParticle, + eFragProjectile, + eFragLightning, + eFragSound, + eFragShockwave, + eFragExplosion, + eFragDistortion, + eFragFire, + eFragCount, + eFragForceSize = 0x7fffffff }; struct Battle_4 { - float32 tym_reload; + float32 tym_reload; }; struct NMESpawnInfo { - xVec3 pos_spawn; - zMovePoint* nav_firstMovepoint; - zMovePoint* nav_spawnReference; - int32 spawnSuccess; + xVec3 pos_spawn; + zMovePoint* nav_firstMovepoint; + zMovePoint* nav_spawnReference; + int32 spawnSuccess; }; enum en_npcgol { - NME_GOAL_UNKNOWN, - NME_GOAL_CRIT_IDLE = 0x4e474300, - NME_GOAL_CRIT_PATROL, - NME_GOAL_CRIT_DYING, - NME_GOAL_CRIT_DEAD, - NME_GOAL_CRIT_BATTACK, - NME_GOAL_CRIT_JATTACK, - NME_GOAL_CRIT_JDYING, - NME_GOAL_TURR_IDLE = 0x4e474700, - NME_GOAL_TURR_RELOAD, - NME_GOAL_TURR_HURT, - NME_GOAL_TURR_DEAD, - NME_GOAL_TURR_TREADY, - NME_GOAL_TURR_TTURN, - NME_GOAL_TURR_TSHOOT, - NME_GOAL_TURR_PDORMANT, - NME_GOAL_TURR_PALERT, - NME_GOAL_TURR_PPATALPHA, - NME_GOAL_TURR_BIDLE, - NME_GOAL_TURR_BTURN, - NME_GOAL_TURR_BSHOOT, - NME_GOAL_TURR_BHURT, - NME_GOAL_TURR_SPIRAL, - NME_GOAL_IDLE = 0x4e474e00, - NME_GOAL_PATROL, - NME_GOAL_WANDER, - NME_GOAL_FIDGET, - NME_GOAL_WAITING, - NME_GOAL_DEAD, - NME_GOAL_NOMANLAND, - NME_GOAL_LIMBO, - NME_GOAL_DEV_ANIMVIEW = 0x4e474400, - NME_GOAL_DEV_HEROMODE, - NME_GOAL_TIKI_IDLE = 0x4e475400, - NME_GOAL_TIKI_PATROL, - NME_GOAL_TIKI_HIDE, - NME_GOAL_TIKI_COUNT, - NME_GOAL_TIKI_DYING, - NME_GOAL_TIKI_DEAD, - NME_GOAL_AFTERLIFE = 0x4e475300, - NME_GOAL_SPAWN, - NME_GOAL_WOUND, - NME_GOAL_SPOOKED, - NME_GOAL_NOTICE, - NME_GOAL_SCAREWAIT, - NME_GOAL_SCARE, - NME_GOAL_TAUNT, - NME_GOAL_EVILPAT = 0x4e475000, - NME_GOAL_STUNNED, - NME_GOAL_PATCARRY, - NME_GOAL_PATTWIRL, - NME_GOAL_PATTHROW, - NME_GOAL_TRIGGER_NORMAL = 0x4e475800, - NME_GOAL_TRIGGER_SCARY, - NME_GOAL_TRIGGER_DETECT, - NME_GOAL_TRIGGER_ALERT, - NME_GOAL_TRIGGER_BATTLE, - NME_GOAL_TRIGGER_WOUND, - NME_GOAL_TRIGGER_ATTACK, - NME_GOAL_TRIGGER_VINIVICIVIDI, - NME_GOAL_FOGGER_AWARE = 0x4e474500, - NME_GOAL_FOGGER_BATTLE, - NME_GOAL_FOGGER_ATTACK, - NME_GOAL_SLAMMER_AWARE, - NME_GOAL_SLAMMER_BATTLE, - NME_GOAL_SLAMMER_ATTACK, - NME_GOAL_SPINNER_AWARE, - NME_GOAL_SPINNER_BATTLE, - NME_GOAL_FLINGER_NORMAL, - NME_GOAL_FLINGER_AWARE, - NME_GOAL_FLINGER_BATTLE, - NME_GOAL_FLINGER_ATTACK, - NME_GOAL_FLINGER_BOING, - NME_GOAL_FLINGER_FLEE, - NME_GOAL_FLINGER_PANIC, - NME_GOAL_FLINGER_MOVE, - NME_GOAL_POPPER_NORMAL, - NME_GOAL_POPPER_AWARE, - NME_GOAL_POPPER_WOUND, - NME_GOAL_POPPER_EVADE, - NME_GOAL_POPPER_BATTLE, - NME_GOAL_POPPER_ATTACK, - NME_GOAL_ZAP_NORMAL, - NME_GOAL_ZAP_AWARE, - NME_GOAL_ZAP_BATTLE, - NME_GOAL_ZAP_WOUND, - NME_GOAL_ZAP_ZAP, - NME_GOAL_ZAP_MOVE, - NME_GOAL_MERV_NORMAL, - NME_GOAL_MERV_AWARE, - NME_GOAL_MERV_BATTLE, - NME_GOAL_MERV_ZAP, - NME_GOAL_MERV_BOMB, - NME_GOAL_MERV_BOWL, - NME_GOAL_MERV_WOUND, - NME_GOAL_MERV_MOVE, - NME_GOAL_BUCK_RUNNING, - NME_GOAL_BUCK_BIRTHING, - NME_GOAL_BUCK_DYING, - NME_GOAL_BUCK_DEAD, - NME_GOAL_DENNIS_NORMAL, - NME_GOAL_DENNIS_EVADE, - NME_GOAL_DENNIS_BATTLE, - NME_GOAL_DENNIS_ATTACK, - NME_GOAL_DENNIS_TAUNT, - NME_GOAL_DENNIS_DAMAGE, - NME_GOAL_DENNIS_DEAD, - NME_GOAL_DENTOO_NORMAL, - NME_GOAL_DENTOO_EVADE, - NME_GOAL_DENTOO_BATTLE, - NME_GOAL_DENTOO_ATTACK, - NME_GOAL_DENTOO_TAUNT, - NME_GOAL_DENTOO_DAMAGE, - NME_GOAL_DENTOO_DEAD, - NME_GOAL_SBBAT_IDLE, - NME_GOAL_SBBAT_DEAD, - NME_GOAL_NOMORE, - NME_GOAL_FORCE = 0x7fffffff + NME_GOAL_UNKNOWN, + NME_GOAL_CRIT_IDLE = 0x4e474300, + NME_GOAL_CRIT_PATROL, + NME_GOAL_CRIT_DYING, + NME_GOAL_CRIT_DEAD, + NME_GOAL_CRIT_BATTACK, + NME_GOAL_CRIT_JATTACK, + NME_GOAL_CRIT_JDYING, + NME_GOAL_TURR_IDLE = 0x4e474700, + NME_GOAL_TURR_RELOAD, + NME_GOAL_TURR_HURT, + NME_GOAL_TURR_DEAD, + NME_GOAL_TURR_TREADY, + NME_GOAL_TURR_TTURN, + NME_GOAL_TURR_TSHOOT, + NME_GOAL_TURR_PDORMANT, + NME_GOAL_TURR_PALERT, + NME_GOAL_TURR_PPATALPHA, + NME_GOAL_TURR_BIDLE, + NME_GOAL_TURR_BTURN, + NME_GOAL_TURR_BSHOOT, + NME_GOAL_TURR_BHURT, + NME_GOAL_TURR_SPIRAL, + NME_GOAL_IDLE = 0x4e474e00, + NME_GOAL_PATROL, + NME_GOAL_WANDER, + NME_GOAL_FIDGET, + NME_GOAL_WAITING, + NME_GOAL_DEAD, + NME_GOAL_NOMANLAND, + NME_GOAL_LIMBO, + NME_GOAL_DEV_ANIMVIEW = 0x4e474400, + NME_GOAL_DEV_HEROMODE, + NME_GOAL_TIKI_IDLE = 0x4e475400, + NME_GOAL_TIKI_PATROL, + NME_GOAL_TIKI_HIDE, + NME_GOAL_TIKI_COUNT, + NME_GOAL_TIKI_DYING, + NME_GOAL_TIKI_DEAD, + NME_GOAL_AFTERLIFE = 0x4e475300, + NME_GOAL_SPAWN, + NME_GOAL_WOUND, + NME_GOAL_SPOOKED, + NME_GOAL_NOTICE, + NME_GOAL_SCAREWAIT, + NME_GOAL_SCARE, + NME_GOAL_TAUNT, + NME_GOAL_EVILPAT = 0x4e475000, + NME_GOAL_STUNNED, + NME_GOAL_PATCARRY, + NME_GOAL_PATTWIRL, + NME_GOAL_PATTHROW, + NME_GOAL_TRIGGER_NORMAL = 0x4e475800, + NME_GOAL_TRIGGER_SCARY, + NME_GOAL_TRIGGER_DETECT, + NME_GOAL_TRIGGER_ALERT, + NME_GOAL_TRIGGER_BATTLE, + NME_GOAL_TRIGGER_WOUND, + NME_GOAL_TRIGGER_ATTACK, + NME_GOAL_TRIGGER_VINIVICIVIDI, + NME_GOAL_FOGGER_AWARE = 0x4e474500, + NME_GOAL_FOGGER_BATTLE, + NME_GOAL_FOGGER_ATTACK, + NME_GOAL_SLAMMER_AWARE, + NME_GOAL_SLAMMER_BATTLE, + NME_GOAL_SLAMMER_ATTACK, + NME_GOAL_SPINNER_AWARE, + NME_GOAL_SPINNER_BATTLE, + NME_GOAL_FLINGER_NORMAL, + NME_GOAL_FLINGER_AWARE, + NME_GOAL_FLINGER_BATTLE, + NME_GOAL_FLINGER_ATTACK, + NME_GOAL_FLINGER_BOING, + NME_GOAL_FLINGER_FLEE, + NME_GOAL_FLINGER_PANIC, + NME_GOAL_FLINGER_MOVE, + NME_GOAL_POPPER_NORMAL, + NME_GOAL_POPPER_AWARE, + NME_GOAL_POPPER_WOUND, + NME_GOAL_POPPER_EVADE, + NME_GOAL_POPPER_BATTLE, + NME_GOAL_POPPER_ATTACK, + NME_GOAL_ZAP_NORMAL, + NME_GOAL_ZAP_AWARE, + NME_GOAL_ZAP_BATTLE, + NME_GOAL_ZAP_WOUND, + NME_GOAL_ZAP_ZAP, + NME_GOAL_ZAP_MOVE, + NME_GOAL_MERV_NORMAL, + NME_GOAL_MERV_AWARE, + NME_GOAL_MERV_BATTLE, + NME_GOAL_MERV_ZAP, + NME_GOAL_MERV_BOMB, + NME_GOAL_MERV_BOWL, + NME_GOAL_MERV_WOUND, + NME_GOAL_MERV_MOVE, + NME_GOAL_BUCK_RUNNING, + NME_GOAL_BUCK_BIRTHING, + NME_GOAL_BUCK_DYING, + NME_GOAL_BUCK_DEAD, + NME_GOAL_DENNIS_NORMAL, + NME_GOAL_DENNIS_EVADE, + NME_GOAL_DENNIS_BATTLE, + NME_GOAL_DENNIS_ATTACK, + NME_GOAL_DENNIS_TAUNT, + NME_GOAL_DENNIS_DAMAGE, + NME_GOAL_DENNIS_DEAD, + NME_GOAL_DENTOO_NORMAL, + NME_GOAL_DENTOO_EVADE, + NME_GOAL_DENTOO_BATTLE, + NME_GOAL_DENTOO_ATTACK, + NME_GOAL_DENTOO_TAUNT, + NME_GOAL_DENTOO_DAMAGE, + NME_GOAL_DENTOO_DEAD, + NME_GOAL_SBBAT_IDLE, + NME_GOAL_SBBAT_DEAD, + NME_GOAL_NOMORE, + NME_GOAL_FORCE = 0x7fffffff }; struct _anon129 @@ -13050,18 +12974,18 @@ struct _anon129 struct config_1 { - uint32 flags; - float32 life_time; - uint32 blend_src; - uint32 blend_dst; - _class_17 texture; + uint32 flags; + float32 life_time; + uint32 blend_src; + uint32 blend_dst; + _class_17 texture; }; struct zone_data_0 { - float32 distance; - float32 height; - float32 height_focus; + float32 distance; + float32 height; + float32 height_focus; }; struct _anon130 @@ -13070,37 +12994,37 @@ struct _anon130 struct zFragInfo { - union - { - zFragGroup group; - zFragShrapnel shrapnel; - zFragParticle particle; - zFragProjectile projectile; - zFragLightning lightning; - zFragSound sound; - zFragShockwave shockwave; - zFragExplosion explosion; - zFragDistortion distortion; - zFragFire fire; - }; + union + { + zFragGroup group; + zFragShrapnel shrapnel; + zFragParticle particle; + zFragProjectile projectile; + zFragLightning lightning; + zFragSound sound; + zFragShockwave shockwave; + zFragExplosion explosion; + zFragDistortion distortion; + zFragFire fire; + }; }; struct tag_type { - substr name; - void(*parse_tag)(jot&, xtextbox&, xtextbox&, split_tag&); - void(*reset_tag)(jot&, xtextbox&, xtextbox&, split_tag&); - void* context; + substr name; + void (*parse_tag)(jot&, xtextbox&, xtextbox&, split_tag&); + void (*reset_tag)(jot&, xtextbox&, xtextbox&, split_tag&); + void* context; }; struct xPEEntBound { - uint8 flags; - uint8 type; - uint8 pad1; - uint8 pad2; - float32 expand; - float32 deflection; + uint8 flags; + uint8 type; + uint8 pad1; + uint8 pad2; + float32 expand; + float32 deflection; }; struct _anon131 @@ -13109,19 +13033,19 @@ struct _anon131 enum eFFBossCameraState { - ezFFBOSS_CAMERA_STATE_REGULAR, - ezFFBOSS_CAMERA_STATE_PREPJUMP, - ezFFBOSS_CAMERA_STATE_AFTERJUMP, - ezFFBOSS_CAMERA_STATE_AFTERTONGUE, - ezFFBOSS_CAMERA_STATE_PREPGENERATION, - ezFFBOSS_CAMERA_STATE_AFTERGENERATION, - ezFFBOSS_CAMERA_STATE_TRANSTOREGULAR, - ezFFBOSS_CAMERA_STATE_NOMORE + ezFFBOSS_CAMERA_STATE_REGULAR, + ezFFBOSS_CAMERA_STATE_PREPJUMP, + ezFFBOSS_CAMERA_STATE_AFTERJUMP, + ezFFBOSS_CAMERA_STATE_AFTERTONGUE, + ezFFBOSS_CAMERA_STATE_PREPGENERATION, + ezFFBOSS_CAMERA_STATE_AFTERGENERATION, + ezFFBOSS_CAMERA_STATE_TRANSTOREGULAR, + ezFFBOSS_CAMERA_STATE_NOMORE }; struct Health_5 { - int32 pts_healthMax; + int32 pts_healthMax; }; struct _anon132 @@ -13138,56 +13062,56 @@ struct _anon134 struct zRewardsQ { - uint8 active; - int32 numRewards; - xVec3 spawnPos; + uint8 active; + int32 numRewards; + xVec3 spawnPos; }; enum en_npartyp { - NPAR_TYP_UNKNOWN, - NPAR_TYP_DUMMY, - NPAR_TYP_DUSTPUFF, - NPAR_TYP_DUSTHEAT, - NPAR_TYP_RADIOACTIVE, - NPAR_TYP_FLINGVAPORS_DE, - NPAR_TYP_FLINGVAPORS_TR, - NPAR_TYP_FLINGVAPORS_JK, - NPAR_TYP_FOGBREATH, - NPAR_TYP_POPGAS, - NPAR_TYP_SPITSPRAY, - NPAR_TYP_SLIMED, - NPAR_TYP_PLASMA, - NPAR_TYP_ENERGY, - NPAR_TYP_MUZZLE, - NPAR_TYP_CLOUDS, - NPAR_TYP_EXHAUST, - NPAR_TYP_HEATED, - NPAR_TYP_NOTES, - NPAR_TYP_NOTES_UPGRADE, - NPAR_TYP_RKOWAVES, - NPAR_TYP_JETFLAME, - NPAR_TYP_JETSMOKE, - NPAR_TYP_SEASPRAY, - NPAR_TYP_SEASPLASH, - NPAR_TYP_SEAMIST, - NPAR_TYP_SEAFOG, - NPAR_TYP_SEAFOG_NOROT, - NPAR_TYP_SEASPARKLE, - NPAR_TYP_SEAFOAM, - NPAR_TYP_SEARAINBOW, - NPAR_TYP_RAIN, - NPAR_TYP_SPAWNRINGS, - NPAR_TYP_MACHRING, - NPAR_TYP_RINGS, - NPAR_TYP_SPARKS, - NPAR_TYP_COLORS, - NPAR_TYP_SPARKY, - NPAR_TYP_FOUNTAIN, - NPAR_TYP_FIRESPIRAL, - NPAR_TYP_FIREWORKS, - NPAR_TYP_NOMORE, - NPAR_TYP_FORCE = 0x7fffffff + NPAR_TYP_UNKNOWN, + NPAR_TYP_DUMMY, + NPAR_TYP_DUSTPUFF, + NPAR_TYP_DUSTHEAT, + NPAR_TYP_RADIOACTIVE, + NPAR_TYP_FLINGVAPORS_DE, + NPAR_TYP_FLINGVAPORS_TR, + NPAR_TYP_FLINGVAPORS_JK, + NPAR_TYP_FOGBREATH, + NPAR_TYP_POPGAS, + NPAR_TYP_SPITSPRAY, + NPAR_TYP_SLIMED, + NPAR_TYP_PLASMA, + NPAR_TYP_ENERGY, + NPAR_TYP_MUZZLE, + NPAR_TYP_CLOUDS, + NPAR_TYP_EXHAUST, + NPAR_TYP_HEATED, + NPAR_TYP_NOTES, + NPAR_TYP_NOTES_UPGRADE, + NPAR_TYP_RKOWAVES, + NPAR_TYP_JETFLAME, + NPAR_TYP_JETSMOKE, + NPAR_TYP_SEASPRAY, + NPAR_TYP_SEASPLASH, + NPAR_TYP_SEAMIST, + NPAR_TYP_SEAFOG, + NPAR_TYP_SEAFOG_NOROT, + NPAR_TYP_SEASPARKLE, + NPAR_TYP_SEAFOAM, + NPAR_TYP_SEARAINBOW, + NPAR_TYP_RAIN, + NPAR_TYP_SPAWNRINGS, + NPAR_TYP_MACHRING, + NPAR_TYP_RINGS, + NPAR_TYP_SPARKS, + NPAR_TYP_COLORS, + NPAR_TYP_SPARKY, + NPAR_TYP_FOUNTAIN, + NPAR_TYP_FIRESPIRAL, + NPAR_TYP_FIREWORKS, + NPAR_TYP_NOMORE, + NPAR_TYP_FORCE = 0x7fffffff }; struct _anon135 @@ -13196,18 +13120,18 @@ struct _anon135 struct _class_15 { - uint8 visible; - uint8 enabled; - uint8 active; - float32 timer; + uint8 visible; + uint8 enabled; + uint8 active; + float32 timer; }; enum en_defcon { - NME_DEFCON_NORMAL, - NME_DEFCON_AWARE, - NME_DEFCON_BATTLE, - NME_DEFCON_NOMORE + NME_DEFCON_NORMAL, + NME_DEFCON_AWARE, + NME_DEFCON_BATTLE, + NME_DEFCON_NOMORE }; struct _anon136 @@ -13216,45 +13140,45 @@ struct _anon136 struct zSurfColorFX { - uint16 flags; - uint16 mode; - float32 speed; + uint16 flags; + uint16 mode; + float32 speed; }; struct Damage_3 { - float32 rad_collide; - float32 pam_collide[2]; - uint8 alf_collide; - int8 unused[3]; + float32 rad_collide; + float32 pam_collide[2]; + uint8 alf_collide; + int8 unused[3]; }; struct Flags_2 { - int8 doDamage; - int8 useLinear; - int8 opt_rotate; - int8 notused; + int8 doDamage; + int8 useLinear; + int8 opt_rotate; + int8 notused; }; struct RwSurfaceProperties { - float32 ambient; - float32 specular; - float32 diffuse; + float32 ambient; + float32 specular; + float32 diffuse; }; struct zDestructibleStateAttachedAnimList { - uint32 nanimations; - void** animData; + uint32 nanimations; + void** animData; }; struct SimpShadParm { - float32 rad_shadow; - int8* nam_shadowTexture; - RwRaster* rast_shadow; + float32 rad_shadow; + int8* nam_shadowTexture; + RwRaster* rast_shadow; }; struct _anon137 @@ -13263,8 +13187,7 @@ struct _anon137 struct zNMEGoalFlingAware : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); }; struct _anon138 @@ -13273,8 +13196,8 @@ struct _anon138 struct ImpactRingParm { - float32 rad_ring; - float32 spd_outward; + float32 rad_ring; + float32 spd_outward; }; struct _anon139 @@ -13283,47 +13206,47 @@ struct _anon139 struct WarpData { - int32 doWarpFX; - union - { - int32 warpType; - type_enum typ_warp; - }; - float32 rad_size; - float32 fac_intensity; - float32 frq_freq; - float32 tym_duration; + int32 doWarpFX; + union + { + int32 warpType; + type_enum typ_warp; + }; + float32 rad_size; + float32 fac_intensity; + float32 frq_freq; + float32 tym_duration; }; struct PopGasParticle { - xVec3 pos; - float32 size; - xVec3 vel; - PopGasEmitter* emitter; - float32 tmr_remain; - float32 tym_lifespan; - float32 fac_abuse; - xColor_tag color; - float32 rot; - float32 rot_vel; - uint8 uv_numCell; - uint8 uv_cell; - uint8 pct_keep; - uint8 pad1; - int32 unused; + xVec3 pos; + float32 size; + xVec3 vel; + PopGasEmitter* emitter; + float32 tmr_remain; + float32 tym_lifespan; + float32 fac_abuse; + xColor_tag color; + float32 rot; + float32 rot_vel; + uint8 uv_numCell; + uint8 uv_cell; + uint8 pct_keep; + uint8 pad1; + int32 unused; }; struct unit_data { - uint8 flags; - uint8 curve_index; - uint8 u; - uint8 v; - float32 frac; - float32 age; - float32 cull_size; - xMat4x3 mat; + uint8 flags; + uint8 curve_index; + uint8 u; + uint8 v; + float32 frac; + float32 age; + float32 cull_size; + xMat4x3 mat; }; struct _anon140 @@ -13332,66 +13255,64 @@ struct _anon140 struct tri_data_1 : tri_data_0 { - xVec3 loc; - float32 yaw; - xCollis* coll; - xMat4x3 trioldmat; + xVec3 loc; + float32 yaw; + xCollis* coll; + xMat4x3 trioldmat; }; struct HAZGeneric : HAZBasic { - - en_hazrc Configure(zNMEHazard* haz); + en_hazrc Configure(zNMEHazard* haz); }; struct RxPipelineNode { - RxNodeDefinition* nodeDef; - uint32 numOutputs; - uint32* outputs; - RxPipelineCluster** slotClusterRefs; - uint32* slotsContinue; - void* privateData; - uint32* inputToClusterSlot; - RxPipelineNodeTopSortData* topSortData; - void* initializationData; - uint32 initializationDataSize; + RxNodeDefinition* nodeDef; + uint32 numOutputs; + uint32* outputs; + RxPipelineCluster** slotClusterRefs; + uint32* slotsContinue; + void* privateData; + uint32* inputToClusterSlot; + RxPipelineNodeTopSortData* topSortData; + void* initializationData; + uint32 initializationDataSize; }; struct explodeData { - int32 placeholder; + int32 placeholder; }; struct Battle_5 { - float32 spd_move; + float32 spd_move; }; struct Predict { - float32 tym_leadMax; - float32 fac_lead; - int32 flg_useTurn; + float32 tym_leadMax; + float32 fac_lead; + int32 flg_useTurn; }; struct zNMEGoalZapNormal : zNMEGoalCommon { - - int32 Process(en_trantype* trantype, float32 dt, void* ctxt); - int32 Exit(); - int32 Enter(); + int32 Process(en_trantype* trantype, float32 dt, void* ctxt); + int32 Exit(); + int32 Enter(); }; struct xEntMotionPenData { - uint8 flags; - uint8 plane; - uint8 pad[2]; - float32 len; - float32 range; - float32 period; - float32 phase; + uint8 flags; + uint8 plane; + uint8 pad[2]; + float32 len; + float32 range; + float32 period; + float32 phase; }; struct _anon141 @@ -13400,30 +13321,30 @@ struct _anon141 struct xPELine { - xVec3 pos1; - xVec3 pos2; - float32 radius; + xVec3 pos1; + xVec3 pos2; + float32 radius; }; enum en_carystat { - zNMECARRY_NONE, - zNMECARRY_PICKUP, - zNMECARRY_TWIRL, - zNMECARRY_THROW, - zNMECARRY_ATTEMPTPICKUP, - zNMECARRY_FORCEINT = 0x7fffffff + zNMECARRY_NONE, + zNMECARRY_PICKUP, + zNMECARRY_TWIRL, + zNMECARRY_THROW, + zNMECARRY_ATTEMPTPICKUP, + zNMECARRY_FORCEINT = 0x7fffffff }; struct activity_data_2 { - xFXRibbon* owner; - activity_data_2** position; - tier_queue joints; - int32 curve_index; - float32 ilife; - uint32 mtime; - uint32 mlife; + xFXRibbon* owner; + activity_data_2** position; + tier_queue joints; + int32 curve_index; + float32 ilife; + uint32 mtime; + uint32 mlife; }; struct _anon142 @@ -13432,64 +13353,64 @@ struct _anon142 struct _class_16 { - union - { - xQuat quat; - xCamOrientEuler euler; - }; + union + { + xQuat quat; + xCamOrientEuler euler; + }; }; struct xCamConfigFollow { - zone_data_1 zone_rest; - zone_data_1 zone_above; - zone_data_1 zone_below; - float32 speed_zone_offset; - float32 speed_zone_face; - float32 speed_move_orbit; + zone_data_1 zone_rest; + zone_data_1 zone_above; + zone_data_1 zone_below; + float32 speed_zone_offset; + float32 speed_zone_face; + float32 speed_move_orbit; }; struct widget { - _class_15 flag; - render_context rc; - render_context start_rc; - asset* a; - _enum_2 activity; - motive_node* _motive_top; - motive_node* _motive_temp; - motive_node** _motive_temp_tail; + _class_15 flag; + render_context rc; + render_context start_rc; + asset* a; + _enum_2 activity; + motive_node* _motive_top; + motive_node* _motive_temp; + motive_node** _motive_temp_tail; }; struct tag_xFile { - int8 relname[32]; - tag_iFile ps; - void* user_data; + int8 relname[32]; + tag_iFile ps; + void* user_data; }; struct basic_rect { - float32 x; - float32 y; - float32 w; - float32 h; + float32 x; + float32 y; + float32 w; + float32 h; }; struct xModelPipe { - uint32 Flags; - uint8 Layer; - uint8 AlphaDiscard; - uint16 PipePad; + uint32 Flags; + uint8 Layer; + uint8 AlphaDiscard; + uint16 PipePad; }; struct xCutsceneAudioTrack { - uint32 uLeftSoundId; - uint32 uRightSoundId; - int8 szLeftSound[60]; - int8 szRightSound[60]; + uint32 uLeftSoundId; + uint32 uRightSoundId; + int8 szLeftSound[60]; + int8 szRightSound[60]; }; struct _anon143 @@ -13502,96 +13423,96 @@ struct _anon144 enum _SDRenderState { - SDRS_Unknown, - SDRS_Default, - SDRS_OpaqueModels, - SDRS_AlphaModels, - SDRS_Bubble, - SDRS_Projectile, - SDRS_Font, - SDRS_HUD, - SDRS_Particles, - SDRS_Lightning, - SDRS_SkidMark, - SDRS_Streak, - SDRS_Tide, - SDRS_SkyBack, - SDRS_Environment, - SDRS_NPCMatter, - SDRS_NPCVisual, - SDRS_NPCBossMeter, - SDRS_Fill, - SDRS_OOBFade, - SDRS_OOBPlayerZ, - SDRS_OOBPlayerAlpha, - SDRS_OOBHand, - SDRS_Glare, - SDRS_Newsfish, - SDRS_CruiseHUD, - SDRS_DiscoFloorGlow, - SDRS_FireCards, - SDRS_SplashCones, - SDRS_Water, - SDRS_Grass, - SDRS_WaterSkyDome, - SDRS_LaserBeam, - SDRS_Spotlight, - SDRS_LightVolume, - SDRS_Ribbon, - SDRS_ScanLaser, - SDRS_HDRBeginRender, - SDRS_BlurAlpha, - SDRS_ZParPTank, - SDRS_XPTankPool, - SDRS_UI, - SDRS_IncrediBall, - SDRS_Frozone, - SDRS_SmashRing, - SDRS_LaserBolt, - SDRS_PatStunRings, - SDRS_Decal, - SDRS_NMEHazardOpaque, - SDRS_NMEHazardAlpha, - SDRS_Total = 0xffffffff + SDRS_Unknown, + SDRS_Default, + SDRS_OpaqueModels, + SDRS_AlphaModels, + SDRS_Bubble, + SDRS_Projectile, + SDRS_Font, + SDRS_HUD, + SDRS_Particles, + SDRS_Lightning, + SDRS_SkidMark, + SDRS_Streak, + SDRS_Tide, + SDRS_SkyBack, + SDRS_Environment, + SDRS_NPCMatter, + SDRS_NPCVisual, + SDRS_NPCBossMeter, + SDRS_Fill, + SDRS_OOBFade, + SDRS_OOBPlayerZ, + SDRS_OOBPlayerAlpha, + SDRS_OOBHand, + SDRS_Glare, + SDRS_Newsfish, + SDRS_CruiseHUD, + SDRS_DiscoFloorGlow, + SDRS_FireCards, + SDRS_SplashCones, + SDRS_Water, + SDRS_Grass, + SDRS_WaterSkyDome, + SDRS_LaserBeam, + SDRS_Spotlight, + SDRS_LightVolume, + SDRS_Ribbon, + SDRS_ScanLaser, + SDRS_HDRBeginRender, + SDRS_BlurAlpha, + SDRS_ZParPTank, + SDRS_XPTankPool, + SDRS_UI, + SDRS_IncrediBall, + SDRS_Frozone, + SDRS_SmashRing, + SDRS_LaserBolt, + SDRS_PatStunRings, + SDRS_Decal, + SDRS_NMEHazardOpaque, + SDRS_NMEHazardAlpha, + SDRS_Total = 0xffffffff }; struct _class_17 { - xVec2 uv[2]; - uint8 rows; - uint8 cols; - texture_mode mode; + xVec2 uv[2]; + uint8 rows; + uint8 cols; + texture_mode mode; }; struct RtAnimInterpolatorInfo { - int32 typeID; - int32 interpKeyFrameSize; - int32 animKeyFrameSize; - void(*keyFrameApplyCB)(void*, void*); - void(*keyFrameBlendCB)(void*, void*, void*, float32); - void(*keyFrameInterpolateCB)(void*, void*, void*, float32, void*); - void(*keyFrameAddCB)(void*, void*, void*); - void(*keyFrameMulRecipCB)(void*, void*); - RtAnimAnimation*(*keyFrameStreamReadCB)(RwStream*, RtAnimAnimation*); - int32(*keyFrameStreamWriteCB)(RtAnimAnimation*, RwStream*); - int32(*keyFrameStreamGetSizeCB)(RtAnimAnimation*); - int32 customDataSize; + int32 typeID; + int32 interpKeyFrameSize; + int32 animKeyFrameSize; + void (*keyFrameApplyCB)(void*, void*); + void (*keyFrameBlendCB)(void*, void*, void*, float32); + void (*keyFrameInterpolateCB)(void*, void*, void*, float32, void*); + void (*keyFrameAddCB)(void*, void*, void*); + void (*keyFrameMulRecipCB)(void*, void*); + RtAnimAnimation* (*keyFrameStreamReadCB)(RwStream*, RtAnimAnimation*); + int32 (*keyFrameStreamWriteCB)(RtAnimAnimation*, RwStream*); + int32 (*keyFrameStreamGetSizeCB)(RtAnimAnimation*); + int32 customDataSize; }; enum en_plyratak { - PLYR_ATAK_NONE, - PLYR_ATAK_SB_KARATE, - PLYR_ATAK_SB_BASH, - PLYR_ATAK_SB_BOWL, - PLYR_ATAK_SB_GUITAR, - PLYR_ATAK_PAT_BELLY, - PLYR_ATAK_PAT_CARTWHEEL, - PLYR_ATAK_PAT_FLOP, - PLYR_ATAK_PAT_THROW, - PLYR_ATAK_SLIDE, - PLYR_ATAK_NOMORE + PLYR_ATAK_NONE, + PLYR_ATAK_SB_KARATE, + PLYR_ATAK_SB_BASH, + PLYR_ATAK_SB_BOWL, + PLYR_ATAK_SB_GUITAR, + PLYR_ATAK_PAT_BELLY, + PLYR_ATAK_PAT_CARTWHEEL, + PLYR_ATAK_PAT_FLOP, + PLYR_ATAK_PAT_THROW, + PLYR_ATAK_SLIDE, + PLYR_ATAK_NOMORE }; struct _anon145 @@ -13600,34 +13521,34 @@ struct _anon145 enum en_hazfrag { - HAZ_FRAG_GENERIC, - HAZ_FRAG_TURRBOOM, - HAZ_FRAG_PHLEGM, - HAZ_FRAG_FLING_DE, - HAZ_FRAG_FLING_TR, - HAZ_FRAG_FLING_JK, - HAZ_FRAG_WATER_DROPS, - HAZ_FRAG_CHOC_DROPS, - HAZ_FRAG_LAVA_DROPS, - HAZ_FRAG_BILE_DROPS, - HAZ_FRAG_OIL_DROPS, - HAZ_FRAG_SAUCE_DROPS, - HAZ_FRAG_TOXIC_DROPS, - HAZ_FRAG_GOLF_SPLAT, - HAZ_FRAG_NOMORE, - HAZ_FRAG_FORCE = 0x7fffffff + HAZ_FRAG_GENERIC, + HAZ_FRAG_TURRBOOM, + HAZ_FRAG_PHLEGM, + HAZ_FRAG_FLING_DE, + HAZ_FRAG_FLING_TR, + HAZ_FRAG_FLING_JK, + HAZ_FRAG_WATER_DROPS, + HAZ_FRAG_CHOC_DROPS, + HAZ_FRAG_LAVA_DROPS, + HAZ_FRAG_BILE_DROPS, + HAZ_FRAG_OIL_DROPS, + HAZ_FRAG_SAUCE_DROPS, + HAZ_FRAG_TOXIC_DROPS, + HAZ_FRAG_GOLF_SPLAT, + HAZ_FRAG_NOMORE, + HAZ_FRAG_FORCE = 0x7fffffff }; struct xEntSpeedData { - float32 speed; - float32 acceleration; - float32 dest_speed; + float32 speed; + float32 acceleration; + float32 dest_speed; }; struct _tagiPad { - int32 port; + int32 port; }; struct _anon146 @@ -13644,8 +13565,8 @@ struct _anon148 struct _class_18 { - float32 duration; - float32 gravity; + float32 duration; + float32 gravity; }; struct _anon149 @@ -13654,18 +13575,18 @@ struct _anon149 struct render_state { - RwTexture* texture; - uint32 src_blend; - uint32 dst_blend; - int32 flags; + RwTexture* texture; + uint32 src_blend; + uint32 dst_blend; + int32 flags; }; struct zFragLightning { - zFragLightningAsset* fasset; - xModelInstance* startParent; - xModelInstance* endParent; - zLightning* lightning; + zFragLightningAsset* fasset; + xModelInstance* startParent; + xModelInstance* endParent; + zLightning* lightning; }; struct _anon150 @@ -13678,8 +13599,8 @@ struct _anon151 struct _class_19 { - float32 x; - float32 y; + float32 x; + float32 y; }; struct zNMEBoss : zNMECommon @@ -13692,86 +13613,86 @@ struct _anon152 struct xEntMotionERData { - xVec3 ret_pos; - xVec3 ext_dpos; - float32 ext_tm; - float32 ext_wait_tm; - float32 ret_tm; - float32 ret_wait_tm; + xVec3 ret_pos; + xVec3 ext_dpos; + float32 ext_tm; + float32 ext_wait_tm; + float32 ret_tm; + float32 ret_wait_tm; }; enum eTVStaticState { - eTVStatic, - eTVStaticMindyAppear, - eTVStaticMindyAppearFadeInStart, - eTVStaticMindyAppearFadeInEnd, - eTVStaticMindyDisappear, - eTVStaticMindyDisappearFadeOutStart + eTVStatic, + eTVStaticMindyAppear, + eTVStaticMindyAppearFadeInStart, + eTVStaticMindyAppearFadeInEnd, + eTVStaticMindyDisappear, + eTVStaticMindyDisappearFadeOutStart }; struct Evade_1 { - float32 spd_evade; + float32 spd_evade; }; struct Battle_6 { - float32 tym_reload; - float32 tym_leapDelay; - int32 num_atakPerLeap; + float32 tym_reload; + float32 tym_leapDelay; + int32 num_atakPerLeap; }; struct zLasso { - uint32 flags; - float32 secsTotal; - float32 secsLeft; - float32 stRadius; - float32 tgRadius; - float32 crRadius; - xVec3 stCenter; - xVec3 tgCenter; - xVec3 crCenter; - xVec3 stNormal; - xVec3 tgNormal; - xVec3 crNormal; - xVec3 honda; - float32 stSlack; - float32 stSlackDist; - float32 tgSlack; - float32 tgSlackDist; - float32 crSlack; - float32 currDist; - float32 lastDist; - xVec3 lastRefs[5]; - uint8 reindex[5]; - uint8 pad[3]; - xVec3 anchor; - xModelTag tag; - xModelInstance* model; - uint32 patTongue; - RpAtomic* tipModel; - xMat4x3* tipMatrix; - float32 tipDelay; - float32 tipLerp; - xSpline3* spl; - uint32 spldata[59]; + uint32 flags; + float32 secsTotal; + float32 secsLeft; + float32 stRadius; + float32 tgRadius; + float32 crRadius; + xVec3 stCenter; + xVec3 tgCenter; + xVec3 crCenter; + xVec3 stNormal; + xVec3 tgNormal; + xVec3 crNormal; + xVec3 honda; + float32 stSlack; + float32 stSlackDist; + float32 tgSlack; + float32 tgSlackDist; + float32 crSlack; + float32 currDist; + float32 lastDist; + xVec3 lastRefs[5]; + uint8 reindex[5]; + uint8 pad[3]; + xVec3 anchor; + xModelTag tag; + xModelInstance* model; + uint32 patTongue; + RpAtomic* tipModel; + xMat4x3* tipMatrix; + float32 tipDelay; + float32 tipLerp; + xSpline3* spl; + uint32 spldata[59]; }; enum en_smnote { - SM_NOTE_NMEDIED, - SM_NOTE_NMESTANDBY, - SM_NOTE_NMEALIVE, - SM_NOTE_NMELIVINGINSIN, - SM_NOTE_DUPPAUSE, - SM_NOTE_DUPRESUME, - SM_NOTE_DUPSETDELAY, - SM_NOTE_DUPDEAD, - SM_NOTE_KILLKIDS, - SM_NOTE_NOMORE, - SM_NOTE_FORCE = 0x7fffffff + SM_NOTE_NMEDIED, + SM_NOTE_NMESTANDBY, + SM_NOTE_NMEALIVE, + SM_NOTE_NMELIVINGINSIN, + SM_NOTE_DUPPAUSE, + SM_NOTE_DUPRESUME, + SM_NOTE_DUPSETDELAY, + SM_NOTE_DUPDEAD, + SM_NOTE_KILLKIDS, + SM_NOTE_NOMORE, + SM_NOTE_FORCE = 0x7fffffff }; struct _anon153 @@ -13780,26 +13701,26 @@ struct _anon153 struct curve_node_1 { - float32 time; - xColor_tag color; - float32 scale; + float32 time; + xColor_tag color; + float32 scale; }; struct xShadowSimplePoly { - xVec3 vert[3]; - xVec3 norm; + xVec3 vert[3]; + xVec3 norm; }; struct RwLLLink { - RwLLLink* next; - RwLLLink* prev; + RwLLLink* next; + RwLLLink* prev; }; struct _class_20 { - xVec3* verts; + xVec3* verts; }; struct _anon154 @@ -13808,8 +13729,8 @@ struct _anon154 struct NMEAreaInfo { - zNMECommon* npc_origin; - xVec3 pos_origin; + zNMECommon* npc_origin; + xVec3 pos_origin; }; struct _anon155 @@ -13818,55 +13739,55 @@ struct _anon155 struct TVStaticTimes { - float32 time; - uint8 tvStatic1; - uint8 tvStatic2; + float32 time; + uint8 tvStatic1; + uint8 tvStatic2; }; struct SoundTable { - int8* assetName; - uint8(*updateCB)(zLoopingSound*); - uint32 assetID; + int8* assetName; + uint8 (*updateCB)(zLoopingSound*); + uint32 assetID; }; struct Ranges_3 { - float32 rad_tooclose; - float32 rad_lob; - float32 rad_lobgrey; - float32 rad_aware; - float32 rad_awaregrey; + float32 rad_tooclose; + float32 rad_lob; + float32 rad_lobgrey; + float32 rad_aware; + float32 rad_awaregrey; }; struct config_2 { - zone_data_0 zone_rest; - zone_data_0 zone_above; - zone_data_0 zone_below; - float32 move_speed; - float32 turn_speed; - float32 stick_speed; - float32 stick_yaw_vel; - float32 max_yaw_vel; - float32 margin_angle; + zone_data_0 zone_rest; + zone_data_0 zone_above; + zone_data_0 zone_below; + float32 move_speed; + float32 turn_speed; + float32 stick_speed; + float32 stick_yaw_vel; + float32 max_yaw_vel; + float32 margin_angle; }; enum RpWorldRenderOrder { - rpWORLDRENDERNARENDERORDER, - rpWORLDRENDERFRONT2BACK, - rpWORLDRENDERBACK2FRONT, - rpWORLDRENDERORDERFORCEENUMSIZEINT = 0x7fffffff + rpWORLDRENDERNARENDERORDER, + rpWORLDRENDERFRONT2BACK, + rpWORLDRENDERBACK2FRONT, + rpWORLDRENDERORDERFORCEENUMSIZEINT = 0x7fffffff }; struct RpMeshHeader { - uint32 flags; - uint16 numMeshes; - uint16 serialNum; - uint32 totalIndicesInMesh; - uint32 firstMeshOffset; + uint32 flags; + uint16 numMeshes; + uint16 serialNum; + uint32 totalIndicesInMesh; + uint32 firstMeshOffset; }; struct _anon156 @@ -13875,18 +13796,18 @@ struct _anon156 enum _zPlayerType { - ePlayer_SB, - ePlayer_Patrick, - ePlayer_MAXTYPES + ePlayer_SB, + ePlayer_Patrick, + ePlayer_MAXTYPES }; enum RpUserDataFormat { - rpNAUSERDATAFORMAT, - rpINTUSERDATA, - rpREALUSERDATA, - rpSTRINGUSERDATA, - rpUSERDATAFORCEENUMSIZEINT = 0x7fffffff + rpNAUSERDATAFORMAT, + rpINTUSERDATA, + rpREALUSERDATA, + rpSTRINGUSERDATA, + rpUSERDATAFORCEENUMSIZEINT = 0x7fffffff }; struct _anon157 @@ -13899,31 +13820,31 @@ struct _anon158 struct xCamConfigCommon { - uint8 priority; - uint8 pad1; - uint8 pad2; - uint8 pad3; - float32 blend_time; + uint8 priority; + uint8 pad1; + uint8 pad2; + uint8 pad3; + float32 blend_time; }; struct xPortalAsset : xBaseAsset { - uint32 assetCameraID; - uint32 assetMarkerID; - float32 ang; - uint32 sceneID; + uint32 assetCameraID; + uint32 assetMarkerID; + float32 ang; + uint32 sceneID; }; struct Size_1 { - float32 width; - float32 height; + float32 width; + float32 height; }; struct xAnimMultiFileEntry { - uint32 ID; - xAnimFile* File; + uint32 ID; + xAnimFile* File; }; struct _anon159 @@ -13932,155 +13853,155 @@ struct _anon159 struct xCutscene { - xCutsceneInfo* Info; - xCutsceneData* Data; - uint32* TimeChunkOffs; - uint32* Visibility; - xCutsceneBreak* BreakList; - xCutsceneTime* Play; - xCutsceneTime* Stream; - uint32 Waiting; - uint32 BadReadPause; - float32 BadReadSpeed; - void* RawBuf; - void* AlignBuf; - float32 Time; - float32 CamTime; - uint32 PlayIndex; - uint32 Ready; - int32 DataLoading; - uint32 GotData; - uint32 ShutDownWait; - float32 PlaybackSpeed; - uint32 Opened; - tag_xFile File; - int32 AsyncID; - void* MemBuf; - void* MemCurr; - uint32 SndStarted; - uint32 SndNumChannel; - uint32 SndChannelReq[2]; - uint32 SndAssetID[2]; - iSndHandle SndHandle[2]; - uint32 SubTitlesID; - XCSNNosey* cb_nosey; - xCutsceneModelHack* ModelHack; - uint8 started; - uint8 useDefaultTrack; - uint32 useDefaultTrackID; + xCutsceneInfo* Info; + xCutsceneData* Data; + uint32* TimeChunkOffs; + uint32* Visibility; + xCutsceneBreak* BreakList; + xCutsceneTime* Play; + xCutsceneTime* Stream; + uint32 Waiting; + uint32 BadReadPause; + float32 BadReadSpeed; + void* RawBuf; + void* AlignBuf; + float32 Time; + float32 CamTime; + uint32 PlayIndex; + uint32 Ready; + int32 DataLoading; + uint32 GotData; + uint32 ShutDownWait; + float32 PlaybackSpeed; + uint32 Opened; + tag_xFile File; + int32 AsyncID; + void* MemBuf; + void* MemCurr; + uint32 SndStarted; + uint32 SndNumChannel; + uint32 SndChannelReq[2]; + uint32 SndAssetID[2]; + iSndHandle SndHandle[2]; + uint32 SubTitlesID; + XCSNNosey* cb_nosey; + xCutsceneModelHack* ModelHack; + uint8 started; + uint8 useDefaultTrack; + uint32 useDefaultTrackID; }; struct RxPipeline { - int32 locked; - uint32 numNodes; - RxPipelineNode* nodes; - uint32 packetNumClusterSlots; - rxEmbeddedPacketState embeddedPacketState; - RxPacket* embeddedPacket; - uint32 numInputRequirements; - RxPipelineRequiresCluster* inputRequirements; - void* superBlock; - uint32 superBlockSize; - uint32 entryPoint; - uint32 pluginId; - uint32 pluginData; + int32 locked; + uint32 numNodes; + RxPipelineNode* nodes; + uint32 packetNumClusterSlots; + rxEmbeddedPacketState embeddedPacketState; + RxPacket* embeddedPacket; + uint32 numInputRequirements; + RxPipelineRequiresCluster* inputRequirements; + void* superBlock; + uint32 superBlockSize; + uint32 entryPoint; + uint32 pluginId; + uint32 pluginData; }; enum en_alertslam { - SLAMMER_BATTLE_NOTICE, - SLAMMER_BATTLE_BEGIN, - SLAMMER_BATTLE_CHASE, - SLAMMER_BATTLE_WHAM, - SLAMMER_BATTLE_EVADE, - SLAMMER_BATTLE_NOMORE, - SLAMMER_BATTLE_FORCE = 0x7fffffff + SLAMMER_BATTLE_NOTICE, + SLAMMER_BATTLE_BEGIN, + SLAMMER_BATTLE_CHASE, + SLAMMER_BATTLE_WHAM, + SLAMMER_BATTLE_EVADE, + SLAMMER_BATTLE_NOMORE, + SLAMMER_BATTLE_FORCE = 0x7fffffff }; enum en_pendtype { - PEND_TRAN_NONE, - PEND_TRAN_SET, - PEND_TRAN_PUSH, - PEND_TRAN_POP, - PEND_TRAN_POPTO, - PEND_TRAN_POPALL, - PEND_TRAN_SWAP, - PEND_TRAN_INPROG, - PEND_TRAN_NOMORE + PEND_TRAN_NONE, + PEND_TRAN_SET, + PEND_TRAN_PUSH, + PEND_TRAN_POP, + PEND_TRAN_POPTO, + PEND_TRAN_POPALL, + PEND_TRAN_SWAP, + PEND_TRAN_INPROG, + PEND_TRAN_NOMORE }; struct iEnv { - RpWorld* world; - RpWorld* collision; - RpWorld* fx; - RpWorld* camera; - int32 jsp_count; - uint32* jsp_aid; - xJSPHeader** jsp_list; - xBox* jsp_bound; - int32* jsp_visibilityCount; - int32 jspMatOrderCount; - iEnvMatOrder* jspMatOrderList; - RpLight* light[2]; - RwFrame* light_frame[2]; - int32 memlvl; - uint16 numOpaque; - uint16 numTransparent; + RpWorld* world; + RpWorld* collision; + RpWorld* fx; + RpWorld* camera; + int32 jsp_count; + uint32* jsp_aid; + xJSPHeader** jsp_list; + xBox* jsp_bound; + int32* jsp_visibilityCount; + int32 jspMatOrderCount; + iEnvMatOrder* jspMatOrderList; + RpLight* light[2]; + RwFrame* light_frame[2]; + int32 memlvl; + uint16 numOpaque; + uint16 numTransparent; }; enum state_enum { - STATE_INVALID = 0xffffffff, - STATE_BEGIN, - STATE_DESCRIPTION, - STATE_REMINDER, - STATE_SUCCESS, - STATE_FAILURE, - STATE_END, - MAX_STATE + STATE_INVALID = 0xffffffff, + STATE_BEGIN, + STATE_DESCRIPTION, + STATE_REMINDER, + STATE_SUCCESS, + STATE_FAILURE, + STATE_END, + MAX_STATE }; struct xParEmitterCustomSettings : xParEmitterPropsAsset { - uint32 custom_flags; - uint32 attachToID; - xVec3 pos; - xVec3 last_emit_position; - xVec3 vel; - xVec3 last_emit_velocity; - float32 vel_angle_variation; - uint8 rot[3]; - uint8 padding; - float32 radius; - float32 emit_interval_current; - xBase* emit_volume; + uint32 custom_flags; + uint32 attachToID; + xVec3 pos; + xVec3 last_emit_position; + xVec3 vel; + xVec3 last_emit_velocity; + float32 vel_angle_variation; + uint8 rot[3]; + uint8 padding; + float32 radius; + float32 emit_interval_current; + xBase* emit_volume; }; struct xJSPMiniLightTie { - RwLLLink lightInWorldSector; - RpLight* light; + RwLLLink lightInWorldSector; + RpLight* light; }; struct RxPipelineNodeTopSortData { - uint32 numIns; - uint32 numInsVisited; - rxReq* req; + uint32 numIns; + uint32 numInsVisited; + rxReq* req; }; struct asset : xDynAsset { - xVec3 loc; - xVec3 size; + xVec3 loc; + xVec3 size; }; struct Health_6 { - int32 pts_healthMax; + int32 pts_healthMax; }; struct _anon160 @@ -14089,161 +14010,161 @@ struct _anon160 struct xCamera : xBase { - RwCamera* lo_cam; - xMat4x3 mat; - xMat4x3 omat; - xMat3x3 mbasis; - xBound bound; - xMat4x3* tgt_mat; - xMat4x3* tgt_omat; - xBound* tgt_bound; - xVec3 focus; - xScene* sc; - xVec3 tran_accum; - float32 fov; - uint32 flags; - float32 tmr; - float32 tm_acc; - float32 tm_dec; - float32 ltmr; - float32 ltm_acc; - float32 ltm_dec; - float32 dmin; - float32 dmax; - float32 dcur; - float32 dgoal; - float32 hmin; - float32 hmax; - float32 hcur; - float32 hgoal; - float32 pmin; - float32 pmax; - float32 pcur; - float32 pgoal; - float32 depv; - float32 hepv; - float32 pepv; - float32 orn_epv; - float32 yaw_epv; - float32 pitch_epv; - float32 roll_epv; - xQuat orn_cur; - xQuat orn_goal; - xQuat orn_diff; - float32 yaw_cur; - float32 yaw_goal; - float32 pitch_cur; - float32 pitch_goal; - float32 roll_cur; - float32 roll_goal; - float32 dct; - float32 dcd; - float32 dccv; - float32 dcsv; - float32 hct; - float32 hcd; - float32 hccv; - float32 hcsv; - float32 pct; - float32 pcd; - float32 pccv; - float32 pcsv; - float32 orn_ct; - float32 orn_cd; - float32 orn_ccv; - float32 orn_csv; - float32 yaw_ct; - float32 yaw_cd; - float32 yaw_ccv; - float32 yaw_csv; - float32 pitch_ct; - float32 pitch_cd; - float32 pitch_ccv; - float32 pitch_csv; - float32 roll_ct; - float32 roll_cd; - float32 roll_ccv; - float32 roll_csv; - xVec4 frustplane[12]; - float32 smoothOutwardSlidePos; + RwCamera* lo_cam; + xMat4x3 mat; + xMat4x3 omat; + xMat3x3 mbasis; + xBound bound; + xMat4x3* tgt_mat; + xMat4x3* tgt_omat; + xBound* tgt_bound; + xVec3 focus; + xScene* sc; + xVec3 tran_accum; + float32 fov; + uint32 flags; + float32 tmr; + float32 tm_acc; + float32 tm_dec; + float32 ltmr; + float32 ltm_acc; + float32 ltm_dec; + float32 dmin; + float32 dmax; + float32 dcur; + float32 dgoal; + float32 hmin; + float32 hmax; + float32 hcur; + float32 hgoal; + float32 pmin; + float32 pmax; + float32 pcur; + float32 pgoal; + float32 depv; + float32 hepv; + float32 pepv; + float32 orn_epv; + float32 yaw_epv; + float32 pitch_epv; + float32 roll_epv; + xQuat orn_cur; + xQuat orn_goal; + xQuat orn_diff; + float32 yaw_cur; + float32 yaw_goal; + float32 pitch_cur; + float32 pitch_goal; + float32 roll_cur; + float32 roll_goal; + float32 dct; + float32 dcd; + float32 dccv; + float32 dcsv; + float32 hct; + float32 hcd; + float32 hccv; + float32 hcsv; + float32 pct; + float32 pcd; + float32 pccv; + float32 pcsv; + float32 orn_ct; + float32 orn_cd; + float32 orn_ccv; + float32 orn_csv; + float32 yaw_ct; + float32 yaw_cd; + float32 yaw_ccv; + float32 yaw_csv; + float32 pitch_ct; + float32 pitch_cd; + float32 pitch_ccv; + float32 pitch_csv; + float32 roll_ct; + float32 roll_cd; + float32 roll_ccv; + float32 roll_csv; + xVec4 frustplane[12]; + float32 smoothOutwardSlidePos; }; struct OriginalBackupData { - struct - { - int32 flg_enableWander : 1; - int32 flg_enablePatrol : 1; - int32 flg_enableDetect : 1; - int32 flg_activeOn : 1; - int32 flg_takeNoDamage : 1; - int32 flg_unused : 27; - }; - union - { - en_allow overrideDetect; - int32 alignmeproperly; - }; - union - { - en_allow overrideAttack; - int32 alignmeproperlyToo; - }; + struct + { + int32 flg_enableWander : 1; + int32 flg_enablePatrol : 1; + int32 flg_enableDetect : 1; + int32 flg_activeOn : 1; + int32 flg_takeNoDamage : 1; + int32 flg_unused : 27; + }; + union + { + en_allow overrideDetect; + int32 alignmeproperly; + }; + union + { + en_allow overrideAttack; + int32 alignmeproperlyToo; + }; }; struct xCutsceneInfo { - uint32 Magic; - uint32 AssetID; - uint32 NumData; - uint32 NumTime; - uint32 MaxModel; - uint32 MaxBufEven; - uint32 MaxBufOdd; - uint32 HeaderSize; - uint32 VisCount; - uint32 VisSize; - uint32 BreakCount; - uint32 pad; - xCutsceneAudioTrack AudioTracks[32]; + uint32 Magic; + uint32 AssetID; + uint32 NumData; + uint32 NumTime; + uint32 MaxModel; + uint32 MaxBufEven; + uint32 MaxBufOdd; + uint32 HeaderSize; + uint32 VisCount; + uint32 VisSize; + uint32 BreakCount; + uint32 pad; + xCutsceneAudioTrack AudioTracks[32]; }; struct FootstrokeParm { - float32 spd_emitBase; - float32 spd_emitRand; + float32 spd_emitBase; + float32 spd_emitRand; }; struct Health_7 { - int32 pts_healthMax; + int32 pts_healthMax; }; struct NMETargetInfo { - xBase* bas_tgt; - xVec3 pos_tgt; + xBase* bas_tgt; + xVec3 pos_tgt; }; enum eSound_0 { - eSound_IceCreamRelease, - eSound_Burrow, - eSound_Up, - eSound_SpinLoop, - eSound_Slam, - eSound_Hurt, - eSound_NumSounds + eSound_IceCreamRelease, + eSound_Burrow, + eSound_Up, + eSound_SpinLoop, + eSound_Slam, + eSound_Hurt, + eSound_NumSounds }; struct xAnimActiveEffect { - xAnimEffect* Effect; - union - { - uint32 Handle; - iSndHandle SndHandle; - }; + xAnimEffect* Effect; + union + { + uint32 Handle; + iSndHandle SndHandle; + }; }; struct _anon161 @@ -14252,68 +14173,68 @@ struct _anon161 struct zSurfUVFX { - int32 mode; - float32 rot; - float32 rot_spd; - xVec3 trans; - xVec3 trans_spd; - xVec3 scale; - xVec3 scale_spd; - xVec3 min; - xVec3 max; - xVec3 minmax_spd; + int32 mode; + float32 rot; + float32 rot_spd; + xVec3 trans; + xVec3 trans_spd; + xVec3 scale; + xVec3 scale_spd; + xVec3 min; + xVec3 max; + xVec3 minmax_spd; }; struct curve_node_2 { - float32 t; - animix ani; + float32 t; + animix ani; }; struct Health_8 { - int32 pts_healthMax; + int32 pts_healthMax; }; struct Life_2 { - float32 tym_lifeBase; - float32 tym_lifeRand; + float32 tym_lifeBase; + float32 tym_lifeRand; }; struct xModelTag { - xVec3 v; - uint32 matidx; - float32 wt[4]; + xVec3 v; + uint32 matidx; + float32 wt[4]; }; struct RunTime_3 { - float32 acc_gravity; - float32 fac_damp; - float32 spd_rotate; + float32 acc_gravity; + float32 fac_damp; + float32 spd_rotate; }; struct xEntNPCAsset { - int32 npcFlags; - int32 npcModel; - int32 npcProps; - uint32 movepoint; - uint32 taskWidgetPrime; - uint32 taskWidgetSecond; + int32 npcFlags; + int32 npcModel; + int32 npcProps; + uint32 movepoint; + uint32 taskWidgetPrime; + uint32 taskWidgetSecond; }; enum _tagGameVidMode { - eGameVidModeNTSC, - eGameVidModePAL + eGameVidModeNTSC, + eGameVidModePAL }; struct FullShadParm { - int32 tobeDetermined; + int32 tobeDetermined; }; struct _anon162 @@ -14322,15 +14243,15 @@ struct _anon162 enum _enum_2 { - ACT_NONE, - ACT_SHOW, - ACT_HIDE, - MAX_ACT + ACT_NONE, + ACT_SHOW, + ACT_HIDE, + MAX_ACT }; struct xPEVolume { - uint32 emit_volumeID; + uint32 emit_volumeID; }; struct _anon163 @@ -14339,44 +14260,43 @@ struct _anon163 enum en_npcmsg { - NME_MID_NONE, - NME_MID_SYSEVENT, - NME_MID_RESPAWN, - NME_MID_DAMAGE, - NME_MID_EXPLOSION, - NME_MID_BUNNYHOP, - NME_MID_NEWDEST, - NME_MID_DTRON_NMEEMIT, - NME_MID_DTRON_NMEAVAIL, - NME_MID_DTRON_ISDEAD, - NME_MID_CHAT_REQUEST, - NME_MID_CHAT_DECLINE, - NME_MID_CHAT_ACCEPT, - NME_MID_CHAT_DONE, - NME_MID_CHAT_ABORT, - NME_MID_TALKSTART, - NME_MID_TALKON, - NME_MID_TALKOFF, - NME_MID_SAWPLYR, - NME_MID_NEEDMEDIC, - NME_MID_UNDERATTACK, - NME_MID_NMEDIED, - NME_MID_PLYRSPATULA, - NME_MID_BECOMESCARED, - NME_MID_NOLONGERSCARED, - NME_MID_CELEBRATE, - NME_MID_STUN, - NME_MID_SCRIPTBEGIN, - NME_MID_SCRIPTEND, - NME_MID_SCRIPTHALT, - NME_MID_NOMORE, - NME_MID_FORCE = 0x7fffffff + NME_MID_NONE, + NME_MID_SYSEVENT, + NME_MID_RESPAWN, + NME_MID_DAMAGE, + NME_MID_EXPLOSION, + NME_MID_BUNNYHOP, + NME_MID_NEWDEST, + NME_MID_DTRON_NMEEMIT, + NME_MID_DTRON_NMEAVAIL, + NME_MID_DTRON_ISDEAD, + NME_MID_CHAT_REQUEST, + NME_MID_CHAT_DECLINE, + NME_MID_CHAT_ACCEPT, + NME_MID_CHAT_DONE, + NME_MID_CHAT_ABORT, + NME_MID_TALKSTART, + NME_MID_TALKON, + NME_MID_TALKOFF, + NME_MID_SAWPLYR, + NME_MID_NEEDMEDIC, + NME_MID_UNDERATTACK, + NME_MID_NMEDIED, + NME_MID_PLYRSPATULA, + NME_MID_BECOMESCARED, + NME_MID_NOLONGERSCARED, + NME_MID_CELEBRATE, + NME_MID_STUN, + NME_MID_SCRIPTBEGIN, + NME_MID_SCRIPTEND, + NME_MID_SCRIPTHALT, + NME_MID_NOMORE, + NME_MID_FORCE = 0x7fffffff }; struct zNMEFriendly : zNMECommon { - - xAnimTable* CreateAnimTable(xAnimTable* table); + xAnimTable* CreateAnimTable(xAnimTable* table); }; struct _anon164 @@ -14385,78 +14305,78 @@ struct _anon164 enum eFFBossState { - ezFFBOSS_STATE_IDLE, - ezFFBOSS_STATE_CHARGE, - ezFFBOSS_STATE_STOPPING, - ezFFBOSS_STATE_TURNING, - ezFFBOSS_STATE_TURNING2, - ezFFBOSS_STATE_TEETER, - ezFFBOSS_STATE_LUNGE, - ezFFBOSS_STATE_TAUNT, - ezFFBOSS_STATE_QUICKTAUNT, - ezFFBOSS_STATE_TAUNT_HIDE, - ezFFBOSS_STATE_WAIT_IN_PIT, - ezFFBOSS_STATE_DAMAGE, - ezFFBOSS_STATE_TONGUESPIN, - ezFFBOSS_STATE_TONGUESTART, - ezFFBOSS_STATE_TONGUEDAMAGE, - ezFFBOSS_STATE_TONGUESTUN, - ezFFBOSS_STATE_TONGUESTUNDONE, - ezFFBOSS_STATE_ATTACKAPREP, - ezFFBOSS_STATE_DYING, - ezFFBOSS_STATE_DEAD + ezFFBOSS_STATE_IDLE, + ezFFBOSS_STATE_CHARGE, + ezFFBOSS_STATE_STOPPING, + ezFFBOSS_STATE_TURNING, + ezFFBOSS_STATE_TURNING2, + ezFFBOSS_STATE_TEETER, + ezFFBOSS_STATE_LUNGE, + ezFFBOSS_STATE_TAUNT, + ezFFBOSS_STATE_QUICKTAUNT, + ezFFBOSS_STATE_TAUNT_HIDE, + ezFFBOSS_STATE_WAIT_IN_PIT, + ezFFBOSS_STATE_DAMAGE, + ezFFBOSS_STATE_TONGUESPIN, + ezFFBOSS_STATE_TONGUESTART, + ezFFBOSS_STATE_TONGUEDAMAGE, + ezFFBOSS_STATE_TONGUESTUN, + ezFFBOSS_STATE_TONGUESTUNDONE, + ezFFBOSS_STATE_ATTACKAPREP, + ezFFBOSS_STATE_DYING, + ezFFBOSS_STATE_DEAD }; struct config_data { - int32 flags; - float32 radius; - float32 color_red; - float32 color_green; - float32 color_blue; - float32 color_alpha; - float32 card_dist; - float32 zbias; - int32 max_card_renders; + int32 flags; + float32 radius; + float32 color_red; + float32 color_green; + float32 color_blue; + float32 color_alpha; + float32 card_dist; + float32 zbias; + int32 max_card_renders; }; struct LegacyBattle { - float32 spd_moveSlow; - float32 spd_moveFast; - float32 acc_move; - float32 spd_turnRate; - float32 rad_plyrNear; - float32 rad_threshold; - float32 hyt_threshold; + float32 spd_moveSlow; + float32 spd_moveFast; + float32 acc_move; + float32 spd_turnRate; + float32 rad_plyrNear; + float32 rad_threshold; + float32 hyt_threshold; }; struct _class_21 { - float32 turnRate; + float32 turnRate; }; struct FountainParm_0 { - float32 spd_emitBase; - float32 spd_emitRand; - float32 rad_emit; - float32 spd_outBase; - float32 spd_outRand; + float32 spd_emitBase; + float32 spd_emitRand; + float32 rad_emit; + float32 spd_outBase; + float32 spd_outRand; }; enum RwFrustumTestResult { - rwSPHEREOUTSIDE, - rwSPHEREBOUNDARY, - rwSPHEREINSIDE, - rwFRUSTUMTESTRESULTFORCEENUMSIZEINT = 0x7fffffff + rwSPHEREOUTSIDE, + rwSPHEREBOUNDARY, + rwSPHEREINSIDE, + rwFRUSTUMTESTRESULTFORCEENUMSIZEINT = 0x7fffffff }; struct RxPipelineNodeParam { - void* dataParam; - RxHeap* heap; + void* dataParam; + RxHeap* heap; }; enum iSndGroupHandle @@ -14465,54 +14385,54 @@ enum iSndGroupHandle struct xEntSplineData { - xEntSpeedData speed_data; - NURBS* spline; - float32 u; - uint8 arrived; - float32 position_blend_v; - float32 orient_blend_v; - xQuat current_orient; + xEntSpeedData speed_data; + NURBS* spline; + float32 u; + uint8 arrived; + float32 position_blend_v; + float32 orient_blend_v; + xQuat current_orient; }; enum en_fwstate { - FW_STAT_UNUSED, - FW_STAT_READY, - FW_STAT_FLIGHT, - FW_STAT_BOOM, - FW_STAT_DONE, - FW_STAT_NOMORE, - FW_STAT_FORCE = 0x7fffffff + FW_STAT_UNUSED, + FW_STAT_READY, + FW_STAT_FLIGHT, + FW_STAT_BOOM, + FW_STAT_DONE, + FW_STAT_NOMORE, + FW_STAT_FORCE = 0x7fffffff }; struct DustData { - Flags_7 flags; - CfgInfo_1 cfginfo; - UpdateInfo_0 updinfo; + Flags_7 flags; + CfgInfo_1 cfginfo; + UpdateInfo_0 updinfo; }; struct zNMERumbleTableEntry { - en_npctyp nmeType; - int8* name; - sphericalEmitter* data; + en_npctyp nmeType; + int8* name; + sphericalEmitter* data; }; struct zCheckPoint { - xVec3 pos; - float32 rot; - uint32 initCamID; - uint8* jsp_active; - xSndEffect currentEffect; + xVec3 pos; + float32 rot; + uint32 initCamID; + uint8* jsp_active; + xSndEffect currentEffect; }; struct RwTexDictionary { - RwObject object; - RwLinkList texturesInDict; - RwLLLink lInInstance; + RwObject object; + RwLinkList texturesInDict; + RwLLLink lInInstance; }; struct _anon165 @@ -14525,25 +14445,25 @@ struct _anon166 struct zNeptuneF32orU32 { - union - { - float32 f; - uint32 u; - }; + union + { + float32 f; + uint32 u; + }; }; struct xClumpCollBSPVertInfo { - uint16 atomIndex; - uint16 meshVertIndex; + uint16 atomIndex; + uint16 meshVertIndex; }; struct _class_22 { - float32 left; - float32 top; - float32 right; - float32 bottom; + float32 left; + float32 top; + float32 right; + float32 bottom; }; struct _anon167 @@ -14556,10 +14476,10 @@ struct _anon168 struct BndData { - xBoundType useBoundType; - Flags_3 flags; - SphereInfo sphere; - BoxInfo box; + xBoundType useBoundType; + Flags_3 flags; + SphereInfo sphere; + BoxInfo box; }; struct rxReq @@ -14588,12 +14508,12 @@ struct _anon173 enum en_wavemode { - SM_WAVE_CONTINUOUS, - SM_WAVE_DISCREET, - SM_WAVE_AMBUSHWAVE, - SM_WAVE_AMBUSHCONT, - SM_WAVE_NOMORE, - SM_WAVE_FORCE = 0x7fffffff + SM_WAVE_CONTINUOUS, + SM_WAVE_DISCREET, + SM_WAVE_AMBUSHWAVE, + SM_WAVE_AMBUSHCONT, + SM_WAVE_NOMORE, + SM_WAVE_FORCE = 0x7fffffff }; struct _anon174 @@ -14602,19 +14522,19 @@ struct _anon174 struct RwStream { - RwStreamType type; - RwStreamAccessType accessType; - int32 position; - RwStreamUnion Type; - int32 rwOwned; + RwStreamType type; + RwStreamAccessType accessType; + int32 position; + RwStreamUnion Type; + int32 rwOwned; }; struct MindyTalkData { - int32 anim; - iSndGroupHandle sndid; - void* data; - float32 time; + int32 anim; + iSndGroupHandle sndid; + void* data; + float32 time; }; struct _anon175 @@ -14623,32 +14543,32 @@ struct _anon175 struct xEntPenData { - xVec3 top; - float32 w; - xMat4x3 omat; + xVec3 top; + float32 w; + xMat4x3 omat; }; struct zFragSound { - zFragSoundAsset* fasset; - iSndHandle soundID; + zFragSoundAsset* fasset; + iSndHandle soundID; }; enum sceDemoEndReason { - SCE_DEMO_ENDREASON_ATTRACT_INTERRUPTED, - SCE_DEMO_ENDREASON_ATTRACT_COMPLETE, - SCE_DEMO_ENDREASON_PLAYABLE_INACTIVITY_TIMEOUT, - SCE_DEMO_ENDREASON_PLAYABLE_GAMEPLAY_TIMEOUT, - SCE_DEMO_ENDREASON_PLAYABLE_COMPLETE, - SCE_DEMO_ENDREASON_PLAYABLE_QUIT, - SCE_DEMO_ENDREASON_NETCONFIG_REQUEST, - SCE_DEMO_ENDREASON_NETCONFIG_COMPLETE + SCE_DEMO_ENDREASON_ATTRACT_INTERRUPTED, + SCE_DEMO_ENDREASON_ATTRACT_COMPLETE, + SCE_DEMO_ENDREASON_PLAYABLE_INACTIVITY_TIMEOUT, + SCE_DEMO_ENDREASON_PLAYABLE_GAMEPLAY_TIMEOUT, + SCE_DEMO_ENDREASON_PLAYABLE_COMPLETE, + SCE_DEMO_ENDREASON_PLAYABLE_QUIT, + SCE_DEMO_ENDREASON_NETCONFIG_REQUEST, + SCE_DEMO_ENDREASON_NETCONFIG_COMPLETE }; struct xAnimMultiFileBase { - uint32 Count; + uint32 Count; }; struct _anon176 @@ -14657,37 +14577,37 @@ struct _anon176 struct Attack_4 { - en_haztyp haztyp; - float32 spd_proj; - int32 num_salvo; + en_haztyp haztyp; + float32 spd_proj; + int32 num_salvo; }; enum xBoundType { - k_XBOUNDTYPE_NONE, - k_XBOUNDTYPE_SPHERE, - k_XBOUNDTYPE_BOX, - k_XBOUNDTYPE_CYLINDER, - k_XBOUNDTYPE_OBB, - k_XBOUNDTYPE_COUNT, - k_XBOUNDTYPE_SHIFT = 0x3 + k_XBOUNDTYPE_NONE, + k_XBOUNDTYPE_SPHERE, + k_XBOUNDTYPE_BOX, + k_XBOUNDTYPE_CYLINDER, + k_XBOUNDTYPE_OBB, + k_XBOUNDTYPE_COUNT, + k_XBOUNDTYPE_SHIFT = 0x3 }; enum xCollideSphereHitType { - exCOLLIDESPHEREHITTYPE_UNKNOWN, - exCOLLIDESPHEREHITTYPE_INTERIOR, - exCOLLIDESPHEREHITTYPE_EDGE, - exCOLLIDESPHEREHITTYPE_VERTEX + exCOLLIDESPHEREHITTYPE_UNKNOWN, + exCOLLIDESPHEREHITTYPE_INTERIOR, + exCOLLIDESPHEREHITTYPE_EDGE, + exCOLLIDESPHEREHITTYPE_VERTEX }; struct HAZBang : HAZTypical { - xEnt* ent; - xVec3 offset; - xVec3 offsetRot; - xVec3 targetOffsetRot; - int32 state; + xEnt* ent; + xVec3 offset; + xVec3 offsetRot; + xVec3 targetOffsetRot; + int32 state; }; struct _anon177 @@ -14704,36 +14624,36 @@ struct _anon179 struct xEntBoulderAsset { - float32 gravity; - float32 mass; - float32 bounce; - float32 friction; - float32 maxVel; - float32 maxAngVel; - float32 stickiness; - float32 bounceDamp; - uint32 flags; - float32 killtimer; - uint32 hitpoints; - union - { - uint32 uSoundGroupHash; - iSndGroupHandle soundID; - }; - float32 minSoundVel; - float32 maxSoundVel; - float32 fSphereRadius; - uint8 uPad0; - uint8 uPad1; - uint8 uPad2; - uint8 uBoneIndex; + float32 gravity; + float32 mass; + float32 bounce; + float32 friction; + float32 maxVel; + float32 maxAngVel; + float32 stickiness; + float32 bounceDamp; + uint32 flags; + float32 killtimer; + uint32 hitpoints; + union + { + uint32 uSoundGroupHash; + iSndGroupHandle soundID; + }; + float32 minSoundVel; + float32 maxSoundVel; + float32 fSphereRadius; + uint8 uPad0; + uint8 uPad1; + uint8 uPad2; + uint8 uBoneIndex; }; struct Flags_3 { - int8 useModelBind; - int8 drawBound; - int8 unused[2]; + int8 useModelBind; + int8 drawBound; + int8 unused[2]; }; struct _anon180 @@ -14742,18 +14662,18 @@ struct _anon180 struct _class_23 { - int32 maxStage1; - int32 maxStage2; - int32 maxStage3; - float32 radBound; - xVec3 vecBoundShift; + int32 maxStage1; + int32 maxStage2; + int32 maxStage3; + float32 radBound; + xVec3 vecBoundShift; }; struct RxPipelineRequiresCluster { - RxClusterDefinition* clusterDef; - RxClusterValidityReq rqdOrOpt; - uint32 slotIndex; + RxClusterDefinition* clusterDef; + RxClusterValidityReq rqdOrOpt; + uint32 slotIndex; }; struct _anon181 @@ -14762,54 +14682,54 @@ struct _anon181 struct CrowdSortStruct { - xEnt* ent; - float32 angle; + xEnt* ent; + float32 angle; }; struct Battle_7 { - float32 tym_predict; - float32 fac_predlead; - int32 flg_predturn; - float32 spd_chase; - float32 acc_chase; - float32 ang_turnrate; + float32 tym_predict; + float32 fac_predlead; + int32 flg_predturn; + float32 spd_chase; + float32 acc_chase; + float32 ang_turnrate; }; struct Ranges_4 { - float32 rad_plyrSeen; - float32 rad_plyrGrey; - float32 rad_shootBeg; - float32 rad_shootEnd; + float32 rad_plyrSeen; + float32 rad_plyrGrey; + float32 rad_shootBeg; + float32 rad_shootEnd; }; struct Ranges_5 { - float32 rad_tooclose; - float32 rad_lob; - float32 rad_lobgrey; - float32 rad_aware; - float32 rad_awaregrey; + float32 rad_tooclose; + float32 rad_lob; + float32 rad_lobgrey; + float32 rad_aware; + float32 rad_awaregrey; }; struct xQCControl { - float32 world_xmin; - float32 world_ymin; - float32 world_zmin; - float32 world_xmax; - float32 world_ymax; - float32 world_zmax; - float32 world_xsz; - float32 world_ysz; - float32 world_zsz; - float32 scale_x; - float32 scale_y; - float32 scale_z; - float32 center_x; - float32 center_y; - float32 center_z; + float32 world_xmin; + float32 world_ymin; + float32 world_zmin; + float32 world_xmax; + float32 world_ymax; + float32 world_zmax; + float32 world_xsz; + float32 world_ysz; + float32 world_zsz; + float32 scale_x; + float32 scale_y; + float32 scale_z; + float32 center_x; + float32 center_y; + float32 center_z; }; struct _anon182 @@ -14818,69 +14738,69 @@ struct _anon182 struct emit_context { - uint32 owner; - int32 flags; - int32 priority; - int32 max_owned; - int32 hard_max_owned; - float32 life; - float32 pause_time; - float32 accel_aging; - float32 max_dist; - float32 lod_dist; - xVec2 size; - int32 blend_mode; - RwTexture* texture; - xVec2 uv[2]; - xResponseCurve* curve; - void(*emitAtomicCB)(RpAtomic*, xMat4x3*); - void(*destAtomicCB)(RpAtomic*); + uint32 owner; + int32 flags; + int32 priority; + int32 max_owned; + int32 hard_max_owned; + float32 life; + float32 pause_time; + float32 accel_aging; + float32 max_dist; + float32 lod_dist; + xVec2 size; + int32 blend_mode; + RwTexture* texture; + xVec2 uv[2]; + xResponseCurve* curve; + void (*emitAtomicCB)(RpAtomic*, xMat4x3*); + void (*destAtomicCB)(RpAtomic*); }; enum en_loopstat { - LOOP_GOAL_NOT_DONE, - LOOP_GOAL_IS_DONE + LOOP_GOAL_NOT_DONE, + LOOP_GOAL_IS_DONE }; struct xEntMotionOrbitData { - xVec3 center; - float32 w; - float32 h; - float32 period; + xVec3 center; + float32 w; + float32 h; + float32 period; }; struct Emit_2 { - int32 num_emitBase; - int32 num_emitRand; - float32 rad_emitBase; - float32 rad_emitRand; + int32 num_emitBase; + int32 num_emitRand; + float32 rad_emitBase; + float32 rad_emitRand; }; struct RxHeap { - uint32 superBlockSize; - rxHeapSuperBlockDescriptor* head; - rxHeapBlockHeader* headBlock; - rxHeapFreeBlock* freeBlocks; - uint32 entriesAlloced; - uint32 entriesUsed; - int32 dirty; + uint32 superBlockSize; + rxHeapSuperBlockDescriptor* head; + rxHeapBlockHeader* headBlock; + rxHeapFreeBlock* freeBlocks; + uint32 entriesAlloced; + uint32 entriesUsed; + int32 dirty; }; struct Flags_4 { - int8 enable; - int8 dev_enable; - int8 unused1; - int8 unused2; + int8 enable; + int8 dev_enable; + int8 unused1; + int8 unused2; }; struct Health_9 { - int32 pts_healthMax; + int32 pts_healthMax; }; struct _anon183 @@ -14889,19 +14809,19 @@ struct _anon183 enum en_typeSplash { - NMEC_SPLASH_WATER, - NMEC_SPLASH_CHOCOLATE, - NMEC_SPLASH_LAVA, - NMEC_SPLASH_BILE, - NMEC_SPLASH_OIL, - NMEC_SPLASH_HOTSAUCE, - NMEC_SPLASH_NUKEGOO, - NMEC_SPLASH_NOMORE + NMEC_SPLASH_WATER, + NMEC_SPLASH_CHOCOLATE, + NMEC_SPLASH_LAVA, + NMEC_SPLASH_BILE, + NMEC_SPLASH_OIL, + NMEC_SPLASH_HOTSAUCE, + NMEC_SPLASH_NUKEGOO, + NMEC_SPLASH_NOMORE }; struct xPEOffsetPoint { - xVec3 offset; + xVec3 offset; }; struct _anon184 @@ -14910,16 +14830,16 @@ struct _anon184 struct Size_2 { - float32 width; - float32 height; + float32 width; + float32 height; }; struct xBaseAsset { - uint32 id; - uint8 baseType; - uint8 linkCount; - uint16 baseFlags; + uint32 id; + uint8 baseType; + uint8 linkCount; + uint16 baseFlags; }; struct _anon185 @@ -14928,8 +14848,8 @@ struct _anon185 struct zone_data_1 { - xVec3 offset; - xVec3 face; + xVec3 offset; + xVec3 face; }; struct _anon186 @@ -14938,8 +14858,8 @@ struct _anon186 struct ShadowRadii { - float32 rad_noShadow; - float32 rad_complexShadow; + float32 rad_noShadow; + float32 rad_complexShadow; }; struct _anon187 @@ -14952,36 +14872,36 @@ struct _anon188 struct RwLinkList { - RwLLLink link; + RwLLLink link; }; struct zPlatform : zEnt { - xPlatformAsset* plat_asset; - xEntMotion motion; - uint16 state; - uint16 plat_flags; - float32 tmr; - int32 ctr; - xMovePoint* src; - xModelInstance* am; - xModelInstance* bm; - int32 moving; - xEntDrive drv; - zPlatFMRunTime* fmrt; - zDestructible* destructible; - float32 elapsedTime; - xEntOpacity opacity; - iSndHandle sndID; + xPlatformAsset* plat_asset; + xEntMotion motion; + uint16 state; + uint16 plat_flags; + float32 tmr; + int32 ctr; + xMovePoint* src; + xModelInstance* am; + xModelInstance* bm; + int32 moving; + xEntDrive drv; + zPlatFMRunTime* fmrt; + zDestructible* destructible; + float32 elapsedTime; + xEntOpacity opacity; + iSndHandle sndID; }; struct _class_24 { - float32 time; - float32 mag; - float32 cycle; - float32 rot_mag; - float32 radius; + float32 time; + float32 mag; + float32 cycle; + float32 rot_mag; + float32 radius; }; struct _anon189 @@ -14990,35 +14910,35 @@ struct _anon189 struct _class_25 { - uint8 enabled : 8; - uint8 running : 8; - uint32 dummy : 16; + uint8 enabled : 8; + uint8 running : 8; + uint32 dummy : 16; }; enum en_npclyt { - NME_LYT_PLACEHOLDER, - NME_LYT_JELLYPINK, - NME_LYT_LARVAARC, - NME_LYT_ZAPBOOM, - NME_LYT_NEPTUNETRIDENT, - NME_LYT_NOMORE, - NME_LYT_FORCE = 0x7fffffff + NME_LYT_PLACEHOLDER, + NME_LYT_JELLYPINK, + NME_LYT_LARVAARC, + NME_LYT_ZAPBOOM, + NME_LYT_NEPTUNETRIDENT, + NME_LYT_NOMORE, + NME_LYT_FORCE = 0x7fffffff }; enum en_npcgspot { - NME_GSPOT_START = 0x20, - NME_GSPOT_RESUME, - NME_GSPOT_LOOP, - NME_GSPOT_FINISH, - NME_GSPOT_STARTALT, - NME_GSPOT_ALTA, - NME_GSPOT_ALTB, - NME_GSPOT_PATROLPAUSE, - NME_GSPOT_NEXT, - NME_GSPOT_NOMORE, - NME_GSPOT_FORCEINT = 0x7fffffff + NME_GSPOT_START = 0x20, + NME_GSPOT_RESUME, + NME_GSPOT_LOOP, + NME_GSPOT_FINISH, + NME_GSPOT_STARTALT, + NME_GSPOT_ALTA, + NME_GSPOT_ALTB, + NME_GSPOT_PATROLPAUSE, + NME_GSPOT_NEXT, + NME_GSPOT_NOMORE, + NME_GSPOT_FORCEINT = 0x7fffffff }; struct _anon190 @@ -15031,61 +14951,60 @@ struct _anon191 struct zNMEGoalJellyDying : zNMEGoalCritDying { - - int32 Exit(); - int32 Enter(); + int32 Exit(); + int32 Enter(); }; struct hud_element : xBase { - hud_element* _next; + hud_element* _next; }; enum en_zapmod { - ZAP_MODE_STARTUP, - ZAP_MODE_NOTHING, - ZAP_MODE_IDLE, - ZAP_MODE_WARN, - ZAP_MODE_SHOOT, - ZAP_MODE_REPEL, - ZAP_MODE_NOMORE + ZAP_MODE_STARTUP, + ZAP_MODE_NOTHING, + ZAP_MODE_IDLE, + ZAP_MODE_WARN, + ZAP_MODE_SHOOT, + ZAP_MODE_REPEL, + ZAP_MODE_NOMORE }; struct FountainParm_1 { - float32 spd_emitBase; - float32 spd_emitRand; - float32 rad_emit; - float32 spd_outBase; - float32 spd_outRand; + float32 spd_emitBase; + float32 spd_emitRand; + float32 rad_emit; + float32 spd_outBase; + float32 spd_outRand; }; enum en_dupspit { - DUP_SPIT_WAIT, - DUP_SPIT_NOW, - DUP_SPIT_ABORT + DUP_SPIT_WAIT, + DUP_SPIT_NOW, + DUP_SPIT_ABORT }; struct RwStreamUnion { - union - { - RwStreamMemory memory; - RwStreamFile file; - RwStreamCustom custom; - }; + union + { + RwStreamMemory memory; + RwStreamFile file; + RwStreamCustom custom; + }; }; struct zSurfMatFX { - uint32 flags; - uint32 bumpmapID; - uint32 envmapID; - float32 shininess; - float32 bumpiness; - uint32 dualmapID; + uint32 flags; + uint32 bumpmapID; + uint32 envmapID; + float32 shininess; + float32 bumpiness; + uint32 dualmapID; }; struct _anon192 @@ -15094,44 +15013,44 @@ struct _anon192 enum eSound_1 { - eSound_Stomp, - eSound_ChargePrep, - eSound_Charge, - eSound_Hit, - eSound_Smash, - eSound_Spit, - eSound_Taunt, - eSound_Yelp, - eSound_Land, - eSound_Teeter, - eSound_Recover, - eSound_Mad, - eSound_Roar, - eSound_TongueBite, - eSound_Dead, - eSound_FootstepWalk, - eSound_FootstepRun, - eSound_Skid, - eSound_TongueTaunt, - eSound_TongueDown, - eSound_NumSounds + eSound_Stomp, + eSound_ChargePrep, + eSound_Charge, + eSound_Hit, + eSound_Smash, + eSound_Spit, + eSound_Taunt, + eSound_Yelp, + eSound_Land, + eSound_Teeter, + eSound_Recover, + eSound_Mad, + eSound_Roar, + eSound_TongueBite, + eSound_Dead, + eSound_FootstepWalk, + eSound_FootstepRun, + eSound_Skid, + eSound_TongueTaunt, + eSound_TongueDown, + eSound_NumSounds }; struct xCutsceneMgr : xBase { - xCutsceneMgrAsset* tasset; - xCutscene* csn; - uint32 stop; - float32 oldfov; + xCutsceneMgrAsset* tasset; + xCutscene* csn; + uint32 stop; + float32 oldfov; }; enum xCamCoordType { - XCAM_COORD_INVALID = 0xffffffff, - XCAM_COORD_CART, - XCAM_COORD_CYLINDER, - XCAM_COORD_SPHERE, - XCAM_COORD_MAX + XCAM_COORD_INVALID = 0xffffffff, + XCAM_COORD_CART, + XCAM_COORD_CYLINDER, + XCAM_COORD_SPHERE, + XCAM_COORD_MAX }; struct _anon193 @@ -15140,47 +15059,46 @@ struct _anon193 enum en_spawnmode { - NME_SPAWNMODE_CONTINUOUS, - NME_SPAWNMODE_WAVES, - NME_SPAWNMODE_AMBUSHWAVE, - NME_SPAWNMODE_AMBUSHCONT, - NME_SPAWNMODE_NOMORE, - NME_SPAWNMODE_FORCE = 0x7fffffff + NME_SPAWNMODE_CONTINUOUS, + NME_SPAWNMODE_WAVES, + NME_SPAWNMODE_AMBUSHWAVE, + NME_SPAWNMODE_AMBUSHCONT, + NME_SPAWNMODE_NOMORE, + NME_SPAWNMODE_FORCE = 0x7fffffff }; enum _enum_3 { - XJ_LEFT, - XJ_CENTER, - XJ_RIGHT + XJ_LEFT, + XJ_CENTER, + XJ_RIGHT }; enum en_denstage { - DEN_STAGE_UNKNOWN, - DEN_STAGE_INTRO, - DEN_STAGE_A, - DEN_STAGE_B, - DEN_STAGE_C, - DEN_STAGE_OUTRO, - DEN_STAGE_NOMORE + DEN_STAGE_UNKNOWN, + DEN_STAGE_INTRO, + DEN_STAGE_A, + DEN_STAGE_B, + DEN_STAGE_C, + DEN_STAGE_OUTRO, + DEN_STAGE_NOMORE }; struct RyzMemData { - - void __dl(); - void* __nw(uint32 amt, RyzMemGrow* growCtxt); + void __dl(); + void* __nw(uint32 amt, RyzMemGrow* growCtxt); }; struct RxNodeDefinition { - int8* name; - RxNodeMethods nodeMethods; - RxIoSpec io; - uint32 pipelineNodePrivateDataSize; - RxNodeDefEditable editable; - int32 InputPipesCnt; + int8* name; + RxNodeMethods nodeMethods; + RxIoSpec io; + uint32 pipelineNodePrivateDataSize; + RxNodeDefEditable editable; + int32 InputPipesCnt; }; struct _anon194 @@ -15189,9 +15107,9 @@ struct _anon194 struct GroundCoverParm { - float32 spd_emitBase; - float32 spd_emitRand; - float32 rad_ring; + float32 spd_emitBase; + float32 spd_emitRand; + float32 rad_ring; }; struct HAZLobber : HAZBasic @@ -15200,13 +15118,13 @@ struct HAZLobber : HAZBasic enum en_fwstyle { - FW_STYL_DEFAULT, - FW_STYL_JULY4TH, - FW_STYL_XMAS, - FW_STYL_STPATS, - FW_STYL_VALENTINE, - FW_STYL_NOMORE, - FW_STYL_FORCE = 0x7fffffff + FW_STYL_DEFAULT, + FW_STYL_JULY4TH, + FW_STYL_XMAS, + FW_STYL_STPATS, + FW_STYL_VALENTINE, + FW_STYL_NOMORE, + FW_STYL_FORCE = 0x7fffffff }; struct _anon195 @@ -15219,11 +15137,11 @@ struct _anon196 struct tag_iFile { - uint32 flags; - int8 path[128]; - int32 fd; - int32 offset; - int32 length; + uint32 flags; + int8 path[128]; + int32 fd; + int32 offset; + int32 length; }; struct DennisLetMeKnow : xPSYNote @@ -15232,40 +15150,40 @@ struct DennisLetMeKnow : xPSYNote struct tagiRenderArrays { - uint16 m_index[960]; - RxObjSpace3DVertex m_vertex[480]; - float32 m_vertexTZ[480]; + uint16 m_index[960]; + RxObjSpace3DVertex m_vertex[480]; + float32 m_vertexTZ[480]; }; enum en_wavestat { - SM_STAT_BEGIN, - SM_STAT_INPROG, - SM_STAT_ABORT, - SM_STAT_MARKTIME, - SM_STAT_DONE, - SM_STAT_NOMORE, - SM_STAT_FORCE = 0x7fffffff + SM_STAT_BEGIN, + SM_STAT_INPROG, + SM_STAT_ABORT, + SM_STAT_MARKTIME, + SM_STAT_DONE, + SM_STAT_NOMORE, + SM_STAT_FORCE = 0x7fffffff }; struct analog_data { - xVec2 offset; - xVec2 dir; - float32 mag; - float32 ang; + xVec2 offset; + xVec2 dir; + float32 mag; + float32 ang; }; struct zFragShockwave { - zFragShockwaveAsset* fasset; - float32 currSize; - float32 currVelocity; - float32 deltVelocity; - float32 currSpin; - float32 deltSpin; - float32 currColor[4]; - float32 deltColor[4]; + zFragShockwaveAsset* fasset; + float32 currSize; + float32 currVelocity; + float32 deltVelocity; + float32 currSpin; + float32 deltSpin; + float32 currColor[4]; + float32 deltColor[4]; }; struct _anon197 @@ -15278,24 +15196,24 @@ struct _anon198 struct xEntMotion { - xEntMotionAsset* asset; - uint8 type; - uint8 pad; - uint16 ent_motion_flags; - float32 t; - float32 tmr; - float32 d; - union - { - xEntERData er; - xEntOrbitData orb; - xEntSplineData spl; - xEntMPData mp; - xEntMechData mech; - xEntPenData pen; - }; - xEnt* owner; - xEnt* target; + xEntMotionAsset* asset; + uint8 type; + uint8 pad; + uint16 ent_motion_flags; + float32 t; + float32 tmr; + float32 d; + union + { + xEntERData er; + xEntOrbitData orb; + xEntSplineData spl; + xEntMPData mp; + xEntMechData mech; + xEntPenData pen; + }; + xEnt* owner; + xEnt* target; }; struct _anon199 @@ -15316,37 +15234,37 @@ struct _anon202 struct zSurfAssetBase : xBaseAsset { - uint8 game_damage_type; - uint8 game_sticky; - uint8 game_damage_flags; - uint8 surf_type; - uint8 phys_pad; - uint8 sld_start; - uint8 sld_stop; - uint8 phys_flags; - float32 friction; - zSurfMatFX matfx; - zSurfColorFX colorfx; - uint32 texture_anim_flags; - zSurfTextureAnim texture_anim[2]; - uint32 uvfx_flags; - zSurfUVFX uvfx[2]; - uint8 on; - uint8 surf_pad[3]; - float32 oob_delay; - float32 walljump_scale_xz; - float32 walljump_scale_y; - float32 damage_timer; - float32 damage_bounce; - uint32 impact_sound; + uint8 game_damage_type; + uint8 game_sticky; + uint8 game_damage_flags; + uint8 surf_type; + uint8 phys_pad; + uint8 sld_start; + uint8 sld_stop; + uint8 phys_flags; + float32 friction; + zSurfMatFX matfx; + zSurfColorFX colorfx; + uint32 texture_anim_flags; + zSurfTextureAnim texture_anim[2]; + uint32 uvfx_flags; + zSurfUVFX uvfx[2]; + uint8 on; + uint8 surf_pad[3]; + float32 oob_delay; + float32 walljump_scale_xz; + float32 walljump_scale_y; + float32 damage_timer; + float32 damage_bounce; + uint32 impact_sound; }; struct Flags_5 { - int8 enable; - int8 makeAdditive; - int8 dev_enable; - int8 unused; + int8 enable; + int8 makeAdditive; + int8 dev_enable; + int8 unused; }; struct _anon203 @@ -15355,34 +15273,34 @@ struct _anon203 struct zStreamedSoundList { - uint32 mNumSounds; - zStreamedSound* mSounds; + uint32 mNumSounds; + zStreamedSound* mSounds; }; enum PSY_BRAIN_STATUS { - PSY_STAT_BLANK, - PSY_STAT_GROW, - PSY_STAT_EXTEND, - PSY_STAT_THINK, - PSY_STAT_NOMORE, - PSY_STAT_FORCE = 0x7fffffff + PSY_STAT_BLANK, + PSY_STAT_GROW, + PSY_STAT_EXTEND, + PSY_STAT_THINK, + PSY_STAT_NOMORE, + PSY_STAT_FORCE = 0x7fffffff }; struct SimpShot { - float32 spd_incr; - float32 dst_minRange; - float32 tym_leadTarget; - float32 hyt_offset; - float32 hyt_incr; + float32 spd_incr; + float32 dst_minRange; + float32 tym_leadTarget; + float32 hyt_offset; + float32 hyt_incr; }; struct Flags_6 { - int8 enable; - int8 dev_enable; - int8 unused[2]; + int8 enable; + int8 dev_enable; + int8 unused[2]; }; struct _anon204 @@ -15391,67 +15309,67 @@ struct _anon204 struct xPEVCyl { - float32 height; - float32 radius; - float32 deflection; + float32 height; + float32 radius; + float32 deflection; }; struct Ranges_6 { - float32 rad_tooclose; - float32 rad_lob; - float32 rad_lobgrey; - float32 rad_aware; - float32 rad_awaregrey; + float32 rad_tooclose; + float32 rad_lob; + float32 rad_lobgrey; + float32 rad_aware; + float32 rad_awaregrey; }; struct rxHeapFreeBlock { - uint32 size; - rxHeapBlockHeader* ptr; + uint32 size; + rxHeapBlockHeader* ptr; }; enum en_hazcol { - HAZ_COLTYP_STAT, - HAZ_COLTYP_DYN, - HAZ_COLTYP_NME, - HAZ_COLTYP_NOMORE, - HAZ_COLTYP_FORCE = 0x7fffffff + HAZ_COLTYP_STAT, + HAZ_COLTYP_DYN, + HAZ_COLTYP_NME, + HAZ_COLTYP_NOMORE, + HAZ_COLTYP_FORCE = 0x7fffffff }; struct _class_26 { - union - { - xClumpCollBSPVertInfo i; - uint32 rawIdx; - RwV3d* p; - }; + union + { + xClumpCollBSPVertInfo i; + uint32 rawIdx; + RwV3d* p; + }; }; struct RwRGBAReal { - float32 red; - float32 green; - float32 blue; - float32 alpha; + float32 red; + float32 green; + float32 blue; + float32 alpha; }; struct Flags_7 { - int8 enable; - int8 dev_enable; - int8 unused[2]; + int8 enable; + int8 dev_enable; + int8 unused[2]; }; struct RwObject { - uint8 type; - uint8 subType; - uint8 flags; - uint8 privateFlags; - void* parent; + uint8 type; + uint8 subType; + uint8 flags; + uint8 privateFlags; + void* parent; }; float32 scale; @@ -16103,51 +16021,51 @@ xVec3 g_Y3; xVec3 g_X3; zGlobals globals; xVec3 g_O3; -void(*xAnimDefaultBeforeEnter)(xAnimPlay*, xAnimState*, void*); -int32(*Spiral_SeePlyr)(xGoal*, void*, en_trantype*, float32, void*); +void (*xAnimDefaultBeforeEnter)(xAnimPlay*, xAnimState*, void*); +int32 (*Spiral_SeePlyr)(xGoal*, void*, en_trantype*, float32, void*); eSNDCurrentPlayer gCurrentPlayer; uint8* g_iAnim_workBuffer; -int32(*tikiDeadCB)(xGoal*, void*, en_trantype*, float32, void*); -int32(*tikiDyingCB)(xGoal*, void*, en_trantype*, float32, void*); -int32(*thunderCountCB)(xGoal*, void*, en_trantype*, float32, void*); -int32(*thunderIdleCB)(xGoal*, void*, en_trantype*, float32, void*); -int32(*quietHideCB)(xGoal*, void*, en_trantype*, float32, void*); -int32(*quietIdleCB)(xGoal*, void*, en_trantype*, float32, void*); -int32(*loveyPatrolCB)(xGoal*, void*, en_trantype*, float32, void*); -int32(*loveyIdleCB)(xGoal*, void*, en_trantype*, float32, void*); +int32 (*tikiDeadCB)(xGoal*, void*, en_trantype*, float32, void*); +int32 (*tikiDyingCB)(xGoal*, void*, en_trantype*, float32, void*); +int32 (*thunderCountCB)(xGoal*, void*, en_trantype*, float32, void*); +int32 (*thunderIdleCB)(xGoal*, void*, en_trantype*, float32, void*); +int32 (*quietHideCB)(xGoal*, void*, en_trantype*, float32, void*); +int32 (*quietIdleCB)(xGoal*, void*, en_trantype*, float32, void*); +int32 (*loveyPatrolCB)(xGoal*, void*, en_trantype*, float32, void*); +int32 (*loveyIdleCB)(xGoal*, void*, en_trantype*, float32, void*); uint32 gActiveHeap; -void(*genericTikiRender)(xEnt*); -void(*loveyTikiRender)(xEnt*); +void (*genericTikiRender)(xEnt*); +void (*loveyTikiRender)(xEnt*); xMat4x3 g_I3; _tagGameVidMode gVidMode; xGrid colls_grid; xGrid npcs_grid; xQCControl xqc_def_ctrl; -int32(*Spin_SeePlyr)(xGoal*, void*, en_trantype*, float32, void*); -int32(*Slam_SeePlyr)(xGoal*, void*, en_trantype*, float32, void*); +int32 (*Spin_SeePlyr)(xGoal*, void*, en_trantype*, float32, void*); +int32 (*Slam_SeePlyr)(xGoal*, void*, en_trantype*, float32, void*); xVec3 g_NY3; -int32(*Fog_SeePlyr)(xGoal*, void*, en_trantype*, float32, void*); -void*(*__dt)(zMODStanEnemy*, int16); +int32 (*Fog_SeePlyr)(xGoal*, void*, en_trantype*, float32, void*); +void* (*__dt)(zMODStanEnemy*, int16); _anon67 __vt__13zMODStanEnemy; _anon175 __vt__7zModule; -uint32(*CloseShellDone)(xAnimTransition*, xAnimSingle*, void*); -uint32(*CloseShellCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*OpenShellDone)(xAnimTransition*, xAnimSingle*, void*); -uint32(*OpenShellCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*SpatulaGrabStopCB)(xAnimTransition*, xAnimSingle*, void*); -uint32(*SpatulaGrabCB)(xAnimTransition*, xAnimSingle*, void*); -uint32(*SpatulaGrabCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*CloseShellDone)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*CloseShellCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*OpenShellDone)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*OpenShellCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*SpatulaGrabStopCB)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*SpatulaGrabCB)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*SpatulaGrabCheck)(xAnimTransition*, xAnimSingle*, void*); float32 gDialogueMusicLevel; -void*(*__dt)(zMODCritter*, int16); +void* (*__dt)(zMODCritter*, int16); _anon147 __vt__11zMODCritter; -void(*zNMEFragCB)(zFrag*, zFragAsset*); -uint32(*xUpdateCull_AlwaysTrueCB)(void*, void*); -uint32(*xUpdateCull_DistanceSquaredCB)(void*, void*); -void(*TellMeVisOnOff)(xEnt*); -int32(*NME_OrdComp_byType)(void*, void*); -void*(*__dt)(zMODSwimmer*, int16); +void (*zNMEFragCB)(zFrag*, zFragAsset*); +uint32 (*xUpdateCull_AlwaysTrueCB)(void*, void*); +uint32 (*xUpdateCull_DistanceSquaredCB)(void*, void*); +void (*TellMeVisOnOff)(xEnt*); +int32 (*NME_OrdComp_byType)(void*, void*); +void* (*__dt)(zMODSwimmer*, int16); _anon56 __vt__Q27Swimmer11zMODSwimmer; -void*(*__dt)(zMODEnemy*, int16); +void* (*__dt)(zMODEnemy*, int16); _anon53 __vt__9zMODEnemy; uint8 HDR_brightening; long32 skyTest_1; @@ -16155,93 +16073,93 @@ uint32 ourGlobals[4096]; xQuat g_IQ; float32 zcam_flyrate; float32 zcam_flytime; -void(*Cam_Return)(); -void(*Cam_Launch)(); -void(*zSB04_BossPreRender)(); -void(*PovCollideBoundUpdateCB)(xEnt*, xVec3*); -void(*BodyCollideBoundUpdateCB)(xEnt*, xVec3*); -void(*BucketCollideEventFunc)(xBase*, xBase*, uint32, float32*, xBase*, uint32); -void(*DecalDestCB)(RpAtomic*); -void(*DecalEmitCB)(RpAtomic*, xMat4x3*); -void(*LightningRingRenderCB)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); -void(*LightningFeelerRenderCB)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); -void(*LightningBeamRenderCB)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); +void (*Cam_Return)(); +void (*Cam_Launch)(); +void (*zSB04_BossPreRender)(); +void (*PovCollideBoundUpdateCB)(xEnt*, xVec3*); +void (*BodyCollideBoundUpdateCB)(xEnt*, xVec3*); +void (*BucketCollideEventFunc)(xBase*, xBase*, uint32, float32*, xBase*, uint32); +void (*DecalDestCB)(RpAtomic*); +void (*DecalEmitCB)(RpAtomic*, xMat4x3*); +void (*LightningRingRenderCB)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); +void (*LightningFeelerRenderCB)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); +void (*LightningBeamRenderCB)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, uint32); xColor_tag g_PIMP_GOLD; -uint32(*EmitSpiralCB)(zNeptuneParticle*, void*, float32); -uint32(*EmitBeamCB)(zNeptuneParticle*, void*, float32); +uint32 (*EmitSpiralCB)(zNeptuneParticle*, void*, float32); +uint32 (*EmitBeamCB)(zNeptuneParticle*, void*, float32); tagiRenderArrays gRenderArr; int32 _rpPTankAtomicDataOffset; -uint32(*EmitScorchCB)(zNeptuneParticle*, void*, float32); +uint32 (*EmitScorchCB)(zNeptuneParticle*, void*, float32); xCam* xCamLaunchCam; -void(*xCamReturn)(); -void(*xCamLaunch)(); -void(*BossPreRender)(); -void(*Crowd_RenderSlave)(xEnt*); -void(*Crowd_UpdateSlave)(xEnt*, xScene*, float32); -void(*Crowd_RenderMaster)(xEnt*); -int32(*CmpCrowd)(void*, void*); +void (*xCamReturn)(); +void (*xCamLaunch)(); +void (*BossPreRender)(); +void (*Crowd_RenderSlave)(xEnt*); +void (*Crowd_UpdateSlave)(xEnt*, xScene*, float32); +void (*Crowd_RenderMaster)(xEnt*); +int32 (*CmpCrowd)(void*, void*); xColor_tag g_BLACK; -uint32(*ReflectStunCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*DamageCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*NoStunCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*StunCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*OutrageEndCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*OutrageCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*TauntCB)(xAnimTransition*, xAnimSingle*, void*); -uint32(*TauntCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*TailAttackCB)(xAnimTransition*, xAnimSingle*, void*); -uint32(*TailAttackRightCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*TailAttackLeftCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*ReflectCB)(xAnimTransition*, xAnimSingle*, void*); -uint32(*ReflectCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*FireLoopCB)(xAnimTransition*, xAnimSingle*, void*); -uint32(*FireLoopCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*ExitFireCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*FireCB)(xAnimTransition*, xAnimSingle*, void*); -uint32(*FireCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*ExitDefendCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*DefendCheck)(xAnimTransition*, xAnimSingle*, void*); -uint32(*DamageExitCB)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*ReflectStunCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*DamageCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*NoStunCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*StunCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*OutrageEndCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*OutrageCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*TauntCB)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*TauntCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*TailAttackCB)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*TailAttackRightCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*TailAttackLeftCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*ReflectCB)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*ReflectCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*FireLoopCB)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*FireLoopCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*ExitFireCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*FireCB)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*FireCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*ExitDefendCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*DefendCheck)(xAnimTransition*, xAnimSingle*, void*); +uint32 (*DamageExitCB)(xAnimTransition*, xAnimSingle*, void*); _anon168 __vt__11zCamNeptune; _anon75 __vt__4xCam; -void(*ReflectBeforeAnimMatrices)(xAnimPlay*, xQuat*, xVec3*, int32); +void (*ReflectBeforeAnimMatrices)(xAnimPlay*, xQuat*, xVec3*, int32); uint32 lastSetFBMSK; -* _rwDMAGateSlot; +* _rwDMAGateSlot; xVec3 m_Null; _anon0 __vt__15zBossCam_Binary; -void(*BossCamOverride)(zBossCam_Binary*, float32, void*); +void (*BossCamOverride)(zBossCam_Binary*, float32, void*); _anon156 __vt__11DenTooMeter; _anon87 __vt__Q24zHud11BarMeter; _anon182 __vt__Q24zHud11hud_element; -void*(*__dt)(zMODSupport*, int16); +void* (*__dt)(zMODSupport*, int16); _anon101 __vt__11zMODSupport; float32 gShadowObjectRadius; -void*(*__dt)(zMODSupple*, int16); +void* (*__dt)(zMODSupple*, int16); _anon166 __vt__10zMODSupple; -void*(*__dt)(zMODSpawner*, int16); +void* (*__dt)(zMODSpawner*, int16); _anon110 __vt__11zMODSpawner; -int32(*SparkySysUpdate)(uint8*, int32, ptank_pool&, float32, void*); -int32(*PuffSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); -int32(*PopGasSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); -int32(*PlasmaSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); -int32(*OrientSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); -int32(*FogSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); -int32(*ExhaustSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); -int32(*ExhaustSysUpdate_noRot)(uint8*, int32, ptank_pool&, float32, void*); -int32(*DUMMY_PREFIXSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); -void*(*__dt)(zMODParFX*, int16); +int32 (*SparkySysUpdate)(uint8*, int32, ptank_pool&, float32, void*); +int32 (*PuffSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); +int32 (*PopGasSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); +int32 (*PlasmaSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); +int32 (*OrientSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); +int32 (*FogSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); +int32 (*ExhaustSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); +int32 (*ExhaustSysUpdate_noRot)(uint8*, int32, ptank_pool&, float32, void*); +int32 (*DUMMY_PREFIXSysUpdate)(uint8*, int32, ptank_pool&, float32, void*); +void* (*__dt)(zMODParFX*, int16); _anon120 __vt__9zMODParFX; -void(*NME_entwrap_render)(xEnt*); -void(*NME_entwrap_move)(xEnt*, xScene*, float32, xEntFrame*); -void(*NME_entwrap_bupdate)(xEnt*, xVec3*); -void(*NME_entwrap_update)(xEnt*, xScene*, float32); -void(*NME_entwrap_event)(xBase*, xBase*, uint32, float32*, xBase*, uint32); -void(*NME_entwrap_reset)(xEnt*); -void(*NME_entwrap_setup)(xEnt*); +void (*NME_entwrap_render)(xEnt*); +void (*NME_entwrap_move)(xEnt*, xScene*, float32, xEntFrame*); +void (*NME_entwrap_bupdate)(xEnt*, xVec3*); +void (*NME_entwrap_update)(xEnt*, xScene*, float32); +void (*NME_entwrap_event)(xBase*, xBase*, uint32, float32*, xBase*, uint32); +void (*NME_entwrap_reset)(xEnt*); +void (*NME_entwrap_setup)(xEnt*); xVec3 g_NZ3; xVec3 g_NX3; -int32(*zNPCMgr_OrdTest_npcid)(void*, void*); -void*(*__dt)(zMODMessage*, int16); +int32 (*zNPCMgr_OrdTest_npcid)(void*, void*); +void* (*__dt)(zMODMessage*, int16); _anon18 __vt__11zMODMessage; xColor_tag g_WHITE; _anon172 __vt__Q218MachoBowlExplosion21HAZMachoBowlExplosion; @@ -16284,11 +16202,11 @@ _anon77 __vt__Q29SpawnBall12HAZSpawnBall; _anon180 __vt__Q26Impact9HAZImpact; _anon190 __vt__Q27Explode10HAZExplode; _anon200 __vt__Q27Generic10HAZGeneric; -int32(*HAZ_ord_sorttest)(void*, void*); -void*(*__dt)(zMODHazard*, int16); +int32 (*HAZ_ord_sorttest)(void*, void*); +void* (*__dt)(zMODHazard*, int16); _anon157 __vt__10zMODHazard; -int32(*FacTrav_FindConfig)(xFactoryInst*, void*); -void*(*__dt)(zMODConfig*, int16); +int32 (*FacTrav_FindConfig)(xFactoryInst*, void*); +void* (*__dt)(zMODConfig*, int16); _anon26 __vt__10zMODConfig; RwCamera* HudCamera; _anon105 __vt__14zNMENPCWrapper; @@ -16437,5 +16355,3 @@ _anon111 __vt__21zNMEGoalTurrPPatAlpha; _anon69 __vt__18zNMEGoalTurrReload; _anon34 __vt__16zNMEGoalTurrIdle; _anon54 __vt__18zNMEGoalCritAttack; - - diff --git a/src/SB/Core/x/xBehaviour.h b/src/SB/Core/x/xBehaviour.h new file mode 100644 index 0000000..cfa111b --- /dev/null +++ b/src/SB/Core/x/xBehaviour.h @@ -0,0 +1,268 @@ +#ifndef XBEHAVIOUR_H +#define XBEHAVIOUR_H + +#include "xEnt.h" + +enum PSY_BRAIN_STATUS +{ + PSY_STAT_BLANK, + PSY_STAT_GROW, + PSY_STAT_EXTEND, + PSY_STAT_THINK, + PSY_STAT_NOMORE, + PSY_STAT_FORCE = 0x7fffffff +}; + +enum en_pendtype +{ + PEND_TRAN_NONE, + PEND_TRAN_SET, + PEND_TRAN_PUSH, + PEND_TRAN_POP, + PEND_TRAN_POPTO, + PEND_TRAN_POPALL, + PEND_TRAN_SWAP, + PEND_TRAN_INPROG, + PEND_TRAN_NOMORE +}; + +enum en_trantype +{ + GOAL_TRAN_NONE, + GOAL_TRAN_SET, + GOAL_TRAN_PUSH, + GOAL_TRAN_POP, + GOAL_TRAN_POPTO, + GOAL_TRAN_POPALL, + GOAL_TRAN_POPBASE, + GOAL_TRAN_POPSAFE, + GOAL_TRAN_SWAP, + GOAL_TRAN_NOMORE, + GOAL_TRAN_FORCE = 0x7fffffff +}; + +enum en_GOALSTATE +{ + GOAL_STAT_UNKNOWN, + GOAL_STAT_PROCESS, + GOAL_STAT_ENTER, + GOAL_STAT_EXIT, + GOAL_STAT_SUSPEND, + GOAL_STAT_RESUME, + GOAL_STAT_PAUSED, + GOAL_STAT_DONE, + GOAL_STAT_NOMORE, + GOAL_STAT_FORCE = 0x7fffffff +}; + +enum en_npcgol +{ + NME_GOAL_UNKNOWN, + NME_GOAL_CRIT_IDLE = 0x4e474300, + NME_GOAL_CRIT_PATROL, + NME_GOAL_CRIT_DYING, + NME_GOAL_CRIT_DEAD, + NME_GOAL_CRIT_BATTACK, + NME_GOAL_CRIT_JATTACK, + NME_GOAL_CRIT_JDYING, + NME_GOAL_TURR_IDLE = 0x4e474700, + NME_GOAL_TURR_RELOAD, + NME_GOAL_TURR_HURT, + NME_GOAL_TURR_DEAD, + NME_GOAL_TURR_TREADY, + NME_GOAL_TURR_TTURN, + NME_GOAL_TURR_TSHOOT, + NME_GOAL_TURR_PDORMANT, + NME_GOAL_TURR_PALERT, + NME_GOAL_TURR_PPATALPHA, + NME_GOAL_TURR_BIDLE, + NME_GOAL_TURR_BTURN, + NME_GOAL_TURR_BSHOOT, + NME_GOAL_TURR_BHURT, + NME_GOAL_TURR_SPIRAL, + NME_GOAL_IDLE = 0x4e474e00, + NME_GOAL_PATROL, + NME_GOAL_WANDER, + NME_GOAL_FIDGET, + NME_GOAL_WAITING, + NME_GOAL_DEAD, + NME_GOAL_NOMANLAND, + NME_GOAL_LIMBO, + NME_GOAL_DEV_ANIMVIEW = 0x4e474400, + NME_GOAL_DEV_HEROMODE, + NME_GOAL_TIKI_IDLE = 0x4e475400, + NME_GOAL_TIKI_PATROL, + NME_GOAL_TIKI_HIDE, + NME_GOAL_TIKI_COUNT, + NME_GOAL_TIKI_DYING, + NME_GOAL_TIKI_DEAD, + NME_GOAL_AFTERLIFE = 0x4e475300, + NME_GOAL_SPAWN, + NME_GOAL_WOUND, + NME_GOAL_SPOOKED, + NME_GOAL_NOTICE, + NME_GOAL_SCAREWAIT, + NME_GOAL_SCARE, + NME_GOAL_TAUNT, + NME_GOAL_EVILPAT = 0x4e475000, + NME_GOAL_STUNNED, + NME_GOAL_PATCARRY, + NME_GOAL_PATTWIRL, + NME_GOAL_PATTHROW, + NME_GOAL_TRIGGER_NORMAL = 0x4e475800, + NME_GOAL_TRIGGER_SCARY, + NME_GOAL_TRIGGER_DETECT, + NME_GOAL_TRIGGER_ALERT, + NME_GOAL_TRIGGER_BATTLE, + NME_GOAL_TRIGGER_WOUND, + NME_GOAL_TRIGGER_ATTACK, + NME_GOAL_TRIGGER_VINIVICIVIDI, + NME_GOAL_FOGGER_AWARE = 0x4e474500, + NME_GOAL_FOGGER_BATTLE, + NME_GOAL_FOGGER_ATTACK, + NME_GOAL_SLAMMER_AWARE, + NME_GOAL_SLAMMER_BATTLE, + NME_GOAL_SLAMMER_ATTACK, + NME_GOAL_SPINNER_AWARE, + NME_GOAL_SPINNER_BATTLE, + NME_GOAL_FLINGER_NORMAL, + NME_GOAL_FLINGER_AWARE, + NME_GOAL_FLINGER_BATTLE, + NME_GOAL_FLINGER_ATTACK, + NME_GOAL_FLINGER_BOING, + NME_GOAL_FLINGER_FLEE, + NME_GOAL_FLINGER_PANIC, + NME_GOAL_FLINGER_MOVE, + NME_GOAL_POPPER_NORMAL, + NME_GOAL_POPPER_AWARE, + NME_GOAL_POPPER_WOUND, + NME_GOAL_POPPER_EVADE, + NME_GOAL_POPPER_BATTLE, + NME_GOAL_POPPER_ATTACK, + NME_GOAL_ZAP_NORMAL, + NME_GOAL_ZAP_AWARE, + NME_GOAL_ZAP_BATTLE, + NME_GOAL_ZAP_WOUND, + NME_GOAL_ZAP_ZAP, + NME_GOAL_ZAP_MOVE, + NME_GOAL_MERV_NORMAL, + NME_GOAL_MERV_AWARE, + NME_GOAL_MERV_BATTLE, + NME_GOAL_MERV_ZAP, + NME_GOAL_MERV_BOMB, + NME_GOAL_MERV_BOWL, + NME_GOAL_MERV_WOUND, + NME_GOAL_MERV_MOVE, + NME_GOAL_BUCK_RUNNING, + NME_GOAL_BUCK_BIRTHING, + NME_GOAL_BUCK_DYING, + NME_GOAL_BUCK_DEAD, + NME_GOAL_DENNIS_NORMAL, + NME_GOAL_DENNIS_EVADE, + NME_GOAL_DENNIS_BATTLE, + NME_GOAL_DENNIS_ATTACK, + NME_GOAL_DENNIS_TAUNT, + NME_GOAL_DENNIS_DAMAGE, + NME_GOAL_DENNIS_DEAD, + NME_GOAL_DENTOO_NORMAL, + NME_GOAL_DENTOO_EVADE, + NME_GOAL_DENTOO_BATTLE, + NME_GOAL_DENTOO_ATTACK, + NME_GOAL_DENTOO_TAUNT, + NME_GOAL_DENTOO_DAMAGE, + NME_GOAL_DENTOO_DEAD, + NME_GOAL_SBBAT_IDLE, + NME_GOAL_SBBAT_DEAD, + NME_GOAL_NOMORE, + NME_GOAL_FORCE = 0x7fffffff +}; + +enum en_npcgspot +{ + NME_GSPOT_START = 0x20, + NME_GSPOT_RESUME, + NME_GSPOT_LOOP, + NME_GSPOT_FINISH, + NME_GSPOT_STARTALT, + NME_GSPOT_ALTA, + NME_GSPOT_ALTB, + NME_GSPOT_PATROLPAUSE, + NME_GSPOT_NEXT, + NME_GSPOT_NOMORE, + NME_GSPOT_FORCEINT = 0x7fffffff +}; + +struct xPSYNote +{ +}; + +struct xGoal; + +struct xPsyche : RyzMemData +{ + xBase* clt_owner; + xPSYNote* cb_notice; + S32 flg_psyche; + xGoal* goallist; + xGoal* goalstak[5]; + F32 tmr_stack[1][5]; + S32 staktop; + xGoal* pendgoal; + en_pendtype pendtype; + S32 gid_safegoal; + void (*fun_remap)(S32*, en_trantype*); + void* userContext; + S32 cnt_transLastTimestep; + PSY_BRAIN_STATUS psystat; + xBase fakebase; +}; + +struct xListItem_1 +{ + S32 flg_travFilter; + xGoal* next; + xGoal* prev; +}; + +struct xGoal : xListItem_1, xFactoryInst +{ + xPsyche* psyche; + en_GOALSTATE stat; + S32 flg_able; + S32 (*fun_process)(xGoal*, void*, en_trantype*, F32, void*); + void* cbdata; + + S32 Exit(); + S32 Suspend(); + S32 SysEvent(); + S32 Enter(); + S32 Resume(); + S32 Process(en_trantype* trantype, F32 dt, void* updCtxt); +}; + +struct zNMEGoalCommon : xGoal +{ + 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); +}; + +#endif diff --git a/src/SB/Core/x/xClumpColl.h b/src/SB/Core/x/xClumpColl.h new file mode 100644 index 0000000..48f66f6 --- /dev/null +++ b/src/SB/Core/x/xClumpColl.h @@ -0,0 +1,49 @@ +#ifndef XCLUMPCOLL_H +#define XCLUMPCOLL_H + +#include +#include +#include +#include + +struct xClumpCollBSPBranchNode +{ + U32 leftInfo; + U32 rightInfo; + F32 leftValue; + F32 rightValue; +}; + +struct xClumpCollBSPVertInfo +{ + U16 atomIndex; + U16 meshVertIndex; +}; + +struct _class_26 +{ + union + { + xClumpCollBSPVertInfo i; + U32 rawIdx; + RwV3d* p; + }; +}; + +struct xClumpCollBSPTriangle +{ + _class_26 v; + U8 flags; + U8 detailed_info_cache_index; + U16 matIndex; +}; + +struct xClumpCollBSPTree +{ + S32 numBranchNodes; + xClumpCollBSPBranchNode* branchNodes; + S32 numTriangles; + xClumpCollBSPTriangle* triangles; +}; + +#endif diff --git a/src/SB/Core/x/xCollis.h b/src/SB/Core/x/xCollis.h new file mode 100644 index 0000000..de753d0 --- /dev/null +++ b/src/SB/Core/x/xCollis.h @@ -0,0 +1,42 @@ +#ifndef XCOLLIS_H +#define XCOLLIS_H +#include "xModel.h" + +struct tri_data_0 +{ + U32 index; + F32 r; + F32 d; +}; + +struct _class_8 +{ + F32 t; + F32 u; + F32 v; +}; + +struct xCollis +{ + U32 flags; + U32 oid; + void* optr; + xModelInstance* mptr; + F32 dist; + F32 test_dist; + xVec3 norm; + xVec3 tohit; + xVec3 depen; + xVec3 hdng; + union + { + _class_8 tuv; + tri_data_0 tri; + }; +}; + +struct anim_coll_data +{ +}; + +#endif diff --git a/src/SB/Core/x/xEnt.h b/src/SB/Core/x/xEnt.h new file mode 100644 index 0000000..bab5d78 --- /dev/null +++ b/src/SB/Core/x/xEnt.h @@ -0,0 +1,182 @@ +#ifndef XENT_H +#define XENT_H + +#include +#include "xEnv.h" +#include "xCollis.h" +#include "xGrid.h" +#include "xFX.h" +#include "xShadow.h" + +struct xEntAsset : xBaseAsset +{ + U8 flags; + U8 subtype; + U8 pflags; + U8 moreFlags; + U32 surfaceID; + xVec3 ang; + xVec3 pos; + xVec3 scale; + F32 redMult; + F32 greenMult; + F32 blueMult; + F32 seeThru; + F32 seeThruSpeed; + U32 modelInfoID; + U32 animListID; +}; + +struct xModelInstance; + +struct xAnimPlay +{ + xAnimPlay* Next; + U16 NumSingle; + U16 BoneCount; + xAnimSingle* Single; + void* Object; + xAnimTable* Table; + xMemPool* Pool; + xModelInstance* ModelInst; + void (*BeforeAnimMatrices)(xAnimPlay*, xQuat*, xVec3*, S32); +}; + +struct xScene +{ + U32 sceneID; + U16 flags; + U16 num_trigs; + U16 num_stats; + U16 num_dyns; + U16 num_npcs; + U16 num_act_ents; + F32 gravity; + F32 drag; + F32 friction; + U16 num_ents_allocd; + U16 num_trigs_allocd; + U16 num_stats_allocd; + U16 num_dyns_allocd; + U16 num_npcs_allocd; + xEnt** trigs; + xEnt** stats; + xEnt** dyns; + xEnt** npcs; + xEnt** act_ents; + xEnv* env; + xMemPool mempool; + xBase* (*resolvID)(U32); + unsigned char* (*base2Name)(xBase*); + unsigned char* (*id2Name)(U32); +}; + +struct xEntFrame +{ + xMat4x3 mat; + xMat4x3 oldmat; + xVec3 oldvel; + xRot oldrot; + xRot drot; + xRot rot; + xVec3 dvel; + xVec3 vel; + U32 mode; + xVec3 dpos; +}; + +struct xEntCollis +{ + U8 chk; + U8 pen; + U8 env_sidx; + U8 env_eidx; + U8 npc_sidx; + U8 npc_eidx; + U8 dyn_sidx; + U8 dyn_eidx; + U8 stat_sidx; + U8 stat_eidx; + U8 idx; + xCollis colls[18]; + void (*post)(xEnt*, xScene*, F32, xEntCollis*); + U32 (*depenq)(xEnt*, xEnt*, xScene*, F32, xCollis*); +}; + +struct xEntShadow +{ + xVec3 pos; + xVec3 vec; + RpAtomic* shadowModel; + F32 dst_cast; + F32 radius[2]; + struct + { + S32 flg_castOnOneDFF : 1; + S32 flg_castOnAllDFF : 1; + S32 flg_disableEnvCast : 1; + S32 flg_shadowUnused : 29; + }; +}; + +struct xEnt : xBase +{ + xEntAsset* asset; + U16 idx; + U8 flags; + U8 miscflags; + U8 subType; + U8 pflags; + U16 moreFlags; + struct + { + U8 _isCulled : 2; + U8 collisionEventReceived : 2; + }; + U8 driving_count; + U8 num_ffx; + U8 collType; + U8 collLev; + U8 chkby; + U8 penby; + void (*visUpdate)(xEnt*); + xModelInstance* model; + xModelInstance* collModel; + xModelInstance* camcollModel; + void (*update)(xEnt*, xScene*, F32); + void (*endUpdate)(xEnt*, xScene*, F32); + void (*bupdate)(xEnt*, xVec3*); + void (*move)(xEnt*, xScene*, F32, xEntFrame*); + void (*render)(xEnt*); + xEntFrame* frame; + xEntCollis* collis; + xGridBound gridb; + xBound bound; + void (*transl)(xEnt*, xVec3*, xMat4x3*); + xFFX* ffx; + xEnt* driver; + xEnt* driven; + S32 driveMode; + xShadowSimpleCache* simpShadow; + xEntShadow* entShadow; + anim_coll_data* anim_coll; + void* user_data; +}; + +struct xEntNPCAsset +{ + S32 npcFlags; + S32 npcModel; + S32 npcProps; + U32 movepoint; + U32 taskWidgetPrime; + U32 taskWidgetSecond; +}; + +struct xEntNPCAssetIN : xEntNPCAsset +{ + U32 navigation_mesh_id; + U32 settings; +}; + +#endif diff --git a/src/SB/Core/x/xEnv.h b/src/SB/Core/x/xEnv.h new file mode 100644 index 0000000..e10a85f --- /dev/null +++ b/src/SB/Core/x/xEnv.h @@ -0,0 +1,43 @@ +#ifndef XENV_H +#define XENV_H + +#include "xModel.h" +#include "xJSP.h" + +struct iEnvMatOrder +{ + U16 jspIndex; + U16 nodeIndex; + S32 matGroup; + RpAtomic* atomic; + xJSPNodeInfo* nodeInfo; +}; + +struct iEnv +{ + RpWorld* world; + RpWorld* collision; + RpWorld* fx; + RpWorld* camera; + S32 jsp_count; + U32* jsp_aid; + xJSPHeader** jsp_list; + xBox* jsp_bound; + S32* jsp_visibilityCount; + S32 jspMatOrderCount; + iEnvMatOrder* jspMatOrderList; + RpLight* light[2]; + RwFrame* light_frame[2]; + S32 memlvl; + U16 numOpaque; + U16 numTransparent; +}; + +struct xEnv +{ + iEnv* geom; + iEnv ienv; + xLightKit* lightKit; +}; + +#endif diff --git a/src/SB/Core/x/xFX.h b/src/SB/Core/x/xFX.h new file mode 100644 index 0000000..1b1232c --- /dev/null +++ b/src/SB/Core/x/xFX.h @@ -0,0 +1,10 @@ +#ifndef XFX_H +#define XFX_H + +#include "xMath.h" + +struct xFFX +{ +}; + +#endif diff --git a/src/SB/Core/x/xFrag.h b/src/SB/Core/x/xFrag.h new file mode 100644 index 0000000..a49cfe9 --- /dev/null +++ b/src/SB/Core/x/xFrag.h @@ -0,0 +1,370 @@ +#ifndef XFRAG_H +#define XFRAG_H + +#include "xMath.h" +#include "xEnt.h" +#include "xPar.h" + +enum zFragType +{ + eFragInactive, + eFragGroup, + eFragShrapnel, + eFragParticle, + eFragProjectile, + eFragLightning, + eFragSound, + eFragShockwave, + eFragExplosion, + eFragDistortion, + eFragFire, + eFragCount, + eFragForceSize = 0x7fffffff +}; + +enum zFragLocType +{ + eFragLocBone, + eFragLocBoneUpdated, + eFragLocBoneLocal, + eFragLocBoneLocalUpdated, + eFragLocTag, + eFragLocTagUpdated, + eFragLocCount, + eFragLocForceSize = 0x7fffffff +}; + +struct zFragAsset +{ + zFragType type; + U32 id; + U32 parentID[2]; + F32 lifetime; + F32 delay; +}; + +struct zFragBone +{ + S32 index; + xVec3 offset; +}; + +struct zFragLocInfo +{ + union + { + zFragBone bone; + xModelTag tag; + }; +}; + +struct zFragLocation +{ + zFragLocType type; + zFragLocInfo info; + F32 rand_radius; +}; + +struct presence_volume +{ + F32 knockback; + xVec3 center; + F32 radius; + F32 damage_player; + F32 damage_npc; + F32 damage_other; +}; + +struct trail_emitter +{ + S32 type; + xVec3 loc; + F32 emitted; + S32 glare_id; + F32 streak_delay; + F32 streaks_emitted; + F32 spark_delay; + F32 sparks_emitted; + presence_volume* presence; + iSndHandle tracking_sound; +}; + +struct zFrag; + +struct zFragGroup +{ + zFrag* list[21]; +}; + +struct zShrapnelAsset; + +struct zFragShrapnelAsset : zFragAsset +{ + U32 shrapnelID; + zShrapnelAsset* shrapAsset; +}; + +struct zFragShrapnel +{ + zFragShrapnelAsset* fasset; +}; + +struct zFragParticleAsset : zFragAsset +{ + zFragLocation source; + zFragLocation vel; + xParEmitterCustomSettings emit; + U32 flags; + U32 parEmitterID; + zParEmitter* parEmitter; +}; + +struct zFragParticle +{ + zFragParticleAsset* fasset; +}; + +struct xCurveAsset +{ +}; + +struct zFragProjectileAsset : zFragAsset +{ + U32 modelInfoID; + RpAtomic* modelFile; + zFragLocation launch; + zFragLocation vel; + zFragLocation velPlusMinus; + zFragLocation rot; + zFragLocation rotPlusMinus; + F32 bounce; + S32 maxBounces; + U32 flags; + U32 childID; + zShrapnelAsset* child; + F32 minScale; + F32 maxScale; + U32 scaleCurveID; + xCurveAsset* scaleCurve; + F32 gravity; +}; + +struct zFragProjectile +{ + zFragProjectileAsset* fasset; + xModelInstance* model; + xParabola path; + F32 angVel; + F32 t; + F32 tColl; + S32 numBounces; + F32 scale; + F32 alpha; + F32 bounceC1; + F32 bounceC2; + xVec3 N; + xVec3 axis; +}; + +struct zFragLightningAsset : zFragAsset +{ + zFragLocation start; + zFragLocation end; + U32 startParentID; + U32 endParentID; +}; + +struct zLightning; + +struct zFragLightning +{ + zFragLightningAsset* fasset; + xModelInstance* startParent; + xModelInstance* endParent; + zLightning* lightning; +}; + +struct zFragSoundAsset : zFragAsset +{ + U32 assetID; + zFragLocation source; +}; + +struct zFragSound +{ + zFragSoundAsset* fasset; + iSndHandle soundID; +}; + +struct zFragShockwaveAsset : zFragAsset +{ + U32 modelInfoID; + F32 birthRadius; + F32 deathRadius; + F32 birthVelocity; + F32 deathVelocity; + F32 birthSpin; + F32 deathSpin; + F32 birthColor[4]; + F32 deathColor[4]; +}; + +struct zFragShockwave +{ + zFragShockwaveAsset* fasset; + F32 currSize; + F32 currVelocity; + F32 deltVelocity; + F32 currSpin; + F32 deltSpin; + F32 currColor[4]; + F32 deltColor[4]; +}; + +struct zFragExplosionAsset : zFragAsset +{ + U32 type; + zFragLocation loc; + U32 flags; +}; + +struct zFragExplosion +{ + zFragExplosionAsset* fasset; + trail_emitter trail; + xVec3 initPos; +}; + +struct zFragDistortionAsset : zFragAsset +{ + U32 type; + zFragLocation loc; + U32 flags; + F32 radius; + F32 duration; + F32 intensity; + F32 freq; + F32 repeat_delay; +}; + +struct zFragDistortion +{ + zFragDistortionAsset* fasset; + xVec3 loc; + S32 type; + F32 repeat_time; +}; + +struct zFragFireAsset : zFragAsset +{ + zFragLocation loc; + U32 flags; + F32 radius; + F32 scale; + F32 fuel; + F32 heat; + F32 damage; + F32 knockback; +}; + +struct zFragFire +{ + zFragFireAsset* fasset; +}; + +struct zFragInfo +{ + union + { + zFragGroup group; + zFragShrapnel shrapnel; + zFragParticle particle; + zFragProjectile projectile; + zFragLightning lightning; + zFragSound sound; + zFragShockwave shockwave; + zFragExplosion explosion; + zFragDistortion distortion; + zFragFire fire; + }; +}; + +struct zFrag +{ + zFragType type; + zFragInfo info; + F32 delay; + F32 alivetime; + F32 lifetime; + void (*update)(zFrag*, F32); + void (*destroy)(zFrag*); + xModelInstance* parent[2]; + zFrag* prev; + zFrag* next; +}; + +struct _class_9 +{ + xVec3 endPoint[2]; + xVec3 endPointB; + xVec3 direction; + F32 length; + F32 scale; + F32 width; + F32 endParam[2]; + F32 endVel[2]; + F32 paramSpan[2]; +}; + +struct xColor_tag // Will need moved after we fill other files +{ + U8 r; + U8 g; + U8 b; + U8 a; + RwRGBA rgba; +}; + +struct zLightning +{ + U32 type; + U32 flags; + _class_9 func; + U32 numStrips; + F32 alphaRamp; + xColor_tag color; + F32 time_left; + F32 time_total; + zLightning* nextBranch; + zLightning* prevBranch; + F32 parentSegment; + F32 lastParentSegment; + F32 segmentsPerMeter; + F32 branchSpeed; + S32 damage; + F32 knockBackSpeed; + RwRaster* mainTexture; + RwRaster* branchTexture; + F32 sparkTimer; + xVec3 collisionPoint; + F32 genTime; + U8 randomizeBranchEndPoint; + U8 collisionEnabled; + iSndHandle sndHandle; + xEnt* followStart; + xVec3 followStartOffset; + xEnt* followEnd; + xVec3 followEndOffset; + void (*renderCB)(zLightning*, RxObjSpace3DVertex*, RxObjSpace3DVertex*, U32); + void* context; + F32 weightParam[12]; +}; + +struct zShrapnelAsset +{ + S32 fassetCount; + U32 shrapnelID; + void (*initCB)(zShrapnelAsset*, xModelInstance*, xVec3*, void (*)(zFrag*, zFragAsset*)); +}; + +#endif diff --git a/src/SB/Core/x/xGrid.h b/src/SB/Core/x/xGrid.h new file mode 100644 index 0000000..00a684f --- /dev/null +++ b/src/SB/Core/x/xGrid.h @@ -0,0 +1,62 @@ +#ifndef XGRID_H +#define XGRID_H + +#include "xQuickCull.h" + +struct xGridBound; + +struct xGrid +{ + U8 ingrid_id; + U8 pad[3]; + U16 nx; + U16 nz; + F32 minx; + F32 minz; + F32 maxx; + F32 maxz; + F32 csizex; + F32 csizez; + F32 inv_csizex; + F32 inv_csizez; + F32 maxr; + xGridBound** cells; + xGridBound* other; + S32 iter_active; +}; + +struct xGridBound +{ + void* data; + U16 gx; + U16 gz; + U8 oversize; + U8 deleted; + U8 gpad; + U8 pad; + xGrid* grid; + xGridBound** head; + xGridBound* next; +}; + +struct xBBox +{ + xVec3 center; + xBox box; +}; + +struct xBound +{ + xQCData qcd; + U8 type; + U8 pad[3]; + union + { + xSphere sph; + xBBox box; + xCylinder cyl; + }; + xMat4x3* mat; +}; + +#endif diff --git a/src/SB/Core/x/xJSP.h b/src/SB/Core/x/xJSP.h new file mode 100644 index 0000000..e6bc85b --- /dev/null +++ b/src/SB/Core/x/xJSP.h @@ -0,0 +1,74 @@ +#ifndef XJSP_H +#define XJSP_H + +#include + +struct xJSPNodeInfo +{ + S32 originalMatIndex; + U16 nodeFlags; + S16 sortOrder; +}; + +struct xJSPNodeTreeBranch +{ + U16 leftNode; + U16 rightNode; + U8 leftType; + U8 rightType; + U16 coord; + F32 leftValue; + F32 rightValue; +}; + +struct xJSPNodeTreeLeaf +{ + S32 nodeIndex; + S32 leafCount; + RwBBox box; +}; + +struct xJSPNodeTree +{ + S32 numBranchNodes; + xJSPNodeTreeBranch* branchNodes; + S32 numLeafNodes; + xJSPNodeTreeLeaf* leafNodes; +}; + +struct xJSPMiniLightTie +{ + RwLLLink lightInWorldSector; + RpLight* light; +}; + +struct RpTie +{ +}; + +struct xJSPNodeLight +{ + RpAtomic* atomic; + S32 lightCount; + RpTie dummyTie; + RpWorldSector dummySector; + xJSPMiniLightTie dummyLightTie[16]; +}; + +struct xJSPHeader +{ + S8 idtag[4]; + U32 version; + U32 jspNodeCount; + RpClump* clump; + xClumpCollBSPTree* colltree; + xJSPNodeInfo* jspNodeList; + U32 stripVecCount; + RwV3d* stripVecList; + U16 vertDataFlags; + U16 vertDataStride; + xJSPNodeTree* nodetree; + xJSPNodeLight* nodelight; +}; + +#endif diff --git a/src/SB/Core/x/xMail.h b/src/SB/Core/x/xMail.h new file mode 100644 index 0000000..775c85e --- /dev/null +++ b/src/SB/Core/x/xMail.h @@ -0,0 +1,875 @@ +#ifndef XMAIL_H +#define XMAIL_h + +enum en_xEventTags +{ + eEventUnknown, + eEventEnable, + eEventDisable, + eEventVisible, + eEventInvisible, + eEventEnterPlayer, + eEventExitPlayer, + eEventTouchPlayer, + eEventControlOff, + eEventControlOn, + eEventReset, + eEventIncrement, + eEventDecrement, + eEventOpen, + eEventClose, + eEventToggle, + eEventTeleportPlayer, + eEventOutOfBounds, + eEventRun, + eEventStop, + eEventExpired, + eEventMove, + eEventDestroy, + eEventPause, + eEventPlay, + eEventPlayOne, + eEventPlayMaybe, + eEventRoomStart, + eEventInvalidate, + eEventTilt, + eEventUntilt, + eEventArrive, + eEventMount, + eEventDismount, + eEventBreak, + eEventPickup, + eEventDeath, + eEventKill, + eEventOn, + eEventOff, + eEventNPCPatrolOn, + eEventNPCPatrolOff, + eEventNPCWanderOn, + eEventNPCWanderOff, + eEventNPCDetectOn, + eEventNPCDetectOff, + eEventNPCChaseOn, + eEventNPCChaseOff, + eEventNPCGoToSleep, + eEventNPCWakeUp, + eEventNPCRespawn, + eEventPlayerDeath, + eEventGiveChance, + eEventGiveShinyObjects, + eEventGiveHealth, + eEventPress, + eEventUnpress, + eEventArriveHalfway, + eEventHit, + eEventButtonPressAction, + eEventEvaluate, + eEventTrue, + eEventFalse, + eEventPadPressX, + eEventPadPressSquare, + eEventPadPressO, + eEventPadPressTriangle, + eEventPadPressL1, + eEventPadPressL2, + eEventPadPressR1, + eEventPadPressR2, + eEventPadPressStart, + eEventPadPressSelect, + eEventPadPressUp, + eEventPadPressDown, + eEventPadPressRight, + eEventPadPressLeft, + eEventFontBackdropOn, + eEventFontBackdropOff, + eEventUISelect, + eEventUIUnselect, + eEventUIFocusOn, + eEventUIFocusOff, + eEventCollisionOn, + eEventCollisionOff, + eEventCollision_Visible_On, + eEventCollision_Visible_Off, + eEventSceneBegin, + eEventSceneEnd, + eEventRoomBegin, + eEventRoomEnd, + eEventLobMasterShoot, + eEventLobMasterReset, + eEventFallToDeath, + eEventUIFocusOn_Select, + eEventUIFocusOff_Unselect, + eEventDispatcher_PadCfg_PresetA, + eEventDispatcher_PadCfg_PresetB, + eEventDispatcher_PadCfg_PresetC, + eEventDispatcher_PadCfg_PresetD, + eEventDispatcher_PadVibrateOn, + eEventDispatcher_PadVibrateOff, + eEventDispatcher_SoundMono, + eEventDispatcher_SoundStereo, + eEventDispatcher_SoundMasterIncrease, + eEventDispatcher_SoundMasterDecrease, + eEventDispatcher_SoundMusicIncrease, + eEventDispatcher_SoundMusicDecrease, + eEventDispatcher_SoundSFXIncrease, + eEventDispatcher_SoundSFXDecrease, + eEventDispatcher_IntroState_Sony, + eEventDispatcher_IntroState_Publisher, + eEventDispatcher_IntroState_Developer, + eEventDispatcher_IntroState_License, + eEventDispatcher_IntroState_Count, + eEventDispatcher_TitleState_Start, + eEventDispatcher_TitleState_Attract, + eEventDispatcher_TitleState_Count, + eEventDispatcher_LoadState_SelectMemCard, + eEventDispatcher_LoadState_SelectSlot, + eEventDispatcher_LoadState_Loading, + eEventDispatcher_LoadState_Count, + eEventDispatcher_OptionsState_Options, + eEventDispatcher_OptionsState_Count, + eEventDispatcher_SaveState_SelectMemCard, + eEventDispatcher_SaveState_SelectSlot, + eEventDispatcher_SaveState_Saving, + eEventDispatcher_SaveState_Count, + eEventDispatcher_PauseState_Pause, + eEventDispatcher_PauseState_Options, + eEventDispatcher_PauseState_Count, + eEventDispatcher_GameState_FirstTime, + eEventDispatcher_GameState_Play, + eEventDispatcher_GameState_LoseChance, + eEventDispatcher_GameState_GameOver, + eEventDispatcher_GameState_SceneSwitch, + eEventDispatcher_GameState_Dead, + eEventDispatcher_SetIntroState_Sony, + eEventDispatcher_SetIntroState_Publisher, + eEventDispatcher_SetIntroState_Developer, + eEventDispatcher_SetIntroState_License, + eEventDispatcher_SetIntroState_Count, + eEventDispatcher_SetTitleState_Start, + eEventDispatcher_SetTitleState_Attract, + eEventDispatcher_SetTitleState_Count, + eEventDispatcher_SetLoadState_SelectMemCard, + eEventDispatcher_SetLoadState_SelectSlot, + eEventDispatcher_SetLoadState_Loading, + eEventDispatcher_SetLoadState_Count, + eEventDispatcher_SetOptionsState_Options, + eEventDispatcher_SetOptionsState_Count, + eEventDispatcher_SetSaveState_SelectMemCard, + eEventDispatcher_SetSaveState_SelectSlot, + eEventDispatcher_SetSaveState_Saving, + eEventDispatcher_SetSaveState_Count, + eEventDispatcher_SetPauseState_Pause, + eEventDispatcher_SetPauseState_Options, + eEventDispatcher_SetPauseState_Count, + eEventDispatcher_SetGameState_FirstTime, + eEventDispatcher_SetGameState_Play, + eEventDispatcher_SetGameState_LoseChance, + eEventDispatcher_SetGameState_GameOver, + eEventDispatcher_SetGameState_SceneSwitch, + eEventDispatcher_SetGameState_Dead, + eEventDigup, + eEventDispatcher_GameState_Exit, + eEventDispatcher_SetGameState_Exit, + eEventLobMasterShootFromWidget, + eEventDispatcher_SLBack, + eEventDispatcher_SLCancel, + eEventDispatcher_SLRetry, + eEventDispatcher_SLSelectCard, + eEventDispatcher_SLSelectSlot, + eEventDispatcher_SLOkay, + eEventVilHurtBoss, + eEventAttack, + eEventAttackOn, + eEventAttackOff, + eEventDrop, + eEventUIAddChar, + eEventUIDelChar, + eEventUIStringEmpty, + eEventUIStringFull, + eEventUISendStringAsCheat, + eEventUISetMaxChars, + eEventUICheatOK, + eEventUICheatBad, + eEventVilReport_StartingChase, + eEventVilReport_StartingAttack, + eEventVilReport_StartingRetreat, + eEventPreload, + eEventDone, + eEventArcto, + eEventDigupReaction, + eEventDispatcher_StoreCheckPoint, + eEventAnimPlay, + eEventAnimPlayLoop, + eEventAnimStop, + eEventAnimPause, + eEventAnimResume, + eEventAnimTogglePause, + eEventAnimPlayRandom, + eEventAnimPlayMaybe, + eEventSetSpeed, + eEventAccelerate, + eEventMoveToTarget, + eEventSwingerFollow, + eEventImpact, + eEventStartTimer, + eEventFinishedTimer, + eEventUIReset, + eEventSetScaleFactor, + eEventEnterEntity, + eEventExitEntity, + eEventEnterEntityFLAG, + eEventExitEntityFLAG, + eEventDrivenby, + eEventFollowTarget, + eEventFaceTarget, + eEventWatchTarget, + eEventCarChangeLaneRight, + eEventCarChangeLaneLeft, + eEventCarStart, + eEventCarSetSwerveMode, + eEventIncreaseSpeed, + eEventDecreaseSpeed, + eEventStartMoving, + eEventStopMoving, + eEventSwoosh, + eEventTurretDestroyed, + eEventNPCSpeakStop, + eEventStartRumbleEffect, + eEventNavigateTo, + eEventNPCSpeakStart, + eEventNPCAlert, + eEventNPCPatrolDelay, + eEventNPCScrambleActionEnd, + eEventVilFakeChaseOff, + eEventBossMMPushButton, + eEventVilReport_DecayComplete, + eEventVilGuardWidget, + eEventTextureAnimateOn, + eEventTextureAnimateOff, + eEventTextureAnimateToggle, + eEventColorEffectOn, + eEventColorEffectOff, + eEventColorEffectToggle, + eEventSetTextureAnimGroup, + eEventSetTextureAnimSpeed, + eEventTextureAnimateStep, + eEventEmit, + eEventEmitted, + eEventTranslucentOn, + eEventTranslucentOff, + eEventTranslucentToggle, + eEventZipLineEnvDamage, + eEventVilGangTalkOff, + eEventGivePowerUp, + eEventRaceTimerReset, + eEventFireCruiseBubble, + eEventCarSuccessAnimPlay, + eEventCarFailureAnimPlay, + eEventDisableGroupContents, + eEventNPCCharge, + eEventOccludeOn, + eEventOccludeOff, + eEventRaceTimerPause, + eEventRaceTimerResume, + eEventRaceTimerSetBestTime, + eEventRaceTimerWarning1, + eEventRaceTimerWarning2, + eEventRaceTimerWarning3, + eEventRingChallengeStart, + eEventCarStop, + eEventRingChallengeRun, + eEventRingChallengeReset, + eEventRingChallengeSuccess, + eEventRingChallengeFailed, + eEventFormationChanged, + eEventChargeResume, + eEventChargePause, + eEventNPCChargeStop, + eEventNPCChargeCompleted, + eEventFormationChargeStart, + eEventSituationPlayerSuccess, + eEventSituationPlayerFailure, + eEventDispatcher_ShowHud, + eEventDispatcher_HideHud, + eEventDispatcher_FadeOut, + eEventSetRain, + eEventSetSnow, + eEventScriptNoop, + eEventScriptReset, + eEventWaitForInput, + eEventPlayMovie, + eEventCelebrationAnimPlay, + eEventDispatcher_SetGameState_GameStats, + eEventMusicNewSong, + eEventForward, + eEventReverse, + eEventDeprecatedRumbleTest, + eEventDeprecatedRumbleLight, + eEventDeprecatedRumbleMedium, + eEventDeprecatedRumbleHeavy, + eEventDispatcherScreenAdjustON, + eEventDispatcherScreenAdjustOFF, + eEventSetSkyDome, + eEventConnectToChild, + eEventDuploWaveBegin, + eEventDuploWaveComplete, + eEventDuploNPCBorn, + eEventDuploNPCKilled, + eEventDuploExpiredMaxNPC, + eEventDuploPause, + eEventDuploResume, + eEventSetGoo, + eEventNPCScript_ScriptBegin, + eEventNPCScript_ScriptEnd, + eEventNPCScript_ScriptReady, + eEventNPCScript_Halt, + eEventNPCScript_SetPos, + eEventNPCScript_SetDir, + eEventNPCScript_LookNormal, + eEventNPCScript_LookAlert, + eEventNPCScript_FaceWidget, + eEventNPCScript_FaceWidgetDone, + eEventNPCScript_GotoWidget, + eEventNPCScript_GotoWidgetDone, + eEventNPCScript_AttackWidget, + eEventNPCScript_AttackWidgetDone, + eEventNPCScript_FollowWidget, + eEventNPCScript_PlayAnim, + eEventNPCScript_PlayAnimDone, + eEventNPCScript_LeadPlayer, + eEventSetText, + eEventStartConversation, + eEventEndConversation, + eEventSwitch, + eEventAddText, + eEventClearText, + eEventOpenTBox, + eEventCloseTBox, + eEventTalkBox_OnSignal0, + eEventTalkBox_OnSignal1, + eEventTalkBox_OnSignal2, + eEventTalkBox_OnSignal3, + eEventTalkBox_OnSignal4, + eEventTalkBox_OnSignal5, + eEventTalkBox_OnSignal6, + eEventTalkBox_OnSignal7, + eEventTalkBox_OnSignal8, + eEventTalkBox_OnSignal9, + eEventTalkBox_StopWait, + eEventTalkBox_OnStart, + eEventTalkBox_OnStop, + eEventHit_Melee, + eEventHit_BubbleBounce, + eEventHit_BubbleBash, + eEventHit_BubbleBowl, + eEventHit_PatrickSlam, + eEventHit_Throw, + eEventHit_PaddleLeft, + eEventHit_PaddleRight, + eEventTaskBox_Initiate, + eEventTaskBox_SetSuccess, + eEventTaskBox_SetFailure, + eEventTaskBox_OnAccept, + eEventTaskBox_OnDecline, + eEventTaskBox_OnComplete, + eEventGenerateBoulder, + eEventLaunchBoulderAtWidget, + eEventLaunchBoulderAtPoint, + eEventLaunchBoulderAtPlayer, + eEventDuploSuperDuperDone, + eEventDuploDuperIsDoner, + eEventBusStopSwitchChr, + eEventGroupUpdateTogether, + eEventSetUpdateDistance, + eEventTranslLocalX, + eEventTranslLocalY, + eEventTranslLocalZ, + eEventTranslWorldX, + eEventTranslWorldY, + eEventTranslWorldZ, + eEventRotLocalX, + eEventRotLocalY, + eEventRotLocalZ, + eEventRotWorldX, + eEventRotWorldY, + eEventRotWorldZ, + eEventTranslLocalXDone, + eEventTranslLocalYDone, + eEventTranslLocalZDone, + eEventTranslWorldXDone, + eEventTranslWorldYDone, + eEventTranslWorldZDone, + eEventRotLocalXDone, + eEventRotLocalYDone, + eEventRotLocalZDone, + eEventRotWorldXDone, + eEventRotWorldYDone, + eEventRotWorldZDone, + eEventCount1, + eEventCount2, + eEventCount3, + eEventCount4, + eEventCount5, + eEventCount6, + eEventCount7, + eEventCount8, + eEventCount9, + eEventCount10, + eEventCount11, + eEventCount12, + eEventCount13, + eEventCount14, + eEventCount15, + eEventCount16, + eEventCount17, + eEventCount18, + eEventCount19, + eEventCount20, + eEventSetState, + eEventEnterSpongeBob, + eEventEnterPatrick, + eEventEnterSandyUNUSED, + eEventExitSpongeBob, + eEventExitPatrick, + eEventExitSandyUNUSED, + eEventNPCSpecial_PlatformSnap, + eEventNPCSpecial_PlatformFall, + eEventGooSetWarb, + eEventGooSetFreezeDuration, + eEventGooMelt, + eEventSetStateRange, + eEventSetStateDelay, + eEventSetTransitionDelay, + eEventNPCFightOn, + eEventNPCFightOff, + eEventNPCSplineOKOn, + eEventNPCSplineOKOff, + eEventNPCKillQuietly, + eEventHitHead, + eEventHitUpperBody, + eEventHitLeftArm, + eEventHitRightArm, + eEventHitLeftLeg, + eEventHitRightLeg, + eEventHitLowerBody, + eEventGiveCurrLevelSocks, + eEventGiveCurrLevelPickup, + eEventSetCurrLevelSocks, + eEventSetCurrLevelPickup, + eEventTalkBox_OnYes, + eEventTalkBox_OnNo, + eEventHit_Cruise, + eEventDuploKillKids, + eEventTalkBox_OnSignal10, + eEventTalkBox_OnSignal11, + eEventTalkBox_OnSignal12, + eEventTalkBox_OnSignal13, + eEventTalkBox_OnSignal14, + eEventTalkBox_OnSignal15, + eEventTalkBox_OnSignal16, + eEventTalkBox_OnSignal17, + eEventTalkBox_OnSignal18, + eEventTalkBox_OnSignal19, + eEventSpongeballOn, + eEventSpongeballOff, + eEventLaunchShrapnel, + eEventNPCHPIncremented, + eEventNPCHPDecremented, + eEventNPCSetActiveOn, + eEventNPCSetActiveOff, + eEventPlrSwitchCharacter, + eEventLevelBegin, + eEventSceneReset, + eEventSceneEnter, + eEventSituationDestroyedTiki, + eEventSituationDestroyedRobot, + eEventSituationSeeWoodTiki, + eEventSituationSeeLoveyTiki, + eEventSituationSeeShhhTiki, + eEventSituationSeeThunderTiki, + eEventSituationSeeStoneTiki, + eEventSituationSeeFodder, + eEventSituationSeeHammer, + eEventSituationSeeTarTar, + eEventSituationSeeGLove, + eEventSituationSeeMonsoon, + eEventSituationSeeSleepyTime, + eEventSituationSeeArf, + eEventSituationSeeTubelets, + eEventSituationSeeSlick, + eEventSituationSeeKingJellyfish, + eEventSituationSeePrawn, + eEventSituationSeeDutchman, + eEventSituationSeeSandyBossUNUSED, + eEventSituationSeePatrickBoss, + eEventSituationSeeSpongeBobBoss, + eEventSituationSeeRobotPlankton, + eEventUIChangeTexture, + eEventNPCCheerForMe, + eEventFastVisible, + eEventFastInvisible, + eEventZipLineMount, + eEventZipLineDismount, + eEventTarget, + eEventFire, + eEventCameraFXShake, + eEventBulletTime, + eEventThrown, + eEventNPCPatrol, + eEventEnterCruise, + eEventExitCruise, + eEventCruiseFired, + eEventCruiseDied, + eEventCruiseAddLife, + eEventCruiseSetLife, + eEventCruiseResetLife, + eEventCameraCollideOff, + eEventCameraCollideOn, + eEventOnSliding, + eEventOffSliding, + eEventTimerSet, + eEventTimerAdd, + eEventNPCForceConverseStart, + eEventMakeASplash, + eEventCreditsStart, + eEventCreditsStop, + eEventCreditsEnded, + eEventBubbleWipe, + eEventSetLightKit, + eEventSetOpacity, + eEventDispatcher_SetSoundEffect, + eEventScale, + eEventSetReference, + eEventWarpSetWorld, + eEventWarpSetTask, + eEventWarpGo, + eEventSetCount, + eEventGetDashSpeed, + eEventDashTrip, + eEventDashBurst, + eEventDashFast, + eEventDashNormal, + eEventDashSlow, + eEventTakeSocks, + eEventDispatcherAssert, + eEventBorn, + eEventPlatPause, + eEventPlatUnpause, + eEventStoreOptions, + eEventRestoreOptions, + eEventUISetMotion, + eEventUIMotionFinished, + eEventUIMotionLoop, + eEventDestructibleLaunch, + eEventDestructibleRespawn, + eEventKaboomStart, + eEventKaboomStop, + eEventNPCAttack, + eEventNPCDefend, + eEventTrainCarSpeed, + eEventTrainJunctOut1, + eEventTrainJunctOut2, + eEventTrainJunctSwitch, + eEventTrainJunctPassed, + eEventTrainCarDetach, + eEventTrainCarExplode, + eEventNet_InitNetAPI, + eEventNet_UpdateConnection, + eEventNet_UpdateOnlineTask, + eEventNet_UpdateUserList, + eEventNet_CheckForNewContent, + eEventNet_SelectDevice, + eEventNet_SelectContent, + eEventNet_VerifyContent, + eEventNet_RemoveContent, + eEventNet_SelectDeviceAfterRemove, + eEventNet_ConfirmUseContentIdx, + eEventNet_ConfirmNoUseContentIdx, + eEventNet_NoContentInstalled, + eEventNet_NoContentAvailable, + eEventNet_NewContentAvailable, + eEventSceneEnableDraw, + eEventSceneDisableDraw, + eEventLightningStart, + eEventLightningStop, + eEventChangeBossUIStage, + eEventStaticCameraStart, + eEventStaticCameraEnd, + eEventSetCameraStartOrientation, + eEventNMESetMovepointPath, + eEventNMEScareBegin, + eEventNMEScareSkip, + eEventNMESetMovepointGroup, + eEventVentSetStateIdle, + eEventVentSetStateWarn, + eEventVentSetStateDamage, + eEventVentSetStateOff, + eEventWaterhoseStart, + eEventWaterhoseStop, + eEventWaterhoseSetLength, + eEventCarried, + eEventExplode, + eEventJumpTo, + eEventJumpOnSpawn, + eEventPlayerHit, + eEventStartFade, + eEventFadeDownDone, + eEventFadeUpDone, + eEventBounce, + eEventLaunchNPC, + eEventUpgradePowerUp, + eEventBulletStreak, + eEventSetFollowCameraOrientation, + eEventHDRFade, + eEventStart, + eEventSuccess, + eEventFailure, + eEventEnableRestore, + eEventDisableRestore, + eEventNPCSpawn, + eEventSpawnDone, + eEventSpawnedNPCKilled, + eEventSpawnedNPCNoHealth, + eEventSpawnedNPCAllKilled, + eEventSpawnedNPCAllNoHealth, + eEventDashTimerSet, + eEventDashNotOutOfTime, + eEventDashOutOfTime, + eEventForceSceneReset, + eEventNPCActive, + eEventNPCInactive, + eEventDuplicatorActive, + eEventDuplicatorInactive, + eEventDashEnterTunnel, + eEventDashExitTunnel, + eEventStopRumbleEffect, + eEventDashChaseLasersOn, + eEventDashChaseLasersOff, + eEventJumpRandomOnSpawn, + eEventHit_Cartwheel, + eEventUIVisible_FocusOn_Select, + eEventUIFocusOff_Unselect_Invisible, + eEventCopyReference, + eEventUIMotionFinishedIn, + eEventUIMotionFinishedOut, + eEventUISignalActivateScreen, + eEventUISignalDeactivateScreen, + eEventUISignalActivatedScreen, + eEventUISignalSwitchScreens, + eEventUISignalStartFadeOut, + eEventUISignalStartFadeIn, + eEventUISignalScreenMotionInDone, + eEventUISignalScreenMotionOutDone, + eEventUISignalMainBoxInDone, + eEventUISignalMainBoxOutDone, + eEventUIResetMotion, + eEventUIEnableHDR, + eEventUIDisableHDR, + eEventUIBrighten, + eEventUIUnbrighten, + eEventUISignalDeactivatedScreen, + eEventNPCDetectAlways, + eEventNPCDetectNever, + eEventNPCDetectNormal, + eEventNPCFightDefault, + eEventCameraCollidePartial, + eEventMusicTempSong, + eEvaluateCounterValue, + eEventCount0, + eEventRotToAbsoluteX, + eEventRotToAbsoluteY, + eEventRotToAbsoluteZ, + eEventTriggerAnim, + eEventTriggeredAnimDone, + eEventUISignalMore, + eEventUISignalNoMore, + eEventUISignalLess, + eEventUISignalNoLess, + eEventUISignalUp, + eEventUISignalDown, + eEventUISignalSyncToCurrent, + eEventUISignalEffect, + eEventFreezePlayer, + eEventUnfreezePlayer, + eEventUISignalMapStart, + eEventUISignalMapEnd, + eEventTransToAbsoluteX, + eEventTransToAbsoluteY, + eEventTransToAbsoluteZ, + eEventJSPVisibilityIncrement, + eEventJSPVisibilityDecrement, + eEventEnterCamera, + eEventExitCamera, + eEventPadPressE, + eEventSetDashJumpParameters, + eEventViperFacePlayer, + eEventViperFaceMovement, + eEventRequestStart, + eEventUIAutoMenuRun, + eEventUIAutoMenuRunUp, + eEventUIAutoMenuRunDown, + eEventUIAutoMenuRunLeft, + eEventUIAutoMenuRunRight, + eEventIncrementSuccess, + eEventDecrementSuccess, + eEventIncrementFailed, + eEventDecrementFailed, + eEventMusicTempSongStop, + eEventNPCScrambleActionBegin, + eEventNPCScrambleAlert, + eEventNPCSetTurretAttackRadius, + eEventGooFreezeStart, + eEventGooMeltStart, + eEventNPCNotice, + eEventBossStageSet, + eEventBossStageBegan, + eEventBossStageEnded, + eEventBossStageBeganA, + eEventBossStageEndedA, + eEventBossStageBeganB, + eEventBossStageEndedB, + eEventBossStageBeganC, + eEventBossStageEndedC, + eEventVisibilityCullOn, + eEventVisibilityCullOff, + eEventRBandCameraStart, + eEventRBandCameraEnd, + eEventMindyStart, + eEventMindyEnd, + eEventFlamethrowerStart, + eEventFlamethrowerStop, + eEventFlamethrowerSetLength, + eEventNPCTakeNoDamageOn, + eEventNPCTakeNoDamageOff, + eEventStaticCameraStartFOVFilter, + eEventStaticCameraRestoreFOV, + eEventUIXboxDemoExitToLauncher, + eEventSpawn, + eEventSpawned, + eEventCreditsSetDest, + eEventAllowAttractMode, + eEventDisallowAttractMode, + eEventRocketAttack, + eEventCollisionReset, + eEventAutoSave, + eEventOpenBonus, + eEventFlagLevel, + eEventLevelEnd, + eEventNet_GetLocalContentDevice, + eEventDispatcher_PauseGame_Safe, + eEventOverrideFreqency, + eEventResetFrequency, + eEventSetShotDelay, + eEventSetShotsInGroup, + eEventDispatcher_UserSelectYes, + eEventDispatcher_UserSelectNo, + eEventDispatcher_UserSelectBack, + eEventLaunchFireWorks, + eEventDispatcher_UserSelectionReset, + eEventSetAsBounceBack, + eEventUIResetUnlockables, + eEventUISysMessageWaitResponse, + eEventUISysMessageWaitConfirm, + eEventUISysMessageConfirm, + eEventUISysMessageAccept, + eEventUISysMessageDecline, + eEventSetAsBounceBack_Cancel, + eEventDispatcher_PauseGame, + eEventPattyWagonStartEngine, + eEventPattyWagonStopEngine, + eEventSpawnBubblesOn, + eEventSpawnBubblesOff, + eEventNet_XBLiveToggleSignIn, + eEventNet_XBLiveManageFriends, + eEventApplyOnResetOn, + eEventApplyOnResetOff, + eEventSnapTo, + eEventThrow, + eEventFirstZipLine, + eEventFirstLedgeGrab, + eEventFirstIncredimeterPickup, + eEventUISparkTrail, + eEventUIGetBattleScenes, + eEventUIBattleScenesAvailable, + eEventUIBattleScenesNotAvailable, + eEventNet_XBLiveToggleAppearOnline, + eEventSys_ReturnPrevScreen, + eEventSys_Nope, + eEventDispatcher_SubtitlesOn, + eEventDispatcher_SubtitlesOff, + eEventUISetBoxMapping, + eEventTBoxPlayerEjected, + eEventDamagePlayer, + eEventFirstHealthPickup, + eEventTokenPickupComplete, + eEventDispatcher_LoadSavePromptDead, + eEventUIFlipVisibility, + eEventNet_XBLiveRebootToDashboard, + eEventFirstPowerupPoint, + eEventCount +}; + +enum en_npcmsg +{ + NME_MID_NONE, + NME_MID_SYSEVENT, + NME_MID_RESPAWN, + NME_MID_DAMAGE, + NME_MID_EXPLOSION, + NME_MID_BUNNYHOP, + NME_MID_NEWDEST, + NME_MID_DTRON_NMEEMIT, + NME_MID_DTRON_NMEAVAIL, + NME_MID_DTRON_ISDEAD, + NME_MID_CHAT_REQUEST, + NME_MID_CHAT_DECLINE, + NME_MID_CHAT_ACCEPT, + NME_MID_CHAT_DONE, + NME_MID_CHAT_ABORT, + NME_MID_TALKSTART, + NME_MID_TALKON, + NME_MID_TALKOFF, + NME_MID_SAWPLYR, + NME_MID_NEEDMEDIC, + NME_MID_UNDERATTACK, + NME_MID_NMEDIED, + NME_MID_PLYRSPATULA, + NME_MID_BECOMESCARED, + NME_MID_NOLONGERSCARED, + NME_MID_CELEBRATE, + NME_MID_STUN, + NME_MID_SCRIPTBEGIN, + NME_MID_SCRIPTEND, + NME_MID_SCRIPTHALT, + NME_MID_NOMORE, + NME_MID_FORCE = 0x7fffffff +}; + +enum en_msgdata +{ + NME_MDAT_BLANK, + NME_MDAT_SYSEVENT, + NME_MDAT_BLAST, + NME_MDAT_CHAT, + NME_MDAT_SPAWN, + NME_MDAT_TARGET, + NME_MDAT_DAMAGE, + NME_MDAT_STUN, + NME_MDAT_SCRIPT, + NME_MDAT_MOUNT, + NME_MDAT_AREANOTIFY, + NME_MDAT_NOMORE, + NME_MDAT_FORCE = 0x7fffffff +}; + +enum en_carystat +{ + zNMECARRY_NONE, + zNMECARRY_PICKUP, + zNMECARRY_TWIRL, + zNMECARRY_THROW, + zNMECARRY_ATTEMPTPICKUP, + zNMECARRY_FORCEINT = 0x7fffffff +}; + +#endif diff --git a/src/SB/Core/x/xMath.h b/src/SB/Core/x/xMath.h new file mode 100644 index 0000000..9928922 --- /dev/null +++ b/src/SB/Core/x/xMath.h @@ -0,0 +1,113 @@ +#ifndef XMATH_H +#define XMATH_H + +#include "xMem.h" + +struct xVec2 +{ + F32 x; + F32 y; +}; + +struct xVec3 +{ + union + { + RwV3d m_RwV3d; + F32 x; + }; + F32 y; + F32 z; + F32 a[3]; +}; + +struct xBox +{ + xVec3 upper; + xVec3 lower; +}; + +struct xQuat +{ + xVec3 v; + F32 s; +}; + +struct _class_20 +{ + xVec3* verts; +}; + +struct xMat3x3 +{ + xVec3 right; + S32 flags; + xVec3 up; + U32 pad1; + xVec3 at; + U32 pad2; +}; + +struct xMat4x3 : xMat3x3 +{ + xVec3 pos; + U32 pad3; +}; + +struct xRot +{ + xVec3 axis; + F32 angle; +}; + +struct xCylinder +{ + xVec3 center; + F32 r; + F32 h; +}; + +struct xSphere +{ + xVec3 center; + F32 r; +}; + +struct xCoef +{ + F32 a[4]; +}; + +struct xCoef3 +{ + xCoef x; + xCoef y; + xCoef z; +}; + +struct xSpline3 +{ + U16 type; + U16 flags; + U32 N; + U32 allocN; + xVec3* points; + F32* time; + xVec3* p12; + xVec3* bctrl; + F32* knot; + xCoef3* coef; + U32 arcSample; + F32* arcLength; +}; + +struct xParabola +{ + xVec3 initPos; + xVec3 initVel; + F32 gravity; + F32 minTime; + F32 maxTime; +}; + +#endif diff --git a/src/SB/Core/x/xMem.h b/src/SB/Core/x/xMem.h new file mode 100644 index 0000000..9ae262e --- /dev/null +++ b/src/SB/Core/x/xMem.h @@ -0,0 +1,48 @@ +#ifndef XMEM_H +#define XMEM_H + +#include +#include +#include +#include + +struct xBase; + +struct RyzMemGrow +{ + S32 flg_grow; + S32 amt; + signed char* ptr; + xBase* user; + S32 amt_last; + signed char* ptr_last; + xBase* user_last; +}; + +struct RyzMemData +{ + void __dl(); + void* __nw(U32 amt, RyzMemGrow* growCtxt); +}; + +struct xFactoryInst : RyzMemData +{ + S32 itemType; + xFactoryInst* nextprod; + xFactoryInst* prevprod; +}; + +struct xMemPool +{ + void* FreeList; + U16 NextOffset; + U16 Flags; + void* UsedList; + void (*InitCB)(xMemPool*, void*); + void* Buffer; + U16 Size; + U16 NumRealloc; + U32 Total; +}; + +#endif diff --git a/src/SB/Core/x/xModel.h b/src/SB/Core/x/xModel.h new file mode 100644 index 0000000..f02d33f --- /dev/null +++ b/src/SB/Core/x/xModel.h @@ -0,0 +1,348 @@ +#ifndef XMODEL_H +#define XMODEL_H + +#include +#include +#include +#include +#include "xMath.h" +#include "xSound.h" + +struct xLinkAsset +{ + U16 srcEvent; + U16 dstEvent; + U32 dstAssetID; + F32 param[4]; + U32 paramWidgetAssetID; + U32 chkAssetID; +}; + +struct xBase +{ + U32 id; + U8 baseType; + U8 linkCount; + U16 baseFlags; + xLinkAsset* link; + void (*eventFunc)(xBase*, xBase*, U32, F32*, xBase*, U32); +}; + +struct xBaseAsset +{ + U32 id; + U8 baseType; + U8 linkCount; + U16 baseFlags; +}; + +struct xMovePointAsset : xBaseAsset +{ + xVec3 pos; + U16 wt; + U8 on; + U8 bezIndex; + U8 flg_props; + U8 pad; + U16 numPoints; + F32 delay; + F32 zoneRadius; + F32 arenaRadius; +}; + +struct xMovePoint : xBase +{ + xMovePointAsset* asset; + xVec3* pos; + xMovePoint** nodes; + xMovePoint* prev; + U32 node_wt_sum; + U8 on; + U8 pad[3]; + F32 delay; + xSpline3* spl; +}; + +struct xAnimPhysicsData +{ + xVec3* tranTable; + F32* yawTable; + S32 tranCount; +}; + +struct xAnimFile +{ + xAnimFile* Next; + unsigned char* Name; + U32 ID; + U32 FileFlags; + F32 Duration; + F32 TimeOffset; + U16 BoneCount; + U8 NumAnims[2]; + void** RawData; + xAnimPhysicsData* PhysicsData; +}; + +struct xAnimSingle; +struct xAnimActiveEffect; + +struct xAnimEffect +{ + xAnimEffect* Next; + U16 Flags; + U16 Probability; + F32 StartTime; + F32 EndTime; + U32 (*Callback)(U32, xAnimActiveEffect*, xAnimSingle*, void*); +}; + +struct xAnimActiveEffect +{ + xAnimEffect* Effect; + union + { + U32 Handle; + iSndHandle SndHandle; + }; +}; + +struct xAnimState; + +struct xAnimTransition +{ + xAnimTransition* Next; + xAnimState* Dest; + U32 (*Conditional)(xAnimTransition*, xAnimSingle*, void*); + U32 (*Callback)(xAnimTransition*, xAnimSingle*, void*); + U32 Flags; + U32 UserFlags; + F32 SrcTime; + F32 DestTime; + U16 Priority; + U16 QueuePriority; + F32 BlendRecip; + U16* BlendOffset; +}; + +struct xAnimTransitionList +{ + xAnimTransitionList* Next; + xAnimTransition* T; +}; + +struct xAnimMultiFileBase +{ + U32 Count; +}; + +struct xAnimMultiFileEntry +{ + U32 ID; + xAnimFile* File; +}; + +struct xAnimMultiFile : xAnimMultiFileBase +{ + xAnimMultiFileEntry Files[1]; +}; + +struct xAnimPlay; + +struct xAnimState +{ + xAnimState* Next; + unsigned char* Name; + U32 ID; + U32 Flags; + U32 UserFlags; + F32 Speed; + xAnimFile* Data; + xAnimEffect* Effects; + xAnimTransitionList* Default; + xAnimTransitionList* List; + F32* BoneBlend; + F32* TimeSnap; + F32 FadeRecip; + U16* FadeOffset; + void* CallbackData; + xAnimMultiFile* MultiFile; + void (*BeforeEnter)(xAnimPlay*, xAnimState*, void*); + void (*StateCallback)(xAnimState*, xAnimSingle*, void*); + void (*BeforeAnimMatrices)(xAnimPlay*, xQuat*, xVec3*, S32); +}; + +struct xAnimSingle +{ + U32 SingleFlags; + xAnimState* State; + F32 Time; + F32 CurrentSpeed; + F32 BilinearLerp[2]; + xAnimEffect* Effect; + U32 ActiveCount; + F32 LastTime; + xAnimActiveEffect* ActiveList; + xAnimPlay* Play; + xAnimTransition* Sync; + xAnimTransition* Tran; + xAnimSingle* Blend; + F32 BlendFactor; + xVec3 PhysDisp; + F32 YawDisp; + U32 pad[1]; +}; + +struct xAnimTable +{ + signed char* Name; + xAnimTransition* TransitionList; + xAnimState* StateList; + U32 AnimIndex; + U32 MorphIndex; + U32 UserFlags; +}; + +struct xModelAssetParam +{ + U32 HashID; + U8 WordLength; + U8 String[3]; +}; + +struct xModelAssetInfo +{ + U32 Magic; + U32 NumModelInst; + U32 AnimTableID; + U32 CombatID; + U32 BrainID; +}; + +struct xModelInstance; + +struct xModelPool +{ + xModelPool* Next; + U32 NumMatrices; + xModelInstance* List; +}; + +struct xModelPipe +{ + U32 Flags; + U8 Layer; + U8 AlphaDiscard; + U16 PipePad; +}; + +struct xEnt; + +struct xSurface : xBase +{ + U32 idx; + U32 type; + union + { + U32 mat_idx; + xEnt* ent; + void* obj; + }; + F32 friction; + U8 state; + U8 pad[3]; + void* moprops; +}; + +struct xModelBucket +{ + RpAtomic* Data; + RpAtomic* OriginalData; + union + { + xModelInstance* List; + xModelBucket** BackRef; + }; + S32 ClipFlags; + xModelPipe Pipe; +}; + +struct xLightKitLight +{ + U32 type; + RwRGBAReal color; + F32 matrix[16]; + F32 radius; + F32 angle; + RpLight* platLight; +}; + +struct xLightKit +{ + U32 tagID; + U32 groupID; + U32 lightCount; + xLightKitLight* lightList; +}; + +struct xModelInstance +{ + xModelInstance* Next; + xModelInstance* Parent; + xModelPool* Pool; + xAnimPlay* Anim; + RpAtomic* Data; + xModelPipe Pipe; + U8 InFrustum; + U8 TrueClip; + S8 sortBias; + U8 modelpad; + F32 RedMultiplier; + F32 GreenMultiplier; + F32 BlueMultiplier; + F32 Alpha; + F32 FadeStart; + F32 FadeEnd; + xSurface* Surf; + xModelBucket** Bucket; + xModelInstance* BucketNext; + xLightKit* LightKit; + void* Object; + U16 Flags; + U8 BoneCount; + U8 BoneIndex; + U8* BoneRemap; + RwMatrixTag* Mat; + xVec3 Scale; + xBox animBound; + xBox combinedAnimBound; + U32 modelID; + U32 shadowID; + RpAtomic* shadowmapAtomic; + _class_20 anim_coll; +}; + +struct xModelTag +{ + xVec3 v; + U32 matidx; + F32 wt[4]; +}; + +struct activity_data_1 +{ +}; + +struct xModelBlur +{ + activity_data_1* activity; + + void render_enable(U8 enabled); + void render_all(); + void update_all(F32 dt); + void reset_all(); + void scene_exit(); + void scene_enter(); +}; + +#endif diff --git a/src/SB/Core/x/xNME.h b/src/SB/Core/x/xNME.h new file mode 100644 index 0000000..9f7e7a2 --- /dev/null +++ b/src/SB/Core/x/xNME.h @@ -0,0 +1,613 @@ +#ifndef XNME_H +#define XNME_H + +#include "xEnt.h" +#include "xModel.h" +#include "xBehaviour.h" +#include "xFrag.h" +#include "xPar.h" +#include "xMail.h" +#include "xSound.h" + +enum en_allow +{ + ALLOW_NEVER, + ALLOW_NORMAL, + ALLOW_ALWAYS, + ALLOW_NOMORE +}; + +enum en_nmesimp +{ + NME_SIMP_HAPPY, + NME_SIMP_DEAD, + NME_SIMP_IGNORANT, + NME_SIMP_WARYDETECT, + NME_SIMP_WARY, + NME_SIMP_WORRIED, + NME_SIMP_CONFUSED, + NME_SIMP_BIGBULLY, + NPC_STAT_NOMORE +}; + +enum en_haztyp +{ + HAZ_TYP_UNKNOWN, + HAZ_TYP_EXPLODE, + HAZ_TYP_IMPACT, + HAZ_TYP_IMPACTWET, + HAZ_TYP_IMPACTBOOM, + HAZ_TYP_DAZED, + HAZ_TYP_SPAWNBALL_XX, + HAZ_TYP_SPAWNBALL_GG, + HAZ_TYP_SPAWNBALL_TR, + HAZ_TYP_SPAWNBALL_PT, + HAZ_TYP_SPAWNGROW, + HAZ_TYP_BUCKOBOOM_V1, + HAZ_TYP_TIKIBOOM, + HAZ_TYP_SLAMWAVE_V1, + HAZ_TYP_SLAMWAVE_V2, + HAZ_TYP_SLAMWAVE_V3, + HAZ_TYP_FLING_V1, + HAZ_TYP_FLING_V2, + HAZ_TYP_FLING_V3, + HAZ_TYP_FLING_FROGFISH, + HAZ_TYP_SPITPUDDLE_V1, + HAZ_TYP_SPITPUDDLE_V2, + HAZ_TYP_SPITPUDDLE_V3, + HAZ_TYP_ICECREAMSPLAT, + HAZ_TYP_SPITSTEAM, + HAZ_TYP_SPITSPLASH, + HAZ_TYP_POPPER_V1, + HAZ_TYP_POPPER_V2, + HAZ_TYP_POPPER_V3, + HAZ_TYP_MERVBOMB_V1, + HAZ_TYP_MERVBOMB_V2, + HAZ_TYP_MERVBOMB_V3, + HAZ_TYP_MERVLET_V1, + HAZ_TYP_MERVLET_V2, + HAZ_TYP_MERVLET_V3, + HAZ_TYP_ZAPBALL_V1, + HAZ_TYP_ZAPBALL_V2, + HAZ_TYP_ZAPBOOM_V1, + HAZ_TYP_ZAPBOOM_V2, + HAZ_TYP_TURBALL_V1, + HAZ_TYP_TURBALL_V2, + HAZ_TYP_TURBALL_V3, + HAZ_TYP_TURBOOM, + HAZ_TYP_GOLFBALL, + HAZ_TYP_GOLFBOOM, + HAZ_TYP_GOLFJUNK_A, + HAZ_TYP_GOLFJUNK_B, + HAZ_TYP_GOLFJUNK_C, + HAZ_TYP_GOLFJUNK_D, + HAZ_TYP_GOLFJUNK_E, + HAZ_TYP_DENNIS_KNIFE, + HAZ_TYP_DENNIS_KNIFEBOOM, + HAZ_TYP_TUNEBORN, + HAZ_TYP_TUNEBANG, + HAZ_TYP_TUNEBOOM, + HAZ_TYP_TUNEFLYT, + HAZ_TYP_SWIMWAKE, + HAZ_TYP_BOWWAVE, + HAZ_TYP_SPLASH_RING, + HAZ_TYP_SPLISH_DROP, + HAZ_TYP_VISSPLASH_WAVE, + HAZ_TYP_VISSPLASH_DROP, + HAZ_TYP_VISSPLASH_WATER, + HAZ_TYP_VISSPLASH_CHOC, + HAZ_TYP_VISSPLASH_LAVA, + HAZ_TYP_VISSPLASH_BILE, + HAZ_TYP_VISSPLASH_OIL, + HAZ_TYP_VISSPLASH_SAUCE, + HAZ_TYP_VISSPLASH_TOXIC, + HAZ_TYP_REFLECT_V1, + HAZ_TYP_PLYRBANG_V1, + HAZ_TYP_POWERUP_EXPLOSION_V1, + HAZ_TYP_NOMORE, + HAZ_TYP_FORCE = 0x7fffffff +}; + +enum en_npcdmg +{ + DMGTYP_UNDECIDED, + DMGTYP_ABOVE, + DMGTYP_BELOW, + DMGTYP_SIDE, + DMGTYP_INSTAKILL, + DMGTYP_WOUNDEVENT, + DMGTYP_KILLEVENT, + DMGTYP_NMEATTACK, + DMGTYP_HITBYTOSS, + DMGTYP_NMEKNOCKED, + DMGTYP_ROPE, + DMGTYP_CRUISEBUBBLE, + DMGTYP_FRIENDLYFIRE, + DMGTYP_REFLECTED, + DMGTYP_BOULDER, + DMGTYP_BUBBOWL, + DMGTYP_THUNDER_TIKI_EXPLOSION, + DMGTYP_DAMAGE_SURFACE, + DMGTYP_BUNGEED, + DMGTYP_SURFACE, + DMGTYP_CARTWHEEL, + DMGTYP_CARSMASH, + DMGTYP_SLIDE, + DMGTYP_EXPLOSION, + DMGTYP_BBOWLZAP, + DMGTYP_NOMORE, + DMGTYP_FORCEINT = 0x7fffffff +}; + +enum en_plyrpup +{ + ePowerupLevelDisabled, + ePowerupLevelNormal, + ePowerupLevelLevelMax, + ePowerupLevelHealthMax, + ePowerupLevelCount +}; + +enum en_denstage +{ + DEN_STAGE_UNKNOWN, + DEN_STAGE_INTRO, + DEN_STAGE_A, + DEN_STAGE_B, + DEN_STAGE_C, + DEN_STAGE_OUTRO, + DEN_STAGE_NOMORE +}; + +enum en_dbcmode +{ + DEN_CAMMOD_UNKNOWN, + DEN_CAMMOD_NORMAL, + DEN_CAMMOD_BINARY, + DEN_CAMMOD_NOMORE +}; + +enum en_vis +{ + VIS_PREPARE_TO_DIE, + VIS_HORROR_FLIK, + VIS_OH_DEAR_GAHD, + VIS_GET_BACK_HERE, + VIS_I_SEEE_YOUUU, + VIS_GREY_AND_FOGGY, + VIS_LIKE_A_BIRDIE, + VIS_EARTHWORM_JIM, + VIS_NOBODY_AROUND, + VIS_NOMORE +}; + +enum en_dtbcmode +{ + DENT_CAMMOD_UNKNOWN, + DENT_CAMMOD_NORMAL, + DENT_CAMMOD_BINARY, + DENT_CAMMOD_NOMORE +}; + +enum en_dentstage +{ + DENT_STAGE_UNKNOWN, + DENT_STAGE_INTRO, + DENT_STAGE_A, + DENT_STAGE_B, + DENT_STAGE_C, + DENT_STAGE_OUTRO, + DENT_STAGE_NOMORE +}; + +struct xGroupAsset : xBaseAsset +{ + U16 itemCount; + U16 groupFlags; +}; + +struct xGroup : xBase // Move after filling in more headers +{ + xGroupAsset* asset; + xBase** item; + U32 last_index; + S32 flg_group; +}; + +struct OriginalBackupData +{ + struct + { + S32 flg_enableWander : 1; + S32 flg_enablePatrol : 1; + S32 flg_enableDetect : 1; + S32 flg_activeOn : 1; + S32 flg_takeNoDamage : 1; + S32 flg_unused : 27; + }; + union + { + en_allow overrideDetect; + S32 alignmeproperly; + }; + union + { + en_allow overrideAttack; + S32 alignmeproperlyToo; + }; +}; + +struct Restore +{ + U8 chkby; + U8 penby; + U8 padpad[2]; + union + { + en_npcgol gid_compare; + S32 gid_COMPARE; + }; +}; + +struct NMERuntime +{ + struct + { + S32 flg_enableWander : 1; + S32 flg_enablePatrol : 1; + S32 flg_enableDetect : 1; + S32 flg_activeOn : 1; + S32 flg_takeNoDamage : 1; + S32 flg_unused : 27; + }; + union + { + en_allow overrideDetect; + S32 alignmeproperly; + }; + union + { + en_allow overrideAttack; + S32 alignmeproperlyToo; + }; + OriginalBackupData orig; + Restore restore; +}; + +struct zNMEDriver +{ + xEnt* ent_driver; + F32 tym_mount; + xMat4x3 mat_parLast; + xMat4x3 mat_ownerLast; + struct + { + S32 flg_inContact : 1; + S32 flg_matchOrient : 1; + S32 flg_unused : 30; + }; + + void WheelTurnsYou_C(xMat4x3* mat_owner); + void ReviewCollide(xEntCollis* npccol); +}; + +struct zNMECommon; + +struct zMovePoint : xMovePoint +{ +}; + +struct zNMENavNet +{ + zMovePoint* nav_past; + zMovePoint* nav_curr; + zMovePoint* nav_dest; + zMovePoint* nav_lead; + xSpline3* spl_mvptspline; + F32 len_mvptspline; + F32 dst_curspline; + zNMECommon* nme_owner; + + S32 MvptCycle(); +}; + +struct zNMESoundTable +{ + iSndGroupHandle sndGroupHandle[10]; + unsigned char* assetNames[10]; + F32 timer[10]; + F32 time[10]; + S32 flags[10]; +}; + +struct xDynAsset : xBaseAsset +{ + U32 type; + U16 version; + U16 handle; +}; + +struct zNMEAsset : xDynAsset +{ + xEntAsset ent_asset; +}; + +struct Damage_1 +{ + F32 tym_invuln; +}; + +struct Physics +{ + F32 acc_grav; + F32 spd_maxFall; +}; + +struct Movement_1 +{ + F32 spd_move; + F32 acc_move; + F32 dst_deviant; + F32 spd_turnrate; +}; + +struct NMECfgCommon +{ + Damage_1 damage; + Physics physics; + Movement_1 movement; +}; + +struct SimpShadParm +{ + F32 rad_shadow; + unsigned char* nam_shadowTexture; + RwRaster* rast_shadow; +}; + +struct FullShadParm +{ + S32 tobeDetermined; +}; + +struct ShadowRadii +{ + F32 rad_noShadow; + F32 rad_complexShadow; +}; + +struct NMEShadParms +{ + SimpShadParm simpshad; + FullShadParm fullshad; + ShadowRadii shadrad; +}; + +struct zNMEArena +{ + S32 flg_arena; + xVec3 pos_arena; + F32 rad_arena; + zMovePoint* nav_arena; + zMovePoint* nav_refer_dest; + zMovePoint* nav_refer_curr; + + zMovePoint* NextBestNav(zMovePoint* nav_from); + S32 Cycle(zNMECommon* npc, S32 peek); +}; + +struct NMESysEvent +{ + S32 doLinkEvents; + S32 handled; + xBase* from; + xBase* to; + union + { + U32 toEvent; + en_xEventTags toEvent_asEnum; + }; + F32 toParam[4]; + xBase* toParamWidget; + U32 toParamWidgetID; +}; + +struct NMEBlastInfo +{ + xVec3 pos_blast; + F32 rad_blast; + F32 spd_expand; +}; + +struct NMEChatInfo +{ + xVec3 pos_chat; + F32 tym_chat; +}; + +struct NMESpawnInfo +{ + xVec3 pos_spawn; + zMovePoint* nav_firstMovepoint; + zMovePoint* nav_spawnReference; + S32 spawnSuccess; +}; + +struct NMETargetInfo +{ + xBase* bas_tgt; + xVec3 pos_tgt; +}; + +struct NMEDamageInfo +{ + en_npcdmg dmg_type; + xBase* dmg_from; + xVec3 vec_dmghit; + S32 amt_damage; + union + { + S32 fac_powerup; + en_plyrpup pup_player; + }; +}; + +struct NMEStunInfo +{ + F32 tym_stuntime; + en_carystat carrystate; + S32 allowStun; +}; + +struct NMEScriptInfo +{ + U32 aid_playanim; +}; + +struct NMEMountInfo +{ + xEnt* ent_toMount; + xCollis* col_forMount; +}; + +struct NMEDestInfo +{ + xVec3 pos_there; + zMovePoint* nav_there; +}; + +struct NMEAreaInfo +{ + zNMECommon* npc_origin; + xVec3 pos_origin; +}; + +struct NMEMsg +{ + en_npcmsg msgid; + U32 sendto; + U32 from; + en_msgdata infotype; + union + { + NMESysEvent sysevent; + NMEBlastInfo blastarea; + NMEChatInfo chatter; + NMESpawnInfo spawning; + NMETargetInfo target; + NMEDamageInfo dmgdata; + NMEStunInfo stundata; + NMEScriptInfo scriptdata; + NMEMountInfo mountdata; + NMEDestInfo destdata; + NMEAreaInfo areadata; + }; + void* attached; + NMEMsg* next; + F32 tmr_delay; +}; + +struct Health_3 +{ + S32 pts_healthMax; +}; + +struct Ranges_2 +{ + F32 rad_tooclose[2]; + F32 rad_lob; + F32 rad_lobgrey; + F32 rad_aware; + F32 rad_awaregrey; +}; + +struct Attack_3 +{ + F32 spd_proj; + S32 num_salvo; + F32 tym_shoot; + F32 dst_spreadHorz; +}; + +struct Battle_6 +{ + F32 tym_reload; + F32 tym_leapDelay; + S32 num_atakPerLeap; +}; + +struct NMECfgDennis +{ + Health_3 health; + Ranges_2 ranges; + Attack_3 attack; + Battle_6 battle; +}; + +struct DennisLetMeKnow : xPSYNote +{ +}; + +// DenTooMeter : BarMeter FIX LATER +struct DenTooMeter +{ + U8 lastPaused; + //TextureScroller denTooTexureScroller; FIX LATER + + void update(); + void setup(); + void* ct(); +}; + +struct Health_8 +{ + S32 pts_healthMax; +}; + +struct Ranges_5 +{ + F32 rad_tooclose; + F32 rad_lob; + F32 rad_lobgrey; + F32 rad_aware; + F32 rad_awaregrey; +}; + +struct Attack_0 +{ +}; + +struct ThrowSide +{ + F32 spd_proj; + S32 num_salvo; + F32 dst_spreadHorz; +}; + +struct ThrowToes +{ + F32 spd_proj; + S32 num_salvo; + F32 dst_nearTgt; + F32 dst_farTgt; + F32 hyt_elevate; +}; + +struct Battle_2 +{ + F32 tym_reload; + F32 tym_leapDelay; + S32 num_atakPerLeap; +}; + +struct NMECfgDenToo +{ + Health_8 health; + Ranges_5 ranges; + Attack_0 attack; + ThrowSide throwSide; + ThrowToes throwToes; + Battle_2 battle; +}; + +#endif diff --git a/src/SB/Core/x/xPar.h b/src/SB/Core/x/xPar.h new file mode 100644 index 0000000..3cee0af --- /dev/null +++ b/src/SB/Core/x/xPar.h @@ -0,0 +1,176 @@ +#ifndef XPAR_H +#define XPAR_H + +#include "xMath.h" +#include "xEnt.h" + +struct xPECircle +{ + F32 radius; + F32 deflection; + xVec3 dir; +}; + +struct xPESphere +{ + F32 radius; +}; + +struct xPERect +{ + F32 x_len; + F32 z_len; +}; + +struct xPELine +{ + xVec3 pos1; + xVec3 pos2; + F32 radius; +}; + +struct xPEVolume +{ + U32 emit_volumeID; +}; + +struct xPEOffsetPoint +{ + xVec3 offset; +}; + +struct xPEVCyl +{ + F32 height; + F32 radius; + F32 deflection; +}; + +struct xPEEntBone +{ + U8 flags; + U8 type; + U8 bone; + U8 pad1; + xVec3 offset; + F32 radius; + F32 deflection; +}; + +struct xPEEntBound +{ + U8 flags; + U8 type; + U8 pad1; + U8 pad2; + F32 expand; + F32 deflection; +}; + +struct xParEmitterAsset : xBaseAsset +{ + U8 emit_flags; + U8 emit_type; + U16 pad; + U32 propID; + union + { + xPECircle e_circle; + xPESphere e_sphere; + xPERect e_rect; + xPELine e_line; + xPEVolume e_volume; + xPEOffsetPoint e_offsetp; + xPEVCyl e_vcyl; + xPEEntBone e_entbone; + xPEEntBound e_entbound; + }; + U32 attachToID; + xVec3 pos; + xVec3 vel; + F32 vel_angle_variation; + U32 cull_mode; + F32 cull_dist_sqr; +}; + +struct xParGroup +{ +}; + +struct xParInterp +{ + F32 val[2]; + U32 interp; + F32 freq; + F32 oofreq; +}; + +struct xParEmitterPropsAsset : xBaseAsset +{ + U32 parSysID; + union + { + xParInterp rate; + xParInterp value[1]; + }; + xParInterp life; + xParInterp size_birth; + xParInterp size_death; + xParInterp color_birth[4]; + xParInterp color_death[4]; + xParInterp vel_scale; + xParInterp vel_angle; + xVec3 vel; + U32 emit_limit; + F32 emit_limit_reset_time; +}; + +struct xParEmitterCustomSettings : xParEmitterPropsAsset +{ + U32 custom_flags; + U32 attachToID; + xVec3 pos; + xVec3 last_emit_position; + xVec3 vel; + xVec3 last_emit_velocity; + F32 vel_angle_variation; + U8 rot[3]; + U8 padding; + F32 radius; + F32 emit_interval_current; + xBase* emit_volume; +}; + +struct xParSys +{ +}; + +struct xParEmitter : xBase +{ + xParEmitterAsset* tasset; + xParGroup* group; + xParEmitterPropsAsset* prop; + U8 rate_mode; + xVec3 last_emit_position; + xVec3 last_emit_velocity; + F32 rate; + F32 rate_time; + F32 rate_fraction; + F32 rate_fraction_cull; + U8 emit_flags; + U8 emit_pad[3]; + U8 rot[3]; + xModelTag tag; + F32 oocull_distance_sqr; + F32 distance_to_cull_sqr; + void* attachTo; + xParSys* parSys; + xBase* emit_volume; + xVec3 last_attach_loc; +}; + +struct zParEmitter : xParEmitter +{ +}; + +#endif diff --git a/src/SB/Core/x/xPlayer.h b/src/SB/Core/x/xPlayer.h new file mode 100644 index 0000000..fb908fc --- /dev/null +++ b/src/SB/Core/x/xPlayer.h @@ -0,0 +1,30 @@ +#ifndef XPLAYER_H +#define XPLAYER_H + +#include "xEnt.h" + +struct zEnt : xEnt +{ + xAnimTable* atbl; +}; + +struct zPlayer : zEnt +{ + xVec3 trigLastFramePos; + S32 zPlayerFlags; + U32 lorezModelID; + xModelInstance* lorezModel; + xModelInstance* hirezModel; + + void PostRenderCleanup(); + void RenderCustomUI(); + void zPlayerEventCB(xBase* from, xBase* to, U32 toEvent, F32* toParam, xBase* toParamWidget, + U32 toParamWidgetID); + U32 TalkDoneCheck(xAnimTransition* tran); + U32 TalkCheck(xAnimTransition* tran); + U8 AllowInteraction(); + void AttackHit(); + xEnt* GetGrabbed(); +}; + +#endif diff --git a/src/SB/Core/x/xQuickCull.h b/src/SB/Core/x/xQuickCull.h new file mode 100644 index 0000000..6a445bc --- /dev/null +++ b/src/SB/Core/x/xQuickCull.h @@ -0,0 +1,15 @@ +#include "xMath.h" + +struct xQCData +{ + U8 xmin; + U8 ymin; + U8 zmin; + U8 zmin_dup; + U8 xmax; + U8 ymax; + U8 zmax; + U8 zmax_dup; + xVec3 min; + xVec3 max; +}; diff --git a/src/SB/Core/x/xShadow.h b/src/SB/Core/x/xShadow.h new file mode 100644 index 0000000..68773ef --- /dev/null +++ b/src/SB/Core/x/xShadow.h @@ -0,0 +1,39 @@ +#ifndef XSHADOW_H +#define XSHADOW_H + +#include "xMath.h" + +struct xEnt; + +struct xShadowSimplePoly +{ + xVec3 vert[3]; + xVec3 norm; +}; + +struct xShadowSimpleCache +{ + U16 flags; + U8 alpha; + U8 pad; + U32 collPriority; + xVec3 pos; + xVec3 at; + F32 tol_movement; + F32 radiusOptional; + xEnt* castOnEnt; + xShadowSimplePoly poly; + F32 envHeight; + F32 shadowHeight; + union + { + U32 raster; + RwRaster* ptr_raster; + }; + F32 dydx; + F32 dydz; + xVec3 corner[4]; + void* collSkipsItem; +}; + +#endif diff --git a/src/SB/Core/x/xSound.h b/src/SB/Core/x/xSound.h new file mode 100644 index 0000000..db803a8 --- /dev/null +++ b/src/SB/Core/x/xSound.h @@ -0,0 +1,31 @@ +#ifndef XSOUND_H +#define XSOUND_H + +#include + +enum iSndHandle +{ +}; + +enum iSndGroupHandle +{ +}; + +struct zStreamedSound +{ + unsigned char* mAssetName; + F32 mCycleTime; + U32 mFlags; + F32 mSoonestTimeToPlay; + iSndGroupHandle mSoundGroupHdl; + + void StopLastPlayedSound(); +}; + +struct zStreamedSoundList +{ + U32 mNumSounds; + zStreamedSound* mSounds; +}; + +#endif diff --git a/src/SB/Game/zBossCam.h b/src/SB/Game/zBossCam.h new file mode 100644 index 0000000..d9c8915 --- /dev/null +++ b/src/SB/Game/zBossCam.h @@ -0,0 +1,183 @@ +#include "xNME.h" +#include "xPlayer.h" + +enum xCamCoordType +{ + XCAM_COORD_CART, + XCAM_COORD_CYLINDER, + XCAM_COORD_SPHERE, + XCAM_COORD_MAX, + XCAM_COORD_INVALID = 0xffffffff, +}; + +enum xCamOrientType +{ + XCAM_ORIENT_QUAT, + XCAM_ORIENT_EULER, + XCAM_ORIENT_MAX, + XCAM_ORIENT_INVALID = 0xffffffff, +}; + +struct xCamBlend; + +struct analog_data +{ + xVec2 offset; + xVec2 dir; + F32 mag; + F32 ang; +}; + +struct xCamCoordCylinder +{ + xVec3 origin; + F32 dist; + F32 height; + F32 theta; +}; + +struct xCamCoordSphere +{ + xVec3 origin; + F32 dist; + xQuat dir; +}; + +struct _class_11 +{ + union + { + xVec3 cart; + xCamCoordCylinder cylinder; + xCamCoordSphere sphere; + }; +}; + +struct xCamOrientEuler +{ + F32 yaw; + F32 pitch; + F32 roll; +}; + +struct _class_16 +{ + union + { + xQuat quat; + xCamOrientEuler euler; + }; +}; + +struct xCamConfigCommon +{ + U8 priority; + U8 pad1; + U8 pad2; + U8 pad3; + F32 blend_time; +}; + +struct zone_data_1 +{ + xVec3 offset; + xVec3 face; +}; + +struct xCamConfigFollow +{ + zone_data_1 zone_rest; + zone_data_1 zone_above; + zone_data_1 zone_below; + F32 speed_zone_offset; + F32 speed_zone_face; + F32 speed_move_orbit; +}; + +struct xCamGroup; + +struct xCam +{ + xMat4x3 mat; + F32 fov; + S32 flags; + U32 owner; + xCamGroup* group; + analog_data analog; + F32 motion_factor; + xCamCoordType coord_type; + xCamOrientType orient_type; + _class_11 coord; + _class_16 orient; + xCamConfigCommon cfg_common; + S32 group_index; + S32 group_flags; + xCamBlend* blender; + + void destroy(); + xCam* get_next(); + xCamConfigFollow* config_follow(); + void scene_exit(); + void scene_enter(); +}; + +struct xCamGroup +{ + xMat4x3 mat; + xVec3 vel; + F32 fov; + F32 fov_default; + S32 flags; + xCam* primary; + analog_data analog; + xCam* owned[32]; + S32 size; + S32 primary_index; + S32 child_flags; + S32 child_flags_mask; + xCamBlend* blend_cam[4]; +}; + +struct xCamBlend : xCam +{ + xCam* src; + xCam* dst; + F32 time; + + void destroy(); +}; + +struct zone_data_0 +{ + F32 distance; + F32 height; + F32 height_focus; +}; + +struct config_2 +{ + zone_data_0 zone_rest; + zone_data_0 zone_above; + zone_data_0 zone_below; + F32 move_speed; + F32 turn_speed; + F32 stick_speed; + F32 stick_yaw_vel; + F32 max_yaw_vel; + F32 margin_angle; +}; + +struct zBossCam_Binary : xCam +{ + zPlayer* owner; + xVec3 cam_loc; + xQuat cam_dir; + void (*fun_moveover)(zBossCam_Binary*, F32, void*); + void* ctxt_moveover; + config_2 cfg; + S32 camera; + xVec3* s1; + xVec3* s2; + F32 s2_radius; + xVec2 stick_offset; +}; diff --git a/src/SB/Game/zWadNME.h b/src/SB/Game/zWadNME.h index 3978927..9c7e10a 100644 --- a/src/SB/Game/zWadNME.h +++ b/src/SB/Game/zWadNME.h @@ -1,52 +1,322 @@ -#ifndef ZWadNME_h -#define ZWadNME_h +#ifndef ZWADNME_H +#define ZWADNME_H #include -// change to zNMEGoalDenDamage : zNMEGoalCommon -// temp for testing -struct zNMEGoalDenDamage +#include "xNME.h" +#include "zBossCam.h" +#include "xPlayer.h" + +struct base : xEnt, xFactoryInst { - // 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(); + S16 bound_bone; + U16 sound_id_offset; + U16 global_parameters_size; + U16 local_parameters_size; + U32 type; + xModelAssetParam* global_parameters; + xModelAssetParam* local_parameters; + union + { + xMovePoint* movepoint; + U32 movepoint_asset_id; + }; + xEntNPCAssetIN* npc_asset; + xModelAssetInfo* model_asset; + F32 shadow_strength; + F32 shadow_cache_fudge_factor; + xVec3 bound_offset; }; -// change to zNMEGoalCommon : xGoal -// temp for testing -struct zNMEGoalCommon +struct zNMENPCWrapper : base { - U32 anid_played; + void (*fun_setup)(xEnt*); + void (*fun_reset)(xEnt*); + S32 colFreq; + U8 flg_colCheck; + U8 flg_penCheck; + U16 flg_unusedCollFlags; struct { - S32 flg_npcgauto : 8; - S32 flg_npcgable : 16; - S32 bul_entered : 1; - S32 bul_resumed : 1; - S32 bul_unused : 6; + S32 aflg_basenme : 8; + S32 flg_upward : 8; + S32 flg_xtrarend : 1; + S32 flg_inUpdate : 1; + S32 flg_newtime : 1; + S32 flg_postproc : 1; + S32 flg_profProc : 1; + S32 flg_hudrend : 1; + S32 flg_moreUnusedSpace : 10; }; - struct + + void InitFromNPCMgr(xEntAsset* asset); + void Init(xEntAsset* asset); + void PostInit(); + void PostSetup(); + void Load(); + void NewTime(); + void RenderExtra(); + void RenderHud(); + void Move(); + S32 ColFreqReset(); + void init(xEntAsset* asset); + void SelfSetup(); + void setup(); + void Reset(); + void Setup(); + void reset(); + void update_npc(F32 dt); + void Process(); + void update_bound(); + void change_bounds(); + U8 system_event(); + void render_npc(); + void Render(); + void debug_render(); + void render_extra(); + void damage(); + void destroy(); + void Destroy(); + void scene_setup(); + void add_states(); + void add_transitions(); + S32 SysEvent(); + void BUpdate(); + void UpdateWrapper(F32 dt); + void NMEWrap_Init(xEntAsset* asset); + xAnimTable* CreateAnimTable(); + void SelfDestroy(); + void CollideReview(); +}; + +struct zNMECommon : zNMENPCWrapper +{ + zNMEAsset* nmeass; + S32 siz_nmeass; + xPsyche* psy_self; + NMECfgCommon* cfg_common; + NMEShadParms* cfg_shadparm; + S32 flg_vuln; + S32 flg_move; + S32 flg_misc; + S32 flg_able; + F32 spd_throttle; + NMERuntime runtimeData; + zNMEDriver* drv_data; + zNMENavNet* navnet; + union { - S32 flg_info : 16; - S32 flg_user : 16; + F32 tmr_common[3]; + F32 tmr_invuln; }; + F32 tmr_scary; + F32 tmr_lastAlert; + zNMECommon* npc_duplodude; + zNMESoundTable* snd_table; + iSndHandle sndID[10]; + zShrapnelAsset* shrapnelAsset; + + void Destroy(); + void Render(); + void SelfDestroy(); + void ProcessInvis(); + void PostProcess(); + S32 IsAlive(); + S32 IsHealthy(); + S32 IsPresent(); + en_nmesimp SimpleStatus(); + F32 HealthRatio(); + void Boo(); + void DuploOwner(zNMECommon* duper); + void SpeakBegin(); + void SpeakEnd(); + void SpeakStart(); + void SpeakStop(); + S32 CanRope(); + void CollideReview(); + zMovePoint* MvptFirstFollow(); + zMovePoint* MvptFirstTarget(); + xEntFrame* Gimme_xEntFrame(); + zNMEDriver* Gimme_DriveData(); + xEntShadow* Gimme_ShadowData(); + zNMENavNet* Gimme_NavNet(); + zNMEArena* Gimme_NMEArena(); + xShadowSimpleCache* Gimme_SimpShadowCache(); + void Reset(); + void PoofOfBubbles(); + S32 LaunchProjectile(en_haztyp haztyp, F32 spd_proj, F32 dst_minRange, xVec3* pos_launch, + F32 tym_predictMax, F32 hyt_offset, F32 rad_min, F32 rad_max); + void GiveReward(); + void DeathFXKick(); + void DieTheGoodDeath(); + F32 ThrottleAdjust(F32 dt, F32 spd_want, F32 accel); + xAnimTable* CreateAnimTable(xAnimTable* table); + xAnimTransition* AnimMakeSmackTran(U32 animID); + S32 AnimStart(U32 animID, S32 forceRestart); + S32 MatMoveToPos(xVec3* pos_tobe, F32 dt, F32 spd, S32 doTurn, F32 spd_turnrate); + F32 MatQRotTowards(F32 dt, xVec3* dir_face, F32 spd_turnrate); + xModelInstance* ModelAtomicFind(S32 index, S32 idx_prev, xModelInstance* mdl_prev); + S32 HaveLOSToPos(xVec3* pos, F32 dist, xScene* xscn, xBase* tgt, xCollis* colCallers); + S32 ReviewCollBounce(xEntCollis* npccol, xVec3* vel, F32 fac_elastic); + S32 ReviewCollSurfs(xEntCollis* npccol, zNMECommon* npc); + void RunCollision(F32 dt); + en_nmesimp Common_SimpStat(); + void ApplyGlowDamp(); + void ShadStufUpdate(); + void FullShadAcquire(); + void ShadowPrep(); + S32 WannaPoolShadow(); + void TellMeVisOnOff(xEnt* ent); + S32 Respawn(xVec3* pos, zMovePoint* mvptFirst, zMovePoint* mvptSpawnRef); + void Damage(en_npcdmg dmgtype, xBase* who, xVec3* vec_hit, S32 amt_dmgCaller, + en_plyrpup pup_fromCaller); + void ConvertHitEvent(NMESysEvent* sysmail); + S32 DfltSysEventMail(NMESysEvent* sysmail); + S32 SysEvent(xBase* from, xBase* to, U32 toEvent, F32* toParam, xBase* toParamWidget, + U32 toParamWidgetID, S32* handled); + S32 NMEMessage(NMEMsg* mail); + S32 TypeHandleMail(); + void CreateConfig(); + void Setup(); + void Common_Init(); + void Process(F32 dt); + void BUpdate(xVec3* pos); + void Init(xEntAsset* entasset); +}; - S32 CollReview(); - S32 GoalHandleMail(); - void Clear(); +struct zNMEBoss : zNMECommon +{ +}; + +struct zNMEDennis; + +struct zNMESBBat : zNMECommon +{ + zNMEDennis* npc_bossman; + void Reset(); + void Process(F32 dt); + void Setup(); + void Init(xEntAsset* asset); + void SelfSetup(); + U32 AnimPick(S32 gid); + xAnimTable* CreateAnimTable(xAnimTable* table); +}; + +struct zNMEDennis : zNMEBoss +{ + S32 pts_health; + NMECfgDennis* cfg_dennis; + F32 tmr_nextLeap; + S32 cnt_attacksTilEvade; + zMovePoint* nav_evade; + zNMESBBat* npc_sbbat; + union + { + en_denstage stageCurr; + S32 stageCurrNum; + }; + union + { + xModelBlur moveBlur; + xModelBlur moveBlurShort; + }; + xModelBlur moveBlurLong; + zStreamedSoundList oneLiners; + DennisLetMeKnow tellMeWhen; + S32 flg_firstTimestep; + zBossCam_Binary cam_boss; + en_dbcmode mod_camCurr; + en_dbcmode mod_camWant; + xGroup* grp_mvpt; + + zMovePoint* PickEvade(zMovePoint* nav_from); + S32 DenMailSys(NMESysEvent* sysmail); + S32 DenMailDamage(NMEDamageInfo* dmgmail); + S32 TypeHandleMail(NMEMsg* mail); + void BossCamSet(en_dbcmode mod_desired, U8 forceCut); + en_vis VisionTarget(); + void RenderHud(); + void PostProcess(); + void NewTime(F32 dt); + void BUpdate(xVec3* pos); + void Process(F32 dt); + S32 IsAlive(); + void Destroy(); + void Reset(); + void Setup(); + void Init(xEntAsset* asset); + xAnimTable* CreateAnimTable(xAnimTable* table); + U32 AnimPick(S32 gid, en_npcgspot gspot); + zMovePoint* MvptFirstFollow(); + void SelfSetup(); + S32 DfltVulnFlags(); + void CreateConfig(); +}; + +struct zNMEDenToo : zNMEBoss +{ + S32 pts_health; + DenTooMeter denTooMeter; + NMECfgDenToo* cfg_dentoo; + F32 tmr_nextLeap; + S32 cnt_attacksTilEvade; + zMovePoint* nav_evade; + union + { + en_dentstage stageCurr; + S32 stageCurrNum; + }; + xModelBlur blur_jumpShort; + xModelBlur blur_jumpLong; + zStreamedSoundList oneLiners; + xGroup* grp_mvpt; + S32 flg_firstTimestep; + zBossCam_Binary cam_boss; + en_dtbcmode mod_camCurr; + en_dtbcmode mod_camWant; + F32 tmr_bobCycle; + + zMovePoint* PickEvade(zMovePoint* nav_from); + S32 DenMailSys(NMESysEvent* sysmail); + S32 DenMailDamage(NMEDamageInfo* dmgmail); + S32 TypeHandleMail(NMEMsg* mail); + void BossCamRepel(); + void BossCamSet(en_dtbcmode mod_desired, U8 forceCut); + void RespondToHittingPlayer(); + en_vis VisionTarget(); + void RenderHud(); + void BUpdate(xVec3* pos); + void PostProcess(); + void Process(F32 dt); + S32 IsAlive(); + void Destroy(); + void Reset(); + void Setup(); + void Init(xEntAsset* asset); + xAnimTable* CreateAnimTable(xAnimTable* table); + U32 AnimPick(S32 gid, en_npcgspot gspot); + zMovePoint* MvptFirstFollow(); + void SelfSetup(); + S32 DfltVulnFlags(); + void CreateConfig(); + S32 WannaPoolShadow(); +}; + +//zNMEGoalDenDamage : zNMEGoalCommon +struct zNMEGoalDenDamage : zNMEGoalCommon +{ + S32 GoalHandleMail(NMEMsg* mail); + S32 ChkExistence(zNMEDennis* npc, F32 dt, S32& nextgoal, en_trantype& trantype); + S32 Process(en_trantype* trantype, F32 dt, void* ctxt); + S32 Exit(float, void*); S32 Enter(); - S32 Resume(); - //S32 Process(en_trantype* trantyp, F32 dt, void* ctxt); - // erroring cus of en_trantype }; struct zNMEGoalDentDamage : zNMEGoalCommon { - //S32 GoalHandleMail(NMEMsg* mail); - //S32 ChkExistence(zNMEDenToo* npc, float32 dt, int32& nextgoal, en_trantype& trantype); - //S32 Process(en_trantype* trantype, float32 dt, void* ctxt); + S32 GoalHandleMail(NMEMsg* mail); + S32 ChkExistence(zNMEDenToo* npc, F32 dt, S32& nextgoal, en_trantype& trantype); + S32 Process(en_trantype* trantype, F32 dt, void* ctxt); S32 Exit(float, void*); S32 Enter(); };