added client version control

+ nlohmann/json library was included in the project.
+ VersionControl class was created and it checks if the client is up to date.
+ CLIENT_VERSION macro defined.
This commit is contained in:
Jadis0x
2024-06-02 13:27:13 +03:00
parent 3c474a398e
commit a1c4c9c830
7 changed files with 24938 additions and 10 deletions

View File

@@ -353,6 +353,9 @@ void DrawMiscTab() {
}
void DrawPlayersTab() {
ImGui::Checkbox("Fly", &settings::fly);
ImGui::SliderFloat("Speed: ", &settings::fly_speed, 5.f, 20.f);
ImGui::Checkbox("Change player speed", &settings::change_player_speed);
ImGui::SliderInt("Multiplier", &settings::new_speed, 0, 10);