2024-01-21 19:04:56 +00:00
|
|
|
#ifndef __RECOMP_CONFIG_H__
|
|
|
|
#define __RECOMP_CONFIG_H__
|
|
|
|
|
2024-03-04 02:00:49 +00:00
|
|
|
#include <filesystem>
|
2024-01-21 19:04:56 +00:00
|
|
|
#include <string_view>
|
|
|
|
#include "../ultramodern/config.hpp"
|
|
|
|
|
|
|
|
namespace recomp {
|
2024-01-22 00:21:58 +00:00
|
|
|
constexpr std::u8string_view program_id = u8"Zelda64Recompiled";
|
2024-03-12 04:27:20 +00:00
|
|
|
constexpr std::u8string_view mm_game_id = u8"mm.n64.us.1.0";
|
2024-01-21 19:04:56 +00:00
|
|
|
|
|
|
|
void load_config();
|
|
|
|
void save_config();
|
|
|
|
|
|
|
|
void reset_input_bindings();
|
2024-04-21 18:02:47 +00:00
|
|
|
void reset_cont_input_bindings();
|
|
|
|
void reset_kb_input_bindings();
|
2024-03-04 02:00:49 +00:00
|
|
|
|
|
|
|
std::filesystem::path get_app_folder_path();
|
2024-03-15 16:13:29 +00:00
|
|
|
|
|
|
|
bool get_debug_mode_enabled();
|
|
|
|
void set_debug_mode_enabled(bool enabled);
|
2024-01-21 19:04:56 +00:00
|
|
|
};
|
|
|
|
|
2024-03-15 16:13:29 +00:00
|
|
|
#endif
|