mirror of
https://github.com/BanjoRecomp/BanjoRecomp
synced 2026-06-01 09:17:19 -04:00
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
#ifndef __BANJO_CONFIG_H__
|
|
#define __BANJO_CONFIG_H__
|
|
|
|
#include <filesystem>
|
|
#include <string>
|
|
#include <string_view>
|
|
|
|
namespace banjo {
|
|
inline const std::u8string program_id = u8"BanjoRecompiled";
|
|
inline const std::string program_name = "Banjo: Recompiled";
|
|
|
|
namespace configkeys {
|
|
namespace general {
|
|
inline const std::string camera_invert_mode = "camera_invert_mode";
|
|
inline const std::string analog_cam_mode = "analog_cam_mode";
|
|
inline const std::string analog_camera_invert_mode = "analog_camera_invert_mode";
|
|
}
|
|
|
|
namespace sound {
|
|
inline const std::string bgm_volume = "bgm_volume";
|
|
}
|
|
}
|
|
|
|
// TODO: Move loading configs to the runtime once we have a way to allow per-project customization.
|
|
void init_config();
|
|
|
|
enum class CameraInvertMode {
|
|
InvertNone,
|
|
InvertX,
|
|
InvertY,
|
|
InvertBoth
|
|
};
|
|
|
|
CameraInvertMode get_camera_invert_mode();
|
|
|
|
CameraInvertMode get_analog_camera_invert_mode();
|
|
|
|
bool get_analog_cam_mode();
|
|
|
|
void open_quit_game_prompt();
|
|
};
|
|
|
|
#endif
|