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

Function zCamMarkerEventCB

src/SB/Game/zCamMarker.cpp:29–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29S32 zCamMarkerEventCB(xBase* from, xBase* to, U32 toEvent, const F32* toParam, xBase* b3)
30{
31 switch (toEvent)
32 {
33 case eEventOn:
34 case eEventSwitch:
35 {
36 zCameraDoTrans(((zCamMarker*)to)->asset, *toParam);
37 break;
38 }
39 case eEventStartConversation:
40 {
41 zCameraSetConvers(true);
42 break;
43 }
44 case eEventEndConversation:
45 {
46 zCameraSetConvers(false);
47 break;
48 }
49 }
50
51 return eEventEnable;
52}

Callers

nothing calls this directly

Calls 2

zCameraDoTransFunction · 0.70
zCameraSetConversFunction · 0.70

Tested by

no test coverage detected