summaryrefslogtreecommitdiff
path: root/src/d/d_path.cpp
diff options
context:
space:
mode:
authorJulgodis <>2021-03-29 00:10:25 +0200
committerJulgodis <>2021-03-29 00:10:25 +0200
commit815c1a2039a8579d5dc81615250501b6942800d6 (patch)
treedd6cb473752f7e8ae6c60f254f2067f5791a50bb /src/d/d_path.cpp
parentc6c405e457377cc30f7b6ef2b3aa730af0bff845 (diff)
clang-format
Diffstat (limited to 'src/d/d_path.cpp')
-rw-r--r--src/d/d_path.cpp77
1 files changed, 38 insertions, 39 deletions
diff --git a/src/d/d_path.cpp b/src/d/d_path.cpp
index 7ba8205911..3dcc486dd2 100644
--- a/src/d/d_path.cpp
+++ b/src/d/d_path.cpp
@@ -1,42 +1,39 @@
-//
+//
// Generated By: dol2asm
// Translation Unit: d/d_path
-//
+//
+#include "d/d_path.h"
#include "dol2asm.h"
#include "dolphin/types.h"
-#include "d/d_path.h"
-//
+//
// Types:
-//
+//
struct dSv_info_c {
- /* 80035360 */ void isSwitch(int, int) const;
+ /* 80035360 */ void isSwitch(int, int) const;
};
struct dStage_roomControl_c {
- /* 80024384 */ void getStatusRoomDt(int);
+ /* 80024384 */ void getStatusRoomDt(int);
};
-struct dPath {
-};
+struct dPath {};
-struct cBgS_PolyInfo {
-};
+struct cBgS_PolyInfo {};
struct dBgS {
- /* 80074FE0 */ void GetRoomPathId(cBgS_PolyInfo const&);
- /* 80075030 */ void GetRoomPathPntNo(cBgS_PolyInfo const&);
- /* 80075100 */ void GetRoomId(cBgS_PolyInfo const&);
+ /* 80074FE0 */ void GetRoomPathId(cBgS_PolyInfo const&);
+ /* 80075030 */ void GetRoomPathPntNo(cBgS_PolyInfo const&);
+ /* 80075100 */ void GetRoomId(cBgS_PolyInfo const&);
};
-struct cXyz {
-};
+struct cXyz {};
-//
+//
// Forward References:
-//
+//
void dPath_GetPnt(dPath const*, int);
void dPath_GetRoomPath(int, int);
@@ -48,9 +45,9 @@ extern "C" void dPath_GetRoomPath__Fii();
extern "C" void dPath_GetNextRoomPath__FPC5dPathi();
extern "C" void dPath_GetPolyRoomPathVec__FRC13cBgS_PolyInfoP4cXyzPi();
-//
+//
// External References:
-//
+//
extern "C" extern u8 g_dComIfG_gameInfo[122384];
@@ -63,59 +60,61 @@ extern "C" void _savegpr_26();
extern "C" void _restgpr_26();
extern "C" extern u8 g_dComIfG_gameInfo[122384];
-//
+//
// Declarations:
-//
+//
-/* 800517B0-800517EC 003C+00 s=0 e=7 z=63 None .text dPath_GetPnt__FPC5dPathi */
+/* 800517B0-800517EC 003C+00 s=0 e=7 z=63 None .text dPath_GetPnt__FPC5dPathi */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void dPath_GetPnt(dPath const* param_0, int param_1) {
- nofralloc
+ nofralloc
#include "asm/d/d_path/dPath_GetPnt__FPC5dPathi.s"
}
#pragma pop
-
-/* 800517EC-80051898 00AC+00 s=1 e=12 z=82 None .text dPath_GetRoomPath__Fii */
+/* 800517EC-80051898 00AC+00 s=1 e=12 z=82 None .text dPath_GetRoomPath__Fii */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void dPath_GetRoomPath(int param_0, int param_1) {
- nofralloc
+ nofralloc
#include "asm/d/d_path/dPath_GetRoomPath__Fii.s"
}
#pragma pop
-
-/* 80051898-8005195C 00C4+00 s=0 e=1 z=3 None .text dPath_GetNextRoomPath__FPC5dPathi */
+/* 80051898-8005195C 00C4+00 s=0 e=1 z=3 None .text dPath_GetNextRoomPath__FPC5dPathi */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void dPath_GetNextRoomPath(dPath const* param_0, int param_1) {
- nofralloc
+ nofralloc
#include "asm/d/d_path/dPath_GetNextRoomPath__FPC5dPathi.s"
}
#pragma pop
-
/* ############################################################################################## */
-/* 80452000-80452008 0004+04 s=1 e=0 z=0 None .sdata2 @3685 */
+/* 80452000-80452008 0004+04 s=1 e=0 z=0 None .sdata2 @3685 */
SECTION_SDATA2 static u8 lit_3685[4 + 4 /* padding */] = {
- 0x00, 0x00, 0x00, 0x00,
- /* padding */
- 0x00, 0x00, 0x00, 0x00,
+ 0x00,
+ 0x00,
+ 0x00,
+ 0x00,
+ /* padding */
+ 0x00,
+ 0x00,
+ 0x00,
+ 0x00,
};
-/* 8005195C-80051AC0 0164+00 s=0 e=1 z=4 None .text dPath_GetPolyRoomPathVec__FRC13cBgS_PolyInfoP4cXyzPi */
+/* 8005195C-80051AC0 0164+00 s=0 e=1 z=4 None .text
+ * dPath_GetPolyRoomPathVec__FRC13cBgS_PolyInfoP4cXyzPi */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void dPath_GetPolyRoomPathVec(cBgS_PolyInfo const& param_0, cXyz* param_1, int* param_2) {
- nofralloc
+ nofralloc
#include "asm/d/d_path/dPath_GetPolyRoomPathVec__FRC13cBgS_PolyInfoP4cXyzPi.s"
}
#pragma pop
-
-