| 53 | } |
| 54 | |
| 55 | U32 zCameraFlyProcessStopEvent() |
| 56 | { |
| 57 | zScene* s = globals.sceneCur; |
| 58 | |
| 59 | if (!zCamera_FlyOnly()) |
| 60 | { |
| 61 | zMusicSetVolume(1.0f, 2.0f); |
| 62 | } |
| 63 | |
| 64 | for (U16 i = 0; i < s->num_base; i++) |
| 65 | { |
| 66 | xBase* entry = s->base[i]; |
| 67 | if (entry->baseType == eBaseTypeCameraFly) |
| 68 | { |
| 69 | U32 id = ((zCameraFly*)entry)->casset->flyID; |
| 70 | if (id == zcam_flyasset_current) |
| 71 | { |
| 72 | zEntEvent(entry, eEventStop); |
| 73 | return 1; |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | return 0; |
| 79 | } |
| 80 | |
| 81 | S32 zCameraFlyEventCB(xBase* from, xBase* to, U32 toEvent, const F32* toParam, xBase* b3) |
| 82 | { |
nothing calls this directly
no test coverage detected