Skip to content

Commit

Permalink
Update streaming levels hud for release. Fix Y offset to be below PC …
Browse files Browse the repository at this point in the history
…hotbar
  • Loading branch information
Mgamerz committed Dec 1, 2020
1 parent 1536457 commit c35ceb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions SteamingLevelsHUD/StreamingLevelsHUD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include <sstream>
#include "../ME3SDK/ME3TweaksHeader.h"
#include "../detours/detours.h"
#define _CRT_SECURE_NO_WARNINGS
#pragma comment(lib, "detours.lib") //Library needed for Hooking part.
#pragma comment( lib, "psapi.lib" )
#include <psapi.h>
Expand All @@ -26,7 +25,7 @@ BOOL critVisible = true;
static void RenderTextSLH(std::wstring msg, const float x, const float y, const char r, const char g, const char b, const float alpha, UCanvas* can)
{
can->SetDrawColor(r, g, b, alpha * 255);
can->SetPos(x, y);
can->SetPos(x, y + 64); //+ is Y start. To prevent overlay on top of the power bar thing
FLinearColor drawColor;
drawColor.R = r;
drawColor.G = g;
Expand Down
2 changes: 1 addition & 1 deletion SteamingLevelsHUD/StreamingLevelsHUD.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;StreamingLevelsHUD_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS;WIN32;NDEBUG;_WINDOWS;_USRDLL;StreamingLevelsHUD_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<LanguageStandard>stdcpp17</LanguageStandard>
Expand Down

0 comments on commit c35ceb1

Please sign in to comment.