A virtual currency betting bot for Twitch chat. https://ddark.net/better
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

63 lines
1.5 KiB

#ifndef BETTER_SETTINGS_H
#define BETTER_SETTINGS_H
#include "better_types.h"
#include "better_const.h"
const u32 SETTINGS_VERSION = 8;
enum COLOR_THEME : u8
{
COLOR_THEME_AUTO,
COLOR_THEME_DARK,
COLOR_THEME_LIGHT
};
struct Settings
{
u64 handout_amount = 100;
i32 timer_setting = 60;
bool show_window_chat = false;
bool show_window_settings = true;
bool show_window_log = false;
bool show_window_points = true;
bool show_window_bets = true;
bool show_window_debug = false;
bool show_window_statistics = true;
bool auto_connect = false;
char channel[CHANNEL_NAME_MAX] = "";
char username[USERNAME_MAX] = "";
bool oauth_token_is_present = false;
char token[TOKEN_MAX] = "";
bool is_mod = false;
char command_prefix[2] = "!";
char points_name[POINTS_NAME_MAX] = "points";
u64 starting_points = 100;
bool allow_multibets = true;
bool add_mode = false;
u32 coyote_time = DEFAULT_COYOTE_TIME;
bool announce_bets_open = true;
bool announce_bets_close = true;
bool announce_payout = true;
bool confirm_handout = true;
bool confirm_leaderboard_reset = true;
bool confirm_refund = true;
bool confirm_payout = true;
char* imgui_ini = NULL;
struct Style {
i32 font_size_normal = 18;
i32 font_size_timer = 36;
u8 color_theme = COLOR_THEME_AUTO;
bool auto_hide_tab_bars = false;
} style;
};
#endif // BETTER_SETTINGS_H