mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-23 12:01:37 +02:00
The sources of Petari (https://github.com/SMGCommunity/Petari), the Super Mario Galaxy decompilation by the SMGCommunity, at commit 0a5c6608dc3b4c44a9aa68c2535d1793dc565f02, unchanged but for LF line endings: LICENSE (as LICENSE-Petari.txt; CC0 1.0), include/, libs/ and src/. Left out: the game data Petari keeps from the original executable, the error message archive (include/Game/System/ ErrorArchive.hpp) and two tables (src/Game/System/GalaxyID.bcsv and StoryEvent.bcsv); GalaxyQuest's converter takes them from the player's own disc. The port's changes follow in the next commit, so `git diff petari-base -- decomp` shows them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
39 lines
877 B
C
39 lines
877 B
C
#ifndef RVL_FACE_LIBRARY_DATA_UTILITY_H
|
|
#define RVL_FACE_LIBRARY_DATA_UTILITY_H
|
|
#include "RFL_Types.h"
|
|
#include <revolution/gx.h>
|
|
#include <revolution/types.h>
|
|
#include <cstdio>
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// Forward declarations
|
|
typedef struct RFLMiddleDB;
|
|
|
|
typedef struct RFLAdditionalInfo {
|
|
wchar_t name[RFL_NAME_LEN + 1]; // at 0x0
|
|
wchar_t creator[RFL_CREATOR_LEN + 1]; // at 0x16
|
|
RFLCreateID createID; // at 0x2C
|
|
|
|
// at 0x34
|
|
u32 sex : 1;
|
|
u32 bmonth : 4;
|
|
u32 bday : 5;
|
|
u32 color : 4;
|
|
u32 favorite : 1;
|
|
u32 height : 7;
|
|
u32 build : 7;
|
|
u32 reserved : 3;
|
|
|
|
GXColor skinColor; // at 0x38
|
|
} RFLAdditionalInfo;
|
|
|
|
RFLErrcode RFLGetAdditionalInfo(RFLAdditionalInfo* info, RFLDataSource source,
|
|
struct RFLMiddleDB* db, u16 index);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|