diff options
| author | MegaMech <7255464+MegaMech@users.noreply.github.com> | 2025-01-05 12:26:27 -0700 |
|---|---|---|
| committer | MegaMech <7255464+MegaMech@users.noreply.github.com> | 2025-01-05 12:26:27 -0700 |
| commit | e993944089e1aa8d967568a84107aa4b9c727228 (patch) | |
| tree | 0009e5db3d9016ca112cb0445fe15de25efa2f30 /src/engine/courses/TestCourse.cpp | |
| parent | 5ee24ab2aaa451442199bceccf519d9bb9e58dcf (diff) | |
Finishwide screen. Impl IVector2D MinimapDimensions
Diffstat (limited to 'src/engine/courses/TestCourse.cpp')
| -rw-r--r-- | src/engine/courses/TestCourse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/courses/TestCourse.cpp b/src/engine/courses/TestCourse.cpp index 682db53c5..2a094c6a1 100644 --- a/src/engine/courses/TestCourse.cpp +++ b/src/engine/courses/TestCourse.cpp @@ -1,5 +1,6 @@ #include <libultraship.h> #include <libultra/gbi.h> +#include "CoreMath.h" #include <vector> #include <memory> @@ -61,8 +62,7 @@ TestCourse::TestCourse() { this->gfxSize = 100; this->textures = NULL; Props.MinimapTexture = gTextureCourseOutlineMarioRaceway; - Props.D_800E5548[0] = 64; - Props.D_800E5548[1] = 64; + Props.MinimapDimensions = IVector2D(ResourceGetTexWidthByName(Props.MinimapTexture), ResourceGetTexHeightByName(Props.MinimapTexture)); Props.Id = "mk:test_course"; Props.Name = "Test Course"; |
