MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / Process

Method Process

src/SB/Game/zNPCTypeBossPatrick.cpp:952–1317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

950}
951
952void zNPCBPatrick::Process(xScene* xscn, F32 dt)
953{
954 /*
955 signed int i; // r5
956 signed int j; // r21
957 signed int csn; // r17
958 float fudgeRate; // r1
959 float * swingY; // r4
960 signed int shouldPlayIt; // r3
961 float finalHeight; // r2
962 class xModelInstance * tempModel; // r19
963 float maxDist; // r28
964 float numSnowflakes; // r27
965 float currSize; // r26
966 class xVec3 snowDir; // r29+0x170
967 class xVec3 snowPos; // r29+0x160
968 signed int numSamples; // r20
969 float interp; // r25
970 signed int numToEmit; // r19
971 float theta; // r21
972 float moveSplat; // r20
973 float timeTillEnd; // r1
974 class xCollis colls; // r29+0xF0
975 unsigned int doDamage; // r20
976 class xVec3 knockback; // r29+0x150
977 signed int touchDamage; // r19
978 class xCollis * coll; // r6
979 class xCollis * cend; // r5
980 class xVec3 bubbleVel; // r29+0x140
981 unsigned int picker; // r2
982 signed int num; // r17
983 */
984 xVec3 snowDir; // r29+0x170
985 xVec3 snowPos; // r29+0x160
986 xVec3 knockback; // r29+0x150
987 xVec3 bubbleVel; // r29+0x140
988 xCollis colls; // r29+0xF0
989
990 bool bVar1 = false;
991
992 if (this->firstUpdate)
993 {
994 this->firstUpdate = 0;
995
996 switch (this->round)
997 {
998 case 1:
999 {
1000 if (this->firstTimeR1Csn)
1001 {
1002 this->firstTimeR1Csn = 0;
1003 }
1004 else
1005 {
1006 zEntEvent(this->round1Csn, eEventPreload);
1007 }
1008 break;
1009 }

Callers

nothing calls this directly

Calls 15

hiddenByCutsceneMethod · 0.95
zCameraEnableTrackingFunction · 0.85
xVec3CopyFunction · 0.85
xVec3AddScaledFunction · 0.85
xEntShowFunction · 0.85
xMat3x3RotFunction · 0.85
xurandFunction · 0.85
xVec3SubFunction · 0.85
xVec3LengthFunction · 0.85
xVec3SMulByFunction · 0.85
xVec3InitFunction · 0.85
xVec3SubFromFunction · 0.85

Tested by

no test coverage detected