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

Commit

Permalink
- removed faulty class from framework
Browse files Browse the repository at this point in the history
- increased height of menu from 280 to 300
- reduced fontsize from 15 to 14
- changed default radar color to white with 0.75 alpha visibility
  • Loading branch information
v0idp committed Nov 23, 2021
1 parent 7dca974 commit ac6239f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion appdata/il2cpp-classes.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ DO_APP_CLASS(GameOptionsData, "Assembly-CSharp, GameOptionsData");
DO_APP_CLASS(Camera, "UnityEngine.CoreModule, UnityEngine.Camera");
DO_APP_CLASS(LobbyBehaviour, "Assembly-CSharp, LobbyBehaviour");
DO_APP_CLASS(SaveManager, "Assembly-CSharp, SaveManager");
DO_APP_CLASS(DestroyableSingleton_1_RoleManager_, "Assembly-CSharp, DestroyableSingleton_1_RoleManager_");
//DO_APP_CLASS(DestroyableSingleton_1_RoleManager_, "Assembly-CSharp, DestroyableSingleton_1_RoleManager_");
4 changes: 2 additions & 2 deletions gui/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
namespace Menu {
void Init() {
#ifdef _DEBUG
ImGui::SetNextWindowSize(ImVec2(500, 280), ImGuiCond_Once);
ImGui::SetNextWindowSize(ImVec2(500, 300), ImGuiCond_Once);
#else
ImGui::SetNextWindowSize(ImVec2(440, 280), ImGuiCond_Once);
ImGui::SetNextWindowSize(ImVec2(440, 300), ImGuiCond_Once);
#endif
ImGui::SetNextWindowBgAlpha(1.F);
}
Expand Down
2 changes: 1 addition & 1 deletion hooks/DirectX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ bool ImGuiInitialization(IDXGISwapChain* pSwapChain) {
ImGuiIO& io = ImGui::GetIO();
io.Fonts->ClearFonts();
ImFontConfig config;
io.Fonts->AddFontFromFileTTF("C:\\Windows\\Fonts\\Arial.ttf", 15, &config, io.Fonts->GetGlyphRangesCyrillic());
io.Fonts->AddFontFromFileTTF("C:\\Windows\\Fonts\\Arial.ttf", 14, &config, io.Fonts->GetGlyphRangesCyrillic());
io.Fonts->Build();
io.ConfigFlags = ImGuiConfigFlags_NoMouseCursorChange;
ImGui_ImplWin32_Init(window);
Expand Down
2 changes: 1 addition & 1 deletion user/gitparams.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#define GIT_CUR_COMMIT 68a2089d212e5058138387a4202ead7f92350570
#define GIT_CUR_COMMIT 7dca97469a6412e2940cc900b93419e3dd006019
#define GIT_BRANCH main
2 changes: 1 addition & 1 deletion user/state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class Settings {

bool FakeCameraUsage = false;

ImVec4 SelectedColor = ImVec4(0.502f, 0.075f, 0.256f, 0.5f);
ImVec4 SelectedColor = ImVec4(1.f, 1.f, 1.f, 0.75f);

int SelectedColorId = 0;
std::string originalName = "-";
Expand Down

0 comments on commit ac6239f

Please sign in to comment.