powered by
Read a Quake mipmap texture from a WAD2 file.
read.quake1miptex(filepath, at_offset = 0L)
a 'qmiptex' instance, its like a wall with shorter name field (16 instead of 32) and some fields (anim_name, flags, contents, value) missing.
character string, path to WAD file.
integer, the index in the WAD file where the texture starts.
if (FALSE) { qm = read.quake1miptex("~/knave.wad", at_offset = 1317632); plotwal.mipmap(qm, apply_palette = pal_q1()); }
Run the code above in your browser using DataLab