Add files via upload

This commit is contained in:
0TheSpy
2022-11-19 04:15:15 +03:00
committed by GitHub
parent c08da2f480
commit c934ffbd60
3 changed files with 11 additions and 7 deletions

View File

@ -134,7 +134,7 @@ void InitImGui(LPDIRECT3DDEVICE9 pDevice)
style->WindowTitleAlign = ImVec2(0.00f, 1.2f); style->WindowTitleAlign = ImVec2(0.00f, 1.2f);
style->WindowRounding = 6; style->WindowRounding = 6;
float alpha = 0.6f; //other colors -> imgui_widgets.cpp float alpha = 0.7f; // other colors -> imgui_widgets.cpp
#ifdef OLDSTYLE #ifdef OLDSTYLE
alpha = 1.0f; alpha = 1.0f;
#endif #endif
@ -1870,7 +1870,7 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice)
ImGui::Columns(3, nullptr, false); ImGui::Columns(3, nullptr, false);
// //
style->ItemSpacing = ImVec2(7.0f, 8.0f); //10 style->ItemSpacing = ImVec2(7.0f, 5.0f); //10
ImGui::Checkbox("Spectator list", g_Options.speclist); ImGui::Checkbox("Spectator list", g_Options.speclist);
ImGui::Checkbox("Vote reveal", g_Options.votereveal); ImGui::Checkbox("Vote reveal", g_Options.votereveal);
ImGui::Checkbox("Rank reveal", g_Options.rankreveal); ImGui::Checkbox("Rank reveal", g_Options.rankreveal);
@ -1921,7 +1921,7 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice)
ImGui::NextColumn(); ImGui::NextColumn();
style->ItemSpacing = ImVec2(7.0f, 8.0f); //10 style->ItemSpacing = ImVec2(7.0f, 5.0f); //10
ImGui::Checkbox("C4 timer", g_Options.c4timer); ImGui::Checkbox("C4 timer", g_Options.c4timer);
ImGui::Checkbox("Block bot", g_Options.blockbot); ImGui::Checkbox("Block bot", g_Options.blockbot);
style->ItemSpacing = ImVec2(7.0f, 19.0f); //17 style->ItemSpacing = ImVec2(7.0f, 19.0f); //17
@ -1937,7 +1937,7 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice)
ImGui::NextColumn(); ImGui::NextColumn();
style->ItemSpacing = ImVec2(7.0f, 8.0f); //10 style->ItemSpacing = ImVec2(7.0f, 5.0f); //10
ImGui::Checkbox("Bunny hop", g_Options.bunnyhop); ImGui::Checkbox("Bunny hop", g_Options.bunnyhop);
DisableElements(*g_Options.bunnyhop, 1); DisableElements(*g_Options.bunnyhop, 1);

View File

@ -240,6 +240,10 @@ void do_precipitation() {
rain_ent->GetMins() = Vector(-32767.0f, -32767.0f, -32767.0f); rain_ent->GetMins() = Vector(-32767.0f, -32767.0f, -32767.0f);
rain_ent->GetMaxs() = Vector(32767.0f, 32767.0f, 32767.0f); rain_ent->GetMaxs() = Vector(32767.0f, 32767.0f, 32767.0f);
auto collid = rain_ent->GetCollideable();
collid->OBBMins_() = Vector(-32767.0f, -32767.0f, -32767.0f);
collid->OBBMaxs_() = Vector(32767.0f, 32767.0f, 32767.0f);
rain_ent->OnDataChanged(DataUpdateType_t::DATA_UPDATE_CREATED); rain_ent->OnDataChanged(DataUpdateType_t::DATA_UPDATE_CREATED);
rain_ent->PostDataUpdate(DataUpdateType_t::DATA_UPDATE_CREATED); rain_ent->PostDataUpdate(DataUpdateType_t::DATA_UPDATE_CREATED);