| 106 | } // namespace |
| 107 | |
| 108 | void zCameraReset(xCamera* cam) |
| 109 | { |
| 110 | // classic multiple float assign non match |
| 111 | // float assigns should f0 everytime instead of f1, f2, ... |
| 112 | zcam_mode = 0; |
| 113 | zcam_bbounce = 0; |
| 114 | zcam_lbbounce = 0; |
| 115 | zcam_lconvers = 0; |
| 116 | zcam_longbounce = 0; |
| 117 | zcam_highbounce = 0; |
| 118 | zcam_convers = 0; |
| 119 | zcam_fly = 0; |
| 120 | zcam_flypaused = 0; |
| 121 | zcam_cutscene = 0; |
| 122 | zcam_reward = 0; |
| 123 | zcam_fovcurr = 75.0f; |
| 124 | zcam_overrot_tmr = 0.0f; |
| 125 | |
| 126 | wall_jump_enabled = WJVS_DISABLED; |
| 127 | lassocam_enabled = false; |
| 128 | stop_track = 0; |
| 129 | zcam_mintgtheight = -1.0e38; |
| 130 | |
| 131 | xCameraSetFOV(cam, 75.0f); |
| 132 | zCameraTweakGlobal_Update(0.0f); |
| 133 | xCameraReset(cam, ::GetCurrentD(), ::GetCurrentH(), ::GetCurrentPitch()); |
| 134 | |
| 135 | input_enabled = true; |
| 136 | dMultiplier = 1.0f; |
| 137 | dOffset = 0.0f; |
| 138 | hMultiplier = 1.0f; |
| 139 | hOffset = 0.0f; |
| 140 | } |
| 141 | |
| 142 | namespace |
| 143 | { |
no test coverage detected