Upgrade folder structure

This commit is contained in:
2024-09-24 19:45:20 +08:00
parent cdd0edd312
commit ee08c57515
64 changed files with 459 additions and 529 deletions

View File

@@ -0,0 +1,34 @@
#ifndef D9171C14_8ED0_407B_A289_4C75D30D9DCC
#define D9171C14_8ED0_407B_A289_4C75D30D9DCC
#include <string>
#include <gh_global.h>
struct R3Config {
std::string gameDataDir;
std::string gfxAdapter;
std::string gfxIdentifier;
std::string gfxGliMode;
std::string language;
};
inline R3Config createDefaultConfig() {
R3Config config{};
#ifdef R3_GAME_DATA_DIR
config.gameDataDir = R3_GAME_DATA_DIR;
#endif
// Windowed 720p
config.gfxGliMode = "0 - 1200 x 720 - 16";
config.gfxAdapter = "D3D";
config.gfxIdentifier = "00000000-0000-0000-0000-000000000000";
config.language = s_English_005b684c;
return config;
}
inline R3Config &getDefaultConfig() {
static R3Config config = createDefaultConfig();
return config;
}
#endif /* D9171C14_8ED0_407B_A289_4C75D30D9DCC */