summaryrefslogtreecommitdiff
path: root/src/engine/tracks/Track.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/tracks/Track.cpp')
-rw-r--r--src/engine/tracks/Track.cpp22
1 files changed, 2 insertions, 20 deletions
diff --git a/src/engine/tracks/Track.cpp b/src/engine/tracks/Track.cpp
index bd629bdce..617539217 100644
--- a/src/engine/tracks/Track.cpp
+++ b/src/engine/tracks/Track.cpp
@@ -31,6 +31,7 @@ extern "C" {
#include "math_util.h"
#include "code_80005FD0.h"
extern StaffGhost* d_mario_raceway_staff_ghost;
+extern s8 gPlayerCount;
}
void ResizeMinimap(MinimapProps* minimap) {
@@ -406,6 +407,7 @@ Track::Track() {
Props.Clouds = NULL;
Props.CloudList = NULL;
+ mCloudType = CloudType::CLOUDS;
Props.Sequence = MusicSeq::MUSIC_SEQ_UNKNOWN;
bFog = false;
@@ -465,26 +467,6 @@ void Track::SpawnActors() {
}
}
-void Track::InitClouds() {
- if (this->Props.Clouds) {
- init_clouds(this->Props.Clouds);
- }
-}
-
-void Track::TickClouds(s32 arg0, Camera* camera) {
- s32 cloudIndex;
- s32 objectIndex;
- CloudData* cloud;
-
- if (this->Props.CloudList) {
- for (cloudIndex = 0; cloudIndex < D_8018D1F0; cloudIndex++) {
- cloud = &this->Props.CloudList[cloudIndex];
- objectIndex = D_8018CC80[arg0 + cloudIndex];
- func_800788F8(objectIndex, cloud->rotY, camera);
- }
- }
-}
-
// Adjusts player speed on steep hills
void Track::SomeCollisionThing(Player* player, Vec3f arg1, Vec3f arg2, Vec3f arg3, f32* arg4, f32* arg5, f32* arg6,
f32* arg7) {