Subversion Repositories eduke32

Rev

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

Rev 8474 Rev 8475
Line 77... Line 77...
77
77
78
    for (i=0; i<256; i++) tempbuf[i] = i; //(i&31)+32;
78
    for (i=0; i<256; i++) tempbuf[i] = i; //(i&31)+32;
79
    paletteMakeLookupTable(18,tempbuf,32,32,192,1);
79
    paletteMakeLookupTable(18,tempbuf,32,32,192,1);
80
}
80
}
81
81
-
 
82
int32_t voxid_PLAYER = -1, voxid_BROWNMONSTER = -1;
-
 
83
82
void Ken_LoadVoxels()
84
void Ken_LoadVoxels()
83
{
85
{
84
    if (!qloadkvx(nextvoxid,"voxel000.kvx"))
86
    if (!qloadkvx(nextvoxid,"voxel000.kvx"))
85
        tiletovox[PLAYER] = nextvoxid++;
87
        voxid_PLAYER = nextvoxid++;
86
    if (!qloadkvx(nextvoxid,"voxel001.kvx"))
88
    if (!qloadkvx(nextvoxid,"voxel001.kvx"))
87
        tiletovox[BROWNMONSTER] = nextvoxid++;
89
        voxid_BROWNMONSTER = nextvoxid++;
88
}
90
}