summaryrefslogtreecommitdiff
path: root/src/engine/objects
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-12-07 21:00:06 -0700
committerGitHub <noreply@github.com>2025-12-07 21:00:06 -0700
commitdbae0c3aca33a022e8c1d511fe521407375057b2 (patch)
tree889ebe9e5c03261d92304545c5beae13892831f2 /src/engine/objects
parent04ca19a9757752676450364e998d6af0d90e73ef (diff)
Name ScreenContext, Refactor Course class to Track (#583)
* Rename Screen Contexts * typedef ScreenContext struct * Fix Compile * Rename Course.cpp to Track.cpp * Refactor Course to Track * A few renames * General Cleanup * More Rename * More names * Move TrackSections struct to Track.h --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/engine/objects')
-rw-r--r--src/engine/objects/ChainChomp.cpp1
-rw-r--r--src/engine/objects/Crab.h2
-rw-r--r--src/engine/objects/Flagpole.cpp1
-rw-r--r--src/engine/objects/Lakitu.h1
-rw-r--r--src/engine/objects/Seagull.cpp1
-rw-r--r--src/engine/objects/Thwomp.cpp2
6 files changed, 5 insertions, 3 deletions
diff --git a/src/engine/objects/ChainChomp.cpp b/src/engine/objects/ChainChomp.cpp
index b9c59606d..fafed0846 100644
--- a/src/engine/objects/ChainChomp.cpp
+++ b/src/engine/objects/ChainChomp.cpp
@@ -14,6 +14,7 @@ extern "C" {
#include "code_80057C60.h"
#include "code_80005FD0.h"
#include "external.h"
+#include "course_offsets.h"
}
size_t OChainChomp::_count = 0;
diff --git a/src/engine/objects/Crab.h b/src/engine/objects/Crab.h
index 3a1acdfb0..c89bb1df2 100644
--- a/src/engine/objects/Crab.h
+++ b/src/engine/objects/Crab.h
@@ -22,7 +22,7 @@ extern "C" {
* @arg end x and z patrol location
*
* Crab patrols between start and end.
- * The game automatically places the actor on the course surface.
+ * The game automatically places the actor on the surface of the tracks geometry.
* Therefore, providing a Y height is unnecessary.
*
* Crab appears to have a maximum patrolling distance and will patrol between
diff --git a/src/engine/objects/Flagpole.cpp b/src/engine/objects/Flagpole.cpp
index ec7588720..9f51bab92 100644
--- a/src/engine/objects/Flagpole.cpp
+++ b/src/engine/objects/Flagpole.cpp
@@ -11,6 +11,7 @@ extern "C" {
#include "math_util_2.h"
#include "code_80086E70.h"
#include "code_80057C60.h"
+#include "course_offsets.h"
}
size_t OFlagpole::_count = 0;
diff --git a/src/engine/objects/Lakitu.h b/src/engine/objects/Lakitu.h
index 1944733ee..470c18e91 100644
--- a/src/engine/objects/Lakitu.h
+++ b/src/engine/objects/Lakitu.h
@@ -12,7 +12,6 @@ extern "C" {
#include "waypoints.h"
#include "common_structs.h"
#include "objects.h"
-#include "course_offsets.h"
}
/**
diff --git a/src/engine/objects/Seagull.cpp b/src/engine/objects/Seagull.cpp
index 8eff07740..fb926892c 100644
--- a/src/engine/objects/Seagull.cpp
+++ b/src/engine/objects/Seagull.cpp
@@ -22,6 +22,7 @@ extern "C" {
#include "some_data.h"
#include "ceremony_and_credits.h"
#include "assets/models/common_data.h"
+#include "course_offsets.h"
extern SplineData D_800E6034;
extern SplineData D_800E60F0;
extern SplineData D_800E61B4;
diff --git a/src/engine/objects/Thwomp.cpp b/src/engine/objects/Thwomp.cpp
index 324f32cfb..b658b50ff 100644
--- a/src/engine/objects/Thwomp.cpp
+++ b/src/engine/objects/Thwomp.cpp
@@ -2,7 +2,7 @@
#include <libultra/gbi.h>
#include "Thwomp.h"
#include <vector>
-#include "engine/courses/Course.h"
+#include "engine/tracks/Track.h"
#include "engine/World.h"
#include "port/Game.h"