an option for hpcshapes to contain texture information

This commit is contained in:
Zeno Rogue 2019-04-21 01:09:38 +02:00
parent 10a82c544b
commit e1227bcb6e
2 changed files with 4 additions and 1 deletions

View File

@ -3998,6 +3998,8 @@ struct hpcshape {
PPR prio;
int flags;
hyperpoint intester;
basic_textureinfo *tinf;
int texture_offset;
};
extern hpcshape shFullCross[2];

View File

@ -3190,7 +3190,8 @@ dqi_poly& queuepolyat(const transmatrix& V, const hpcshape& h, color_t col, PPR
ptd.outline = poly_outline;
ptd.linewidth = vid.linewidth;
ptd.flags = h.flags;
ptd.tinf = NULL;
ptd.tinf = h.tinf;
ptd.offset_texture = h.texture_offset;
ptd.intester = h.intester;
return ptd;
}