Revert "Fix alfa for `find_vtx_and_set_colours()` (#739)" (#744)

This reverts commit 6c60f5d785.
This commit is contained in:
MegaMech 2025-07-19 10:19:40 -06:00 committed by GitHub
parent a5526cc5bf
commit 12e6c6bf28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 15 deletions

View File

@ -327,7 +327,7 @@ void func_80003040(void) {
break;
case COURSE_BANSHEE_BOARDWALK:
// d_course_banshee_boardwalk_packed_dl_878
find_vtx_and_set_colours(0x07000878, 128, 0, 0, 0);
find_vtx_and_set_colours(0x07000878, -0x80, 0, 0, 0);
break;
case COURSE_YOSHI_VALLEY:
vec3f_set(position, -2300.0f, 0.0f, 634.0f);
@ -351,17 +351,17 @@ void func_80003040(void) {
break;
case COURSE_SHERBET_LAND:
// d_course_sherbet_land_packed_dl_1EB8
find_vtx_and_set_colours(0x07001EB8, 76, 0xFF, 0xFF, 0xFF);
find_vtx_and_set_colours(0x07001EB8, -0x4C, 0xFF, 0xFF, 0xFF);
// d_course_sherbet_land_packed_dl_2308
find_vtx_and_set_colours(0x07002308, 106, 0xFF, 0xFF, 0xFF);
find_vtx_and_set_colours(0x07002308, -0x6A, 0xFF, 0xFF, 0xFF);
break;
case COURSE_RAINBOW_ROAD:
// d_course_rainbow_road_packed_dl_2068
find_vtx_and_set_colours(0x07002068, 106, 0xFF, 0xFF, 0xFF);
find_vtx_and_set_colours(0x07002068, -0x6A, 0xFF, 0xFF, 0xFF);
// d_course_rainbow_road_packed_dl_1E18
find_vtx_and_set_colours(0x07001E18, 106, 0xFF, 0xFF, 0xFF);
find_vtx_and_set_colours(0x07001E18, -0x6A, 0xFF, 0xFF, 0xFF);
// d_course_rainbow_road_packed_dl_1318
find_vtx_and_set_colours(0x07001318, 255, 0xFF, 0xFF, 0);
find_vtx_and_set_colours(0x07001318, -1, 0xFF, 0xFF, 0);
break;
case COURSE_WARIO_STADIUM:
vec3f_set(position, -131.0f, 83.0f, 286.0f);

View File

@ -1547,13 +1547,13 @@ void course_generate_collision_mesh(void) {
parse_course_displaylists((uintptr_t) d_course_koopa_troopa_beach_addr);
func_80295C6C();
// d_course_koopa_troopa_beach_packed_dl_ADE0
find_vtx_and_set_colours((uintptr_t) 0x0700ADE0, 106, 255, 255, 255);
find_vtx_and_set_colours((uintptr_t) 0x0700ADE0, -0x6A, 255, 255, 255);
// d_course_koopa_troopa_beach_packed_dl_A540
find_vtx_and_set_colours((uintptr_t) 0x0700A540, 106, 255, 255, 255);
find_vtx_and_set_colours((uintptr_t) 0x0700A540, -0x6A, 255, 255, 255);
// d_course_koopa_troopa_beach_packed_dl_9E70
find_vtx_and_set_colours((uintptr_t) 0x07009E70, 106, 255, 255, 255);
find_vtx_and_set_colours((uintptr_t) 0x07009E70, -0x6A, 255, 255, 255);
// d_course_koopa_troopa_beach_packed_dl_358
find_vtx_and_set_colours((uintptr_t) 0x07000358, 106, 255, 255, 255);
find_vtx_and_set_colours((uintptr_t) 0x07000358, -0x6A, 255, 255, 255);
break;
case COURSE_ROYAL_RACEWAY:
parse_course_displaylists((uintptr_t) d_course_royal_raceway_addr);
@ -1590,9 +1590,9 @@ void course_generate_collision_mesh(void) {
func_80295C6C();
D_8015F8E4 = -18.0f;
// d_course_sherbet_land_packed_dl_1EB8
find_vtx_and_set_colours((uintptr_t) 0x07001EB8, 76, 255, 255, 255);
find_vtx_and_set_colours((uintptr_t) 0x07001EB8, -0x4C, 255, 255, 255);
// d_course_sherbet_land_packed_dl_2308
find_vtx_and_set_colours((uintptr_t) 0x07002308, 106, 255, 255, 255);
find_vtx_and_set_colours((uintptr_t) 0x07002308, -0x6A, 255, 255, 255);
break;
case COURSE_RAINBOW_ROAD:
D_800DC5C8 = 1;
@ -1600,14 +1600,14 @@ void course_generate_collision_mesh(void) {
func_80295C6C();
D_8015F8E4 = 0.0f;
// d_course_rainbow_road_packed_dl_2068
find_vtx_and_set_colours((uintptr_t) 0x07002068, 106, 255, 255, 255);
find_vtx_and_set_colours((uintptr_t) 0x07002068, -0x6A, 255, 255, 255);
// d_course_rainbow_road_packed_dl_1E18
find_vtx_and_set_colours((uintptr_t) 0x07001E18, 106, 255, 255, 255);
find_vtx_and_set_colours((uintptr_t) 0x07001E18, -0x6A, 255, 255, 255);
// d_course_rainbow_road_packed_dl_1318
find_vtx_and_set_colours((uintptr_t) 0x07001318, 255, 255, 255, 0);
if (gGamestate != CREDITS_SEQUENCE) {
// d_course_rainbow_road_packed_dl_1FB8
find_vtx_and_set_colours((uintptr_t) 0x07001FB8, 106, 255, 255, 255);
find_vtx_and_set_colours((uintptr_t) 0x07001FB8, -0x6A, 255, 255, 255);
}
break;
case COURSE_WARIO_STADIUM: