1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 18:07:41 +00:00

translating textures to a more general type

This commit is contained in:
Zeno Rogue
2017-12-19 16:40:24 +01:00
parent 49bd1a0b2b
commit d0a925a8ca
4 changed files with 113 additions and 49 deletions

View File

@@ -1973,7 +1973,7 @@ struct textureinfo {
vector<transmatrix> matrices;
// these are required to adjust to geometry changes
int current_geometry, current_type, symmetries, current_trunc;
int current_type, symmetries;
};
struct qpoly {
@@ -2379,7 +2379,7 @@ namespace texture {
tsOff, tsAdjusting, tsActive
};
extern eTextureState tstate;
extern eTextureState tstate, tstate_max;
extern unsigned paint_color;
extern ld penwidth;
extern transmatrix itt;
@@ -2390,6 +2390,8 @@ namespace texture {
void update();
void drawPixel(cell *c, hyperpoint h, int col);
void remap(eTextureState old_tstate, eTextureState old_tstate_max);
extern cpatterntype cgroup;
}