aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-27 22:08:43 +0200
committerHampusM <hampus@hampusmat.com>2022-06-27 22:08:43 +0200
commit6b0e2a25cf1e98d3f11d4e6c0305dd327048bbb8 (patch)
treea62c23f4e66949fe109e07dec95ad3a3e5229a7c /src/game/game.hpp
parent9d0fe1b42c9f6a5c09bab444966d347a71a4b905 (diff)
refactor: use int types from std namespace
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index ed5a00f..da1ba11 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -86,7 +86,7 @@ private:
CursorStyle _normal_mode_cursor_style;
CursorStyle _command_mode_cursor_style;
- int32_t _minimum_cursor_pos_y;
+ std::int32_t _minimum_cursor_pos_y;
std::optional<Vector2> _last_pos_before_command_mode;
@@ -96,7 +96,7 @@ private:
std::chrono::system_clock::time_point _last_gen_update_time;
- int64_t _generations_per_second = DEFAULT_GENERATIONS_PER_SECOND;
+ std::int64_t _generations_per_second = DEFAULT_GENERATIONS_PER_SECOND;
std::list<Vector2> _living_cell_positions;