-------------------------------------------------------------------------------------------------
| 588 | |
| 589 | //------------------------------------------------------------------------------------------------- |
| 590 | int CUIStatic::LoadModel(const string &szModelName) |
| 591 | { |
| 592 | if (m_pModel) |
| 593 | { |
| 594 | ReleaseModel(); |
| 595 | } |
| 596 | m_pModel = m_pUISystem->GetISystem()->GetIAnimationSystem()->MakeCharacter(szModelName.c_str()); |
| 597 | m_szModelName = szModelName; |
| 598 | |
| 599 | return (m_pModel ? 1 : 0); |
| 600 | } |
| 601 | |
| 602 | //------------------------------------------------------------------------------------------------- |
| 603 | int CUIStatic::ReleaseModel() |
no test coverage detected