Subversion Repositories Games.Carmageddon

Rev

Rev 11 | Rev 18 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11 Rev 15
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
-
 
1696
        BrPixelmapFill(gRearview_depth_buffer, 0xFFFFFFFF);
1695
        // BrPixelmapFill(gRearview_depth_buffer, 0xFFFFFFFF);
1697
        gRendering_mirror = 1;
1696
        // gRendering_mirror = 1;
1698
        DoSpecialCameraEffect(gRearview_camera, &gRearview_camera_to_world);
1697
        // DoSpecialCameraEffect(gRearview_camera, &gRearview_camera_to_world);
1699
        ConditionallyFillWithSky(gRearview_screen);
1698
        // ConditionallyFillWithSky(gRearview_screen);
1700
        BrZbSceneRenderBegin(gUniverse_actor, gRearview_camera, gRearview_screen, gRearview_depth_buffer);
1699
        // BrZbSceneRenderBegin(gUniverse_actor, gRearview_camera, gRearview_screen, gRearview_depth_buffer);
1701
        ProcessNonTrackActors(
1700
        // ProcessNonTrackActors(
1702
            gRearview_screen,
1701
        //     gRearview_screen,
1703
            gRearview_depth_buffer,
1702
        //     gRearview_depth_buffer,
1704
            gRearview_camera,
1703
        //     gRearview_camera,
1705
            &gRearview_camera_to_world,
1704
        //     &gRearview_camera_to_world,
1706
            &old_mirror_cam_matrix);
1705
        //     &old_mirror_cam_matrix);
1707
        ProcessTrack(gUniverse_actor, &gProgram_state.track_spec, gRearview_camera, &gRearview_camera_to_world, 0);
1706
        // ProcessTrack(gUniverse_actor, &gProgram_state.track_spec, gRearview_camera, &gRearview_camera_to_world, 0);
1708
        RenderLollipops();
1707
        // RenderLollipops();
1709
        DepthEffectSky(gRearview_screen, gRearview_depth_buffer, gRearview_camera, &gRearview_camera_to_world);
1708
        // DepthEffectSky(gRearview_screen, gRearview_depth_buffer, gRearview_camera, &gRearview_camera_to_world);
1710
        DepthEffect(gRearview_screen, gRearview_depth_buffer, gRearview_camera, &gRearview_camera_to_world);
1709
        // DepthEffect(gRearview_screen, gRearview_depth_buffer, gRearview_camera, &gRearview_camera_to_world);
1711
        if (!gAusterity_mode) {
1710
        // if (!gAusterity_mode) {
1712
            ProcessTrack(gUniverse_actor, &gProgram_state.track_spec, gRearview_camera, &gRearview_camera_to_world, 1);
1711
        //     ProcessTrack(gUniverse_actor, &gProgram_state.track_spec, gRearview_camera, &gRearview_camera_to_world, 1);
1713
        }
1712
        // }
1714
        RenderSplashes();
1713
        // RenderSplashes();
1715
        BrZbSceneRenderEnd();
1714
        // BrZbSceneRenderEnd();
1716
        BrMatrix34Copy(&gRearview_camera->t.t.mat, &old_mirror_cam_matrix);
1715
        // BrMatrix34Copy(&gRearview_camera->t.t.mat, &old_mirror_cam_matrix);
1717
        gRendering_mirror = 0;
1716
        // gRendering_mirror = 0;
1718
#endif
-
 
1719
    }
1717
    }
1720
    if (gMap_mode) {
1718
    if (gMap_mode) {
1721
        if (gNet_mode == eNet_mode_none) {
1719
        if (gNet_mode == eNet_mode_none) {
1722
            GetTimerString(the_text, 0);
1720
            GetTimerString(the_text, 0);
1723
            map_timer_width = DRTextWidth(&gFonts[2], the_text);
1721
            map_timer_width = DRTextWidth(&gFonts[2], the_text);