Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some rename and allow change the course engine #691

Merged
merged 4 commits into from
Oct 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/racing/collision.c
Original file line number Diff line number Diff line change
Expand Up @@ -1463,6 +1463,7 @@ u16 check_bounding_collision(Collision* collision, f32 boundingBoxSize, f32 posX
extern u8 D_8014F1110;

/**
* @brief Returns the height of the surface below the provided position. Used to set actors onto the course mesh.
* If unable to spawn actor on the surface set to -3000.0f or
* if outside the collision grid, spawn in the air (3000.0f).
*/
Expand Down
4 changes: 4 additions & 0 deletions src/racing/render_courses.c
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,10 @@ void render_big_donut(struct UnkStruct_800DC5EC* arg0) {
gSPDisplayList(gDisplayListHead++, ((uintptr_t) 0x07000230));
}

/**
* @brief dev made two version of the Course one for 1-4p and another for credit.
*
*/
void render_course_credits(void) {
#if !USE_CUSTOM_COURSE_ENGINE
switch (gCurrentCourseId) {
Expand Down