mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-08 04:15:11 -04:00
fixes and link m_cpak
This commit is contained in:
+1
-1
@@ -16,4 +16,4 @@ build.ninja
|
||||
ac-decomp.code-workspace
|
||||
assets/
|
||||
tools/cli.ini
|
||||
tools/cli.py
|
||||
tools/cli.py
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
@@ -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
@@ -73,4 +73,5 @@ if __name__ == "__main__":
|
||||
"entries": entries,
|
||||
})
|
||||
r.raise_for_status()
|
||||
print("Done!")
|
||||
print("Done!")
|
||||
|
||||
Reference in New Issue
Block a user