d_a_e_fz work, doxygen revamp (#2127)

* initial freezard actor struct + setActionMode OK

* daE_FZ_Draw

* setReflectAngle

* mBoundSoundset

* daE_FZ_Execute & execute

* demoDelete

* daE_FZ_Delete & _delete

* CreateHeap

* useHeapInit

* cc_set

* mtx_set

* action WIP

* way_gake_check

* executeRollMove

* executeMove

* draw WIP

* executeDamage

* checkpoint

* create

* checkpoint

* daE_FZ_c::executeWait

* checkpoint

* daE_FZ_c::damage_check almost done

* rm asm

* rm headers

* setup_profile WIP + doxygen update

* fix merge issues

* docs fix?

* fix2

* doxygen updates

* setup g_profile_E_FZ, profile setup script WIP

* update github actions

* update progress.md
This commit is contained in:
Pheenoh
2024-04-12 00:10:30 -06:00
committed by GitHub
parent b36f0f9366
commit a61e3491f7
1245 changed files with 16183 additions and 9396 deletions
-1
View File
@@ -1,7 +1,6 @@
#ifndef JUTASSERT_H
#define JUTASSERT_H
#include "dolphin/types.h"
#include "dolphin/os.h"
#ifdef DEBUG
+4 -1
View File
@@ -2,10 +2,13 @@
#define JUTCACHEFONT_H
#include "JSystem/JUtility/JUTResFont.h"
#include "global.h"
class JKRAramBlock;
/**
* @ingroup jsystem-jutility
*
*/
class JUTCacheFont : public JUTResFont {
public:
struct TGlyphCacheInfo {
+8 -1
View File
@@ -5,8 +5,11 @@
#include "JSystem/JKernel/JKRDisposer.h"
#include "JSystem/JUtility/JUTFont.h"
#include "__va_arg.h"
#include "dolphin/types.h"
/**
* @ingroup jsystem-jutility
*
*/
class JUTConsole : public JKRDisposer {
public:
enum EConsoleType {
@@ -114,6 +117,10 @@ public:
/* 0x6B */ bool field_0x6b;
}; // Size: 0x6C
/**
* @ingroup jsystem-jutility
*
*/
class JUTConsoleManager {
public:
/* 802E81CC */ JUTConsoleManager();
+8
View File
@@ -6,6 +6,10 @@
class JKRHeap;
// TODO: fix struct
/**
* @ingroup jsystem-jutility
*
*/
struct unk_print {
/* 0x00 */ unk_print* mNext;
/* 0x04 */ s16 unk_0x04;
@@ -15,6 +19,10 @@ struct unk_print {
/* 0x0C */ char unk_0x0C[0];
};
/**
* @ingroup jsystem-jutility
*
*/
class JUTDbPrint {
public:
/* 802E0148 */ JUTDbPrint(JUTFont*, JKRHeap*);
+4
View File
@@ -5,6 +5,10 @@
#define JUTDF_BUFSIZE (0x800)
/**
* @ingroup jsystem-jutility
*
*/
struct JUTDirectFile {
/* 802E8730 */ int fetch32byte();
/* 802E87F8 */ JUTDirectFile();
@@ -4,6 +4,10 @@
#include "JSystem/JUtility/TColor.h"
#include "__va_arg.h"
/**
* @ingroup jsystem-jutility
*
*/
class JUTDirectPrint {
private:
/* 802E41E8 */ JUTDirectPrint();
+12 -1
View File
@@ -6,13 +6,16 @@
#include "__va_arg.h"
#include "dolphin/gx/GXEnum.h"
#include "dolphin/os/OSError.h"
#include "dolphin/types.h"
#include "global.h"
typedef struct _GXRenderModeObj GXRenderModeObj;
typedef struct OSContext OSContext;
class JUTDirectPrint;
/**
* @ingroup jsystem-jutility
*
*/
class JUTExternalFB {
public:
/* 802E40CC */ JUTExternalFB(_GXRenderModeObj*, GXGamma, void*, u32);
@@ -35,6 +38,10 @@ STATIC_ASSERT(sizeof(JUTExternalFB) == 0x14);
#define JUT_PRINT_FLOAT 8
#define JUT_PRINT_STACK 16
/**
* @ingroup jsystem-jutility
*
*/
class JUTException : public JKRThread {
public:
enum EInfoPage {
@@ -136,6 +143,10 @@ private:
STATIC_ASSERT(sizeof(JUTException) == 0xA4);
/**
* @ingroup jsystem-jutility
*
*/
struct JUTWarn {
JUTWarn& operator<<(const char*) { return *this; }
JUTWarn& operator<<(long) { return *this; }
+4
View File
@@ -4,6 +4,10 @@
#include "JSystem/JGeometry.h"
#include "JSystem/JUtility/TColor.h"
/**
* @ingroup jsystem-jutility
*
*/
class JUTFader {
public:
enum EStatus {
+8
View File
@@ -4,6 +4,10 @@
#include "JSystem/JUtility/TColor.h"
#include "string.h"
/**
* @ingroup jsystem-jutility
*
*/
struct ResFONT {
struct INF1 {
/* 0x00 */ u32 magic;
@@ -58,6 +62,10 @@ struct ResFONT {
/* 0x20 */ u8 data[];
};
/**
* @ingroup jsystem-jutility
*
*/
class JUTFont {
public:
JUTFont();
+12 -1
View File
@@ -4,7 +4,6 @@
#include "JSystem/JKernel/JKRDisposer.h"
#include "dolphin/os/OSTime.h"
#include "dolphin/pad.h"
#include "dolphin/types.h"
typedef void (*callbackFn)(int, void*);
@@ -27,6 +26,10 @@ enum {
extern bool sResetSwitchPushing__Q210JUTGamePad13C3ButtonReset;
/**
* @ingroup jsystem-jutility
*
*/
struct JUTGamePadRecordBase {
virtual void unk0() {}
virtual void unk1(PADStatus* pad) {}
@@ -35,6 +38,10 @@ struct JUTGamePadRecordBase {
/* 0x4 */ bool mActive;
};
/**
* @ingroup jsystem-jutility
*
*/
struct JUTGamePad : public JKRDisposer {
public:
enum EStickMode {
@@ -260,6 +267,10 @@ public:
static u32 sRumbleSupported;
};
/**
* @ingroup jsystem-jutility
*
*/
struct JUTGamePadLongPress {
static JSUList<JUTGamePadLongPress> sPatternList;
void checkCallback(int port, u32 timer);
+4
View File
@@ -3,6 +3,10 @@
#include "dolphin/gx.h"
/**
* @ingroup jsystem-jutility
*
*/
class JUTGraphFifo {
public:
/* 802DEB58 */ JUTGraphFifo(u32);
+8
View File
@@ -3,6 +3,10 @@
#include "dolphin/types.h"
/**
* @ingroup jsystem-jutility
*
*/
struct ResNTAB {
u16 mEntryNum;
u16 mPad0;
@@ -16,6 +20,10 @@ struct ResNTAB {
}
};
/**
* @ingroup jsystem-jutility
*
*/
class JUTNameTab {
public:
JUTNameTab();
+8 -1
View File
@@ -1,17 +1,24 @@
#ifndef JUTPALETTE_H
#define JUTPALETTE_H
#include "dolphin/gx/GXEnum.h"
#include "dolphin/gx/GXStruct.h"
enum JUTTransparency { UNK0, UNK1 };
/**
* @ingroup jsystem-jutility
*
*/
struct ResTLUT {
u8 format;
u8 transparency;
u16 numColors;
};
/**
* @ingroup jsystem-jutility
*
*/
class JUTPalette {
public:
JUTPalette(_GXTlut p1, _GXTlutFmt p2, JUTTransparency p3, u16 p4, void* p5) {
+4
View File
@@ -6,6 +6,10 @@
class JKRHeap;
/**
* @ingroup jsystem-jutility
*
*/
class JUTProcBar {
public:
class CTime {
+8 -1
View File
@@ -2,18 +2,25 @@
#define JUTRESFONT_H
#include "JSystem/JUtility/JUTFont.h"
#include "dolphin/gx/GXEnum.h"
class JKRHeap;
typedef bool (*IsLeadByte_func)(int);
/**
* @ingroup jsystem-jutility
*
*/
struct BlockHeader {
const BlockHeader* getNext() const { return reinterpret_cast<const BlockHeader*>(reinterpret_cast<const u8*>(this) + size); }
u32 magic;
u32 size;
};
/**
* @ingroup jsystem-jutility
*
*/
class JUTResFont : public JUTFont {
public:
/* 802DF000 */ virtual ~JUTResFont();
+4
View File
@@ -6,6 +6,10 @@
class JKRArchive;
class JSUInputStream;
/**
* @ingroup jsystem-jutility
*
*/
class JUTResReference {
private:
/* 0x001 */ u8 mType;
+13 -6
View File
@@ -1,16 +1,19 @@
#ifndef JUTTEXTURE_H
#define JUTTEXTURE_H
#include "dolphin/gx/GXEnum.h"
#include "dolphin/gx/GXStruct.h"
class JUTPalette;
/*
* Acts as the header to image data. Usually texture data immediately follows it,
* so any pointer arithmetic to go past the end of this structure is so that a
* variable sized allocated buffer can be accessed.
*/
/**
* @ingroup jsystem-jutility
* @brief Image data header.
*
* Acts as the header to image data. Usually texture data immediately follows it,
* so any pointer arithmetic to go past the end of this structure is so that a
* variable sized allocated buffer can be accessed.
*
*/
struct ResTIMG {
/* 0x00 */ u8 format;
/* 0x01 */ u8 alphaEnabled;
@@ -36,6 +39,10 @@ struct ResTIMG {
/* 0x1C */ u32 imageOffset;
}; // Size: 0x20
/**
* @ingroup jsystem-jutility
*
*/
class JUTTexture {
public:
JUTTexture() {
+4 -1
View File
@@ -4,10 +4,13 @@
#include "dolphin/gx/GXStruct.h"
#include "dolphin/os/OSMessage.h"
#include "dolphin/os/OSTime.h"
#include "dolphin/vi.h"
typedef u8 (*Pattern)[2];
/**
* @ingroup jsystem-jutility
*
*/
class JUTVideo {
public:
typedef void (*Callback)(u32);
+4
View File
@@ -6,6 +6,10 @@
typedef struct _GXRenderModeObj GXRenderModeObj;
class JKRHeap;
/**
* @ingroup jsystem-jutility
*
*/
class JUTXfb {
public:
enum EXfbNumber { // TODO: placeholder
+5
View File
@@ -4,6 +4,11 @@
#include "dolphin/gx/GXStruct.h"
namespace JUtility {
/**
* @ingroup jsystem-jutility
*
*/
struct TColor : public GXColor {
TColor(u8 r, u8 g, u8 b, u8 a) { set(r, g, b, a); }
TColor() { set(0xffffffff); }