From 66cf9ae23ae7ec8c15cbd5eb26afc51df885e011 Mon Sep 17 00:00:00 2001 From: mlangkabel Date: Sat, 6 Jun 2026 12:01:41 +0200 Subject: [PATCH] change 4x speed to 10x speed for testing --- src/balancing/InspectWindow.cpp | 4 ++-- src/ui/GameWorldView.cpp | 2 +- src/ui/HeaderBar.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/balancing/InspectWindow.cpp b/src/balancing/InspectWindow.cpp index 468ebae..fa2b307 100644 --- a/src/balancing/InspectWindow.cpp +++ b/src/balancing/InspectWindow.cpp @@ -10,7 +10,7 @@ #include "ArenaView.h" -const double InspectWindow::kSpeeds[] = { 0.0, 0.5, 1.0, 2.0, 4.0 }; +const double InspectWindow::kSpeeds[] = { 0.0, 0.5, 1.0, 2.0, 10.0 }; const int InspectWindow::kSpeedCount = 5; InspectWindow::InspectWindow(ArenaSimulation* sim, const VisualsConfig* visuals, @@ -42,7 +42,7 @@ InspectWindow::InspectWindow(ArenaSimulation* sim, const VisualsConfig* visuals, headerLayout->addStretch(); - const char* labels[] = { "0x", "0.5x", "1x", "2x", "4x" }; + const char* labels[] = { "0x", "0.5x", "1x", "2x", "10x" }; QSignalMapper* mapper = new QSignalMapper(this); for (int i = 0; i < kSpeedCount; ++i) { diff --git a/src/ui/GameWorldView.cpp b/src/ui/GameWorldView.cpp index ab0f388..f4d829b 100644 --- a/src/ui/GameWorldView.cpp +++ b/src/ui/GameWorldView.cpp @@ -481,7 +481,7 @@ std::optional GameWorldView::entityPosition(entt::entity entity) cons void GameWorldView::stepSpeed(int delta) { - const double kSpeeds[] = { 0.0, 0.5, 1.0, 2.0, 4.0 }; + const double kSpeeds[] = { 0.0, 0.5, 1.0, 2.0, 10.0 }; const int kCount = 5; int current = 2; for (int i = 0; i < kCount; ++i) diff --git a/src/ui/HeaderBar.cpp b/src/ui/HeaderBar.cpp index ed342a9..35dcde3 100644 --- a/src/ui/HeaderBar.cpp +++ b/src/ui/HeaderBar.cpp @@ -10,7 +10,7 @@ #include "Tick.h" -const double HeaderBar::kSpeeds[] = { 0.0, 0.5, 1.0, 2.0, 4.0 }; +const double HeaderBar::kSpeeds[] = { 0.0, 0.5, 1.0, 2.0, 10.0 }; const int HeaderBar::kSpeedCount = 5; HeaderBar::HeaderBar(QWidget* parent) @@ -28,7 +28,7 @@ HeaderBar::HeaderBar(QWidget* parent) layout->addStretch(); layout->addWidget(m_bossLabel); - const char* labels[] = { "0x", "0.5x", "1x", "2x", "4x" }; + const char* labels[] = { "0x", "0.5x", "1x", "2x", "10x" }; QSignalMapper* mapper = new QSignalMapper(this); for (int i = 0; i < kSpeedCount; ++i) {