pmd-sky/include/options.h

40 lines
903 B
C

#ifndef PMDSKY_OPTIONS
#define PMDSKY_OPTIONS
#include "util.h"
// See enums for values
struct options {
u8 touch_screen;
u8 bottom_screen;
u8 top_screen;
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();
bool8 GetGridsOption();
bool8 GetSpeedOption();
bool8 GetFarOffPalsOption();
bool8 GetDamageTurnOption();
bool8 GetDPadAttackOption();
bool8 GetCheckDirectionOption();
bool8 IsMapShownOnEitherScreen();
bool8 IsTeamStatsOnTopScreen();
bool8 IsTextLogOnTopScreen();
void CopyFrameTypeOption(u8* dst);
void SetFrameTypeOption(u8* new_ft);
#endif //PMDSKY_OPTIONS