full screen by default (#394)

This commit is contained in:
Dethrace Engineering Department 2024-07-13 21:16:16 +12:00 committed by GitHub
parent af3019469a
commit 40919b4295
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -151,7 +151,7 @@ void Harness_Init(int* argc, char* argv[]) {
// no volume multiplier
harness_game_config.volume_multiplier = 1.0f;
// start window in windowed mode
harness_game_config.start_full_screen = 0;
harness_game_config.start_full_screen = 1;
// Disable gore check emulation
harness_game_config.gore_check = 0;
// Disable "Sound Options" menu
@ -248,8 +248,12 @@ int Harness_ProcessCommandLine(int* argc, char* argv[]) {
LOG_INFO("Volume multiplier set to %f", harness_game_config.volume_multiplier);
handled = 1;
} else if (strcasecmp(argv[i], "--full-screen") == 0) {
// option left for backwards compatibility
harness_game_config.start_full_screen = 1;
handled = 1;
} else if (strcasecmp(argv[i], "--window") == 0) {
harness_game_config.start_full_screen = 0;
handled = 1;
} else if (strcasecmp(argv[i], "--gore-check") == 0) {
harness_game_config.gore_check = 1;
handled = 1;