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
+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;
}