From 53e4d82bbeaa05ab834152b0390dc3c3545b1a1b Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sat, 6 Mar 2021 06:12:29 +0100 Subject: [PATCH] :green_heart: Fix test builds --- SourceT/scrollrt_test.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/SourceT/scrollrt_test.cpp b/SourceT/scrollrt_test.cpp index aab56e718..285cddea8 100644 --- a/SourceT/scrollrt_test.cpp +++ b/SourceT/scrollrt_test.cpp @@ -8,7 +8,7 @@ TEST(Scrool_rt, calc_tiles_in_view_original) { dvl::gnScreenWidth = 640; dvl::gnScreenHeight = 480; - dvl::viewportHeight = dvl::gnScreenHeight - 128; + dvl::gnViewportHeight = dvl::gnScreenHeight - 128; dvl::zoomflag = true; int columns = 0; int rows = 0; @@ -21,7 +21,7 @@ TEST(Scrool_rt, calc_tiles_in_view_original_zoom) { dvl::gnScreenWidth = 640; dvl::gnScreenHeight = 480; - dvl::viewportHeight = dvl::gnScreenHeight - 128; + dvl::gnViewportHeight = dvl::gnScreenHeight - 128; dvl::zoomflag = false; int columns = 0; int rows = 0; @@ -34,7 +34,7 @@ TEST(Scrool_rt, calc_tiles_in_view_960_540) { dvl::gnScreenWidth = 960; dvl::gnScreenHeight = 540; - dvl::viewportHeight = dvl::gnScreenHeight; + dvl::gnViewportHeight = dvl::gnScreenHeight; dvl::zoomflag = true; int columns = 0; int rows = 0; @@ -47,7 +47,7 @@ TEST(Scrool_rt, calc_tiles_in_view_640_512) { dvl::gnScreenWidth = 640; dvl::gnScreenHeight = 512; - dvl::viewportHeight = dvl::gnScreenHeight - 128; + dvl::gnViewportHeight = dvl::gnScreenHeight - 128; dvl::zoomflag = true; int columns = 0; int rows = 0; @@ -60,7 +60,7 @@ TEST(Scrool_rt, calc_tiles_in_view_768_480_zoom) { dvl::gnScreenWidth = 768; dvl::gnScreenHeight = 480; - dvl::viewportHeight = dvl::gnScreenHeight; + dvl::gnViewportHeight = dvl::gnScreenHeight; dvl::zoomflag = false; int columns = 0; int rows = 0; @@ -75,7 +75,7 @@ TEST(Scrool_rt, calc_tile_offset_original) { dvl::gnScreenWidth = 640; dvl::gnScreenHeight = 480; - dvl::viewportHeight = dvl::gnScreenHeight - 128; + dvl::gnViewportHeight = dvl::gnScreenHeight - 128; dvl::zoomflag = true; int x = 0; int y = 0; @@ -88,7 +88,7 @@ TEST(Scrool_rt, calc_tile_offset_original_zoom) { dvl::gnScreenWidth = 640; dvl::gnScreenHeight = 480; - dvl::viewportHeight = dvl::gnScreenHeight - 128; + dvl::gnViewportHeight = dvl::gnScreenHeight - 128; dvl::zoomflag = false; int x = 0; int y = 0; @@ -101,7 +101,7 @@ TEST(Scrool_rt, calc_tile_offset_960_540) { dvl::gnScreenWidth = 960; dvl::gnScreenHeight = 540; - dvl::viewportHeight = dvl::gnScreenHeight; + dvl::gnViewportHeight = dvl::gnScreenHeight; dvl::zoomflag = true; int x = 0; int y = 0; @@ -114,7 +114,7 @@ TEST(Scrool_rt, calc_tile_offset_853_480) { dvl::gnScreenWidth = 853; dvl::gnScreenHeight = 480; - dvl::viewportHeight = dvl::gnScreenHeight; + dvl::gnViewportHeight = dvl::gnScreenHeight; dvl::zoomflag = true; int x = 0; int y = 0; @@ -127,7 +127,7 @@ TEST(Scrool_rt, calc_tile_offset_768_480_zoom) { dvl::gnScreenWidth = 768; dvl::gnScreenHeight = 480; - dvl::viewportHeight = dvl::gnScreenHeight; + dvl::gnViewportHeight = dvl::gnScreenHeight; dvl::zoomflag = false; int x = 0; int y = 0;