mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-05-31 01:16:34 -04:00
Fix mac building (#157)
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
@@ -19,6 +19,9 @@ struct FVector {
|
||||
z = other.z;
|
||||
return *this;
|
||||
}
|
||||
|
||||
FVector() : x(0), y(0), z(0) {}
|
||||
FVector(float x, float y, float z) : x(x), y(y), z(z) {}
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -35,6 +38,9 @@ struct FVector2D {
|
||||
z = other.z;
|
||||
return *this;
|
||||
}
|
||||
|
||||
FVector2D() : x(0), z(0) {}
|
||||
FVector2D(float x, float z) : x(x), z(z) {}
|
||||
};
|
||||
|
||||
// Sets integer X Z coordinates
|
||||
@@ -62,6 +68,9 @@ struct FRotation {
|
||||
roll = other.roll;
|
||||
return *this;
|
||||
}
|
||||
|
||||
FRotation() : pitch(0), yaw(0), roll(0) {}
|
||||
FRotation(float p, float y, float r) : pitch(p), yaw(y), roll(r) {}
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
+3
-1
@@ -7901,11 +7901,13 @@ void render_pause_grand_prix(MenuItem* arg0) {
|
||||
gDisplayListHead = draw_box_wide(gDisplayListHead, temp_v1 - temp_t3, temp_t0 - temp_t4, temp_v1 + temp_t3,
|
||||
temp_t0 + temp_t4, 0, 0, 0, 140);
|
||||
break;
|
||||
case SCREEN_MODE_2P_SPLITSCREEN_VERTICAL:
|
||||
case SCREEN_MODE_2P_SPLITSCREEN_VERTICAL: {
|
||||
|
||||
s32 leftEdge = OTRGetDimensionFromLeftEdge(0);
|
||||
s32 rightEdge = OTRGetDimensionFromRightEdge(SCREEN_WIDTH);
|
||||
gDisplayListHead = draw_box_wide(gDisplayListHead, leftEdge - rightEdge, temp_t0 - temp_t4,
|
||||
leftEdge + rightEdge, temp_t0 + temp_t4, 0, 0, 0, 140);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
gDisplayListHead = draw_box(gDisplayListHead, temp_v1 - temp_t3, temp_t0 - temp_t4, temp_v1 + temp_t3,
|
||||
|
||||
Reference in New Issue
Block a user