mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-08-09 03:05:47 -04:00
default gDisableLod to 1
This commit is contained in:
@@ -25,7 +25,7 @@ void render_actor_box_truck(Camera* arg0, struct Actor* arg1) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (CVarGetInteger("gDisableLod", 0) == 1) {
|
||||
if (CVarGetInteger("gDisableLod", 1) == 1) {
|
||||
temp_f0 = 0.0f;
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ void render_actor_car(Camera* arg0, struct Actor* arg1) {
|
||||
}
|
||||
|
||||
if (!(temp_f0 < 0.0f)) {
|
||||
if (CVarGetInteger("gDisableLod", 0) == 1) {
|
||||
if (CVarGetInteger("gDisableLod", 1) == 1) {
|
||||
temp_f0 = 0.0f;
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ void render_actor_piranha_plant(Camera* arg0, Mat4 arg1, struct PiranhaPlant* ar
|
||||
return;
|
||||
}
|
||||
|
||||
if (CVarGetInteger("gDisableLod", 0) == 1) {
|
||||
if (CVarGetInteger("gDisableLod", 1) == 1) {
|
||||
temp_f0 = 0.0f;
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ void render_actor_school_bus(Camera* arg0, struct Actor* arg1) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (CVarGetInteger("gDisableLod", 0) == 1) {
|
||||
if (CVarGetInteger("gDisableLod", 1) == 1) {
|
||||
temp_f0 = 0.0f;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ void render_actor_tanker_truck(Camera* camera, struct Actor* arg1) {
|
||||
|
||||
if (!(temp_f0 < 0.0f)) {
|
||||
|
||||
if (CVarGetInteger("gDisableLod", 0) == 1) {
|
||||
if (CVarGetInteger("gDisableLod", 1) == 1) {
|
||||
temp_f0 = 0.0f;
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ void render_actor_train_engine(Camera* camera, struct TrainCar* actor) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (CVarGetInteger("gDisableLod", 0) == 1) {
|
||||
if (CVarGetInteger("gDisableLod", 1) == 1) {
|
||||
distance = 0.0f;
|
||||
}
|
||||
|
||||
@@ -185,7 +185,7 @@ void render_actor_train_tender(Camera* camera, struct TrainCar* actor) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (CVarGetInteger("gDisableLod", 0) == 1) {
|
||||
if (CVarGetInteger("gDisableLod", 1) == 1) {
|
||||
temp_f0 = 0.0f;
|
||||
}
|
||||
|
||||
@@ -278,7 +278,7 @@ void render_actor_train_passenger_car(Camera* camera, struct TrainCar* actor) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (CVarGetInteger("gDisableLod", 0) == 1) {
|
||||
if (CVarGetInteger("gDisableLod", 1) == 1) {
|
||||
temp_f0 = 0.0f;
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ void render_actor_yoshi_egg(Camera* arg0, Mat4 arg1, struct YoshiValleyEgg* egg,
|
||||
temp_f0 = 0.0f;
|
||||
}
|
||||
|
||||
if (CVarGetInteger("gDisableLod", 0) == 1) {
|
||||
if (CVarGetInteger("gDisableLod", 1) == 1) {
|
||||
arg3 = 15;
|
||||
temp_f0 = 0.0f;
|
||||
}
|
||||
|
||||
@@ -147,7 +147,7 @@ void MarioRaceway::Load() {
|
||||
// d_course_mario_raceway_packed_dl_8E8
|
||||
generate_collision_mesh_with_defaults(segmented_gfx_to_virtual((void*)0x070008E8));
|
||||
} else {
|
||||
if (CVarGetInteger("gDisableLod", 0) == true) {
|
||||
if (CVarGetInteger("gDisableLod", 1) == true) {
|
||||
generate_collision_mesh_with_defaults(segmented_gfx_to_virtual((void*)0x070008E8));
|
||||
} else {
|
||||
// d_course_mario_raceway_packed_dl_2D68
|
||||
|
||||
@@ -174,7 +174,7 @@ void render_course_segments(const char* addr[], struct UnkStruct_800DC5EC* arg1)
|
||||
index = ((index - 1) * 4) + direction;
|
||||
gSPDisplayList(gDisplayListHead++, addr[index]);
|
||||
|
||||
if (CVarGetInteger("gDisableLod", 0) == 1 && (GetCourse() == GetBowsersCastle()) &&
|
||||
if (CVarGetInteger("gDisableLod", 1) == 1 && (GetCourse() == GetBowsersCastle()) &&
|
||||
(index < 20 || index > 99)) { // always render higher version of bowser statue
|
||||
gDisplayListHead--;
|
||||
gSPDisplayList(gDisplayListHead++, d_course_bowsers_castle_dl_9148); // use credit version of the course
|
||||
@@ -191,7 +191,7 @@ void render_mario_raceway_pipe(void) {
|
||||
// d_course_mario_raceway_packed_dl_8E8
|
||||
gSPDisplayList(gDisplayListHead++, ((uintptr_t) segmented_gfx_to_virtual(0x070008E8)));
|
||||
} else {
|
||||
if (CVarGetInteger("gDisableLod", 0) == true) {
|
||||
if (CVarGetInteger("gDisableLod", 1) == true) {
|
||||
gSPDisplayList(gDisplayListHead++, ((uintptr_t) segmented_gfx_to_virtual(0x070008E8)));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user