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

Callers 1

cb_dispatchFunction · 0.70

Calls 1

stop_waitMethod · 0.80

Tested by

no test coverage detected