Subversion Repositories eduke32

Rev

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

Rev 872 Rev 886
Line 38... Line 38...
38
short spritecache[MAXTILES][3];
38
short spritecache[MAXTILES][3];
39
39
40
static char precachehightile[2][MAXTILES>>3];
40
static char precachehightile[2][MAXTILES>>3];
41
static int  precachecount;
41
static int  precachecount;
42
42
-
 
43
extern char *duke3dgrpstring;
-
 
44
43
static void tloadtile(int tilenume, int type)
45
static void tloadtile(int tilenume, int type)
44
{
46
{
45
    if ((picanm[tilenume]&63) < 1)
47
    if ((picanm[tilenume]&63) < 1)
46
    {
48
    {
47
        if (!(gotpic[tilenume>>3] & pow2char[tilenume&7])) precachecount++;
49
        if (!(gotpic[tilenume>>3] & pow2char[tilenume&7])) precachecount++;
Line 1669... Line 1671...
1669
    ud.screen_size = i;
1671
    ud.screen_size = i;
1670
1672
1671
    if (boardfilename[0] != 0 && ud.m_level_number == 7 && ud.m_volume_number == 0)
1673
    if (boardfilename[0] != 0 && ud.m_level_number == 7 && ud.m_volume_number == 0)
1672
    {
1674
    {
1673
        Bstrcpy(levname, boardfilename);
1675
        Bstrcpy(levname, boardfilename);
1674
        Bsprintf(apptitle," - %s",levname);
1676
        Bsprintf(apptitle,HEAD2 " - %s - %s",levname,duke3dgrpstring);
1675
    }
1677
    }
1676
    else Bsprintf(apptitle," - %s",map[(ud.volume_number*MAXLEVELS)+ud.level_number].name);
1678
    else Bsprintf(apptitle,HEAD2 " - %s - %s",map[(ud.volume_number*MAXLEVELS)+ud.level_number].name,duke3dgrpstring);
1677
-
 
1678
    if (VOLUMEALL) Bsprintf(tempbuf,HEAD2);
-
 
1679
    else Bsprintf(tempbuf,HEAD);
-
 
1680
1679
1681
    Bstrcat(tempbuf,apptitle);
1680
    Bstrcpy(tempbuf,apptitle);
1682
    wm_setapptitle(tempbuf);
1681
    wm_setapptitle(tempbuf);
1683
1682
1684
    if (!VOLUMEONE)
1683
    if (!VOLUMEONE)
1685
    {
1684
    {
1686
        if (boardfilename[0] != 0 && ud.m_level_number == 7 && ud.m_volume_number == 0)
1685
        if (boardfilename[0] != 0 && ud.m_level_number == 7 && ud.m_volume_number == 0)