1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-15 05:07:16 +00:00

removed transparency from monsters in 3D

This commit is contained in:
Zeno Rogue
2019-04-21 01:06:37 +02:00
parent dd9f7d0275
commit b07a5a5c69
2 changed files with 32 additions and 26 deletions

View File

@@ -152,10 +152,14 @@ color_t darkened(color_t c) {
return c;
}
color_t darkena(color_t c, int lev, int a) {
color_t darkena3(color_t c, int lev, int a) {
return (darkenedby(c, lev) << 8) + a;
}
color_t darkena(color_t c, int lev, int a) {
return darkena3(c, lev, DIM == 3 ? 255 : a);
}
#if !CAP_GL
void setcameraangle(bool b) { }
#else