Merge branch 'main' of https://github.com/TwilitRealm/dusk into randomizer

This commit is contained in:
gymnast86
2026-05-28 20:21:14 -07:00
981 changed files with 5306 additions and 4931 deletions
@@ -2,6 +2,7 @@
#define JAUINITIALIZER_H
#include <types.h>
#include "global.h"
class JKRSolidHeap;
@@ -26,7 +27,7 @@ public:
/* 0x24 */ int aramBlockSize_;
/* 0x28 */ int aramChannelNum_;
/* 0x2C */ f32 dspLevel_;
/* 0x30 */ char* waveArcDir_;
/* 0x30 */ DUSK_CONST char* waveArcDir_;
};
/**
@@ -39,13 +39,13 @@ struct SArcDataInfo {
/* 0x1B */ u8 field_1b[5];
};
inline u32 read_big_endian_u32(void* ptr) {
u8* uptr = (u8*)ptr;
inline u32 read_big_endian_u32(void DUSK_CONST* ptr) {
u8 DUSK_CONST* uptr = (u8 DUSK_CONST*)ptr;
return ((u32)uptr[0] << 0x18) | ((u32)uptr[1] << 0x10) | ((u32)uptr[2] << 8) | (u32)uptr[3];
}
inline u16 read_big_endian_u16(void* ptr) {
u8* uptr = (u8*)ptr;
inline u16 read_big_endian_u16(void DUSK_CONST* ptr) {
u8 DUSK_CONST* uptr = (u8 DUSK_CONST*)ptr;
return ((u16)uptr[0] << 8) | ((u16)uptr[1]);
}