mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-18 07:27:40 +00:00
renamed DIM to GDIM
This commit is contained in:
6
hud.cpp
6
hud.cpp
@@ -190,7 +190,7 @@ int glyphflags(int gid) {
|
||||
}
|
||||
|
||||
EX bool graphglyph() {
|
||||
// if(DIM == 3) return false;
|
||||
// if(GDIM == 3) return false;
|
||||
return vid.graphglyph == 2 || (vid.graphglyph == 1 && vid.monmode);
|
||||
}
|
||||
|
||||
@@ -216,7 +216,7 @@ bool displayglyph(int cx, int cy, int buttonsize, char glyph, color_t color, int
|
||||
if(m == moSlime) bsize = (2*bsize+1)/3;
|
||||
transmatrix V = atscreenpos(cx+buttonsize/2, cy, bsize*zoom);
|
||||
if(isWorm(m) && cgi.wormscale != 1)
|
||||
for(int i=0; i<DIM; i++)
|
||||
for(int i=0; i<GDIM; i++)
|
||||
V[i][i] /= cgi.wormscale;
|
||||
int mcol = color;
|
||||
mcol -= (color & 0xFCFCFC) >> 2;
|
||||
@@ -480,7 +480,7 @@ EX void drawStats() {
|
||||
bool h = hide_player();
|
||||
|
||||
{
|
||||
dynamicval<eModel> pm(pmodel, DIM == 3 ? mdFlatten : mdDisk);
|
||||
dynamicval<eModel> pm(pmodel, GDIM == 3 ? mdFlatten : mdDisk);
|
||||
// dynamicval<videopar> v(vid, vid);
|
||||
// vid.alpha = vid.scale = 1;
|
||||
dynamicval<ld> va(vid.alpha, 1);
|
||||
|
Reference in New Issue
Block a user