Commented out a lot of stuff

This commit is contained in:
Ogre 2023-09-21 11:43:07 +02:00
parent a2e8586e55
commit a9ef9c937f
5 changed files with 1726 additions and 1752 deletions

View File

@ -297,10 +297,10 @@ extern const char STR_ADDING_NEW_DATA[];
extern const char STR_buSave_SAVING[]; extern const char STR_buSave_SAVING[];
extern const char STR_UNUSEDMALLOCNO_INSUFFICIENT_MEMORY[]; extern const char STR_UNUSEDMALLOCNO_INSUFFICIENT_MEMORY[];
extern const char STR_LHa___s_s__s[]; // extern const char STR_LHa___s_s__s[];
extern const char STR_Error[]; extern const char STR_Error[];
extern const char STR_Fatal_error[]; extern const char STR_Fatal_error[];
extern const char STR_Invalid_header_LHarc_file_[]; // extern const char STR_Invalid_header_LHarc_file_[];
extern const char STR_rb[]; extern const char STR_rb[];
extern const char STR_wb[]; extern const char STR_wb[];
extern const char STR_Unknown_method_skiped[]; extern const char STR_Unknown_method_skiped[];

3387
splat.yaml

File diff suppressed because it is too large Load Diff

6
src/class_ability.data.c Normal file
View File

@ -0,0 +1,6 @@
#include "common.h"
extern void D_8018FEB8;
/* 5DB10 80187C10 */
void* D_80187C10 = &D_8018FEB8;

View File

@ -1,5 +1,27 @@
#include "common.h" #include "common.h"
// char* STR_Invalid_header_LHarc_file_ = "Invalid header (LHarc file ?)";
// char* STR_INVALID_HEADER_LHA_FILE = "Invalid header (LHa file ?)";
const u32 STR_FILE_NOT_FOUND[] = {
0x83478389,
0x815B94AD,
0x90B68149,
0x8140966B,
0x90EC82DC,
0x82C59841,
0x978D82B5,
0x82C489BA,
0x82B382A2,
0x81420A00
};
const char STR_LHa___s_s__s[] = "LHa: %s%s %s\n";
const char STR_Error[] = "Error: ";
const char STR_Fatal_error[] = "Fatal error:";
const char STR_EMPTY[] = "";
void Unpack(s32, s32); void Unpack(s32, s32);
INCLUDE_ASM(const s32, "lha", func_80079F70); INCLUDE_ASM(const s32, "lha", func_80079F70);

View File

@ -1,4 +1,6 @@
__MAYBE_VERTICES_801FD350 = 0x801FD350; // rom:0x14E530 __MAYBE_VERTICES_801FD350 = 0x801FD350; // rom:0x14E530
__MAYBE_VERTICES_801FD558 = 0x801FD558; // rom:0x14E738 __MAYBE_VERTICES_801FD558 = 0x801FD558; // rom:0x14E738
__MAYBE_VERTICES_801FD600 = 0x801FD600; // rom:0x14E7E0 __MAYBE_VERTICES_801FD600 = 0x801FD600; // rom:0x14E7E0
@ -18,6 +20,8 @@ obVpMaxResolution = 0x80186320; // rom:0x5C220
obDlSetupMinResolution = 0x80186330; // rom:0x5C230 obDlSetupMinResolution = 0x80186330; // rom:0x5C230
obDlSetupMaxResolution = 0x80186358; // rom:0x5C258 obDlSetupMaxResolution = 0x80186358; // rom:0x5C258
VIEWPORT_8018FE20 = 0x8018FE20; // rom:0x65D20
DP_FILL_RECT_639x479 = 0x80186380; // rom:0x5C280 DP_FILL_RECT_639x479 = 0x80186380; // rom:0x5C280
DL_DRAW_TEX_2560x1920 = 0x80186610; // rom:0x5C510 DL_DRAW_TEX_2560x1920 = 0x80186610; // rom:0x5C510
DISPLAY_LIST_801869C8 = 0x801869C8; // rom:0x5C8C8 DISPLAY_LIST_801869C8 = 0x801869C8; // rom:0x5C8C8
@ -116,7 +120,7 @@ character_get_item = 0x8016EAEC; // rom:0x449EC
__character_handle_levelup = 0x8016EBA4; // rom:0x44AA4 __character_handle_levelup = 0x8016EBA4; // rom:0x44AA4
// Set by calls to bzero // Set by calls to bzero
D_80193BC0 = 0x80193BC0; // size:0x15E0 //D_80193BC0 = 0x80193BC0; // size:0x15E0
D_801971F0 = 0x801971F0; // size:0x4E2 D_801971F0 = 0x801971F0; // size:0x4E2
D_801969B8 = 0x801969B8; // size:0x6E D_801969B8 = 0x801969B8; // size:0x6E
D_80190F80 = 0x80190F80; // size:0x16C D_80190F80 = 0x80190F80; // size:0x16C
@ -305,6 +309,49 @@ class_get_name = 0x8016E1DC; // rom:0x440DC
class_get_ability = 0x8016E230; // rom:0x44130 class_get_ability = 0x8016E230; // rom:0x44130
class_get_ability_hitcount = 0x8016E338; // rom:0x44238 class_get_ability_hitcount = 0x8016E338; // rom:0x44238
obClassNameDanika = 0x8018FED0;
obClassNameElderlyMan = 0x8018FF14;
obClassNameBarkeep = 0x8018FF20;
obClassNameDaemon = 0x8018FF28;
obClassNameGatekeeper = 0x8018FF44;
obClassNameVanity = 0x8018FF64;
obClassNameDeathTemplar = 0x8018FF80;
obClassNameFlailMonarch = 0x8018FF90;
obClassNameSpecialClass = 0x8018FFA0;
obClassNameDarkPrince = 0x8018FFB0;
obClassNameOverlord = 0x8018FFBC;
obClassNameSolidblade = 0x8018FFC8;
obClassNameGrappler = 0x8018FFD4;
obClassNameWarlock = 0x8018FFE0;
obClassNameLord = 0x8018FFE8;
obClassNameRuneKnight = 0x8018FFF0;
obClassNameBlazeKnight = 0x8018FFFC;
obClassNameWarrior = 0x8019000C;
obClassNameGeneral = 0x80190014;
obClassNameVanguard = 0x8019001C;
obClassNameGladiator = 0x80190028;
obClassNameBaldrGolem = 0x80190034;
obClassNameStoneGolem = 0x80190040;
obClassNameGolem = 0x8019004C;
obClassNameGiant = 0x80190054;
obClassNameCerberus = 0x8019005C;
obClassNameHellhound = 0x80190068;
obClassNameSphinx = 0x80190074;
obClassNameCockatrice = 0x8019007C;
obClassNameOpinincus = 0x80190088;
obClassNameGriffin = 0x80190094;
obClassNameWyvern = 0x8019009C;
obClassNameWyrm = 0x801900A4;
obClassNameTiamat = 0x801900AC;
obClassNameBahamut = 0x801900B4;
obClassNameAhziDahaka = 0x801900C4;
FORMATION_COMMAND_NAMES = 0x8021315C; // rom:0x1642CC type:char* FORMATION_COMMAND_NAMES = 0x8021315C; // rom:0x1642CC type:char*
obAbilityData = 0x8018AA7C; // rom:0x6097C size:0xA18 obAbilityData = 0x8018AA7C; // rom:0x6097C size:0xA18
@ -371,6 +418,7 @@ __setup_overlay_1977E0 = 0x801B73EC; // rom:0x10BB2C
__setup_overlay_1A4C10 = 0x801B750C; // rom:0x10BC4C __setup_overlay_1A4C10 = 0x801B750C; // rom:0x10BC4C
__setup_overlay_1A9290 = 0x801B7A68; // rom:0x10C1A8 __setup_overlay_1A9290 = 0x801B7A68; // rom:0x10C1A8
__setup_overlay_1B2670 = 0x801E49B0; // rom:0x1390F0 __setup_overlay_1B2670 = 0x801E49B0; // rom:0x1390F0
__setup_overlay_213B10 = 0x80178110; // rom:0x4E010
__setup_overlay_23B220 = 0x80177B84; // rom:0x4DA84 __setup_overlay_23B220 = 0x80177B84; // rom:0x4DA84
__setup_overlay_2447A0 = 0x801782C4; // rom:0x4E1C4 __setup_overlay_2447A0 = 0x801782C4; // rom:0x4E1C4
@ -819,7 +867,6 @@ ___FILE_WRITE_ERROR = 0x800AE38C;
__file_write = 0x08007F5D8; __file_write = 0x08007F5D8;
__ERROR_BAD_TABLE = 0x800AE338; __ERROR_BAD_TABLE = 0x800AE338;
__VIRTUAL_MEMORY_EXHAUSTED = 0x800AE35C; __VIRTUAL_MEMORY_EXHAUSTED = 0x800AE35C;
__some_logging = 0x80093540;
__virtual_mem_alloc = 0x80070F30; __virtual_mem_alloc = 0x80070F30;
__controller_thread_80089D9C = 0x80089D9C; __controller_thread_80089D9C = 0x80089D9C;
@ -964,10 +1011,18 @@ osCreatePiManager = 0x8008B8C0;
osInvalDCache = 0x80090010; osInvalDCache = 0x80090010;
osDestroyThread = 0x8009A9C0; osDestroyThread = 0x8009A9C0;
__osPfsRequestData = 0x8009B50C;
__osPfsGetInitData = 0x8009B5B0;
osPfsIsPlug = 0x8009B390;
osAfterPreNMI = 0x80098030;
__osDevMgrMain = 0x8008BEB0; __osDevMgrMain = 0x8008BEB0;
__osPackReadData = 0x800903B4; __osPackReadData = 0x800903B4;
__osProbeTLB = 0x800950E0; __osProbeTLB = 0x800950E0;
__osEnqueueAndYield = 0x800993DC; __osEnqueueAndYield = 0x800993DC;
__osEnqueueThread = 0x800994E4;
__osCleanupThread = 0x800996B8; // type:func
__osDisableInt = 0x800996D0; __osDisableInt = 0x800996D0;
__osRestoreInt = 0x80099740; __osRestoreInt = 0x80099740;
__osPopThread = 0x8009952C; __osPopThread = 0x8009952C;