MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / LoadMissionPreviewHtml

Function LoadMissionPreviewHtml

engine/Poseidon/UI/OptionsUIImpl.cpp:399–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397}
398
399void LoadMissionPreviewHtml(C3DHTML* html, RString filename, const MissionLanguageDetector::MissionPreviewInfo& info)
400{
401 RString overviewUtf8 = LoadLocalizedMissionHtmlUtf8(filename);
402 RString combined = MissionLanguageDetector::BuildPreviewHtml(info, overviewUtf8);
403 html->LoadBuffer(filename, combined, false);
404}
405
406static void CheckContinueSave(RString dir)
407{

Callers 1

OnChangeMissionMethod · 0.85

Calls 3

BuildPreviewHtmlFunction · 0.85
LoadBufferMethod · 0.80

Tested by

no test coverage detected