| 52 | //-------------------------------------------------------------------- |
| 53 | |
| 54 | SHitMark::SHitMark(const ui_shader& sh, const Fvector& dir) |
| 55 | { |
| 56 | m_StartTime = Device.fTimeGlobal; |
| 57 | m_lanim = LALib.FindItem("hud_hit_mark"); |
| 58 | m_HitDirection = dir.getH(); |
| 59 | m_UIStaticItem = xr_new<CUIStaticItem>(); |
| 60 | m_UIStaticItem->SetShader(sh); |
| 61 | m_UIStaticItem->SetPos(256.0f, 128.0f); |
| 62 | m_UIStaticItem->SetRect(.0f, .0f, 512.0f, 512.0f); |
| 63 | } |
| 64 | |
| 65 | void SHitMark::UpdateAnim() |
| 66 | { |