mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 07:20:25 +00:00
fixed some unused/uninitialized variables in rogueviz
This commit is contained in:
parent
1a08948c32
commit
4ae3560dda
@ -1284,9 +1284,9 @@ bool drawVertex(const transmatrix &V, cell *c, shmup::monster *m) {
|
|||||||
int i = m->pid;
|
int i = m->pid;
|
||||||
vertexdata& vd = vdata[i];
|
vertexdata& vd = vdata[i];
|
||||||
|
|
||||||
bool ghilite = false;
|
// bool ghilite = false;
|
||||||
|
|
||||||
if(vd.special && specialmark) ghilite = true;
|
// if(vd.special && specialmark) ghilite = true;
|
||||||
|
|
||||||
if(!gmatrix.count(m->base)) printf("base not in gmatrix\n");
|
if(!gmatrix.count(m->base)) printf("base not in gmatrix\n");
|
||||||
|
|
||||||
@ -1307,7 +1307,7 @@ bool drawVertex(const transmatrix &V, cell *c, shmup::monster *m) {
|
|||||||
|
|
||||||
if(ei->weight < (hilite ? ei->type->visible_from_hi : ei->type->visible_from)) continue;
|
if(ei->weight < (hilite ? ei->type->visible_from_hi : ei->type->visible_from)) continue;
|
||||||
|
|
||||||
if(hilite) ghilite = true;
|
// if(hilite) ghilite = true;
|
||||||
|
|
||||||
bool multidraw = quotient || euwrap;
|
bool multidraw = quotient || euwrap;
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ namespace rogueviz {
|
|||||||
color_t color1, color2;
|
color_t color1, color2;
|
||||||
char shade;
|
char shade;
|
||||||
shared_ptr<rvimage> img;
|
shared_ptr<rvimage> img;
|
||||||
colorpair(color_t col = 0xC0C0C0FF) { shade = 0; color1 = col; }
|
colorpair(color_t col = 0xC0C0C0FF) { shade = 0; color1 = color2 = col; }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct vertexdata {
|
struct vertexdata {
|
||||||
|
Loading…
Reference in New Issue
Block a user