mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-09 14:05:28 -04:00
d_a_spc_item01 OK
This commit is contained in:
+1
-1
@@ -442,7 +442,7 @@ config.libs = [
|
||||
Object(NonMatching, "d/actor/d_a_player_main.cpp"),
|
||||
Object(NonMatching, "d/actor/d_a_player_npc.cpp"),
|
||||
Object(NonMatching, "d/actor/d_a_sea.cpp"),
|
||||
Object(NonMatching, "d/actor/d_a_spc_item01.cpp"),
|
||||
Object(Matching, "d/actor/d_a_spc_item01.cpp"),
|
||||
Object(Matching, "d/actor/d_a_vrbox.cpp", extra_cflags=['-pragma "nosyminline on"']),
|
||||
Object(Matching, "d/actor/d_a_vrbox2.cpp"),
|
||||
Object(NonMatching, "d/d_auction_screen.cpp"),
|
||||
|
||||
@@ -53,10 +53,14 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
|
||||
/* 8015DAF4-8015DBC0 .text set_mtx__13daSpcItem01_cFv */
|
||||
void daSpcItem01_c::set_mtx() {
|
||||
/* Nonmatching */
|
||||
csXyz angle = current.angle;
|
||||
cXyz scale = mScale;
|
||||
f32 offsetY = (s8)m_itemNo != BOKO_BELT ? 0.0f : -24.0f;
|
||||
f32 offsetY = 0.0f;
|
||||
switch (m_itemNo) {
|
||||
case BOKO_BELT:
|
||||
offsetY = -24.0f;
|
||||
break;
|
||||
}
|
||||
mpModel->setBaseScale(scale);
|
||||
|
||||
mDoMtx_stack_c::transS(current.pos.x, current.pos.y + offsetY, current.pos.z);
|
||||
|
||||
Reference in New Issue
Block a user