summaryrefslogtreecommitdiff
path: root/src/engine/courses/ChocoMountain.cpp
diff options
context:
space:
mode:
authorMegaMech <7255464+MegaMech@users.noreply.github.com>2024-12-05 21:41:58 -0700
committerMegaMech <7255464+MegaMech@users.noreply.github.com>2024-12-05 21:41:58 -0700
commit19135c9ee83643ea863d5725c22319e502938cac (patch)
treeec4792402d73607e1c80e8b6a4cf766c5ac0e171 /src/engine/courses/ChocoMountain.cpp
parent7628e98e37d72aa508aa1af276ef8e3485df339c (diff)
load course dl textures from otr and move objects
Diffstat (limited to 'src/engine/courses/ChocoMountain.cpp')
-rw-r--r--src/engine/courses/ChocoMountain.cpp30
1 files changed, 27 insertions, 3 deletions
diff --git a/src/engine/courses/ChocoMountain.cpp b/src/engine/courses/ChocoMountain.cpp
index 71e147f2d..b497b2431 100644
--- a/src/engine/courses/ChocoMountain.cpp
+++ b/src/engine/courses/ChocoMountain.cpp
@@ -4,9 +4,8 @@
#include <memory>
#include "ChocoMountain.h"
-#include "GameObject.h"
#include "World.h"
-#include "engine/vehicles/OBombKart.h"
+#include "engine/objects/OBombKart.h"
#include "choco_mountain_data.h"
#include "engine/actors/AFinishline.h"
@@ -31,14 +30,39 @@ extern "C" {
#include "collision.h"
#include "code_8003DC40.h"
#include "memory.h"
+ #include "course_offsets.h"
extern const char *choco_mountain_dls[];
}
+const course_texture choco_mountain_textures[] = {
+ { gTexture64619C, 0x0124, 0x0800, 0x0 },
+ { gTexture64647C, 0x0829, 0x1000, 0x0 },
+ { gTexture647F4C, 0x05BC, 0x1000, 0x0 },
+ { gTexture64FBF4, 0x0274, 0x0800, 0x0 },
+ { gTexture653DB0, 0x06AE, 0x0800, 0x0 },
+ { gTexture652B54, 0x0606, 0x0800, 0x0 },
+ { gTexture65315C, 0x04A9, 0x0800, 0x0 },
+ { gTexture6684F8, 0x010D, 0x0800, 0x0 },
+ { gTextureSignLuigis0, 0x0287, 0x1000, 0x0 },
+ { gTextureSignLuigis1, 0x02AF, 0x1000, 0x0 },
+ { gTextureSignNintendoRed0, 0x02A6, 0x1000, 0x0 },
+ { gTextureSignNintendoRed1, 0x02F7, 0x1000, 0x0 },
+ { gTexture6774D8, 0x0113, 0x0800, 0x0 },
+ { gTextureSignFallingRocks, 0x012C, 0x0800, 0x0 },
+ { gTextureSignBackside, 0x011E, 0x0800, 0x0 },
+ { gTexture679C04, 0x012F, 0x0800, 0x0 },
+ { gTexture67B864, 0x014C, 0x0800, 0x0 },
+ { gTexture67DC20, 0x03EF, 0x0800, 0x0 },
+ { gTextureSignYoshi, 0x04DF, 0x1000, 0x0 },
+ { gTextureCheckerboardBlueGray, 0x04A1, 0x1000, 0x0 },
+ { 0x00000000, 0x0000, 0x0000, 0x0 },
+};
+
ChocoMountain::ChocoMountain() {
this->vtx = d_course_choco_mountain_vertex;
this->gfx = d_course_choco_mountain_packed_dls;
this->gfxSize = 2910;
- this->textures = choco_mountain_textures;
+ Props.textures = choco_mountain_textures;
Props.MinimapTexture = gTextureCourseOutlineChocoMountain;
Props.D_800E5548[0] = 64;
Props.D_800E5548[1] = 64;