From 826c5a114ec6e0405200ab8063c2eefd65f67522 Mon Sep 17 00:00:00 2001 From: ttimo Date: Sun, 20 Aug 2023 14:45:55 -0500 Subject: [PATCH] rename KexQ2 -> Q2RE as it's now the law of the land --- radiant/gtkdlgs.cpp | 2 +- radiant/preferences.cpp | 13 ++++++++++++- radiant/preferences.h | 4 ++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/radiant/gtkdlgs.cpp b/radiant/gtkdlgs.cpp index 4f691ee4..f858bd01 100644 --- a/radiant/gtkdlgs.cpp +++ b/radiant/gtkdlgs.cpp @@ -385,7 +385,7 @@ game_t gameList[] = { { "unvanquished.game", "Unvanquished", "pkg", qtrue, qfalse }, { "unvanquished.game", "Unvanquished from source", "src", qfalse, qfalse }, - { "kexq2.game", "Quake II: Remaster", "baseq2", qtrue, qfalse }, + { "q2re.game", "Quake II: Remastered", "baseq2", qtrue, qfalse }, }; GList *newMappingModesListForGameFile( Str & mGameFile ){ diff --git a/radiant/preferences.cpp b/radiant/preferences.cpp index 47507495..f8575cfe 100644 --- a/radiant/preferences.cpp +++ b/radiant/preferences.cpp @@ -3442,7 +3442,7 @@ void CGameInstall::BuildDialog() { gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT( game_select_combo ), _( "Quake II" ) ); break; case GAME_Q2_REMASTER: - gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT( game_select_combo ), _( "Quake II Remaster" ) ); + gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT( game_select_combo ), _( "Quake II: Remastered" ) ); break; case GAME_Q3: gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT( game_select_combo ), _( "Quake III Arena and mods" ) ); @@ -3703,6 +3703,15 @@ void CGameInstall::Run() { break; } case GAME_Q2: + { + fprintf( fg, " idtech2=\"true\"\n" ); + fprintf( fg, " prefix=\".quake2\"\n" ); + fprintf( fg, " basegame=\"baseq2\"\n" ); + fprintf( fg, " no_patch=\"true\"\n" ); + fprintf( fg, " default_scale=\"1.0\"\n" ); + + break; + } case GAME_Q2_REMASTER: { fprintf( fg, " idtech2=\"true\"\n" ); @@ -3710,6 +3719,8 @@ void CGameInstall::Run() { fprintf( fg, " basegame=\"baseq2\"\n" ); fprintf( fg, " no_patch=\"true\"\n" ); fprintf( fg, " default_scale=\"1.0\"\n" ); + fprintf( fg, " engine_win32=\"quake2ex_steam.exe\"\n" ); + fprintf( fg, " mp_engine_win32=\"quake2ex_steam.exe\"\n" ); break; } diff --git a/radiant/preferences.h b/radiant/preferences.h index 58aa9e86..1949a991 100644 --- a/radiant/preferences.h +++ b/radiant/preferences.h @@ -209,7 +209,7 @@ void Dump(); #define WARSOW_GAME "warsow.game" #define NEXUIZ_GAME "nexuiz.game" #define Q2_GAME "q2.game" -#define Q2_REMASTER_GAME "kexq2.game" +#define Q2_REMASTER_GAME "q2re.game" #define TREMULOUS_GAME "tremulous.game" #define JA_GAME "ja.game" #define REACTION_GAME "reaction.game" @@ -227,7 +227,7 @@ void Dump(); #define WARSOW_PACK "WarsowPack" #define NEXUIZ_PACK "NexuizPack" #define Q2_PACK "Q2Pack" -#define Q2_REMASTER_PACK "KexQ2Pack" +#define Q2_REMASTER_PACK "Q2REPack" #define TREMULOUS_PACK "TremulousPack" #define JA_PACK "JAPack" #define REACTION_PACK "ReactionPack"