Subversion Repositories eduke32

Rev

Rev 4439 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4439 Rev 4440
Line 2569... Line 2569...
2569
2569
2570
        if (rendmode >= 3)
2570
        if (rendmode >= 3)
2571
        {
2571
        {
2572
            if (rendmode==3)
2572
            if (rendmode==3)
2573
                printcoordsline("r_usenewshading = %d", r_usenewshading);
2573
                printcoordsline("r_usenewshading = %d", r_usenewshading);
-
 
2574
# ifdef POLYMER
2574
            else
2575
            else
2575
                printcoordsline("r_pr_artmapping = %d", pr_artmapping);
2576
                printcoordsline("r_pr_artmapping = %d", pr_artmapping);
2576
2577
#endif
2577
            printcoordsline("r_usetileshades = %d", r_usetileshades);
2578
            printcoordsline("r_usetileshades = %d", r_usetileshades);
2578
        }
2579
        }
2579
    }
2580
    }
2580
#endif
2581
#endif
2581
}
2582
}
Line 2844... Line 2845...
2844
    clearallviews(0);
2845
    clearallviews(0);
2845
2846
2846
    // (end-start)/step + 1 iterations
2847
    // (end-start)/step + 1 iterations
2847
    do
2848
    do
2848
    {
2849
    {
-
 
2850
#ifdef __ANDROID__ //Needed for N7 2013 to stop corruption while fading video
-
 
2851
        clearallviews(0);
-
 
2852
#endif
2849
        if (KB_KeyPressed(sc_Space))
2853
        if (KB_KeyPressed(sc_Space))
2850
        {
2854
        {
2851
            KB_ClearKeyDown(sc_Space);
2855
            KB_ClearKeyDown(sc_Space);
2852
            setpalettefade(r,g,b,end);  // have to set to end fade value if we break!
2856
            setpalettefade(r,g,b,end);  // have to set to end fade value if we break!
2853
            return;
2857
            return;
Line 4401... Line 4405...
4401
#ifdef __ANDROID__ 
4405
#ifdef __ANDROID__ 
4402
    // HACK: this is needed or else we get leftover UI texture crap where we'd get HOM on PC
4406
    // HACK: this is needed or else we get leftover UI texture crap where we'd get HOM on PC
4403
4407
4404
        if (getrendermode() == REND_POLYMOST)
4408
    if (getrendermode() == REND_POLYMOST)
4405
        {
4409
    {
-
 
4410
        static int32_t col = -1;
-
 
4411
        if (col == -1)
4406
            static int32_t col = getclosestcol(4, 4, 4);
4412
            col = getclosestcol(4, 4, 4);
-
 
4413
4407
            clearallviews(col);
4414
        clearallviews(col);
4408
        }
4415
    }
4409
#endif
4416
#endif
4410
4417
4411
    if (pub > 0 || getrendermode() >= REND_POLYMOST) // JBF 20040101: redraw background always
4418
    if (pub > 0 || getrendermode() >= REND_POLYMOST) // JBF 20040101: redraw background always