| 195 | } |
| 196 | |
| 197 | static void animationAddEventSFXGround(Animation* anim, const zCModelScriptEventSfx& sfx) |
| 198 | { |
| 199 | anim->m_EventsSFXGround.push_back(sfx); |
| 200 | |
| 201 | if (anim->m_EventsSFXGround.back().m_Frame == -1) |
| 202 | { |
| 203 | anim->m_EventsSFXGround.back().m_Frame = anim->m_LastFrame - 1; |
| 204 | } |
| 205 | |
| 206 | // Normalize to range specified in the MDS |
| 207 | anim->m_EventsSFXGround.back().m_Frame = scaleToHeaderFrameRate(anim, anim->m_EventsSFXGround.back().m_Frame); |
| 208 | } |
| 209 | |
| 210 | static void animationAddEventTag(Animation* anim, const zCModelScriptEventTag& tag) |
| 211 | { |
no test coverage detected