MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / showMessageBox

Function showMessageBox

TheForceEngine/TFE_Editor/editor.cpp:1036–1047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1034 }
1035
1036 void showMessageBox(const char* type, const char* msg, ...)
1037 {
1038 char fullStr[TFE_MAX_PATH * 2];
1039 va_list arg;
1040 va_start(arg, msg);
1041 vsprintf(fullStr, msg, arg);
1042 va_end(arg);
1043
1044 s_editorPopup = POPUP_MSG_BOX;
1045 strcpy(s_msgBox.msg, fullStr);
1046 sprintf(s_msgBox.id, "%s##MessageBox", type);
1047 }
1048
1049 void hidePopup()
1050 {

Callers 5

enableAssetEditorFunction · 0.85
exportSelectedFunction · 0.85
importSelectedFunction · 0.85
playFunction · 0.85
showLevelScriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected