Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
OUTLINESSSSS
Browse files Browse the repository at this point in the history
  • Loading branch information
StormAxs committed Dec 15, 2023
1 parent 5bdc35a commit fb9f9e8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/game/client/components/menus_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3831,7 +3831,7 @@ void CMenus::RenderSettingsStA(CUIRect MainView)
MainView.VSplitLeft(MainView.w * 0.5, &MainView, &Column);

MainView.HSplitTop(40.0f, &Section, &MainView);
UI()->DoLabel(&Section, ("Frozen Tee Display"), 20.0f, TEXTALIGN_LEFT);
UI()->DoLabel(&Section, ("Frozen Tee Display "), 20.0f, TEXTALIGN_LEFT);
MainView.VSplitLeft(5.1f, 0x0, &MainView); // i splitted it 5.1, because 5.0 is not perfectly centered for some fckn reason - DDNET FIX YOUR CODE
MainView.HSplitTop(5.1f, 0x0, &MainView);

Expand Down Expand Up @@ -3864,7 +3864,7 @@ void CMenus::RenderSettingsStA(CUIRect MainView)
MainView = Column;

MainView.HSplitTop(30.0f, &Section, &MainView);
UI()->DoLabel(&Section, Localize("Tile Outlines"), 20.0f, TEXTALIGN_LEFT);
UI()->DoLabel(&Section, Localize("Tile Outlines(TYSM TClient)"), 20.0f, TEXTALIGN_LEFT);
MainView.VSplitLeft(5.0f, 0x0, &MainView);
MainView.HSplitTop(5.0f, 0x0, &MainView);

Expand Down
2 changes: 1 addition & 1 deletion src/game/client/gameclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void CGameClient::OnConsoleInit()
&m_NamePlates,
//bindwheel
&m_BindWheel,

&m_Outlines,
&m_Particles.m_RenderExtra,
&m_Particles.m_RenderGeneral,
&m_FreezeBars,
Expand Down
2 changes: 2 additions & 0 deletions src/game/client/gameclient.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "components/bindwheel.h"
#include "components/broadcast.h"
#include "components/camera.h"
#include "components/outlines.h"
#include "components/chat.h"
#include "components/console.h"
#include "components/controls.h"
Expand Down Expand Up @@ -121,6 +122,7 @@ class CGameClient : public IGameClient
CBindWheel m_BindWheel;
CVerify m_Verify;
CBroadcast m_Broadcast;
COutlines m_Outlines;
CGameConsole m_GameConsole;
CBinds m_Binds;
CSkinProfiles m_SkinProfiles;
Expand Down

0 comments on commit fb9f9e8

Please sign in to comment.