change 4x speed to 10x speed for testing

This commit is contained in:
2026-06-06 12:01:41 +02:00
parent ef17b0ce42
commit 66cf9ae23a
3 changed files with 5 additions and 5 deletions

View File

@@ -481,7 +481,7 @@ std::optional<QVector2D> 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)

View File

@@ -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)
{