if ( pNode->children && pNode->children->content ) {
*pV = pNode->children->content;
} else {
- // http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=427
// means the pref exists, and that the value is ""
*pV = "";
}
strNetrun = g_strAppPath; strNetrun += NETRUN_FILENAME;
if (!retrieve)
{
- // http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=639
// now check if we are running from a network installation
// use a dummy file as the flag
f_netrun = fopen(strNetrun.GetBuffer(), "r");
#ifdef ATIHACK_812
// ATI bugs
- // http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=812
check = gtk_check_button_new_with_label (_("ATI cards with broken drivers - bug #802"));
gtk_widget_show(check);
gtk_box_pack_start(GTK_BOX(vbox), check, FALSE, FALSE, 0);
(GtkAttachOptions) (0), 1, 0);
AddDialogData (entry, &m_strPrefabPath, DLG_ENTRY_TEXT);
- // http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=805
#if 0
// browse button
button = gtk_button_new_with_label ("...");
case GAME_NEXUIZ:
gtk_combo_box_append_text( GTK_COMBO_BOX( combo ), _("Nexuiz") );
break;
+ case GAME_TREMULOUS:
+ gtk_combo_box_append_text( GTK_COMBO_BOX( combo ), _("Tremulous") );
+ break;
}
iGame++;
}
fprintf( fg, " basegame=\"data\"\n" );
break;
}
+ case GAME_TREMULOUS: {
+ fprintf( fg, " gametools=\"%sinstalls/TremulousPack/game\"\n", g_strAppPath.GetBuffer() );
+ fprintf( fg, " prefix=\".tremulous\"\n" );
+ Str source = g_strAppPath.GetBuffer();
+ source += "installs/";
+ source += TREMULOUS_PACK;
+ source += "/install/";
+ Str dest = m_strEngine.GetBuffer();
+ CopyTree( source.GetBuffer(), dest.GetBuffer() );
+ fprintf( fg, " basegame=\"base\"\n" );
+ break;
+ }
}
fprintf( fg, "/>\n" );
fclose( fg );
if ( stricmp( dirname, Q2_PACK ) == 0 ) {
m_availGames[ iGame++ ] = GAME_Q2;
}
+ if ( stricmp( dirname, TREMULOUS_PACK ) == 0 ) {
+ m_availGames[ iGame++ ] = GAME_TREMULOUS;
+ }
}
}