mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 20:42:11 +00:00
- fixed color of Duke's "ATOMIC" menu sprite.
This commit is contained in:
parent
bc018dd946
commit
5aa832f536
2 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ class ListMenuItemDukeLogo : ListMenuItem
|
|||
if (gameinfo.gametype & GAMEFLAG_PLUTOPAK)
|
||||
{
|
||||
let mclock = MSTimeF() * 120 / 1000;
|
||||
int light = 223 + Raze.bsin(mclock * 16) >> 9;
|
||||
int light = 223 + (Raze.bsin(mclock * 16) >> 9);
|
||||
let pe = Color(255, light, light, light);
|
||||
Screen.DrawTexture(TexMan.CheckForTexture("MENUPLUTOPAKSPRITE"), false, x + 100, 36, DTA_FullscreenScale, FSMode_Fit320x200Top, DTA_Color, pe, DTA_CenterOffsetRel, true);
|
||||
}
|
||||
|
|
|
@ -142,7 +142,7 @@ struct Raze
|
|||
|
||||
native static Color shadeToLight(int shade);
|
||||
native static String PlayerName(int i);
|
||||
static int bsin(int angle) { return int(sin(angle * (360. / 2048)) * 16384); }
|
||||
static int bsin(double angle) { return int(sin(angle * (360. / 2048)) * 16384); }
|
||||
native static TextureID PickTexture(TextureID texid);
|
||||
native static int GetBuildTime();
|
||||
native static Font PickBigFont(String cmptext = "");
|
||||
|
|
Loading…
Reference in a new issue