aboutsummaryrefslogtreecommitdiff
path: root/game/background/HallwaySubScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/background/HallwaySubScene.cpp')
-rw-r--r--game/background/HallwaySubScene.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/game/background/HallwaySubScene.cpp b/game/background/HallwaySubScene.cpp
index b5e3635..2aa9bab 100644
--- a/game/background/HallwaySubScene.cpp
+++ b/game/background/HallwaySubScene.cpp
@@ -18,7 +18,7 @@ float HallwaySubScene::create(Scene & scn, float begin_x, unsigned int sector_nu
begin.add_component<Sprite>(begin_asset, Sprite::Data{
.sorting_in_layer = SORT_IN_LAY_BACKGROUND,
.order_in_layer = 0,
- .size = vec2(0, 800),
+ .size = vec2(0, GAME_HEIGHT),
});
begin_x += 600;
@@ -32,7 +32,7 @@ float HallwaySubScene::create(Scene & scn, float begin_x, unsigned int sector_nu
Sprite::Data{
.sorting_in_layer = SORT_IN_LAY_BACKGROUND,
.order_in_layer = 2,
- .size = vec2(0, 800),
+ .size = vec2(0, GAME_HEIGHT),
});
begin_x += 600;
@@ -42,7 +42,7 @@ float HallwaySubScene::create(Scene & scn, float begin_x, unsigned int sector_nu
Sprite::Data{
.sorting_in_layer = SORT_IN_LAY_BACKGROUND,
.order_in_layer = 3,
- .size = vec2(0, 800),
+ .size = vec2(0, GAME_HEIGHT),
});
begin_x += 200;
@@ -52,7 +52,7 @@ float HallwaySubScene::create(Scene & scn, float begin_x, unsigned int sector_nu
Sprite::Data{
.sorting_in_layer = SORT_IN_LAY_BACKGROUND,
.order_in_layer = 4,
- .size = vec2(0, 800),
+ .size = vec2(0, GAME_HEIGHT),
});
begin_x += 400;
@@ -64,7 +64,7 @@ float HallwaySubScene::create(Scene & scn, float begin_x, unsigned int sector_nu
Sprite::Data{
.sorting_in_layer = SORT_IN_LAY_BACKGROUND,
.order_in_layer = 5,
- .size = vec2(0, 800),
+ .size = vec2(0, GAME_HEIGHT),
});
begin_x += 600;
@@ -73,7 +73,7 @@ float HallwaySubScene::create(Scene & scn, float begin_x, unsigned int sector_nu
end.add_component<Sprite>(end_asset, Sprite::Data{
.sorting_in_layer = SORT_IN_LAY_BACKGROUND,
.order_in_layer = 1,
- .size = vec2(0, 800),
+ .size = vec2(0, GAME_HEIGHT),
});
begin_x += 600;