summaryrefslogtreecommitdiff
path: root/src/engine/courses/TestCourse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/courses/TestCourse.cpp')
-rw-r--r--src/engine/courses/TestCourse.cpp18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/engine/courses/TestCourse.cpp b/src/engine/courses/TestCourse.cpp
index b3383a3b0..05f6c9ed2 100644
--- a/src/engine/courses/TestCourse.cpp
+++ b/src/engine/courses/TestCourse.cpp
@@ -12,8 +12,8 @@
#include "assets/bowsers_castle_data.h"
#include "assets/bowsers_castle_displaylists.h"
#include "engine/actors/ATree.h"
-
#include "engine/actors/ACloud.h"
+#include "engine/vehicles/Train.h"
extern "C" {
#include "main.h"
@@ -185,8 +185,8 @@ void TestCourse::SpawnActors() {
ACTOR_RAILROAD_CROSSING));
rrxing->crossingTrigger = crossing1;
- Vec3f pos = {-80, 7, -20};
- gWorldInstance.AddActor(new ACloud(pos));
+ //Vec3f pos = {-80, 7, -20};
+ //gWorldInstance.AddActor(new ACloud(pos));
}
// Likely sets minimap boundaries
@@ -265,13 +265,13 @@ void TestCourse::SpawnVehicles() {
gVehicle2DWaypointLength = 53;
D_80162EB0 = spawn_actor_on_surface(test_course_path2D[0].x, 2000.0f, test_course_path2D[0].z);
- gWorldInstance.AddTrain(5, 2.5f, 0);
- gWorldInstance.AddTrain(5, 2.5f, 8);
+ //gWorldInstance.AddTrain(ATrain::TenderStatus::HAS_TENDER, 5, 2.5f, 0);
+ //gWorldInstance.AddTrain(ATrain::TenderStatus::HAS_TENDER, 5, 2.5f, 8);
Vec3f pos = {0, 0, 0};
- gWorldInstance.AddBombKart(pos, &D_80164550[0][25], 25, 2, 0.8333333f);
- gWorldInstance.AddBombKart(pos, &D_80164550[0][45], 45, 3, 0.8333333f);
+ gWorldInstance.AddBombKart(pos, &D_80164550[0][25], 25, 4, 0.8333333f);
+ gWorldInstance.AddBombKart(pos, &D_80164550[0][45], 45, 4, 0.8333333f);
}
@@ -340,3 +340,7 @@ void TestCourse::RenderCredits() {
void TestCourse::Collision() {}
void TestCourse::Destroy() { }
+
+bool TestCourse::IsMod() {
+ return true;
+} \ No newline at end of file