diff --git a/dev/tankefugl/source/cl_dll/vgui_TeamFortressViewport.cpp b/dev/tankefugl/source/cl_dll/vgui_TeamFortressViewport.cpp index a5ac18a..7e696fd 100644 --- a/dev/tankefugl/source/cl_dll/vgui_TeamFortressViewport.cpp +++ b/dev/tankefugl/source/cl_dll/vgui_TeamFortressViewport.cpp @@ -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); diff --git a/dev/tankefugl/source/mod/AvHHudRender.cpp b/dev/tankefugl/source/mod/AvHHudRender.cpp index 7321006..d4c2fca 100644 --- a/dev/tankefugl/source/mod/AvHHudRender.cpp +++ b/dev/tankefugl/source/mod/AvHHudRender.cpp @@ -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) {