| 752 | } |
| 753 | |
| 754 | void z_disco_floor::update(xScene&, F32 dt) |
| 755 | { |
| 756 | if (!flag.enabled) |
| 757 | { |
| 758 | flag.culled = true; |
| 759 | return; |
| 760 | } |
| 761 | |
| 762 | distance_cull(); |
| 763 | |
| 764 | if (flag.culled) |
| 765 | { |
| 766 | return; |
| 767 | } |
| 768 | |
| 769 | update_pulse(dt); |
| 770 | |
| 771 | sound_delay += dt; |
| 772 | |
| 773 | if (transition_time < transition_delay) |
| 774 | { |
| 775 | dt = update_transition(*this, dt); |
| 776 | } |
| 777 | |
| 778 | if (dt > 0.0f) |
| 779 | { |
| 780 | update_state(*this, dt); |
| 781 | } |
| 782 | } |
| 783 | |
| 784 | void z_disco_floor::set_state(size_t state, bool immediate) |
| 785 | { |
nothing calls this directly
no test coverage detected