mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-07 08:35:47 -05:00
Give names to ds only game option struct fields
This commit is contained in:
@@ -42,11 +42,15 @@ enum windowColor
|
||||
NUM_WINDOW_COLORS,
|
||||
};
|
||||
|
||||
enum GameControls
|
||||
{
|
||||
CONTROLS_GBA,
|
||||
CONTROLS_DS,
|
||||
};
|
||||
|
||||
// size: 0x10
|
||||
typedef struct GameOptions
|
||||
{
|
||||
// TODO: find where Controls/Touch Screen are in this structure in PMD Blue
|
||||
|
||||
/* 0x0 */ u8 dungeonSpeed;
|
||||
/* 0x1 */ u8 FarOffPals;
|
||||
/* 0x2 */ bool8 damageTurn;
|
||||
@@ -54,8 +58,8 @@ typedef struct GameOptions
|
||||
/* 0x4 */ u8 mapOption;
|
||||
/* 0x5 */ u8 fill5[3];
|
||||
/* 0x8 */ u8 windowColor;
|
||||
/* 0x9 */ u8 unk9; // maybe Controls?
|
||||
/* 0xA */ u8 unkA; // maybe Touch Screen?
|
||||
/* 0x9 */ u8 controls; // DS only
|
||||
/* 0xA */ bool8 touchScreen; // DS only
|
||||
/* 0xB */ u8 playerGender;
|
||||
/* 0xC */ u8 unkC;
|
||||
} GameOptions;
|
||||
@@ -63,9 +67,9 @@ typedef struct GameOptions
|
||||
extern GameOptions *gGameOptionsRef;
|
||||
|
||||
GameOptions *GetGameOptions(void);
|
||||
bool8 GameOptionsNotChange(GameOptions *);
|
||||
bool8 GameOptionsNotChange(GameOptions *newOptions);
|
||||
void InitializeGameOptions(bool8 initializeGender);
|
||||
void LoadGameOptions(void);
|
||||
void SetWindowBGColor(void);
|
||||
|
||||
#endif // GUARD_GAME_OPTIONS_H
|
||||
#endif // GUARD_GAME_OPTIONS_H
|
||||
|
||||
Reference in New Issue
Block a user