fixes and link m_cpak

This commit is contained in:
Prakxo
2023-11-09 13:25:56 +01:00
parent bc97537820
commit 651a7dc27c
5 changed files with 36 additions and 2 deletions
+1 -1
View File
@@ -16,4 +16,4 @@ build.ninja
ac-decomp.code-workspace
assets/
tools/cli.ini
tools/cli.py
tools/cli.py
+4
View File
@@ -283,6 +283,10 @@ m_roll_lib.c:
.rodata: [0x806434D8, 0x80643538]
sys_stacks.c:
.bss: [0x812F5670, 0x812F9670]
m_cpak.c:
.text: [0x80403830, 0x80403874]
.data: [0x8065EC98, 0x8065ECA0]
.bss: [0x812F3040, 0x812F3098]
m_vibctl.c:
.text: [0x8040387C, 0x804040F0]
.rodata: [0x80643550, 0x806436C8]
+1
View File
@@ -3,6 +3,7 @@
#include "types.h"
#include "m_actor_type.h"
#include "m_collision_bg.h"
/* TODO: these defintions are likely included from an auto-gen source */
+28
View File
@@ -0,0 +1,28 @@
#include "m_cpak.h"
#include "s_cpak.h"
mCPk_c l_paks_info;
mCPk_c* g_paks_info_p = {
&l_paks_info
};
extern int mCPk_PakOpen(mCPk_c* pak, int pak_idx) {
sCPk_PakOpen(&pak->save_pak);
}
extern int mCPk_InitPak(int pak_idx){
return 0;
}
extern int mCPk_SavePak(Private_c* private_data, Animal_c* animals, mCPk_c* cpak){
return 0;
}
extern mCPk_c* mCPk_get_pkinfo(){
return g_paks_info_p;
}
+2 -1
View File
@@ -73,4 +73,5 @@ if __name__ == "__main__":
"entries": entries,
})
r.raise_for_status()
print("Done!")
print("Done!")