We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent8663743 commitc22a891Copy full SHA for c22a891
src/base/features/item/item_rain.cpp
@@ -34,7 +34,7 @@ namespace base
34
autoconst item = *std::next(item_rain.items.begin(),utils::random_u32(item_rain.items.size()));
35
36
// Generate a random position
37
-autoconst speed_offset = item_rain.speed.enabled ? (unit->m_vehicle->m_up * unit->m_vehicle->m_forward_speed * item_rain.speed.value) : sead::Vector3f::zero;
+autoconst speed_offset = item_rain.speed.enabled ? (unit->m_vehicle->m_angle->m_up * unit->m_vehicle->m_forward_speed * item_rain.speed.value) : sead::Vector3f::zero;
38
autoconst width_offset = [item_rain]()
39
{
40
switch (item_rain.shape)
src/base/features/item/item_usage.cpp
@@ -51,7 +51,7 @@ namespace base
51
status_flags.accident_1 =false;
52
53
if (item_usage.toggles.at(type::Recover))
54
- status_flags.jugem_recover = status_flags.jugem_recover_ai = status_flags.battle_restart =false;
+ status_flags.jugem_recover = status_flags.jugem_recover_ai_oob = status_flags.battle_restart =false;
55
56
if (item_usage.toggles.at(type::Vanish))
57
status_flags.vanish_start =false;
src/base/features/kart/future_fly.cpp
@@ -28,11 +28,11 @@ namespace base
28
29
// Allow pitch rotation
30
autoconst pitch = veh->m_cpad_y * future_fly.pitch_limit;
31
- veh->m_front_pitch = sead::Vector3f{ pitch * veh->m_up.x, future_fly.pitch_keep ? pitch * veh->m_up.y : veh->m_front_pitch.y, pitch * veh->m_up.z };
+ veh->m_front_pitch = sead::Vector3f{ pitch * veh->m_angle->m_up.x, future_fly.pitch_keep ? pitch * veh->m_angle->m_up.y : veh->m_front_pitch.y, pitch * veh->m_angle->m_up.z };
32
33
// Allow movement
if (veh->m_controls.accelerate_forwards || veh->m_controls.accelerate_backwards)
- *veh->m_position += veh->m_up * (!veh->m_controls.accelerate_backwards ? future_fly.speed_forward : -future_fly.speed_backward);
+ *veh->m_position += veh->m_angle->m_up * (!veh->m_controls.accelerate_backwards ? future_fly.speed_forward : -future_fly.speed_backward);
}
src/base/features/network/disable_killer_lag.cpp
@@ -9,7 +9,7 @@ namespace base
9
voidfeatures::network::disable_killer_lag(Kart::NetData *_this)
10
11
if (g_menu->m_disable_killer_lag_entry->IsActivated())
12
-if (_this->status_flags.killer)
13
- _this->status_flags.jugem_recover =true;
+if (_this->m_status_flags.killer)
+ _this->m_status_flags.jugem_recover =true;
14
15
src/base/features/network/invisibility.cpp
@@ -20,12 +20,12 @@ namespace base
20
switch (invisibility.mode)
21
22
casedecltype(invisibility.mode)::Position:
23
- _this->position = sead::Vector3<s16>(MAX, MAX, MAX);
24
- _this->velocity = _this->angular_velocity = sead::Vector3<s16>(0,0,0);
25
- _this->turning_speed = _this->forward_speed = _this->drift_steering = _this->directional_speed =0;
+ _this->m_position = sead::Vector3<s16>(MAX, MAX, MAX);
+ _this->m_velocity = _this->m_angular_velocity = sead::Vector3<s16>(0,0,0);
+ _this->m_turning_speed = _this->m_forward_speed = _this->m_drift_steering = _this->m_directional_speed =0;
26
break;
27
casedecltype(invisibility.mode)::Velocity:
- _this->velocity = sead::Vector3<s16>(0, MAX,0);
+ _this->m_velocity = sead::Vector3<s16>(0, MAX,0);
src/base/features/network/kart_warp.cpp
@@ -9,6 +9,6 @@ namespace base
voidfeatures::network::kart_warp(Kart::NetData *_this)
if (g_menu->m_kart_warp_entry->IsActivated())
- _this->kart_data.warp ^=true;
+ _this->m_kart_data.warp ^=true;
src/base/features/network/protections.cpp
@@ -50,10 +50,10 @@ namespace base
50
autoconst &protections = g_settings.m_options.network.protections;
-if (protections.kart.accident_type && _this->accident_type >= Kart::VehicleReact::EAcdType::MAX)
+if (protections.kart.accident_type && _this->m_accident_type >= Kart::VehicleReact::EAcdType::MAX)
returntrue;
-if (protections.kart.respawn_point && _this->respawn_point >=Field::GetJugemPointAccessor()->m_entries.size())
+if (protections.kart.respawn_point && _this->m_respawn_point_id >=Field::GetJugemPointAccessor()->m_entries.size())
58
59
vendor/mk7-memory