| 1838 | } |
| 1839 | |
| 1840 | static inline void RemoveAnimation(dmArray<Animation>& animations, uint32_t i) |
| 1841 | { |
| 1842 | Animation* current = &animations[i]; |
| 1843 | Animation* end = animations.End(); |
| 1844 | // Move all one step to the "left" |
| 1845 | memmove(current, current+1, sizeof(Animation) * (end-current-1)); |
| 1846 | animations.SetSize(animations.Size()-1); |
| 1847 | } |
| 1848 | |
| 1849 | static inline uint32_t FindAnimation(dmArray<Animation>& animations, float* value) |
| 1850 | { |
no test coverage detected