aboutsummaryrefslogtreecommitdiff
path: root/game/PreviewScene.cpp
diff options
context:
space:
mode:
authorheavydemon21 <48092678+heavydemon21@users.noreply.github.com>2025-01-10 14:44:59 +0100
committerGitHub <noreply@github.com>2025-01-10 14:44:59 +0100
commit798237b661e8e49284e78ffb1a16599cf6a46a6d (patch)
tree8f4881cf4abc58774625383620cf82fa55b9d1f0 /game/PreviewScene.cpp
parentbb2db93bfb8dd7e080d2708548eae660e6b33913 (diff)
parentd1cebcca2018ed4ef47ad125e45aafd018a2ab2e (diff)
Merge pull request #125 from lonkaars/niels/game
missile alerts
Diffstat (limited to 'game/PreviewScene.cpp')
-rw-r--r--game/PreviewScene.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/game/PreviewScene.cpp b/game/PreviewScene.cpp
index 6871961..d9801a7 100644
--- a/game/PreviewScene.cpp
+++ b/game/PreviewScene.cpp
@@ -92,7 +92,6 @@ void PreviewScene::load_scene() {
HudSubScene hud;
hud.create(*this);
-
const float Y_POS_BUTTONS = -220;
const float X_POS_BUTTONS = -150;
const float X_POS_BUTTONS_SPACING = 145;
@@ -102,7 +101,7 @@ void PreviewScene::load_scene() {
ButtonSubScene::Data {
.text = "BACK",
.text_width = 60,
- .position = {X_POS_BUTTONS,Y_POS_BUTTONS},
+ .position = {X_POS_BUTTONS, Y_POS_BUTTONS},
.script_type = ButtonSubScene::ScriptSelect::NEXT,
.button_type = ButtonSubScene::ButtonSelect::BACK,
.scale = 0.6,
@@ -117,7 +116,7 @@ void PreviewScene::load_scene() {
ButtonSubScene::Data {
.text = "START REC",
.text_width = 130,
- .position = {X_POS_BUTTONS+X_POS_BUTTONS_SPACING,Y_POS_BUTTONS},
+ .position = {X_POS_BUTTONS + X_POS_BUTTONS_SPACING, Y_POS_BUTTONS},
.script_type = ButtonSubScene::ScriptSelect::PREVIEW_START,
.button_type = ButtonSubScene::ButtonSelect::LARGE,
.scale = 0.6,
@@ -133,7 +132,7 @@ void PreviewScene::load_scene() {
ButtonSubScene::Data {
.text = "STOP REC",
.text_width = 120,
- .position = {X_POS_BUTTONS+X_POS_BUTTONS_SPACING*2,Y_POS_BUTTONS},
+ .position = {X_POS_BUTTONS + X_POS_BUTTONS_SPACING * 2, Y_POS_BUTTONS},
.script_type = ButtonSubScene::ScriptSelect::PREVIEW_STOP,
.button_type = ButtonSubScene::ButtonSelect::LARGE,
.scale = 0.6,
@@ -149,7 +148,7 @@ void PreviewScene::load_scene() {
ButtonSubScene::Data {
.text = "REPLAY",
.text_width = 90,
- .position = {X_POS_BUTTONS+X_POS_BUTTONS_SPACING*3,Y_POS_BUTTONS},
+ .position = {X_POS_BUTTONS + X_POS_BUTTONS_SPACING * 3, Y_POS_BUTTONS},
.script_type = ButtonSubScene::ScriptSelect::PREVIEW_REPLAY,
.button_type = ButtonSubScene::ButtonSelect::LARGE,
.scale = 0.6,