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

Function trigger

src/SB/Game/zTalkBox.cpp:49–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 static void trigger(U32 event)
50 {
51 if (shared.delay_events)
52 {
53 shared.triggered.push_back();
54 trigger_pair& tp = shared.triggered.back();
55 tp.origin = shared.active;
56 tp.event = event;
57 }
58 else
59 {
60 zEntEvent(shared.active, shared.active, event);
61 }
62 }
63
64 void trigger_pads(U32 pressed)
65 {

Callers 5

trigger_padsFunction · 0.70
trigger_signalFunction · 0.70
start_talkMethod · 0.70
stopFunction · 0.70
stopMethod · 0.70

Calls 2

push_backMethod · 0.80
zEntEventFunction · 0.50

Tested by

no test coverage detected