mirror of
https://github.com/zeldaret/tp
synced 2026-05-29 16:45:03 -04:00
make gameinfo members private
This commit is contained in:
@@ -122,6 +122,14 @@ public:
|
||||
// temp for setWarashibeItem
|
||||
void setPlayUnkWarashibe1(u8 num) { play.setUnkWarashibe1(num); }
|
||||
void setPlayUnkWarashibe2(u8 num) { play.setUnkWarashibe2(num); }
|
||||
dSv_player_c& getPlayer() { return info.getPlayer(); }
|
||||
dSv_save_c& getSaveFile() { return info.getSaveFile(); }
|
||||
u32 getNowVibration() { return play.getNowVibration(); }
|
||||
dDlst_peekZ_c& getdlstPeekZ() { return draw_list_list.dlstPeekZ; }
|
||||
dComIfG_play_c& getPlay() { return play; }
|
||||
dSv_memory_c& getMemory() { return info.getMemory(); }
|
||||
|
||||
private:
|
||||
/* 0x00000 */ dSv_info_c info;
|
||||
/* 0x00EEB */ u8 field_0xeeb[0x39];
|
||||
/* 0x00F24 */ u32 saveTotalTime;
|
||||
|
||||
@@ -892,6 +892,7 @@ public:
|
||||
dSv_save_c& getSaveFile() { return save_file; }
|
||||
dSv_memory_c& getMemory() { return memory; }
|
||||
dSv_zone_c* getZones() { return zones; }
|
||||
dSv_player_c& getPlayer() { return save_file.getPlayer(); }
|
||||
|
||||
private:
|
||||
/* 0x000 */ dSv_save_c save_file;
|
||||
|
||||
+1
-1
@@ -242,7 +242,7 @@ void getUsedCount__9HeapCheckCFv(void);
|
||||
void isEventBit__11dSv_event_cCFUs(void);
|
||||
void dComIfGs_setMixItemIndex(int, u8);
|
||||
void dComIfGs_setSelectItemIndex(int, u8);
|
||||
void dComIfGs_getMixItemIndex(int);
|
||||
u8 dComIfGs_getMixItemIndex(int);
|
||||
char* strcpy(char*, const char*);
|
||||
int strcmp(char*, char*);
|
||||
void setBombNum__21dSv_player_item_max_cFUcUc(void);
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ extern float lbl_80451D58;
|
||||
extern u8 i_item_lst[24];
|
||||
extern u8 lbl_80430188[16];
|
||||
extern u8 lbl_80379235[16];
|
||||
extern u8 lbl_80379234[0x62];
|
||||
extern char lbl_80379234[0x64];
|
||||
extern char lbl_803739A0[0x310];
|
||||
extern void* lbl_80451368;
|
||||
extern u32 _sRumbleSupported;
|
||||
|
||||
Reference in New Issue
Block a user