helper functions added

- Added helper functions to facilitate Vector3 and Transform operations.
- Defined operator overloads for Vector3 (not tested).
- Added fly and spawnPrefab functions to the Misc namespace (not tested).
- Added fly speed to settings.
This commit is contained in:
Jadis0x
2024-05-19 02:43:52 +03:00
parent 0c809fc44b
commit d32b92d1e3
9 changed files with 156 additions and 7 deletions

View File

@@ -277,9 +277,10 @@ void DrawMiscTab() {
/*
if (ImGui::Button("Unlock Achievements")) {
//Unlock Achievements
Misc::CustomizedLobby();
}
if (ImGui::Button("TP Keys")) {
//Misc::TPKeys();
}
@@ -289,13 +290,17 @@ void DrawMiscTab() {
ImGui::Checkbox("Change server name", &settings::server_name_spoof);
ImGui::InputText("New name##server", &settings::server_name);
*/
ImGui::Checkbox("Fly", &settings::fly);
ImGui::SliderFloat("Speed: ", &settings::fly_speed, 1.f, 10.f);
/*
if (ImGui::Button("Make random noise")) {
//Misc::PlayRandomSound();
}
ImGui::Checkbox("Walk in lobby", &settings::walk_in_lobby);
ImGui::Checkbox("Auto respawn", &settings::auto_respawn);