Decomp LoadOptionsFromCtx and SaveOptionsToCtx

This commit is contained in:
slaw-22
2025-12-24 12:43:54 +00:00
committed by slaw-22
parent 555b5d3230
commit d5db0ebc46
10 changed files with 1117 additions and 1215 deletions

View File

@@ -8,26 +8,28 @@ struct options {
u8 touch_screen;
u8 bottom_screen;
u8 top_screen;
u8 grids;
u8 speed;
u8 far_off_pals;
u8 damage_turn;
u8 d_pad_attack;
u8 check_direction;
bool8 grids;
bool8 speed;
bool8 far_off_pals;
bool8 damage_turn;
bool8 d_pad_attack;
bool8 check_direction;
u8 frame_type;
};
void SaveOptionsToCtx(u8* ctx);
void LoadOptionsFromCtx(u8* ctx);
bool8 IsTouchScreenNotOff();
bool8 IsTouchScreenUseAnywhere();
u8 GetTopScreenOption();
void SetTopScreenOption(u8 new_ts);
u8 GetBottomScreenOption();
u8 GetGridsOption();
u8 GetSpeedOption();
u8 GetFarOffPalsOption();
u8 GetDamageTurnOption();
u8 GetDPadAttackOption();
u8 GetCheckDirectionOption();
bool8 GetGridsOption();
bool8 GetSpeedOption();
bool8 GetFarOffPalsOption();
bool8 GetDamageTurnOption();
bool8 GetDPadAttackOption();
bool8 GetCheckDirectionOption();
bool8 IsMapShownOnEitherScreen();
bool8 IsTeamStatsOnTopScreen();
bool8 IsTextLogOnTopScreen();