Upgrade folder structure
This commit is contained in:
34
game_re/r3/config/static.hpp
Normal file
34
game_re/r3/config/static.hpp
Normal 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 */
|
Reference in New Issue
Block a user