Rev 1 | Rev 15 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 11 | ||
---|---|---|---|
Line 1690... | Line 1690... | ||
1690 | BrZbSceneRenderEnd(); |
1690 | BrZbSceneRenderEnd(); |
1691 | } |
1691 | } |
1692 | BrMatrix34Copy(&gCamera->t.t.mat, &old_camera_matrix); |
1692 | BrMatrix34Copy(&gCamera->t.t.mat, &old_camera_matrix); |
1693 | if (gMirror_on__graphics) { |
1693 | if (gMirror_on__graphics) { |
1694 | LOG_WARN_ONCE("rearview mirror not implemented"); |
1694 | LOG_WARN_ONCE("rearview mirror not implemented"); |
- | 1695 | #if 0 |
|
1695 |
|
1696 | BrPixelmapFill(gRearview_depth_buffer, 0xFFFFFFFF); |
1696 | gRendering_mirror = 1; |
1697 | gRendering_mirror = 1; |
1697 | DoSpecialCameraEffect(gRearview_camera, &gRearview_camera_to_world); |
1698 | DoSpecialCameraEffect(gRearview_camera, &gRearview_camera_to_world); |
1698 | ConditionallyFillWithSky(gRearview_screen); |
1699 | ConditionallyFillWithSky(gRearview_screen); |
1699 | BrZbSceneRenderBegin(gUniverse_actor, gRearview_camera, gRearview_screen, gRearview_depth_buffer); |
1700 | BrZbSceneRenderBegin(gUniverse_actor, gRearview_camera, gRearview_screen, gRearview_depth_buffer); |
1700 | ProcessNonTrackActors( |
1701 | ProcessNonTrackActors( |
Line 1711... | Line 1712... | ||
1711 | ProcessTrack(gUniverse_actor, &gProgram_state.track_spec, gRearview_camera, &gRearview_camera_to_world, 1); |
1712 | ProcessTrack(gUniverse_actor, &gProgram_state.track_spec, gRearview_camera, &gRearview_camera_to_world, 1); |
1712 | } |
1713 | } |
1713 | RenderSplashes(); |
1714 | RenderSplashes(); |
1714 | BrZbSceneRenderEnd(); |
1715 | BrZbSceneRenderEnd(); |
1715 | BrMatrix34Copy(&gRearview_camera->t.t.mat, &old_mirror_cam_matrix); |
1716 | BrMatrix34Copy(&gRearview_camera->t.t.mat, &old_mirror_cam_matrix); |
1716 |
|
1717 | gRendering_mirror = 0; |
- | 1718 | #endif |
|
1717 | } |
1719 | } |
1718 | if (gMap_mode) { |
1720 | if (gMap_mode) { |
1719 | if (gNet_mode == eNet_mode_none) { |
1721 | if (gNet_mode == eNet_mode_none) { |
1720 | GetTimerString(the_text, 0); |
1722 | GetTimerString(the_text, 0); |
1721 | map_timer_width = DRTextWidth(&gFonts[2], the_text); |
1723 | map_timer_width = DRTextWidth(&gFonts[2], the_text); |
Line 1723... | Line 1725... | ||
1723 | BrPixelmapRectangleFill( |
1725 | BrPixelmapRectangleFill( |
1724 | gBack_screen, |
1726 | gBack_screen, |
1725 | map_timer_x - gCurrent_graf_data->map_timer_border_x, |
1727 | map_timer_x - gCurrent_graf_data->map_timer_border_x, |
1726 | gCurrent_graf_data->map_timer_text_y - gCurrent_graf_data->map_timer_border_y, |
1728 | gCurrent_graf_data->map_timer_text_y - gCurrent_graf_data->map_timer_border_y, |
1727 | map_timer_width + 2 * gCurrent_graf_data->map_timer_border_x, |
1729 | map_timer_width + 2 * gCurrent_graf_data->map_timer_border_x, |
1728 | gFonts[ |
1730 | gFonts[kFont_BLUEHEAD].height + 2 * gCurrent_graf_data->map_timer_border_y, |
1729 | 0); |
1731 | 0); |
1730 | TransDRPixelmapText( |
1732 | TransDRPixelmapText( |
1731 | gBack_screen, |
1733 | gBack_screen, |
1732 | map_timer_x, |
1734 | map_timer_x, |
1733 | gCurrent_graf_data->map_timer_text_y, |
1735 | gCurrent_graf_data->map_timer_text_y, |
1734 | &gFonts[ |
1736 | &gFonts[kFont_BLUEHEAD], |
1735 | the_text, |
1737 | the_text, |
1736 | gBack_screen->width); |
1738 | gBack_screen->width); |
1737 | } |
1739 | } |
1738 | the_time = PDGetTotalTime(); |
1740 | the_time = PDGetTotalTime(); |
1739 | if (gNet_mode != eNet_mode_none) { |
1741 | if (gNet_mode != eNet_mode_none) { |