/////////////////////////////////////////////////////////////////////
| 1713 | |
| 1714 | ////////////////////////////////////////////////////////////////////////// |
| 1715 | void CXConsole::SetLoadingImage(const char *szFilename ) |
| 1716 | { |
| 1717 | ITexPic *pTex = 0; |
| 1718 | |
| 1719 | pTex = m_pSystem->GetIRenderer()->EF_LoadTexture( szFilename, FT_NORESIZE | FT_NOMIPS, 0, eTT_Base); |
| 1720 | |
| 1721 | if (!pTex || (pTex && (pTex->GetFlags() & FT_NOTFOUND))) |
| 1722 | { |
| 1723 | pTex = m_pSystem->GetIRenderer()->EF_LoadTexture("console/loadscreen_default", FT_NORESIZE | FT_NOMIPS, 0, eTT_Base); |
| 1724 | } |
| 1725 | |
| 1726 | if (pTex) |
| 1727 | { |
| 1728 | m_nLoadingBackTexID = pTex->GetTextureID(); |
| 1729 | } |
| 1730 | else |
| 1731 | { |
| 1732 | m_nLoadingBackTexID = -1; |
| 1733 | } |
| 1734 | } |
| 1735 | |
| 1736 | void CXConsole::AddOutputPrintSink( IOutputPrintSink *inpSink ) |
| 1737 | { |
no test coverage detected