| 375 | } |
| 376 | |
| 377 | void cScriptingEngine::guiPrintString(const std::string& pText, const size_t pX, const size_t pY, const bool pLarge, const bool pUnderline) { |
| 378 | g_Fodder->mWindow->SetScreenSize(g_Fodder->mVersionCurrent->GetScreenSize()); |
| 379 | g_Fodder->mGraphics->SetActiveSpriteSheet(eGFX_BRIEFING); |
| 380 | if (!pLarge) { |
| 381 | if (!pX) |
| 382 | g_Fodder->String_Print_Small(pText, pY); |
| 383 | else |
| 384 | g_Fodder->String_Print_Small(pText, pX, pY); |
| 385 | } |
| 386 | else { |
| 387 | if (!pX) |
| 388 | g_Fodder->String_Print_Large(pText, pUnderline, pY); |
| 389 | else |
| 390 | g_Fodder->String_Print_Large(pText, pUnderline, pX, pY); |
| 391 | } |
| 392 | |
| 393 | g_Fodder->mSurface->Save(); |
| 394 | g_Fodder->Video_Sleep(); |
| 395 | g_Fodder->mGraphics->SetActiveSpriteSheet(eGFX_IN_GAME); |
| 396 | } |
| 397 | |
| 398 | |
| 399 | void cScriptingEngine::mapSave() { |
nothing calls this directly
no test coverage detected