diff options
Diffstat (limited to 'src/engine/courses/TestCourse.cpp')
| -rw-r--r-- | src/engine/courses/TestCourse.cpp | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/engine/courses/TestCourse.cpp b/src/engine/courses/TestCourse.cpp index 02d2493cf..1984fb143 100644 --- a/src/engine/courses/TestCourse.cpp +++ b/src/engine/courses/TestCourse.cpp @@ -61,7 +61,7 @@ extern "C" { TestCourse::TestCourse() { this->gfxSize = 100; this->textures = NULL; - Props.Minimap.Texture = gTextureCourseOutlineMarioRaceway; + Props.Minimap.Texture = minimap_mario_raceway; Props.Minimap.Width = ResourceGetTexWidthByName(Props.Minimap.Texture); Props.Minimap.Height = ResourceGetTexHeightByName(Props.Minimap.Texture); Props.Minimap.Pos[0].X = 260; @@ -72,6 +72,7 @@ TestCourse::TestCourse() { Props.Minimap.FinishlineX = 0; Props.Minimap.FinishlineY = 0; Props.Minimap.Colour = {255, 255, 255}; + ResizeMinimap(&Props.Minimap); Id = "mk:test_course"; @@ -145,16 +146,16 @@ void TestCourse::Load() { } void TestCourse::LoadTextures() { - dma_textures(gTextureTrees1, 0x0000035BU, 0x00000800U); - D_802BA058 = dma_textures(gTexturePiranhaPlant1, 0x000003E8U, 0x00000800U); - dma_textures(gTexturePiranhaPlant2, 0x000003E8U, 0x00000800U); - dma_textures(gTexturePiranhaPlant3, 0x000003E8U, 0x00000800U); - dma_textures(gTexturePiranhaPlant4, 0x000003E8U, 0x00000800U); - dma_textures(gTexturePiranhaPlant5, 0x000003E8U, 0x00000800U); - dma_textures(gTexturePiranhaPlant6, 0x000003E8U, 0x00000800U); - dma_textures(gTexturePiranhaPlant7, 0x000003E8U, 0x00000800U); - dma_textures(gTexturePiranhaPlant8, 0x000003E8U, 0x00000800U); - dma_textures(gTexturePiranhaPlant9, 0x000003E8U, 0x00000800U); + dma_textures(gTextureTrees1, 0x0000035BU, 0x00000800U); // 0x03009000 + D_802BA058 = dma_textures(gTexturePiranhaPlant1, 0x000003E8U, 0x00000800U); // 0x03009800 + dma_textures(gTexturePiranhaPlant2, 0x000003E8U, 0x00000800U); // 0x0300A000 + dma_textures(gTexturePiranhaPlant3, 0x000003E8U, 0x00000800U); // 0x0300A800 + dma_textures(gTexturePiranhaPlant4, 0x000003E8U, 0x00000800U); // 0x0300B000 + dma_textures(gTexturePiranhaPlant5, 0x000003E8U, 0x00000800U); // 0x0300B800 + dma_textures(gTexturePiranhaPlant6, 0x000003E8U, 0x00000800U); // 0x0300C000 + dma_textures(gTexturePiranhaPlant7, 0x000003E8U, 0x00000800U); // 0x0300C800 + dma_textures(gTexturePiranhaPlant8, 0x000003E8U, 0x00000800U); // 0x0300D000 + dma_textures(gTexturePiranhaPlant9, 0x000003E8U, 0x00000800U); // 0x0300D800 } Path2D test_course_path2D[] = { |
