rewrite nearly complete
This commit is contained in:
@@ -70,13 +70,13 @@ int main(int argc, char *argv[]) {
|
||||
} else if (!strcmp(argv[i], "--fullscreen") || !strcmp(argv[i], "-f")) {
|
||||
launch_fullscreen = true;
|
||||
} else if (!strcmp(argv[i], "--disable-shaders")) {
|
||||
olive::CurrentRuntimeConfig.shaders_are_enabled = false;
|
||||
olive::runtime_config.shaders_are_enabled = false;
|
||||
} else if (!strcmp(argv[i], "--no-debug")) {
|
||||
use_internal_logger = false;
|
||||
} else if (!strcmp(argv[i], "--translation")) {
|
||||
if (i + 1 < argc && argv[i + 1][0] != '-') {
|
||||
// load translation file
|
||||
olive::CurrentRuntimeConfig.external_translation_file = argv[i + 1];
|
||||
olive::runtime_config.external_translation_file = argv[i + 1];
|
||||
|
||||
i++;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user