Decompile 9 functions in Source/Utility/Math/Vector3d.h, Source/Utility/Math/AffineMatrix.h, ...
Batch #1843 by ragnarok-clanker: 1 byte-identical, 8 confirmed by peer review. - fn_02024 ClientRadians: logic confirmed by peer review - fn_17668 WorldScene::GetGameActorByAID: logic confirmed by peer review - fn_21057 CRenderObject::GetTargetPos: logic confirmed by peer review - fn_17667 WorldScene::GetGameActorByAidIncludeMe: logic confirmed by peer review - fn_21290 CGameMode::NotifyItemBounds: logic confirmed by peer review - fn_03089 CEffect::Slot25: logic confirmed by peer review - fn_08405 CellWorldPosition: logic confirmed by peer review - fn_19762 EffectPrimitiveSlot::EffectPrimitiveSlot: byte-identical (already on main) - fn_19865 DrawEffectPrimitive15: logic confirmed by peer review Peer-reviewed-by: Yommy, eAthena, ragnarok-clanker Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
5776a19924
commit
d7862ef5c4
19 changed files with 217 additions and 119 deletions
|
|
@ -595,10 +595,10 @@ std::pair<bool, int> CSkillActionMgr::ActionSlot01(int skillId) {
|
|||
|
||||
// OFFSET: 0x0077AD90
|
||||
// FUNCTION: fn_08405
|
||||
EffectVector3 CellWorldPosition(int column, int row) {
|
||||
vector3d CellWorldPosition(int column, int row) {
|
||||
if (!g_world.ActiveGameMode() || !static_cast<CGameMode*>(g_world.ActiveGameMode())->scene ||
|
||||
!static_cast<CGameMode*>(g_world.ActiveGameMode())->scene->terrain) {
|
||||
return EffectVector3{0.0f, 0.0f, 0.0f};
|
||||
return vector3d{0.0f, 0.0f, 0.0f};
|
||||
}
|
||||
|
||||
float x = 0.0f;
|
||||
|
|
@ -606,7 +606,7 @@ EffectVector3 CellWorldPosition(int column, int row) {
|
|||
float z = 0.0f;
|
||||
static_cast<CGameMode*>(g_world.ActiveGameMode())->scene->terrain->Grid().CellOrigin(column, row, x, z);
|
||||
y = static_cast<CGameMode*>(g_world.ActiveGameMode())->scene->terrain->Grid().Height(x, z);
|
||||
return EffectVector3{x + 2.5f, y + 0.0f, z + 2.5f};
|
||||
return vector3d{x + 2.5f, y + 0.0f, z + 2.5f};
|
||||
}
|
||||
|
||||
// OFFSET: 0x0077AEA0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue