mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
m32: Make a couple of often-used operations not spam messages to the log.
git-svn-id: https://svn.eduke32.com/eduke32@2103 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b9a4b92bc8
commit
59670ed45e
1 changed files with 9 additions and 7 deletions
|
@ -5593,7 +5593,7 @@ static void Keys3d(void)
|
||||||
visibility <<= (visibility < 16384);
|
visibility <<= (visibility < 16384);
|
||||||
else
|
else
|
||||||
visibility >>= (visibility > 32);
|
visibility >>= (visibility > 32);
|
||||||
message("Global visibility %d", visibility);
|
silentmessage("Global visibility %d", visibility);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -5628,7 +5628,7 @@ static void Keys3d(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
message("Sector %d visibility %d",searchsector,sector[searchsector].visibility);
|
silentmessage("Sector %d visibility %d",searchsector,sector[searchsector].visibility);
|
||||||
asksave = 1;
|
asksave = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5648,14 +5648,16 @@ static void Keys3d(void)
|
||||||
for (i=0; i<highlightcnt; i++)
|
for (i=0; i<highlightcnt; i++)
|
||||||
if (highlight[i]&16384)
|
if (highlight[i]&16384)
|
||||||
clamped = addtobyte(&sprite[highlight[i]&16383].shade, tsign);
|
clamped = addtobyte(&sprite[highlight[i]&16383].shade, tsign);
|
||||||
message("Highlighted sprite shade changed by %d%s", tsign,
|
(clamped ? message : silentmessage)
|
||||||
clamped?" (some sprites' shade clamped)":"");
|
("Highlighted sprite shade changed by %d%s",
|
||||||
|
tsign, clamped?" (some sprites' shade clamped)":"");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
clamped = addtobyte(&AIMED_CF_SEL(shade), tsign);
|
clamped = addtobyte(&AIMED_CF_SEL(shade), tsign);
|
||||||
message("%s %d shade %d%s", Typestr[searchstat], i, AIMED_CF_SEL(shade),
|
(clamped ? message : silentmessage)
|
||||||
clamped ? " (clamped)":"");
|
("%s %d shade %d%s", Typestr[searchstat], i,
|
||||||
|
AIMED_CF_SEL(shade), clamped ? " (clamped)":"");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5677,7 +5679,7 @@ static void Keys3d(void)
|
||||||
for (j=headspritesect[dasector]; j!=-1; j=nextspritesect[j])
|
for (j=headspritesect[dasector]; j!=-1; j=nextspritesect[j])
|
||||||
clamped |= addtobyte(&sprite[j].shade, tsign);
|
clamped |= addtobyte(&sprite[j].shade, tsign);
|
||||||
}
|
}
|
||||||
message("Highlighted sector shade changed by %d%s", tsign,
|
(clamped ? message : silentmessage)("Highlighted sector shade changed by %d%s", tsign,
|
||||||
clamped?" (some objects' shade clamped)":"");
|
clamped?" (some objects' shade clamped)":"");
|
||||||
}
|
}
|
||||||
asksave = 1;
|
asksave = 1;
|
||||||
|
|
Loading…
Reference in a new issue