mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
BSP monitoring off by default for KexQ2 config
This commit is contained in:
parent
9471ed62f7
commit
1c498433ce
2 changed files with 12 additions and 9 deletions
|
@ -385,6 +385,7 @@ game_t gameList[] = {
|
||||||
{ "unvanquished.game", "Unvanquished", "pkg", qtrue, qfalse },
|
{ "unvanquished.game", "Unvanquished", "pkg", qtrue, qfalse },
|
||||||
{ "unvanquished.game", "Unvanquished from source", "src", qfalse, qfalse },
|
{ "unvanquished.game", "Unvanquished from source", "src", qfalse, qfalse },
|
||||||
|
|
||||||
|
{ "kexq2.game", "Quake II: Remaster", "baseq2", qtrue, qfalse },
|
||||||
};
|
};
|
||||||
|
|
||||||
GList *newMappingModesListForGameFile( Str & mGameFile ){
|
GList *newMappingModesListForGameFile( Str & mGameFile ){
|
||||||
|
@ -1310,7 +1311,7 @@ static void EnitityList_response( GtkDialog *dialog, gint response_id, gpointer
|
||||||
}
|
}
|
||||||
void DoEntityList(){
|
void DoEntityList(){
|
||||||
static GtkWidget *dialog;
|
static GtkWidget *dialog;
|
||||||
GtkWidget *vbox, *hbox, *hbox2, *button, *scr, *content_area, *paned;
|
GtkWidget *vbox, *hbox2, *button, *scr, *content_area, *paned;
|
||||||
GtkWidget *notebook, *label, *textview, *keyvalue_scr, *desc_scr;
|
GtkWidget *notebook, *label, *textview, *keyvalue_scr, *desc_scr;
|
||||||
gint keyvalue_index;
|
gint keyvalue_index;
|
||||||
GtkDialogFlags flags = GTK_DIALOG_DESTROY_WITH_PARENT;
|
GtkDialogFlags flags = GTK_DIALOG_DESTROY_WITH_PARENT;
|
||||||
|
|
|
@ -3056,17 +3056,19 @@ void PrefsDlg::LoadPrefs(){
|
||||||
// this will probably need to be 75 or 100 for Q1.
|
// this will probably need to be 75 or 100 for Q1.
|
||||||
mLocalPrefs.GetPref( TEXTURESCALE_KEY, &m_nTextureScale, 50 );
|
mLocalPrefs.GetPref( TEXTURESCALE_KEY, &m_nTextureScale, 50 );
|
||||||
|
|
||||||
if ( ( g_pGameDescription->mGameFile == "hl.game" ) ) {
|
bool bWatchBSPDefault = TRUE;
|
||||||
|
bool bTextureWindowDefault = FALSE;
|
||||||
|
if ( g_pGameDescription->mGameFile == "hl.game" ) {
|
||||||
// No BSP monitoring in the default compiler tools for Half-life (yet)
|
// No BSP monitoring in the default compiler tools for Half-life (yet)
|
||||||
mLocalPrefs.GetPref( WATCHBSP_KEY, &m_bWatchBSP, FALSE );
|
bWatchBSPDefault = FALSE;
|
||||||
|
|
||||||
// Texture subset on by default (HL specific really, because of halflife.wad's size)
|
// Texture subset on by default (HL specific really, because of halflife.wad's size)
|
||||||
mLocalPrefs.GetPref( TEXTURE_KEY, &m_bTextureWindow, TRUE );
|
bTextureWindowDefault = TRUE;
|
||||||
} else {
|
} else if ( g_pGameDescription->mGameFile == Q2_REMASTER_GAME ) {
|
||||||
mLocalPrefs.GetPref( WATCHBSP_KEY, &m_bWatchBSP, TRUE );
|
// ericw-tools do not support BSP monitoring
|
||||||
mLocalPrefs.GetPref( TEXTURE_KEY, &m_bTextureWindow, FALSE );
|
bWatchBSPDefault = FALSE;
|
||||||
}
|
}
|
||||||
|
mLocalPrefs.GetPref( WATCHBSP_KEY, &m_bWatchBSP, bWatchBSPDefault );
|
||||||
|
mLocalPrefs.GetPref( TEXTURE_KEY, &m_bTextureWindow, bTextureWindowDefault );
|
||||||
|
|
||||||
mLocalPrefs.GetPref( TEXTURESCROLLBAR_KEY, &m_bTextureScrollbar, TRUE );
|
mLocalPrefs.GetPref( TEXTURESCROLLBAR_KEY, &m_bTextureScrollbar, TRUE );
|
||||||
mLocalPrefs.GetPref( DISPLAYLISTS_KEY, &m_bDisplayLists, TRUE );
|
mLocalPrefs.GetPref( DISPLAYLISTS_KEY, &m_bDisplayLists, TRUE );
|
||||||
|
|
Loading…
Reference in a new issue