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

Function update_quit_status

src/SB/Game/zTalkBox.cpp:1103–1118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1101 }
1102 }
1103 static void update_quit_status(F32 dt)
1104 {
1105 if (shared.quit_ready)
1106 {
1107 return;
1108 }
1109
1110 shared.quit_delay -= dt;
1111 if (shared.quit_delay > 0.0f)
1112 {
1113 return;
1114 }
1115
1116 shared.quit_ready = true;
1117 refresh_prompts();
1118 }
1119 static void hide_prompts()
1120 {
1121 ztalkbox& active = *(ztalkbox*)shared.active;

Callers 1

updateMethod · 0.85

Calls 1

refresh_promptsFunction · 0.70

Tested by

no test coverage detected