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

Function stop_wait

src/SB/Game/zTalkBox.cpp:1132–1157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1130 }
1131 }
1132 static void stop_wait(ztalkbox& e, const F32* args, u32 args_size)
1133 {
1134 if (shared.active != &e)
1135 {
1136 return;
1137 }
1138
1139 U32 mask = 0;
1140
1141 for (U32 i = 0; i < args_size; i++)
1142 {
1143 U32 v = (U32)args[i];
1144
1145 if (v != 0 && v < 32)
1146 {
1147 mask |= (1 << v);
1148 }
1149 }
1150
1151 if (mask == 0)
1152 {
1153 mask = 0xFFFFFFFF;
1154 }
1155
1156 e.stop_wait(mask);
1157 }
1158
1159 S32 cb_dispatch(xBase*, xBase* to, U32 event, const F32* argf, xBase*)
1160 {

Callers 1

cb_dispatchFunction · 0.70

Calls 1

stop_waitMethod · 0.80

Tested by

no test coverage detected