mirror of https://github.com/n64decomp/mk64.git
A small cleanup PR (#494)
* Update code_80005FD0.c * Update code_80091750.c * Update course_data.inc.c
This commit is contained in:
parent
fcbd54ff8b
commit
97522fb899
|
@ -4178,6 +4178,9 @@ TrackWaypoint d_course_dks_jungle_parkway_unknown_waypoints[] = {
|
||||||
{3, 0, 251, 0},
|
{3, 0, 251, 0},
|
||||||
{3, 0, 45, 0},
|
{3, 0, 45, 0},
|
||||||
{-32768, 0, 0, 0},
|
{-32768, 0, 0, 0},
|
||||||
|
};
|
||||||
|
|
||||||
|
TrackWaypoint d_course_dks_jungle_parkway_unknown_waypoints2[] = {
|
||||||
{1237, 0, -1373, 0},
|
{1237, 0, -1373, 0},
|
||||||
{1206, 0, -1365, 0},
|
{1206, 0, -1365, 0},
|
||||||
{877, 0, -1272, 0},
|
{877, 0, -1272, 0},
|
||||||
|
|
|
@ -4955,7 +4955,7 @@ void func_800120C8(void) {
|
||||||
|
|
||||||
void func_80012190(void) {
|
void func_80012190(void) {
|
||||||
TrackWaypoint *tree;
|
TrackWaypoint *tree;
|
||||||
s32 i = 0;
|
s32 i;
|
||||||
|
|
||||||
tree = (TrackWaypoint *) VIRTUAL_TO_PHYSICAL2(gSegmentTable[SEGMENT_NUMBER2(d_frappe_snowland_tree)] + (SEGMENT_OFFSET(d_frappe_snowland_tree)));
|
tree = (TrackWaypoint *) VIRTUAL_TO_PHYSICAL2(gSegmentTable[SEGMENT_NUMBER2(d_frappe_snowland_tree)] + (SEGMENT_OFFSET(d_frappe_snowland_tree)));
|
||||||
|
|
||||||
|
|
|
@ -12604,15 +12604,15 @@ void func_800AB9B0(struct_8018D9E0_entry *arg0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void func_800ABAE8(struct_8018D9E0_entry *arg0) {
|
void func_800ABAE8(struct_8018D9E0_entry *arg0) {
|
||||||
s32 phi_v1;
|
s32 index;
|
||||||
|
|
||||||
if (arg0->type == 0x8C) {
|
if (arg0->type == 0x8C) {
|
||||||
phi_v1 = 4;
|
index = 4;
|
||||||
} else {
|
} else {
|
||||||
phi_v1 = arg0->type - 0x78;
|
index = arg0->type - 0x78;
|
||||||
}
|
}
|
||||||
arg0->column = D_800E7430[phi_v1].column;
|
arg0->column = D_800E7430[index].column;
|
||||||
arg0->row = D_800E7430[phi_v1].row;
|
arg0->row = D_800E7430[index].row;
|
||||||
}
|
}
|
||||||
|
|
||||||
void func_800ABB24(struct_8018D9E0_entry *arg0) {
|
void func_800ABB24(struct_8018D9E0_entry *arg0) {
|
||||||
|
|
Loading…
Reference in New Issue