mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-18 04:48:21 -04:00
Misc framework fixes (#2578)
This commit is contained in:
@@ -248,7 +248,7 @@ daNpc_Saru_c::~daNpc_Saru_c() {
|
||||
|
||||
/* ############################################################################################## */
|
||||
/* 80AC44F8-80AC4588 000000 0090+00 9/9 0/0 0/0 .rodata m__18daNpc_Saru_Param_c */
|
||||
daNpc_Saru_HIO_c const daNpc_Saru_Param_c::m = {
|
||||
daNpc_Saru_HIOParam const daNpc_Saru_Param_c::m = {
|
||||
140.0f,
|
||||
-3.0f,
|
||||
1.0f,
|
||||
|
||||
@@ -364,6 +364,10 @@ dCcD_GObjInf* dCcD_GetGObjInf(cCcD_Obj* p_obj) {
|
||||
return (dCcD_GObjInf*)p_obj->GetGObjInf();
|
||||
}
|
||||
|
||||
cCcD_ShapeAttr* dCcD_Pnt::GetShapeAttr() {
|
||||
return this;
|
||||
}
|
||||
|
||||
/* 800847D0-80084814 07F110 0044+00 0/0 1/1 20/20 .text Set__8dCcD_CpsFRC11dCcD_SrcCps */
|
||||
void dCcD_Cps::Set(dCcD_SrcCps const& src) {
|
||||
dCcD_GObjInf::Set(src.mObjInf);
|
||||
|
||||
+25
-2
@@ -4,17 +4,18 @@
|
||||
//
|
||||
|
||||
#include "d/d_drawlist.h"
|
||||
#include "d/d_s_play.h"
|
||||
#include "JSystem/J2DGraph/J2DAnimation.h"
|
||||
#include "JSystem/J2DGraph/J2DGrafContext.h"
|
||||
#include "JSystem/J2DGraph/J2DScreen.h"
|
||||
#include "JSystem/J3DGraphBase/J3DDrawBuffer.h"
|
||||
#include "SSystem/SComponent/c_bg_s_shdw_draw.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_s_play.h"
|
||||
#include "dol2asm.h"
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
#include "m_Do/m_Do_lib.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
#include "JSystem/J2DGraph/J2DGrafContext.h"
|
||||
|
||||
class dDlst_blo_c : public dDlst_base_c {
|
||||
public:
|
||||
@@ -911,6 +912,11 @@ void dDlst_2DMt_c::draw() {
|
||||
}
|
||||
}
|
||||
|
||||
// stand-in for a stripped function that calls J2DPicture::getTexture
|
||||
JUTTexture* dummy_getTexture(J2DPicture* picture) {
|
||||
return picture->getTexture(0);
|
||||
}
|
||||
|
||||
/* 80053A00-80053A9C 04E340 009C+00 0/0 1/1 0/0 .text __ct__10dDlst_2D_cFP7ResTIMGssssUc
|
||||
*/
|
||||
dDlst_2D_c::dDlst_2D_c(ResTIMG* i_timg, s16 i_posX, s16 i_posY, s16 i_sizeX, s16 i_sizeY,
|
||||
@@ -934,6 +940,23 @@ void dDlst_blo_c::draw() {
|
||||
mScreen.draw(field_0x120, field_0x124, dComIfGp_getCurrentGrafPort());
|
||||
}
|
||||
|
||||
// stand-in for a function that pulls in a bunch of inline functions but was presumably stripped
|
||||
void dummy_misc() {
|
||||
J2DScreen* screen;
|
||||
J2DPane* pane;
|
||||
J2DPicture* picture;
|
||||
J2DAnmBase* anmBase;
|
||||
J2DAnmColor* anmColor;
|
||||
delete anmBase;
|
||||
picture->setBlack(JUtility::TColor(0, 0, 0, 0));
|
||||
picture->setWhite(JUtility::TColor(0, 0, 0, 0));
|
||||
pane->getTypeID();
|
||||
pane->makeMatrix(0.0f, 0.0f);
|
||||
pane->calcMtx();
|
||||
screen->clearAnmTransform();
|
||||
anmColor->searchUpdateMaterialID(screen);
|
||||
}
|
||||
|
||||
/* 80053CDC-80053CEC 04E61C 0010+00 0/0 2/2 0/0 .text init__8cM_rnd_cFiii */
|
||||
void cM_rnd_c::init(int s0, int s1, int s2) {
|
||||
seed0 = s0;
|
||||
|
||||
Reference in New Issue
Block a user