begin adding d_com_inf_game, add include guards to headers

This commit is contained in:
unknown
2020-12-03 21:03:25 -05:00
parent 91fc5f6f53
commit 1c7bf89fff
9 changed files with 52 additions and 8 deletions
+8 -3
View File
@@ -1,3 +1,6 @@
#ifndef D_SAVE_H_
#define D_SAVE_H_
#include "dolphin/types.h"
#define MAX_BOTTLES 4
#define MAX_ITEM_SLOTS 24
@@ -409,10 +412,10 @@ class dSv_player_config_c {
class dSv_player_c {
public:
void init(void);
inline dSv_player_info_c& getPlayerInfo() {
dSv_player_info_c& getPlayerInfo() {
return player_info;
}
inline dSv_player_status_a_c getPlayerStatusA() {
dSv_player_status_a_c getPlayerStatusA() {
return player_status_a;
}
@@ -661,4 +664,6 @@ class dSv_info_c {
dSv_restart_c restart;
dSv_event_c events;
dSv_turnRestart_c turn_restart;
};
};
#endif
+4
View File
@@ -1,3 +1,6 @@
#ifndef D_SAVE_HIO_H_
#define D_SAVE_HIO_H_
#include "dolphin/types.h"
struct dSvBit_childSwPerfectionHIO_c_vtable {
@@ -17,3 +20,4 @@ class dSvBit_childSwPerfectionHIO_c {
u8 unk0[10];
};
#endif