| 151 | } |
| 152 | |
| 153 | S32 zEnvEventCB(xBase*, xBase* to, U32 toEvent, const F32* toParam, xBase*) |
| 154 | { |
| 155 | switch (toEvent) |
| 156 | { |
| 157 | case eEventReset: |
| 158 | { |
| 159 | zEnvReset((_zEnv*)to); |
| 160 | break; |
| 161 | } |
| 162 | case eEventSetSnow: |
| 163 | { |
| 164 | xClimateSetSnow(toParam[0]); |
| 165 | break; |
| 166 | } |
| 167 | case eEventSetRain: |
| 168 | { |
| 169 | xClimateSetRain(toParam[0]); |
| 170 | break; |
| 171 | } |
| 172 | case eEventWaveSetLinear: |
| 173 | case eEventWaveSetRipple: |
| 174 | { |
| 175 | break; |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | return 1; |
| 180 | } |
nothing calls this directly
no test coverage detected