aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r--src/game/game.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index 0fe0ff1..3f76b05 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -59,8 +59,7 @@ void Game::on_start() noexcept
_status_manager->set_section_title(StatusLineSection::D, "Paused: ");
_status_manager->set_section_title(StatusLineSection::E, "Generation: ");
_status_manager->set_section_title(StatusLineSection::F, "Generation speed: ");
- _status_manager->set_section_title(StatusLineSection::G, "Living cells: ");
- _status_manager->set_section_title(StatusLineSection::H, "Window size: ");
+ _status_manager->set_section_title(StatusLineSection::G, "Window size: ");
const auto center_position = Vector2(
{.x = static_cast<Vector2::Value>(scene_size.get_width()) / 2,
@@ -84,10 +83,8 @@ void Game::on_start() noexcept
_status_manager->set_section_body(StatusLineSection::F, "0");
- _status_manager->set_section_body(StatusLineSection::G, "0");
-
_status_manager->set_section_body(
- StatusLineSection::H,
+ StatusLineSection::G,
fmt::format("{}x{}", scene_size.get_width(), scene_size.get_height()));
_commands["open"] = CommandInfo(
@@ -326,10 +323,6 @@ void Game::_on_normal_mode_update() noexcept
StatusLineSection::F,
fmt::format("{}/s", _generations_per_second));
- _status_manager->set_section_body(
- StatusLineSection::G,
- fmt::format("{}", _living_cell_positions.size()));
-
const auto time_now = std::chrono::system_clock::now();
if (_generation_tracker->get_is_paused() && !is_generation_stepping)