Add tooltips here too.

This commit is contained in:
Marisa the Magician 2019-12-05 23:35:34 +01:00
commit 9e055d7570
7 changed files with 109 additions and 41 deletions

View file

@ -859,7 +859,7 @@ Class UnrealStaticHandler : StaticEventHandler
ui void StartMenu()
{
CVar protomenu = CVar.GetCVar('stinger_introtype',players[consoleplayer]);
CVar protomenu = CVar.GetCVar('sting_introtype',players[consoleplayer]);
if ( !protomenu ) return; // this can happen
int proto = protomenu.GetInt();
tex[0] = TexMan.CheckForTexture("graphics/UnLogo0.png",TexMan.Type_Any);

View file

@ -139,7 +139,7 @@ Class UnrealHUD : BaseStatusBar
{
Super.Draw(state,TicFrac);
FracTic = TicFrac;
HudMode = CVar.GetCVar('stinger_hudmode',players[consoleplayer]).GetInt();
HudMode = CVar.GetCVar('sting_hudmode',players[consoleplayer]).GetInt();
scalev.x = scalev.y = CVar.GetCVar('hud_scale',players[consoleplayer]).GetInt();
if ( scalev.x < 0 ) scalev.x = scalev.y = max(1,min(Screen.GetWidth()/640.,Screen.GetHeight()/480.)); // the typical behavior is scaling to 640x400 but we're expecting 4:3 here
else if ( scalev.x == 0 )

View file

@ -119,7 +119,7 @@ Class OptionMenuItemHudType : OptionMenuItem
OptionMenuItemHudType Init( String label )
{
Super.Init(label,"",true);
mCVar = CVar.FindCVar('stinger_hudmode');
mCVar = CVar.FindCVar('sting_hudmode');
tex[0] = TexMan.CheckForTexture("graphics/Hud1.png",TexMan.Type_Any);
tex[1] = TexMan.CheckForTexture("graphics/Hud2.png",TexMan.Type_Any);
tex[2] = TexMan.CheckForTexture("graphics/Hud3.png",TexMan.Type_Any);