| 27 | } |
| 28 | |
| 29 | S32 zCamMarkerEventCB(xBase* from, xBase* to, U32 toEvent, const F32* toParam, xBase* b3) |
| 30 | { |
| 31 | switch (toEvent) |
| 32 | { |
| 33 | case eEventOn: |
| 34 | case eEventSwitch: |
| 35 | { |
| 36 | zCameraDoTrans(((zCamMarker*)to)->asset, *toParam); |
| 37 | break; |
| 38 | } |
| 39 | case eEventStartConversation: |
| 40 | { |
| 41 | zCameraSetConvers(true); |
| 42 | break; |
| 43 | } |
| 44 | case eEventEndConversation: |
| 45 | { |
| 46 | zCameraSetConvers(false); |
| 47 | break; |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | return eEventEnable; |
| 52 | } |
nothing calls this directly
no test coverage detected