mirror of
https://github.com/ENSL/NS.git
synced 2025-02-16 17:11:15 +00:00
Mantis 0000989:
o Moved alien resource label down o Moved the text panel down so long lines of text won't conceal the crosshair git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@63 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
a7c495f1aa
commit
53ffbebd81
2 changed files with 11 additions and 3 deletions
|
@ -707,7 +707,10 @@ TeamFortressViewport::TeamFortressViewport(int x,int y,int wide,int tall) : Pane
|
|||
|
||||
CreateServerBrowser();
|
||||
|
||||
m_chatPanel = new ChatPanel(10, (ScreenHeight() * 0.75 - 30) / 2, ScreenWidth() - 20, 30);
|
||||
// tankefugl: 0000989:
|
||||
// m_chatPanel = new ChatPanel(10, (ScreenHeight() * 0.75 - 30) / 2, ScreenWidth() - 20, 30);
|
||||
m_chatPanel = new ChatPanel(10, ScreenHeight() * 0.75f - 30, ScreenWidth() - 20, 30);
|
||||
// :tankefugl
|
||||
m_chatPanel->setParent(this);
|
||||
m_chatPanel->setVisible(false);
|
||||
|
||||
|
|
|
@ -3552,8 +3552,13 @@ void AvHHud::RenderAlienUI()
|
|||
const float kTextInset = kResourceEnergyBarWidth*.5f;
|
||||
const int kNumericYOffset = 1.5*this->GetHudStringHeight();
|
||||
|
||||
int theResourceLabelX = mViewport[0] + kTextInset*ScreenWidth();
|
||||
int theResourceLabelY = theY - + .05f * ScreenHeight();
|
||||
// tankefugl: 0000989
|
||||
// moved resource label a bit down
|
||||
//int theResourceLabelX = mViewport[0] + kTextInset*ScreenWidth();
|
||||
//int theResourceLabelY = theY - + .05f * ScreenHeight();
|
||||
int theResourceLabelX = 10;
|
||||
int theResourceLabelY = .68f * ScreenHeight();
|
||||
// :tankefugl
|
||||
|
||||
if(this->mMapMode == MAP_MODE_NS)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue