Decompile 4 functions in Source/Contents/SignBoard/SignBoard.cpp, Source/Contents/SignBoard/SignBoard.h
Batch #4131 by eAthena: 0 byte-identical, 4 confirmed by peer review. - fn_10271 C3DCooRendering::Render: logic confirmed by peer review - fn_10272 CIcon::Render: logic confirmed by peer review - fn_10273 CIcon::SendMsg: logic confirmed by peer review - fn_10274 CIcon::SetRenderInfo: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, meitogi 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
c341696d01
commit
876f624f28
1 changed files with 22 additions and 0 deletions
|
|
@ -55,11 +55,33 @@ bool C3DCooRendering::OnProcess() {
|
|||
}
|
||||
|
||||
// OFFSET: 0x00821FC0
|
||||
// FUNCTION: fn_10271
|
||||
void C3DCooRendering::Render(int argument) {
|
||||
float x;
|
||||
float y;
|
||||
float reciprocalDepth;
|
||||
g_renderer->ProjectViewport(&this->render.position.x, reinterpret_cast<const float*>(argument), &x, &y, &reciprocalDepth);
|
||||
this->render.unknown_005C = g_renderer->ScaleDistance(reciprocalDepth) / g_heightScale;
|
||||
this->SetTlvert(x, y);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00822040
|
||||
// FUNCTION: fn_10272
|
||||
void CIcon::Render(int argument) {
|
||||
this->DrawSprite(argument, false, 0.0f);
|
||||
}
|
||||
|
||||
// OFFSET: 0x008220A0
|
||||
// FUNCTION: fn_10273
|
||||
void CIcon::SendMsg(CGameObject* sender, int message, int a, int b, int c, int d, int e, int f, int g, int h, int i, int j, int k, int l, int m) {
|
||||
g_modeMgr.GetGameMode();
|
||||
this->CRenderObject::SendMsg(sender, message, a, b, c, d, e, f, g, h, i, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
// OFFSET: 0x008220F0
|
||||
// FUNCTION: fn_10274
|
||||
void CIcon::SetRenderInfo(const float* bounds, float x, float y) {
|
||||
this->SetTlvert(x, y);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00822390
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue