change 4x speed to 10x speed for testing
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
#include "ArenaView.h"
|
#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;
|
const int InspectWindow::kSpeedCount = 5;
|
||||||
|
|
||||||
InspectWindow::InspectWindow(ArenaSimulation* sim, const VisualsConfig* visuals,
|
InspectWindow::InspectWindow(ArenaSimulation* sim, const VisualsConfig* visuals,
|
||||||
@@ -42,7 +42,7 @@ InspectWindow::InspectWindow(ArenaSimulation* sim, const VisualsConfig* visuals,
|
|||||||
|
|
||||||
headerLayout->addStretch();
|
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);
|
QSignalMapper* mapper = new QSignalMapper(this);
|
||||||
for (int i = 0; i < kSpeedCount; ++i)
|
for (int i = 0; i < kSpeedCount; ++i)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -481,7 +481,7 @@ std::optional<QVector2D> GameWorldView::entityPosition(entt::entity entity) cons
|
|||||||
|
|
||||||
void GameWorldView::stepSpeed(int delta)
|
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;
|
const int kCount = 5;
|
||||||
int current = 2;
|
int current = 2;
|
||||||
for (int i = 0; i < kCount; ++i)
|
for (int i = 0; i < kCount; ++i)
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
#include "Tick.h"
|
#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;
|
const int HeaderBar::kSpeedCount = 5;
|
||||||
|
|
||||||
HeaderBar::HeaderBar(QWidget* parent)
|
HeaderBar::HeaderBar(QWidget* parent)
|
||||||
@@ -28,7 +28,7 @@ HeaderBar::HeaderBar(QWidget* parent)
|
|||||||
layout->addStretch();
|
layout->addStretch();
|
||||||
layout->addWidget(m_bossLabel);
|
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);
|
QSignalMapper* mapper = new QSignalMapper(this);
|
||||||
for (int i = 0; i < kSpeedCount; ++i)
|
for (int i = 0; i < kSpeedCount; ++i)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user