some rename and allow change the course engine (#691)

* some rename and allow change the course engine

* fix comment

* add more comment

* rename and change description
This commit is contained in:
coco875
2024-10-21 01:24:37 +02:00
committed by GitHub
parent 0e0345f96d
commit 8901f82f5a
59 changed files with 891 additions and 751 deletions
+6
View File
@@ -1,6 +1,8 @@
#include <ultra64.h>
#include <macros.h>
#include <mk64.h>
#include <course.h>
#include "math_util.h"
#include <common_structs.h>
#include "player_controller.h"
@@ -231,6 +233,7 @@ void func_8003F46C(Player* player, Vec3f arg1, Vec3f arg2, Vec3f arg3, f32* arg4
player->kartHopVelocity = 0.0f;
return;
} else {
#if !ENABLE_CUSTOM_COURSE_ENGINE
switch (gCurrentCourseId) {
case COURSE_MARIO_RACEWAY:
func_8003E048(player, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
@@ -255,6 +258,9 @@ void func_8003F46C(Player* player, Vec3f arg1, Vec3f arg2, Vec3f arg3, f32* arg4
func_8003E048(player, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
break;
}
#else
#endif
if (player->effects & 0x10000) {
player->unk_DAC = 0.5f;
}