mirror of
https://github.com/n64decomp/mk64
synced 2026-06-20 07:01:06 -04:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user