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

Method deactivate

src/SB/Game/zTextBox.cpp:306–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306void ztextbox::deactivate()
307{
308 if (!flag.active)
309 {
310 return;
311 }
312
313 flag.active = false;
314 flag.visible = false;
315
316 if (prev)
317 {
318 prev->next = next;
319 }
320
321 if (next)
322 {
323 next->prev = prev;
324 }
325
326 if (head_active == this)
327 {
328 head_active = next;
329 }
330}
331
332void ztextbox::set_text(const char* s)
333{

Callers 8

cb_dispatchFunction · 0.45
deactivateFunction · 0.45
activateFunction · 0.45
refresh_promptsFunction · 0.45
hide_promptsFunction · 0.45
start_talkMethod · 0.45
hideMethod · 0.45
render_allMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected