| 13 | } |
| 14 | |
| 15 | void UIMiniMapInit(CUIMiniMap* wnd) |
| 16 | { |
| 17 | CUIWindow* parent = wnd->GetParent(); |
| 18 | |
| 19 | CInifile* pLtx = pGameIni; |
| 20 | |
| 21 | R_ASSERT(pLtx->section_exist(Level().name())); |
| 22 | |
| 23 | wnd->Init(Level().name(), *pLtx, "hud\\default"); |
| 24 | |
| 25 | Frect r; |
| 26 | parent->GetAbsoluteRect(r); |
| 27 | wnd->SetClipRect(r); |
| 28 | wnd->WorkingArea().set(r); |
| 29 | |
| 30 | UIMiniMapZoom(wnd, 1.f); |
| 31 | } |
| 32 | |
| 33 | using namespace luabind; |
| 34 |
nothing calls this directly
no test coverage detected