| 1113 | } |
| 1114 | |
| 1115 | void RestoreCameraRearviews() { |
| 1116 | if (Camera_view_mode[0] != CV_REARVIEW) { |
| 1117 | if (Current_pilot.lrearview_enabled) { |
| 1118 | Camera_view_mode[0] = CV_REARVIEW; |
| 1119 | CreateSmallView(0, Player_object->handle, SVF_REARVIEW, 0.0, D3_DEFAULT_ZOOM, -1, TXT_VIEW_REAR); |
| 1120 | } |
| 1121 | } |
| 1122 | if (Camera_view_mode[2] != CV_REARVIEW) { |
| 1123 | if (Current_pilot.rrearview_enabled) { |
| 1124 | Camera_view_mode[2] = CV_REARVIEW; |
| 1125 | CreateSmallView(2, Player_object->handle, SVF_REARVIEW, 0.0, D3_DEFAULT_ZOOM, -1, TXT_VIEW_REAR); |
| 1126 | } |
| 1127 | } |
| 1128 | } |
| 1129 | |
| 1130 | void ProcessButtons() { |
| 1131 | // If dead, any key not handled above will eand the death sequence |
no test coverage detected