mirror of
https://github.com/zeldaret/tp
synced 2026-06-30 20:01:54 -04:00
j2d / map_path work, d_drawlist / d_attention cleanup (#208)
* work on fop actor / actor mng, daalink, d_a_obj_item * d_a_title mostly decompiled * daalink / d_event / JMessage / dmsg_out_font work * msg_scrn_base / msg_scrn_boss * some work on mDo machine, d_menu_save, d_tresure, and various * remove asm * progress * finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data * rename more data * remove asm / progress * match all of d_pane_class * fixes / some dKankyo doc * bunch of j2d work. d_drawlist / d_attention cleanup * progress / asm * cleanup wip * decompile JStage * setup some more JStudio structs * set up d_demo classes * some d_demo work * cleanup dolphin os stuff * some initial dEvent documentation * some At collision documentation * match JUTConsole::doDraw * dbgs work / split up some of d_a_alink into .inc files * d_a_alink_spinner work
This commit is contained in:
@@ -7,21 +7,6 @@
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
//
|
||||
// Types:
|
||||
//
|
||||
|
||||
struct Vec {};
|
||||
|
||||
namespace JStudio {
|
||||
struct math {
|
||||
/* 802859DC */ void getRotation_xyz(f32 (*)[4], f32, f32, f32);
|
||||
/* 80285B44 */ void getTransformation_SRxyzT(f32 (*)[4], Vec const&, Vec const&, Vec const&);
|
||||
/* 80285BCC */ void getFromTransformation_SRxyzT(Vec*, Vec*, Vec*, f32 const (*)[4]);
|
||||
};
|
||||
|
||||
}; // namespace JStudio
|
||||
|
||||
//
|
||||
// Forward References:
|
||||
//
|
||||
@@ -34,10 +19,6 @@ extern "C" void getFromTransformation_SRxyzT__Q27JStudio4mathFP3VecP3VecP3VecPA4
|
||||
// External References:
|
||||
//
|
||||
|
||||
extern "C" void PSMTXConcat();
|
||||
extern "C" void PSMTXTransApply();
|
||||
extern "C" void PSMTXScale();
|
||||
extern "C" void PSVECMag();
|
||||
extern "C" void _savegpr_28();
|
||||
extern "C" void _savegpr_29();
|
||||
extern "C" void _restgpr_28();
|
||||
@@ -68,7 +49,7 @@ SECTION_SDATA2 static u8 lit_489[4] = {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void JStudio::math::getRotation_xyz(f32 (*param_0)[4], f32 param_1, f32 param_2, f32 param_3) {
|
||||
asm void JStudio::math::getRotation_xyz(MtxP param_0, f32 param_1, f32 param_2, f32 param_3) {
|
||||
nofralloc
|
||||
#include "asm/JSystem/JStudio/JStudio/jstudio-math/getRotation_xyz__Q27JStudio4mathFPA4_ffff.s"
|
||||
}
|
||||
@@ -79,7 +60,7 @@ asm void JStudio::math::getRotation_xyz(f32 (*param_0)[4], f32 param_1, f32 para
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void JStudio::math::getTransformation_SRxyzT(f32 (*param_0)[4], Vec const& param_1,
|
||||
asm void JStudio::math::getTransformation_SRxyzT(MtxP param_0, Vec const& param_1,
|
||||
Vec const& param_2, Vec const& param_3) {
|
||||
nofralloc
|
||||
#include "asm/JSystem/JStudio/JStudio/jstudio-math/getTransformation_SRxyzT__Q27JStudio4mathFPA4_fRC3VecRC3VecRC3Vec.s"
|
||||
@@ -117,7 +98,7 @@ SECTION_SDATA2 static f64 lit_628 = 57.29577951308232;
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void JStudio::math::getFromTransformation_SRxyzT(Vec* param_0, Vec* param_1, Vec* param_2,
|
||||
f32 const (*param_3)[4]) {
|
||||
CMtxP param_3) {
|
||||
nofralloc
|
||||
#include "asm/JSystem/JStudio/JStudio/jstudio-math/getFromTransformation_SRxyzT__Q27JStudio4mathFP3VecP3VecP3VecPA4_Cf.s"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user